Loading Documentation/devicetree/bindings/pwm/pwm-qpnp.txt +15 −8 Original line number Diff line number Diff line Loading @@ -33,14 +33,21 @@ Optional device bindings: - qcom,channel-owner: A string value to supply owner information. - qcom,mode-select: 0 = PWM mode 1 = LPG mode - qcom,lpg-dtest-line: indicates which DTEST line to be configured for LPG output. Possible values are 1, 2, 3 and 4. - qcom,dtest-line: indicates which DTEST line to be configured for LPG or PWM output. For LPG subtypes, possible values are 1, 2, 3 and 4. For PWM subtype, possibe values are 1 and 2. - qcom,dtest-output: indicates the output configuration for DTEST line. For LPG subtypes, possible output values are: 0 = Disabled 1 = LPG output low 2 = LPG output high 3,4,5 = DTEST line specific configuration 6,7 = Not used For PWM subtype, possible output values are: 0 = Disabled 1 = pwm_out for DTEST1 or reserved 2 = pwm_out for DTEST2 or reserved 3 = Not used If this binding is specified along with the required bindings of PWM/LPG then in addition to configure PWM/LPG the qpnp-pwm driver also enables the feature at the probe time. In the case where the binding is not specified the qpnp-pwm Loading Loading @@ -181,7 +188,7 @@ Example: qcom,ramp-index = <1>; qcom,force-pwm-size = <9>; qcom,period = <6000000>; qcom,lpg-dtest-line = <3>; qcom,dtest-line = <3>; qcom,dtest-output = <1>; status = "okay"; Loading arch/arm/boot/dts/qcom/apq8096-auto-dragonboard.dtsi +1 −1 Original line number Diff line number Diff line Loading @@ -687,7 +687,7 @@ &spmi_bus { qcom,pm8994@1 { pwm@b100 { qcom,lpg-dtest-line = <4>; qcom,dtest-line = <4>; qcom,dtest-output = <1>; status = "okay"; }; Loading arch/arm/boot/dts/qcom/apq8096-dragonboard.dtsi +1 −1 Original line number Diff line number Diff line Loading @@ -650,7 +650,7 @@ &spmi_bus { qcom,pm8994@1 { pwm@b100 { qcom,lpg-dtest-line = <4>; qcom,dtest-line = <4>; qcom,dtest-output = <1>; status = "okay"; }; Loading arch/arm/boot/dts/qcom/apq8096-mediabox.dtsi +1 −1 Original line number Diff line number Diff line Loading @@ -651,7 +651,7 @@ &spmi_bus { qcom,pm8994@1 { pwm@b100 { qcom,lpg-dtest-line = <4>; qcom,dtest-line = <4>; qcom,dtest-output = <1>; status = "okay"; }; Loading arch/arm/boot/dts/qcom/apq8096-sbc.dtsi +1 −1 Original line number Diff line number Diff line Loading @@ -672,7 +672,7 @@ qcom,pm8994@1 { pwm@b100 { qcom,lpg-dtest-line = <4>; qcom,dtest-line = <4>; qcom,dtest-output = <1>; status = "okay"; }; Loading Loading
Documentation/devicetree/bindings/pwm/pwm-qpnp.txt +15 −8 Original line number Diff line number Diff line Loading @@ -33,14 +33,21 @@ Optional device bindings: - qcom,channel-owner: A string value to supply owner information. - qcom,mode-select: 0 = PWM mode 1 = LPG mode - qcom,lpg-dtest-line: indicates which DTEST line to be configured for LPG output. Possible values are 1, 2, 3 and 4. - qcom,dtest-line: indicates which DTEST line to be configured for LPG or PWM output. For LPG subtypes, possible values are 1, 2, 3 and 4. For PWM subtype, possibe values are 1 and 2. - qcom,dtest-output: indicates the output configuration for DTEST line. For LPG subtypes, possible output values are: 0 = Disabled 1 = LPG output low 2 = LPG output high 3,4,5 = DTEST line specific configuration 6,7 = Not used For PWM subtype, possible output values are: 0 = Disabled 1 = pwm_out for DTEST1 or reserved 2 = pwm_out for DTEST2 or reserved 3 = Not used If this binding is specified along with the required bindings of PWM/LPG then in addition to configure PWM/LPG the qpnp-pwm driver also enables the feature at the probe time. In the case where the binding is not specified the qpnp-pwm Loading Loading @@ -181,7 +188,7 @@ Example: qcom,ramp-index = <1>; qcom,force-pwm-size = <9>; qcom,period = <6000000>; qcom,lpg-dtest-line = <3>; qcom,dtest-line = <3>; qcom,dtest-output = <1>; status = "okay"; Loading
arch/arm/boot/dts/qcom/apq8096-auto-dragonboard.dtsi +1 −1 Original line number Diff line number Diff line Loading @@ -687,7 +687,7 @@ &spmi_bus { qcom,pm8994@1 { pwm@b100 { qcom,lpg-dtest-line = <4>; qcom,dtest-line = <4>; qcom,dtest-output = <1>; status = "okay"; }; Loading
arch/arm/boot/dts/qcom/apq8096-dragonboard.dtsi +1 −1 Original line number Diff line number Diff line Loading @@ -650,7 +650,7 @@ &spmi_bus { qcom,pm8994@1 { pwm@b100 { qcom,lpg-dtest-line = <4>; qcom,dtest-line = <4>; qcom,dtest-output = <1>; status = "okay"; }; Loading
arch/arm/boot/dts/qcom/apq8096-mediabox.dtsi +1 −1 Original line number Diff line number Diff line Loading @@ -651,7 +651,7 @@ &spmi_bus { qcom,pm8994@1 { pwm@b100 { qcom,lpg-dtest-line = <4>; qcom,dtest-line = <4>; qcom,dtest-output = <1>; status = "okay"; }; Loading
arch/arm/boot/dts/qcom/apq8096-sbc.dtsi +1 −1 Original line number Diff line number Diff line Loading @@ -672,7 +672,7 @@ qcom,pm8994@1 { pwm@b100 { qcom,lpg-dtest-line = <4>; qcom,dtest-line = <4>; qcom,dtest-output = <1>; status = "okay"; }; Loading