Message ID | 20230730-generic-adc-channels-v5-0-e6c69bda8034@somainline.org |
---|---|
Headers | show |
Series | dts: qcom: Use labels with generic node names for ADC channels | expand |
On 30/07/2023 23:31, Marijn Suijten wrote: > 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]. Follow up on the dt-bindings' `channel` node > name requirement, and instead provide this (sometimes per-board) channel > description through a label property. > > Also remove all the unused label references (not to be confused with > label properties) from pm660, pmp8074 and pms405. > > [1]: https://lore.kernel.org/linux-arm-msm/20221106193018.270106-1-marijn.suijten@somainline.org/T/#u > [2]: https://lore.kernel.org/linux-arm-msm/20230116220909.196926-4-marijn.suijten@somainline.org/ > > Acked-by: Konrad Dybcio <konrad.dybcio@linaro.org> > Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org> > --- > arch/arm64/boot/dts/qcom/pm6125.dtsi | 18 ++++++---- > arch/arm64/boot/dts/qcom/pm6150.dtsi | 2 +- > arch/arm64/boot/dts/qcom/pm6150l.dtsi | 8 ++--- > arch/arm64/boot/dts/qcom/pm660.dtsi | 33 ++++++++++++------ > arch/arm64/boot/dts/qcom/pm7250b.dtsi | 24 ++++++------- > arch/arm64/boot/dts/qcom/pm8150.dtsi | 6 ++-- > arch/arm64/boot/dts/qcom/pm8150b.dtsi | 8 ++--- > arch/arm64/boot/dts/qcom/pm8150l.dtsi | 6 ++-- > arch/arm64/boot/dts/qcom/pm8916.dtsi | 14 ++++---- > arch/arm64/boot/dts/qcom/pm8950.dtsi | 39 ++++++++++++++-------- > arch/arm64/boot/dts/qcom/pm8953.dtsi | 12 +++---- > arch/arm64/boot/dts/qcom/pm8994.dtsi | 12 +++---- > arch/arm64/boot/dts/qcom/pm8998.dtsi | 2 +- > arch/arm64/boot/dts/qcom/pmi8950.dtsi | 12 +++---- > arch/arm64/boot/dts/qcom/pmm8155au_1.dtsi | 6 ++-- > arch/arm64/boot/dts/qcom/pmm8155au_2.dtsi | 6 ++-- > arch/arm64/boot/dts/qcom/pmp8074.dtsi | 27 ++++++++++----- > arch/arm64/boot/dts/qcom/pms405.dtsi | 21 ++++++++---- > arch/arm64/boot/dts/qcom/qrb5165-rb5.dts | 15 ++++++--- > .../boot/dts/qcom/sc7180-trogdor-coachz-r1.dts | 4 +-- > .../arm64/boot/dts/qcom/sc7180-trogdor-coachz.dtsi | 3 +- > .../boot/dts/qcom/sc7180-trogdor-homestar.dtsi | 3 +- > arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor.dtsi | 2 +- > .../boot/dts/qcom/sc7180-trogdor-pompom-r1.dts | 2 +- > .../boot/dts/qcom/sc7180-trogdor-pompom-r2.dts | 2 +- > .../arm64/boot/dts/qcom/sc7180-trogdor-pompom.dtsi | 3 +- > .../boot/dts/qcom/sc7180-trogdor-wormdingler.dtsi | 3 +- > arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi | 3 +- > arch/arm64/boot/dts/qcom/sc7280-idp.dts | 2 +- > arch/arm64/boot/dts/qcom/sc7280-idp.dtsi | 2 +- > arch/arm64/boot/dts/qcom/sc7280-qcard.dtsi | 4 +-- > .../dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts | 26 +++++++-------- > arch/arm64/boot/dts/qcom/sdm845-cheza.dtsi | 10 +++--- > arch/arm64/boot/dts/qcom/sdm845-mtp.dts | 12 +++---- > .../dts/qcom/sm6125-sony-xperia-seine-pdx201.dts | 15 ++++++--- > arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts | 6 ++-- > arch/arm64/boot/dts/qcom/sm8250-mtp.dts | 21 ++++++++---- > 37 files changed, 231 insertions(+), 163 deletions(-) Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
On Sun, 30 Jul 2023 22:31:24 +0200, Marijn Suijten wrote: > 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. > > [...] Applied, thanks! [1/2] ARM: dts: qcom: Use labels with generic node names for ADC channels commit: 04601b9b1b67888b7e2987e31ab40637f7c999c0 Best regards,