OSDN Git Service

pwm: qpnp: support DTEST configuration for PWM subtype
authorSubbaraman Narayanamurthy <subbaram@codeaurora.org>
Fri, 11 Dec 2015 01:36:33 +0000 (17:36 -0800)
committerKyle Yan <kyan@codeaurora.org>
Tue, 24 May 2016 21:15:26 +0000 (14:15 -0700)
commitfbb181094469b400266a16a374a20c6da533553f
treefc3052f5e4a08ee22a1ad05ba10ec7982c087216
parent4bbba918b31cd0108b14d6acfd26a98ea9ab8940
pwm: qpnp: support DTEST configuration for PWM subtype

Currently, DTEST configuration is supported only based on the
DTEST line and output values for LPG subtype. Though this will
help configuring DTEST mode for PWM subtype, input validation
has to be fixed for supporting the latter properly. Add support
for that.

Also, rename the "lpg-dtest-line" device tree property to
"dtest-line" as this will apply for both LPG and PWM subtypes.

CRs-Fixed: 949595
Change-Id: I96bf477a14bb135cf9196532cf4bf39a45c9ff77
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Documentation/devicetree/bindings/pwm/pwm-qpnp.txt
arch/arm/boot/dts/qcom/apq8096-auto-dragonboard.dtsi
arch/arm/boot/dts/qcom/apq8096-dragonboard.dtsi
arch/arm/boot/dts/qcom/apq8096-sbc.dtsi
arch/arm/boot/dts/qcom/msm8996-cdp.dtsi
arch/arm/boot/dts/qcom/msm8996-liquid.dtsi
arch/arm/boot/dts/qcom/msm8996-mtp.dtsi
drivers/pwm/pwm-qpnp.c