Message ID | 20221214232049.703484-4-marijn.suijten@somainline.org (mailing list archive) |
---|---|
State | Changes Requested |
Headers | show |
Series | arm64: dts: qcom: msm8956-loire: SDCard | expand |
On 15.12.2022 00:20, Marijn Suijten wrote: > These seem to have previously been excluded due to either not residing > on the test board, and/or lacking VADC_USB_DP/VADC_USB_DM definitions. > Now that the channel constants are included in dt-bindings, add the > channels to DT as well. > > Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org> > --- Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Konrad > arch/arm64/boot/dts/qcom/pmi8950.dtsi | 24 ++++++++++++++++++++++++ > 1 file changed, 24 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/pmi8950.dtsi b/arch/arm64/boot/dts/qcom/pmi8950.dtsi > index 7a857b2f3a5a..42a867685275 100644 > --- a/arch/arm64/boot/dts/qcom/pmi8950.dtsi > +++ b/arch/arm64/boot/dts/qcom/pmi8950.dtsi > @@ -69,6 +69,30 @@ adc-chan@d { > qcom,pre-scaling = <1 1>; > label = "chg_temp"; > }; > + > + adc-chan@e { > + reg = <VADC_GND_REF>; > + qcom,pre-scaling = <1 1>; > + label = "ref_gnd"; > + }; > + > + adc-chan@f { > + reg = <VADC_VDD_VADC>; > + qcom,pre-scaling = <1 1>; > + label = "ref_vdd"; > + }; > + > + adc-chan@43 { > + reg = <VADC_USB_DP>; > + qcom,pre-scaling = <1 1>; > + label = "usb_dp"; > + }; > + > + adc-chan@44 { > + reg = <VADC_USB_DM>; > + qcom,pre-scaling = <1 1>; > + label = "usb_dm"; > + }; > }; > > pmi8950_mpps: mpps@a000 {
diff --git a/arch/arm64/boot/dts/qcom/pmi8950.dtsi b/arch/arm64/boot/dts/qcom/pmi8950.dtsi index 7a857b2f3a5a..42a867685275 100644 --- a/arch/arm64/boot/dts/qcom/pmi8950.dtsi +++ b/arch/arm64/boot/dts/qcom/pmi8950.dtsi @@ -69,6 +69,30 @@ adc-chan@d { qcom,pre-scaling = <1 1>; label = "chg_temp"; }; + + adc-chan@e { + reg = <VADC_GND_REF>; + qcom,pre-scaling = <1 1>; + label = "ref_gnd"; + }; + + adc-chan@f { + reg = <VADC_VDD_VADC>; + qcom,pre-scaling = <1 1>; + label = "ref_vdd"; + }; + + adc-chan@43 { + reg = <VADC_USB_DP>; + qcom,pre-scaling = <1 1>; + label = "usb_dp"; + }; + + adc-chan@44 { + reg = <VADC_USB_DM>; + qcom,pre-scaling = <1 1>; + label = "usb_dm"; + }; }; pmi8950_mpps: mpps@a000 {
These seem to have previously been excluded due to either not residing on the test board, and/or lacking VADC_USB_DP/VADC_USB_DM definitions. Now that the channel constants are included in dt-bindings, add the channels to DT as well. Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org> --- arch/arm64/boot/dts/qcom/pmi8950.dtsi | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+)