diff options
author | Marijn Suijten <[email protected]> | 2023-04-10 22:29:17 +0200 |
---|---|---|
committer | Jonathan Cameron <[email protected]> | 2023-05-13 17:56:06 +0100 |
commit | e0b7972461b082be7168deb217ab7daaa8d425f0 (patch) | |
tree | 5679041f7a9d8cb204a7fcf63425324a6742ef67 /scripts/generate_rust_analyzer.py | |
parent | 26e46ef7758922e983a9a2f688369f649cc1a635 (diff) |
dt-bindings: iio: adc: Require generic `channel` name for channel nodes
As discussed in [1] it is more convenient to use a generic `channel`
node name for ADC channels while storing a friendly - board-specific
instead of PMIC-specific - name in the label, if/when desired to
overwrite the channel description already contained (but previously
unused) in the driver [2].
The same `channel` node name pattern has also been set in
iio/adc/adc.yaml, but this generic binding is not inherited as base for
qcom,spmi-vadc bindings due to not having any other generic elements in
common, besides the node name rule and reg property.
Replace the .* name pattern with the `channel` literal, but leave the
label property optional for bindings to choose to fall back a channel
label hardcoded in the driver [2] instead.
[1]: https://lore.kernel.org/linux-arm-msm/[email protected]/T/#u
[2]: https://lore.kernel.org/linux-arm-msm/[email protected]/
Signed-off-by: Marijn Suijten <[email protected]>
Reviewed-by: Krzysztof Kozlowski <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions