From: Elaine Zhang Date: Mon, 6 Mar 2017 07:44:22 +0000 (+0800) Subject: ARM64: dts: rockchip: rk3399: invert the pwm polarity X-Git-Tag: firefly_0821_release~410 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=054a12a3c014a005bc416b6f8194c675089fdb69;p=firefly-linux-kernel-4.4.55.git ARM64: dts: rockchip: rk3399: invert the pwm polarity invert the pwm polarity for new pwm interface Change-Id: I8dfde14fbc4fd4aa907722f260ce72fdb4d7d3bb Signed-off-by: Elaine Zhang --- diff --git a/arch/arm64/boot/dts/rockchip/rk3399-box-808-android-6.0.dts b/arch/arm64/boot/dts/rockchip/rk3399-box-808-android-6.0.dts index e2520019378c..9c6e57cbe64d 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-box-808-android-6.0.dts +++ b/arch/arm64/boot/dts/rockchip/rk3399-box-808-android-6.0.dts @@ -95,7 +95,7 @@ vdd_center: vdd-center { compatible = "pwm-regulator"; - pwms = <&pwm2 0 25000 0>; + pwms = <&pwm2 0 25000 1>; regulator-name = "vdd_center"; regulator-min-microvolt = <800000>; regulator-max-microvolt = <1400000>; diff --git a/arch/arm64/boot/dts/rockchip/rk3399-box-android-6.0.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-box-android-6.0.dtsi index 29244ab0fa76..4226cb05902f 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-box-android-6.0.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-box-android-6.0.dtsi @@ -92,7 +92,7 @@ vdd_log: vdd-log { compatible = "pwm-regulator"; - pwms = <&pwm2 0 25000 0>; + pwms = <&pwm2 0 25000 1>; regulator-name = "vdd_log"; regulator-min-microvolt = <800000>; regulator-max-microvolt = <1400000>; diff --git a/arch/arm64/boot/dts/rockchip/rk3399-box.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-box.dtsi index f24d5f00437e..ab9aa5f1ac36 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-box.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-box.dtsi @@ -92,7 +92,7 @@ vdd_log: vdd-log { compatible = "pwm-regulator"; - pwms = <&pwm2 0 25000 0>; + pwms = <&pwm2 0 25000 1>; regulator-name = "vdd_log"; regulator-min-microvolt = <800000>; regulator-max-microvolt = <1400000>; diff --git a/arch/arm64/boot/dts/rockchip/rk3399-disvr-android.dts b/arch/arm64/boot/dts/rockchip/rk3399-disvr-android.dts index 9e406cbd6202..e6a5f72b074c 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-disvr-android.dts +++ b/arch/arm64/boot/dts/rockchip/rk3399-disvr-android.dts @@ -58,7 +58,7 @@ vdd_log: vdd-log { compatible = "pwm-regulator"; - pwms = <&pwm2 0 25000 0>; + pwms = <&pwm2 0 25000 1>; rockchip,pwm_id= <2>; rockchip,pwm_voltage = <900000>; regulator-name = "vdd_log"; diff --git a/arch/arm64/boot/dts/rockchip/rk3399-evb-rev1.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-evb-rev1.dtsi index 8ef2a4797a0c..d73e4e8b1b69 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-evb-rev1.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-evb-rev1.dtsi @@ -50,7 +50,7 @@ compatible = "pwm-regulator"; rockchip,pwm_id = <2>; rockchip,pwm_voltage = <900000>; - pwms = <&pwm2 0 25000 0>; + pwms = <&pwm2 0 25000 1>; regulator-name = "vdd_log"; regulator-min-microvolt = <800000>; regulator-max-microvolt = <1400000>; @@ -62,7 +62,7 @@ compatible = "pwm-regulator"; rockchip,pwm_id = <3>; rockchip,pwm_voltage = <900000>; - pwms = <&pwm3 0 25000 0>; + pwms = <&pwm3 0 25000 1>; regulator-name = "vdd_center"; regulator-min-microvolt = <800000>; regulator-max-microvolt = <1400000>; diff --git a/arch/arm64/boot/dts/rockchip/rk3399-evb-rev2.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-evb-rev2.dtsi index 2f3bd7aa9d98..ec937bd182a7 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-evb-rev2.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-evb-rev2.dtsi @@ -59,7 +59,7 @@ compatible = "pwm-regulator"; rockchip,pwm_id = <3>; rockchip,pwm_voltage = <900000>; - pwms = <&pwm3 0 25000 0>; + pwms = <&pwm3 0 25000 1>; regulator-name = "vdd_center"; regulator-min-microvolt = <800000>; regulator-max-microvolt = <1400000>; diff --git a/arch/arm64/boot/dts/rockchip/rk3399-evb-rev3.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-evb-rev3.dtsi index b523fe59a2ce..be7c60b1c45a 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-evb-rev3.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-evb-rev3.dtsi @@ -59,7 +59,7 @@ compatible = "pwm-regulator"; rockchip,pwm_id = <2>; rockchip,pwm_voltage = <900000>; - pwms = <&pwm2 0 25000 0>; + pwms = <&pwm2 0 25000 1>; regulator-name = "vdd_center"; regulator-min-microvolt = <800000>; regulator-max-microvolt = <1400000>; diff --git a/arch/arm64/boot/dts/rockchip/rk3399-mid-818-android-6.0.dts b/arch/arm64/boot/dts/rockchip/rk3399-mid-818-android-6.0.dts index 16053c3bcd73..d28ba3c478f1 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-mid-818-android-6.0.dts +++ b/arch/arm64/boot/dts/rockchip/rk3399-mid-818-android-6.0.dts @@ -90,7 +90,7 @@ vdd_log: vdd-log { compatible = "pwm-regulator"; - pwms = <&pwm2 0 25000 0>; + pwms = <&pwm2 0 25000 1>; rockchip,pwm_id= <2>; rockchip,pwm_voltage = <900000>; regulator-name = "vdd_log"; diff --git a/arch/arm64/boot/dts/rockchip/rk3399-mid-818-android.dts b/arch/arm64/boot/dts/rockchip/rk3399-mid-818-android.dts index d7e49795dc96..76fe9f1a0e17 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-mid-818-android.dts +++ b/arch/arm64/boot/dts/rockchip/rk3399-mid-818-android.dts @@ -103,7 +103,7 @@ vdd_log: vdd-log { compatible = "pwm-regulator"; - pwms = <&pwm2 0 25000 0>; + pwms = <&pwm2 0 25000 1>; rockchip,pwm_id= <2>; rockchip,pwm_voltage = <900000>; regulator-name = "vdd_log"; diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rv1-android.dts b/arch/arm64/boot/dts/rockchip/rk3399-rv1-android.dts index 0461ba3e82db..90219c3e2c4a 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-rv1-android.dts +++ b/arch/arm64/boot/dts/rockchip/rk3399-rv1-android.dts @@ -53,7 +53,7 @@ vdd_log: vdd-log { compatible = "pwm-regulator"; - pwms = <&pwm2 0 25000 0>; + pwms = <&pwm2 0 25000 1>; rockchip,pwm_id= <2>; rockchip,pwm_voltage = <900000>; regulator-name = "vdd_log"; diff --git a/arch/arm64/boot/dts/rockchip/rk3399-sapphire.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-sapphire.dtsi index 6cc467689264..43caa3514983 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-sapphire.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-sapphire.dtsi @@ -168,7 +168,7 @@ vdd_log: vdd-log { compatible = "pwm-regulator"; - pwms = <&pwm2 0 25000 0>; + pwms = <&pwm2 0 25000 1>; regulator-name = "vdd_log"; regulator-min-microvolt = <800000>; regulator-max-microvolt = <1400000>; diff --git a/arch/arm64/boot/dts/rockchip/rk3399-tve1205g.dts b/arch/arm64/boot/dts/rockchip/rk3399-tve1205g.dts index a87119543322..0c28c75309ba 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-tve1205g.dts +++ b/arch/arm64/boot/dts/rockchip/rk3399-tve1205g.dts @@ -104,7 +104,7 @@ vdd_log: vdd-log { compatible = "pwm-regulator"; - pwms = <&pwm2 0 25000 0>; + pwms = <&pwm2 0 25000 1>; rockchip,pwm_id= <2>; rockchip,pwm_voltage = <1000000>; regulator-name = "vdd_log"; diff --git a/arch/arm64/boot/dts/rockchip/rk3399-vr-android.dts b/arch/arm64/boot/dts/rockchip/rk3399-vr-android.dts index f1b7e64f3ce7..aa8a881e51c3 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-vr-android.dts +++ b/arch/arm64/boot/dts/rockchip/rk3399-vr-android.dts @@ -53,7 +53,7 @@ vdd_log: vdd-log { compatible = "pwm-regulator"; - pwms = <&pwm2 0 25000 0>; + pwms = <&pwm2 0 25000 1>; rockchip,pwm_id= <2>; rockchip,pwm_voltage = <900000>; regulator-name = "vdd_log";