Loading arch/arm64/boot/dts/qcom/pms405.dtsi +59 −0 Original line number Diff line number Diff line Loading @@ -12,6 +12,7 @@ #include <dt-bindings/spmi/spmi.h> #include <dt-bindings/input/linux-event-codes.h> #include <dt-bindings/iio/qcom,spmi-vadc.h> &spmi_bus { qcom,pms405@0 { Loading @@ -25,6 +26,64 @@ reg = <0x100 0x100>; }; pms405_vadc: vadc@3100 { compatible = "qcom,spmi-adc-rev2"; reg = <0x3100 0x100>; #address-cells = <1>; #size-cells = <0>; interrupts = <0x0 0x31 0x0 IRQ_TYPE_EDGE_RISING>; interrupt-names = "eoc-int-en-set"; qcom,adc-vdd-reference = <1875>; ref_gnd { label = "ref_gnd"; reg = <ADC_REF_GND>; qcom,pre-scaling = <1 1>; }; vref_1p25 { label = "vref_1p25"; reg = <ADC_1P25VREF>; qcom,pre-scaling = <1 1>; }; die_temp { label = "die_temp"; reg = <ADC_DIE_TEMP>; qcom,pre-scaling = <1 1>; }; vph_pwr { label = "vph_pwr"; reg = <ADC_VPH_PWR>; qcom,pre-scaling = <1 3>; }; xo_therm { label = "xo_therm"; reg = <ADC_XO_THERM_PU2>; qcom,ratiometric; qcom,hw-settle-time = <200>; qcom,pre-scaling = <1 1>; }; pa_therm1 { label = "pa_therm1"; reg = <ADC_AMUX_THM1_PU2>; qcom,ratiometric; qcom,hw-settle-time = <200>; qcom,pre-scaling = <1 1>; }; pa_therm3 { label = "pa_therm3"; reg = <ADC_AMUX_THM3_PU2>; qcom,ratiometric; qcom,hw-settle-time = <200>; qcom,pre-scaling = <1 1>; }; }; pms405_pon: qcom,power-on@800 { compatible = "qcom,qpnp-power-on"; reg = <0x800 0x100>; Loading Loading
arch/arm64/boot/dts/qcom/pms405.dtsi +59 −0 Original line number Diff line number Diff line Loading @@ -12,6 +12,7 @@ #include <dt-bindings/spmi/spmi.h> #include <dt-bindings/input/linux-event-codes.h> #include <dt-bindings/iio/qcom,spmi-vadc.h> &spmi_bus { qcom,pms405@0 { Loading @@ -25,6 +26,64 @@ reg = <0x100 0x100>; }; pms405_vadc: vadc@3100 { compatible = "qcom,spmi-adc-rev2"; reg = <0x3100 0x100>; #address-cells = <1>; #size-cells = <0>; interrupts = <0x0 0x31 0x0 IRQ_TYPE_EDGE_RISING>; interrupt-names = "eoc-int-en-set"; qcom,adc-vdd-reference = <1875>; ref_gnd { label = "ref_gnd"; reg = <ADC_REF_GND>; qcom,pre-scaling = <1 1>; }; vref_1p25 { label = "vref_1p25"; reg = <ADC_1P25VREF>; qcom,pre-scaling = <1 1>; }; die_temp { label = "die_temp"; reg = <ADC_DIE_TEMP>; qcom,pre-scaling = <1 1>; }; vph_pwr { label = "vph_pwr"; reg = <ADC_VPH_PWR>; qcom,pre-scaling = <1 3>; }; xo_therm { label = "xo_therm"; reg = <ADC_XO_THERM_PU2>; qcom,ratiometric; qcom,hw-settle-time = <200>; qcom,pre-scaling = <1 1>; }; pa_therm1 { label = "pa_therm1"; reg = <ADC_AMUX_THM1_PU2>; qcom,ratiometric; qcom,hw-settle-time = <200>; qcom,pre-scaling = <1 1>; }; pa_therm3 { label = "pa_therm3"; reg = <ADC_AMUX_THM3_PU2>; qcom,ratiometric; qcom,hw-settle-time = <200>; qcom,pre-scaling = <1 1>; }; }; pms405_pon: qcom,power-on@800 { compatible = "qcom,qpnp-power-on"; reg = <0x800 0x100>; Loading