Loading Documentation/devicetree/bindings/hwmon/qpnp-adc-voltage.txt +5 −0 Original line number Diff line number Diff line Loading @@ -46,6 +46,11 @@ Optional properties: 1 : Forces a fresh measurement for calibration values at the same time measurement is taken. - qcom,adc-full-scale-code: Full scale code with offset removed. - pinctrl-names: should be "default" (see pinctrl binding [0]). - pinctrl-0: a phandle pointing to the pin settings for the device (see pinctrl binding [0]). [0]: Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt Client required property: - qcom,<consumer name>-vadc : The phandle to the corresponding vadc device. Loading arch/arm/boot/dts/qcom/pmxpoorwills.dtsi +2 −0 Original line number Diff line number Diff line Loading @@ -95,6 +95,8 @@ interrupt-names = "eoc-int-en-set"; qcom,adc-full-scale-code = <0x70e4>; qcom,adc-vdd-reference = <1875>; pinctrl-names = "default"; pinctrl-0 = <&ambient_therm_default>; chan@6 { label = "die_temp"; Loading arch/arm/boot/dts/qcom/sdxpoorwills-pinctrl.dtsi +9 −0 Original line number Diff line number Diff line Loading @@ -921,3 +921,12 @@ }; }; }; &pmxpoorwills_gpios { ambient_therm { ambient_therm_default: ambient_therm_default { pins = "gpio2"; bias-high-impedance; }; }; }; Loading
Documentation/devicetree/bindings/hwmon/qpnp-adc-voltage.txt +5 −0 Original line number Diff line number Diff line Loading @@ -46,6 +46,11 @@ Optional properties: 1 : Forces a fresh measurement for calibration values at the same time measurement is taken. - qcom,adc-full-scale-code: Full scale code with offset removed. - pinctrl-names: should be "default" (see pinctrl binding [0]). - pinctrl-0: a phandle pointing to the pin settings for the device (see pinctrl binding [0]). [0]: Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt Client required property: - qcom,<consumer name>-vadc : The phandle to the corresponding vadc device. Loading
arch/arm/boot/dts/qcom/pmxpoorwills.dtsi +2 −0 Original line number Diff line number Diff line Loading @@ -95,6 +95,8 @@ interrupt-names = "eoc-int-en-set"; qcom,adc-full-scale-code = <0x70e4>; qcom,adc-vdd-reference = <1875>; pinctrl-names = "default"; pinctrl-0 = <&ambient_therm_default>; chan@6 { label = "die_temp"; Loading
arch/arm/boot/dts/qcom/sdxpoorwills-pinctrl.dtsi +9 −0 Original line number Diff line number Diff line Loading @@ -921,3 +921,12 @@ }; }; }; &pmxpoorwills_gpios { ambient_therm { ambient_therm_default: ambient_therm_default { pins = "gpio2"; bias-high-impedance; }; }; };