* [PATCH 1/4] ARM: dts: sun4i: Add backlight node to iNet1 tablet
@ 2015-11-20 13:59 ` Hans de Goede
0 siblings, 0 replies; 26+ messages in thread
From: Hans de Goede @ 2015-11-20 13:59 UTC (permalink / raw)
To: Maxime Ripard, Chen-Yu Tsai
Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, devicetree,
linux-sunxi-/JYPxA39Uh5TLH3MbocFFw, Hans de Goede
Add a node describing the lcd panel backlight on the iNet1 tablet.
Signed-off-by: Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
---
arch/arm/boot/dts/sun4i-a10-inet1.dts | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/arch/arm/boot/dts/sun4i-a10-inet1.dts b/arch/arm/boot/dts/sun4i-a10-inet1.dts
index 703d756..df1be08 100644
--- a/arch/arm/boot/dts/sun4i-a10-inet1.dts
+++ b/arch/arm/boot/dts/sun4i-a10-inet1.dts
@@ -47,6 +47,7 @@
#include <dt-bindings/input/input.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/pinctrl/sun4i-a10.h>
+#include <dt-bindings/pwm/pwm.h>
/ {
model = "iNet-1";
@@ -56,6 +57,16 @@
serial0 = &uart0;
};
+ backlight: backlight {
+ compatible = "pwm-backlight";
+ pinctrl-names = "default";
+ pinctrl-0 = <&bl_en_pin_inet>;
+ pwms = <&pwm 0 50000 PWM_POLARITY_INVERTED>;
+ brightness-levels = <0 10 20 30 40 50 60 70 80 90 100>;
+ default-brightness-level = <8>;
+ enable-gpios = <&pio 7 7 GPIO_ACTIVE_HIGH>; /* PH7 */
+ };
+
chosen {
stdout-path = "serial0:115200n8";
};
@@ -164,6 +175,13 @@
};
&pio {
+ bl_en_pin_inet: bl_en_pin@0 {
+ allwinner,pins = "PH7";
+ allwinner,function = "gpio_out";
+ allwinner,drive = <SUN4I_PINCTRL_10_MA>;
+ allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+ };
+
touchscreen_wake_pin: touchscreen_wake_pin@0 {
allwinner,pins = "PB13";
allwinner,function = "gpio_out";
@@ -186,6 +204,12 @@
};
};
+&pwm {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pwm0_pins_a>;
+ status = "okay";
+};
+
®_dcdc2 {
regulator-always-on;
regulator-min-microvolt = <1000000>;
--
2.5.0
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [PATCH 1/4] ARM: dts: sun4i: Add backlight node to iNet1 tablet
@ 2015-11-20 13:59 ` Hans de Goede
0 siblings, 0 replies; 26+ messages in thread
From: Hans de Goede @ 2015-11-20 13:59 UTC (permalink / raw)
To: linux-arm-kernel
Add a node describing the lcd panel backlight on the iNet1 tablet.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
arch/arm/boot/dts/sun4i-a10-inet1.dts | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/arch/arm/boot/dts/sun4i-a10-inet1.dts b/arch/arm/boot/dts/sun4i-a10-inet1.dts
index 703d756..df1be08 100644
--- a/arch/arm/boot/dts/sun4i-a10-inet1.dts
+++ b/arch/arm/boot/dts/sun4i-a10-inet1.dts
@@ -47,6 +47,7 @@
#include <dt-bindings/input/input.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/pinctrl/sun4i-a10.h>
+#include <dt-bindings/pwm/pwm.h>
/ {
model = "iNet-1";
@@ -56,6 +57,16 @@
serial0 = &uart0;
};
+ backlight: backlight {
+ compatible = "pwm-backlight";
+ pinctrl-names = "default";
+ pinctrl-0 = <&bl_en_pin_inet>;
+ pwms = <&pwm 0 50000 PWM_POLARITY_INVERTED>;
+ brightness-levels = <0 10 20 30 40 50 60 70 80 90 100>;
+ default-brightness-level = <8>;
+ enable-gpios = <&pio 7 7 GPIO_ACTIVE_HIGH>; /* PH7 */
+ };
+
chosen {
stdout-path = "serial0:115200n8";
};
@@ -164,6 +175,13 @@
};
&pio {
+ bl_en_pin_inet: bl_en_pin at 0 {
+ allwinner,pins = "PH7";
+ allwinner,function = "gpio_out";
+ allwinner,drive = <SUN4I_PINCTRL_10_MA>;
+ allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+ };
+
touchscreen_wake_pin: touchscreen_wake_pin at 0 {
allwinner,pins = "PB13";
allwinner,function = "gpio_out";
@@ -186,6 +204,12 @@
};
};
+&pwm {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pwm0_pins_a>;
+ status = "okay";
+};
+
®_dcdc2 {
regulator-always-on;
regulator-min-microvolt = <1000000>;
--
2.5.0
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [PATCH 2/4] ARM: dts: sun5i: Add backlight node to UTOO P66 tablet
2015-11-20 13:59 ` Hans de Goede
@ 2015-11-20 13:59 ` Hans de Goede
-1 siblings, 0 replies; 26+ messages in thread
From: Hans de Goede @ 2015-11-20 13:59 UTC (permalink / raw)
To: Maxime Ripard, Chen-Yu Tsai
Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, devicetree,
linux-sunxi-/JYPxA39Uh5TLH3MbocFFw, Hans de Goede
Add a node describing the lcd panel backlight on the UTOO P66 tablet.
Signed-off-by: Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
---
arch/arm/boot/dts/sun5i-a13-utoo-p66.dts | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/arch/arm/boot/dts/sun5i-a13-utoo-p66.dts b/arch/arm/boot/dts/sun5i-a13-utoo-p66.dts
index eb793d5..5236c1e 100644
--- a/arch/arm/boot/dts/sun5i-a13-utoo-p66.dts
+++ b/arch/arm/boot/dts/sun5i-a13-utoo-p66.dts
@@ -47,11 +47,21 @@
#include <dt-bindings/input/input.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/pinctrl/sun4i-a10.h>
+#include <dt-bindings/pwm/pwm.h>
/ {
model = "Utoo P66";
compatible = "utoo,p66", "allwinner,sun5i-a13";
+ backlight: backlight {
+ compatible = "pwm-backlight";
+ pwms = <&pwm 0 50000 PWM_POLARITY_INVERTED>;
+ /* Note levels of 10 / 20% result in backlight off */
+ brightness-levels = <0 30 40 50 60 70 80 90 100>;
+ default-brightness-level = <6>;
+ /* TODO: backlight uses axp gpio1 as enable pin */
+ };
+
i2c_lcd: i2c@0 {
/* The lcd panel i2c interface is hooked up via gpios */
compatible = "i2c-gpio";
@@ -201,6 +211,12 @@
};
};
+&pwm {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pwm0_pins>;
+ status = "okay";
+};
+
®_dcdc2 {
regulator-always-on;
regulator-min-microvolt = <1000000>;
--
2.5.0
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [PATCH 2/4] ARM: dts: sun5i: Add backlight node to UTOO P66 tablet
@ 2015-11-20 13:59 ` Hans de Goede
0 siblings, 0 replies; 26+ messages in thread
From: Hans de Goede @ 2015-11-20 13:59 UTC (permalink / raw)
To: linux-arm-kernel
Add a node describing the lcd panel backlight on the UTOO P66 tablet.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
arch/arm/boot/dts/sun5i-a13-utoo-p66.dts | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/arch/arm/boot/dts/sun5i-a13-utoo-p66.dts b/arch/arm/boot/dts/sun5i-a13-utoo-p66.dts
index eb793d5..5236c1e 100644
--- a/arch/arm/boot/dts/sun5i-a13-utoo-p66.dts
+++ b/arch/arm/boot/dts/sun5i-a13-utoo-p66.dts
@@ -47,11 +47,21 @@
#include <dt-bindings/input/input.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/pinctrl/sun4i-a10.h>
+#include <dt-bindings/pwm/pwm.h>
/ {
model = "Utoo P66";
compatible = "utoo,p66", "allwinner,sun5i-a13";
+ backlight: backlight {
+ compatible = "pwm-backlight";
+ pwms = <&pwm 0 50000 PWM_POLARITY_INVERTED>;
+ /* Note levels of 10 / 20% result in backlight off */
+ brightness-levels = <0 30 40 50 60 70 80 90 100>;
+ default-brightness-level = <6>;
+ /* TODO: backlight uses axp gpio1 as enable pin */
+ };
+
i2c_lcd: i2c at 0 {
/* The lcd panel i2c interface is hooked up via gpios */
compatible = "i2c-gpio";
@@ -201,6 +211,12 @@
};
};
+&pwm {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pwm0_pins>;
+ status = "okay";
+};
+
®_dcdc2 {
regulator-always-on;
regulator-min-microvolt = <1000000>;
--
2.5.0
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [PATCH 3/4] ARM: dts: sun4i: Add backlight node to pov protab2 ips9 tablet
2015-11-20 13:59 ` Hans de Goede
@ 2015-11-20 13:59 ` Hans de Goede
-1 siblings, 0 replies; 26+ messages in thread
From: Hans de Goede @ 2015-11-20 13:59 UTC (permalink / raw)
To: Maxime Ripard, Chen-Yu Tsai
Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, devicetree,
linux-sunxi-/JYPxA39Uh5TLH3MbocFFw, Hans de Goede
Add a node describing the lcd panel backlight on the pov protab2 ips9
tablet.
Signed-off-by: Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
---
arch/arm/boot/dts/sun4i-a10-pov-protab2-ips9.dts | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/arch/arm/boot/dts/sun4i-a10-pov-protab2-ips9.dts b/arch/arm/boot/dts/sun4i-a10-pov-protab2-ips9.dts
index 0e5124f..1f92ec7 100644
--- a/arch/arm/boot/dts/sun4i-a10-pov-protab2-ips9.dts
+++ b/arch/arm/boot/dts/sun4i-a10-pov-protab2-ips9.dts
@@ -47,6 +47,7 @@
#include <dt-bindings/input/input.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/pinctrl/sun4i-a10.h>
+#include <dt-bindings/pwm/pwm.h>
/ {
model = "Point of View Protab2-IPS9";
@@ -56,6 +57,16 @@
serial0 = &uart0;
};
+ backlight: backlight {
+ compatible = "pwm-backlight";
+ pinctrl-names = "default";
+ pinctrl-0 = <&bl_en_pin_protab>;
+ pwms = <&pwm 0 50000 PWM_POLARITY_INVERTED>;
+ brightness-levels = <0 10 20 30 40 50 60 70 80 90 100>;
+ default-brightness-level = <8>;
+ enable-gpios = <&pio 7 7 GPIO_ACTIVE_HIGH>; /* PH7 */
+ };
+
chosen {
stdout-path = "serial0:115200n8";
};
@@ -145,6 +156,13 @@
};
&pio {
+ bl_en_pin_protab: bl_en_pin@0 {
+ allwinner,pins = "PH7";
+ allwinner,function = "gpio_out";
+ allwinner,drive = <SUN4I_PINCTRL_10_MA>;
+ allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+ };
+
touchscreen_pins: touchscreen_pins@0 {
allwinner,pins = "PA5", "PB13";
allwinner,function = "gpio_out";
@@ -167,6 +185,12 @@
};
};
+&pwm {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pwm0_pins_a>;
+ status = "okay";
+};
+
®_dcdc2 {
regulator-always-on;
regulator-min-microvolt = <1000000>;
--
2.5.0
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [PATCH 3/4] ARM: dts: sun4i: Add backlight node to pov protab2 ips9 tablet
@ 2015-11-20 13:59 ` Hans de Goede
0 siblings, 0 replies; 26+ messages in thread
From: Hans de Goede @ 2015-11-20 13:59 UTC (permalink / raw)
To: linux-arm-kernel
Add a node describing the lcd panel backlight on the pov protab2 ips9
tablet.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
arch/arm/boot/dts/sun4i-a10-pov-protab2-ips9.dts | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/arch/arm/boot/dts/sun4i-a10-pov-protab2-ips9.dts b/arch/arm/boot/dts/sun4i-a10-pov-protab2-ips9.dts
index 0e5124f..1f92ec7 100644
--- a/arch/arm/boot/dts/sun4i-a10-pov-protab2-ips9.dts
+++ b/arch/arm/boot/dts/sun4i-a10-pov-protab2-ips9.dts
@@ -47,6 +47,7 @@
#include <dt-bindings/input/input.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/pinctrl/sun4i-a10.h>
+#include <dt-bindings/pwm/pwm.h>
/ {
model = "Point of View Protab2-IPS9";
@@ -56,6 +57,16 @@
serial0 = &uart0;
};
+ backlight: backlight {
+ compatible = "pwm-backlight";
+ pinctrl-names = "default";
+ pinctrl-0 = <&bl_en_pin_protab>;
+ pwms = <&pwm 0 50000 PWM_POLARITY_INVERTED>;
+ brightness-levels = <0 10 20 30 40 50 60 70 80 90 100>;
+ default-brightness-level = <8>;
+ enable-gpios = <&pio 7 7 GPIO_ACTIVE_HIGH>; /* PH7 */
+ };
+
chosen {
stdout-path = "serial0:115200n8";
};
@@ -145,6 +156,13 @@
};
&pio {
+ bl_en_pin_protab: bl_en_pin at 0 {
+ allwinner,pins = "PH7";
+ allwinner,function = "gpio_out";
+ allwinner,drive = <SUN4I_PINCTRL_10_MA>;
+ allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+ };
+
touchscreen_pins: touchscreen_pins at 0 {
allwinner,pins = "PA5", "PB13";
allwinner,function = "gpio_out";
@@ -167,6 +185,12 @@
};
};
+&pwm {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pwm0_pins_a>;
+ status = "okay";
+};
+
®_dcdc2 {
regulator-always-on;
regulator-min-microvolt = <1000000>;
--
2.5.0
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [PATCH 4/4] ARM: dts: sun5i: Add i2c axp152 pmic support for Auxtek T004 boards
2015-11-20 13:59 ` Hans de Goede
@ 2015-11-20 13:59 ` Hans de Goede
-1 siblings, 0 replies; 26+ messages in thread
From: Hans de Goede @ 2015-11-20 13:59 UTC (permalink / raw)
To: Maxime Ripard, Chen-Yu Tsai
Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, devicetree,
linux-sunxi-/JYPxA39Uh5TLH3MbocFFw, Michael van Slingerland,
Hans de Goede
From: Michael van Slingerland <michael-D+wD5cluMvBGkk3ZsQTy/Q@public.gmane.org>
Add a node describing the AXP152 pmic used on Auxtek T004 boards.
Signed-off-by: Michael van Slingerland <michael-D+wD5cluMvBGkk3ZsQTy/Q@public.gmane.org>
Signed-off-by: Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
---
arch/arm/boot/dts/sun5i-a10s-auxtek-t004.dts | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/arch/arm/boot/dts/sun5i-a10s-auxtek-t004.dts b/arch/arm/boot/dts/sun5i-a10s-auxtek-t004.dts
index 2b3511e..a790ec8 100644
--- a/arch/arm/boot/dts/sun5i-a10s-auxtek-t004.dts
+++ b/arch/arm/boot/dts/sun5i-a10s-auxtek-t004.dts
@@ -86,6 +86,20 @@
status = "okay";
};
+&i2c0 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&i2c0_pins_a>;
+ status = "okay";
+
+ axp152: pmic@30 {
+ compatible = "x-powers,axp152";
+ reg = <0x30>;
+ interrupts = <0>;
+ interrupt-controller;
+ #interrupt-cells = <1>;
+ };
+};
+
&mmc0 {
pinctrl-names = "default";
pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_t004>;
--
2.5.0
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [PATCH 4/4] ARM: dts: sun5i: Add i2c axp152 pmic support for Auxtek T004 boards
@ 2015-11-20 13:59 ` Hans de Goede
0 siblings, 0 replies; 26+ messages in thread
From: Hans de Goede @ 2015-11-20 13:59 UTC (permalink / raw)
To: linux-arm-kernel
From: Michael van Slingerland <michael@deviousops.nl>
Add a node describing the AXP152 pmic used on Auxtek T004 boards.
Signed-off-by: Michael van Slingerland <michael@deviousops.nl>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
arch/arm/boot/dts/sun5i-a10s-auxtek-t004.dts | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/arch/arm/boot/dts/sun5i-a10s-auxtek-t004.dts b/arch/arm/boot/dts/sun5i-a10s-auxtek-t004.dts
index 2b3511e..a790ec8 100644
--- a/arch/arm/boot/dts/sun5i-a10s-auxtek-t004.dts
+++ b/arch/arm/boot/dts/sun5i-a10s-auxtek-t004.dts
@@ -86,6 +86,20 @@
status = "okay";
};
+&i2c0 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&i2c0_pins_a>;
+ status = "okay";
+
+ axp152: pmic at 30 {
+ compatible = "x-powers,axp152";
+ reg = <0x30>;
+ interrupts = <0>;
+ interrupt-controller;
+ #interrupt-cells = <1>;
+ };
+};
+
&mmc0 {
pinctrl-names = "default";
pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_t004>;
--
2.5.0
^ permalink raw reply related [flat|nested] 26+ messages in thread
* Re: [PATCH 3/4] ARM: dts: sun4i: Add backlight node to pov protab2 ips9 tablet
2015-11-20 13:59 ` Hans de Goede
@ 2015-11-20 15:15 ` Chen-Yu Tsai
-1 siblings, 0 replies; 26+ messages in thread
From: Chen-Yu Tsai @ 2015-11-20 15:15 UTC (permalink / raw)
To: Hans de Goede
Cc: Maxime Ripard, Chen-Yu Tsai, linux-arm-kernel, devicetree, linux-sunxi
On Fri, Nov 20, 2015 at 9:59 PM, Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> wrote:
> Add a node describing the lcd panel backlight on the pov protab2 ips9
> tablet.
>
> Signed-off-by: Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Acked-by: Chen-Yu Tsai <wens-jdAy2FN1RRM@public.gmane.org>
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 26+ messages in thread
* [PATCH 3/4] ARM: dts: sun4i: Add backlight node to pov protab2 ips9 tablet
@ 2015-11-20 15:15 ` Chen-Yu Tsai
0 siblings, 0 replies; 26+ messages in thread
From: Chen-Yu Tsai @ 2015-11-20 15:15 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, Nov 20, 2015 at 9:59 PM, Hans de Goede <hdegoede@redhat.com> wrote:
> Add a node describing the lcd panel backlight on the pov protab2 ips9
> tablet.
>
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [PATCH 4/4] ARM: dts: sun5i: Add i2c axp152 pmic support for Auxtek T004 boards
2015-11-20 13:59 ` Hans de Goede
@ 2015-11-20 15:18 ` Chen-Yu Tsai
-1 siblings, 0 replies; 26+ messages in thread
From: Chen-Yu Tsai @ 2015-11-20 15:18 UTC (permalink / raw)
To: Hans de Goede
Cc: Maxime Ripard, Chen-Yu Tsai, linux-arm-kernel, devicetree,
linux-sunxi, Michael van Slingerland
On Fri, Nov 20, 2015 at 9:59 PM, Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> wrote:
> From: Michael van Slingerland <michael-D+wD5cluMvBGkk3ZsQTy/Q@public.gmane.org>
>
> Add a node describing the AXP152 pmic used on Auxtek T004 boards.
>
> Signed-off-by: Michael van Slingerland <michael-D+wD5cluMvBGkk3ZsQTy/Q@public.gmane.org>
> Signed-off-by: Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Acked-by: Chen-Yu Tsai <wens-jdAy2FN1RRM@public.gmane.org>
^ permalink raw reply [flat|nested] 26+ messages in thread
* [PATCH 4/4] ARM: dts: sun5i: Add i2c axp152 pmic support for Auxtek T004 boards
@ 2015-11-20 15:18 ` Chen-Yu Tsai
0 siblings, 0 replies; 26+ messages in thread
From: Chen-Yu Tsai @ 2015-11-20 15:18 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, Nov 20, 2015 at 9:59 PM, Hans de Goede <hdegoede@redhat.com> wrote:
> From: Michael van Slingerland <michael@deviousops.nl>
>
> Add a node describing the AXP152 pmic used on Auxtek T004 boards.
>
> Signed-off-by: Michael van Slingerland <michael@deviousops.nl>
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [PATCH 2/4] ARM: dts: sun5i: Add backlight node to UTOO P66 tablet
2015-11-20 13:59 ` Hans de Goede
@ 2015-11-20 15:22 ` Chen-Yu Tsai
-1 siblings, 0 replies; 26+ messages in thread
From: Chen-Yu Tsai @ 2015-11-20 15:22 UTC (permalink / raw)
To: Hans de Goede
Cc: Maxime Ripard, Chen-Yu Tsai, linux-arm-kernel, devicetree, linux-sunxi
On Fri, Nov 20, 2015 at 9:59 PM, Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> wrote:
> Add a node describing the lcd panel backlight on the UTOO P66 tablet.
>
> Signed-off-by: Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Acked-by: Chen-Yu Tsai <wens-jdAy2FN1RRM@public.gmane.org>
^ permalink raw reply [flat|nested] 26+ messages in thread
* [PATCH 2/4] ARM: dts: sun5i: Add backlight node to UTOO P66 tablet
@ 2015-11-20 15:22 ` Chen-Yu Tsai
0 siblings, 0 replies; 26+ messages in thread
From: Chen-Yu Tsai @ 2015-11-20 15:22 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, Nov 20, 2015 at 9:59 PM, Hans de Goede <hdegoede@redhat.com> wrote:
> Add a node describing the lcd panel backlight on the UTOO P66 tablet.
>
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [PATCH 1/4] ARM: dts: sun4i: Add backlight node to iNet1 tablet
2015-11-20 13:59 ` Hans de Goede
@ 2015-11-20 15:27 ` Chen-Yu Tsai
-1 siblings, 0 replies; 26+ messages in thread
From: Chen-Yu Tsai @ 2015-11-20 15:27 UTC (permalink / raw)
To: Hans De Goede
Cc: Maxime Ripard, Chen-Yu Tsai, linux-arm-kernel, devicetree, linux-sunxi
On Fri, Nov 20, 2015 at 9:59 PM, Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> wrote:
> Add a node describing the lcd panel backlight on the iNet1 tablet.
>
> Signed-off-by: Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Acked-by: Chen-Yu Tsai <wens-jdAy2FN1RRM@public.gmane.org>
^ permalink raw reply [flat|nested] 26+ messages in thread
* [linux-sunxi] [PATCH 1/4] ARM: dts: sun4i: Add backlight node to iNet1 tablet
@ 2015-11-20 15:27 ` Chen-Yu Tsai
0 siblings, 0 replies; 26+ messages in thread
From: Chen-Yu Tsai @ 2015-11-20 15:27 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, Nov 20, 2015 at 9:59 PM, Hans de Goede <hdegoede@redhat.com> wrote:
> Add a node describing the lcd panel backlight on the iNet1 tablet.
>
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [PATCH 1/4] ARM: dts: sun4i: Add backlight node to iNet1 tablet
2015-11-20 13:59 ` Hans de Goede
@ 2015-11-20 16:38 ` Maxime Ripard
-1 siblings, 0 replies; 26+ messages in thread
From: Maxime Ripard @ 2015-11-20 16:38 UTC (permalink / raw)
To: Hans de Goede
Cc: Chen-Yu Tsai, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
devicetree, linux-sunxi-/JYPxA39Uh5TLH3MbocFFw
[-- Attachment #1: Type: text/plain, Size: 483 bytes --]
On Fri, Nov 20, 2015 at 02:59:07PM +0100, Hans de Goede wrote:
> Add a node describing the lcd panel backlight on the iNet1 tablet.
>
> Signed-off-by: Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Applied. This patch was not applying. Please either mention the
dependency between your patch sets or base them on top of linus' rc's
or my branches.
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 26+ messages in thread
* [PATCH 1/4] ARM: dts: sun4i: Add backlight node to iNet1 tablet
@ 2015-11-20 16:38 ` Maxime Ripard
0 siblings, 0 replies; 26+ messages in thread
From: Maxime Ripard @ 2015-11-20 16:38 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, Nov 20, 2015 at 02:59:07PM +0100, Hans de Goede wrote:
> Add a node describing the lcd panel backlight on the iNet1 tablet.
>
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Applied. This patch was not applying. Please either mention the
dependency between your patch sets or base them on top of linus' rc's
or my branches.
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20151120/f2363890/attachment.sig>
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [PATCH 2/4] ARM: dts: sun5i: Add backlight node to UTOO P66 tablet
2015-11-20 13:59 ` Hans de Goede
@ 2015-11-20 16:39 ` Maxime Ripard
-1 siblings, 0 replies; 26+ messages in thread
From: Maxime Ripard @ 2015-11-20 16:39 UTC (permalink / raw)
To: Hans de Goede
Cc: Chen-Yu Tsai, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
devicetree, linux-sunxi-/JYPxA39Uh5TLH3MbocFFw
[-- Attachment #1: Type: text/plain, Size: 352 bytes --]
On Fri, Nov 20, 2015 at 02:59:08PM +0100, Hans de Goede wrote:
> Add a node describing the lcd panel backlight on the UTOO P66 tablet.
>
> Signed-off-by: Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Applied, thanks!
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 26+ messages in thread
* [PATCH 2/4] ARM: dts: sun5i: Add backlight node to UTOO P66 tablet
@ 2015-11-20 16:39 ` Maxime Ripard
0 siblings, 0 replies; 26+ messages in thread
From: Maxime Ripard @ 2015-11-20 16:39 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, Nov 20, 2015 at 02:59:08PM +0100, Hans de Goede wrote:
> Add a node describing the lcd panel backlight on the UTOO P66 tablet.
>
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Applied, thanks!
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20151120/a463637e/attachment.sig>
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [PATCH 3/4] ARM: dts: sun4i: Add backlight node to pov protab2 ips9 tablet
2015-11-20 13:59 ` Hans de Goede
@ 2015-11-20 16:41 ` Maxime Ripard
-1 siblings, 0 replies; 26+ messages in thread
From: Maxime Ripard @ 2015-11-20 16:41 UTC (permalink / raw)
To: Hans de Goede
Cc: Chen-Yu Tsai, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
devicetree, linux-sunxi-/JYPxA39Uh5TLH3MbocFFw
[-- Attachment #1: Type: text/plain, Size: 2098 bytes --]
On Fri, Nov 20, 2015 at 02:59:09PM +0100, Hans de Goede wrote:
> Add a node describing the lcd panel backlight on the pov protab2 ips9
> tablet.
>
> Signed-off-by: Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Fixed the conflict and applied. Thanks,
Maxime
> ---
> arch/arm/boot/dts/sun4i-a10-pov-protab2-ips9.dts | 24 ++++++++++++++++++++++++
> 1 file changed, 24 insertions(+)
>
> diff --git a/arch/arm/boot/dts/sun4i-a10-pov-protab2-ips9.dts b/arch/arm/boot/dts/sun4i-a10-pov-protab2-ips9.dts
> index 0e5124f..1f92ec7 100644
> --- a/arch/arm/boot/dts/sun4i-a10-pov-protab2-ips9.dts
> +++ b/arch/arm/boot/dts/sun4i-a10-pov-protab2-ips9.dts
> @@ -47,6 +47,7 @@
> #include <dt-bindings/input/input.h>
> #include <dt-bindings/interrupt-controller/irq.h>
> #include <dt-bindings/pinctrl/sun4i-a10.h>
> +#include <dt-bindings/pwm/pwm.h>
>
> / {
> model = "Point of View Protab2-IPS9";
> @@ -56,6 +57,16 @@
> serial0 = &uart0;
> };
>
> + backlight: backlight {
> + compatible = "pwm-backlight";
> + pinctrl-names = "default";
> + pinctrl-0 = <&bl_en_pin_protab>;
> + pwms = <&pwm 0 50000 PWM_POLARITY_INVERTED>;
> + brightness-levels = <0 10 20 30 40 50 60 70 80 90 100>;
> + default-brightness-level = <8>;
> + enable-gpios = <&pio 7 7 GPIO_ACTIVE_HIGH>; /* PH7 */
> + };
> +
> chosen {
> stdout-path = "serial0:115200n8";
> };
> @@ -145,6 +156,13 @@
> };
>
> &pio {
> + bl_en_pin_protab: bl_en_pin@0 {
> + allwinner,pins = "PH7";
> + allwinner,function = "gpio_out";
> + allwinner,drive = <SUN4I_PINCTRL_10_MA>;
> + allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
> + };
> +
> touchscreen_pins: touchscreen_pins@0 {
> allwinner,pins = "PA5", "PB13";
> allwinner,function = "gpio_out";
> @@ -167,6 +185,12 @@
> };
> };
>
> +&pwm {
> + pinctrl-names = "default";
> + pinctrl-0 = <&pwm0_pins_a>;
> + status = "okay";
> +};
> +
> ®_dcdc2 {
> regulator-always-on;
> regulator-min-microvolt = <1000000>;
> --
> 2.5.0
>
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 26+ messages in thread
* [PATCH 3/4] ARM: dts: sun4i: Add backlight node to pov protab2 ips9 tablet
@ 2015-11-20 16:41 ` Maxime Ripard
0 siblings, 0 replies; 26+ messages in thread
From: Maxime Ripard @ 2015-11-20 16:41 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, Nov 20, 2015 at 02:59:09PM +0100, Hans de Goede wrote:
> Add a node describing the lcd panel backlight on the pov protab2 ips9
> tablet.
>
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Fixed the conflict and applied. Thanks,
Maxime
> ---
> arch/arm/boot/dts/sun4i-a10-pov-protab2-ips9.dts | 24 ++++++++++++++++++++++++
> 1 file changed, 24 insertions(+)
>
> diff --git a/arch/arm/boot/dts/sun4i-a10-pov-protab2-ips9.dts b/arch/arm/boot/dts/sun4i-a10-pov-protab2-ips9.dts
> index 0e5124f..1f92ec7 100644
> --- a/arch/arm/boot/dts/sun4i-a10-pov-protab2-ips9.dts
> +++ b/arch/arm/boot/dts/sun4i-a10-pov-protab2-ips9.dts
> @@ -47,6 +47,7 @@
> #include <dt-bindings/input/input.h>
> #include <dt-bindings/interrupt-controller/irq.h>
> #include <dt-bindings/pinctrl/sun4i-a10.h>
> +#include <dt-bindings/pwm/pwm.h>
>
> / {
> model = "Point of View Protab2-IPS9";
> @@ -56,6 +57,16 @@
> serial0 = &uart0;
> };
>
> + backlight: backlight {
> + compatible = "pwm-backlight";
> + pinctrl-names = "default";
> + pinctrl-0 = <&bl_en_pin_protab>;
> + pwms = <&pwm 0 50000 PWM_POLARITY_INVERTED>;
> + brightness-levels = <0 10 20 30 40 50 60 70 80 90 100>;
> + default-brightness-level = <8>;
> + enable-gpios = <&pio 7 7 GPIO_ACTIVE_HIGH>; /* PH7 */
> + };
> +
> chosen {
> stdout-path = "serial0:115200n8";
> };
> @@ -145,6 +156,13 @@
> };
>
> &pio {
> + bl_en_pin_protab: bl_en_pin at 0 {
> + allwinner,pins = "PH7";
> + allwinner,function = "gpio_out";
> + allwinner,drive = <SUN4I_PINCTRL_10_MA>;
> + allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
> + };
> +
> touchscreen_pins: touchscreen_pins at 0 {
> allwinner,pins = "PA5", "PB13";
> allwinner,function = "gpio_out";
> @@ -167,6 +185,12 @@
> };
> };
>
> +&pwm {
> + pinctrl-names = "default";
> + pinctrl-0 = <&pwm0_pins_a>;
> + status = "okay";
> +};
> +
> ®_dcdc2 {
> regulator-always-on;
> regulator-min-microvolt = <1000000>;
> --
> 2.5.0
>
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20151120/838307c1/attachment-0001.sig>
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [PATCH 4/4] ARM: dts: sun5i: Add i2c axp152 pmic support for Auxtek T004 boards
2015-11-20 13:59 ` Hans de Goede
@ 2015-11-20 16:42 ` Maxime Ripard
-1 siblings, 0 replies; 26+ messages in thread
From: Maxime Ripard @ 2015-11-20 16:42 UTC (permalink / raw)
To: Hans de Goede
Cc: Chen-Yu Tsai, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
devicetree, linux-sunxi-/JYPxA39Uh5TLH3MbocFFw,
Michael van Slingerland
[-- Attachment #1: Type: text/plain, Size: 614 bytes --]
On Fri, Nov 20, 2015 at 02:59:10PM +0100, Hans de Goede wrote:
> From: Michael van Slingerland <michael-D+wD5cluMvBGkk3ZsQTy/Q@public.gmane.org>
>
> Add a node describing the AXP152 pmic used on Auxtek T004 boards.
>
> Signed-off-by: Michael van Slingerland <michael-D+wD5cluMvBGkk3ZsQTy/Q@public.gmane.org>
> Signed-off-by: Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
I don't really get why this patch is in the same set as the other
patches, but I just applied it. Thanks!
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 26+ messages in thread
* [PATCH 4/4] ARM: dts: sun5i: Add i2c axp152 pmic support for Auxtek T004 boards
@ 2015-11-20 16:42 ` Maxime Ripard
0 siblings, 0 replies; 26+ messages in thread
From: Maxime Ripard @ 2015-11-20 16:42 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, Nov 20, 2015 at 02:59:10PM +0100, Hans de Goede wrote:
> From: Michael van Slingerland <michael@deviousops.nl>
>
> Add a node describing the AXP152 pmic used on Auxtek T004 boards.
>
> Signed-off-by: Michael van Slingerland <michael@deviousops.nl>
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
I don't really get why this patch is in the same set as the other
patches, but I just applied it. Thanks!
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20151120/03946551/attachment-0001.sig>
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Re: [PATCH 4/4] ARM: dts: sun5i: Add i2c axp152 pmic support for Auxtek T004 boards
2015-11-20 16:42 ` Maxime Ripard
@ 2015-11-20 18:24 ` Hans de Goede
-1 siblings, 0 replies; 26+ messages in thread
From: Hans de Goede @ 2015-11-20 18:24 UTC (permalink / raw)
To: Maxime Ripard
Cc: Chen-Yu Tsai, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
devicetree, linux-sunxi-/JYPxA39Uh5TLH3MbocFFw,
Michael van Slingerland
Hi,
On 20-11-15 17:42, Maxime Ripard wrote:
> On Fri, Nov 20, 2015 at 02:59:10PM +0100, Hans de Goede wrote:
>> From: Michael van Slingerland <michael-D+wD5cluMvBGkk3ZsQTy/Q@public.gmane.org>
>>
>> Add a node describing the AXP152 pmic used on Auxtek T004 boards.
>>
>> Signed-off-by: Michael van Slingerland <michael-D+wD5cluMvBGkk3ZsQTy/Q@public.gmane.org>
>> Signed-off-by: Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
>
> I don't really get why this patch is in the same set as the other
> patches, but I just applied it. Thanks!
The theme of the set was dts patches which do not depend on anything
else :)
And sorry about the conflicts, I had the touchscreen patches in my
tree before this set.
Regards,
Hans
^ permalink raw reply [flat|nested] 26+ messages in thread
* [linux-sunxi] Re: [PATCH 4/4] ARM: dts: sun5i: Add i2c axp152 pmic support for Auxtek T004 boards
@ 2015-11-20 18:24 ` Hans de Goede
0 siblings, 0 replies; 26+ messages in thread
From: Hans de Goede @ 2015-11-20 18:24 UTC (permalink / raw)
To: linux-arm-kernel
Hi,
On 20-11-15 17:42, Maxime Ripard wrote:
> On Fri, Nov 20, 2015 at 02:59:10PM +0100, Hans de Goede wrote:
>> From: Michael van Slingerland <michael@deviousops.nl>
>>
>> Add a node describing the AXP152 pmic used on Auxtek T004 boards.
>>
>> Signed-off-by: Michael van Slingerland <michael@deviousops.nl>
>> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
>
> I don't really get why this patch is in the same set as the other
> patches, but I just applied it. Thanks!
The theme of the set was dts patches which do not depend on anything
else :)
And sorry about the conflicts, I had the touchscreen patches in my
tree before this set.
Regards,
Hans
^ permalink raw reply [flat|nested] 26+ messages in thread
end of thread, other threads:[~2015-11-20 18:24 UTC | newest]
Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-20 13:59 [PATCH 1/4] ARM: dts: sun4i: Add backlight node to iNet1 tablet Hans de Goede
2015-11-20 13:59 ` Hans de Goede
[not found] ` <1448027950-14629-1-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-11-20 13:59 ` [PATCH 2/4] ARM: dts: sun5i: Add backlight node to UTOO P66 tablet Hans de Goede
2015-11-20 13:59 ` Hans de Goede
[not found] ` <1448027950-14629-2-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-11-20 15:22 ` Chen-Yu Tsai
2015-11-20 15:22 ` Chen-Yu Tsai
2015-11-20 16:39 ` Maxime Ripard
2015-11-20 16:39 ` Maxime Ripard
2015-11-20 13:59 ` [PATCH 3/4] ARM: dts: sun4i: Add backlight node to pov protab2 ips9 tablet Hans de Goede
2015-11-20 13:59 ` Hans de Goede
[not found] ` <1448027950-14629-3-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-11-20 15:15 ` Chen-Yu Tsai
2015-11-20 15:15 ` Chen-Yu Tsai
2015-11-20 16:41 ` Maxime Ripard
2015-11-20 16:41 ` Maxime Ripard
2015-11-20 13:59 ` [PATCH 4/4] ARM: dts: sun5i: Add i2c axp152 pmic support for Auxtek T004 boards Hans de Goede
2015-11-20 13:59 ` Hans de Goede
[not found] ` <1448027950-14629-4-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-11-20 15:18 ` Chen-Yu Tsai
2015-11-20 15:18 ` Chen-Yu Tsai
2015-11-20 16:42 ` Maxime Ripard
2015-11-20 16:42 ` Maxime Ripard
2015-11-20 18:24 ` Hans de Goede
2015-11-20 18:24 ` [linux-sunxi] " Hans de Goede
2015-11-20 15:27 ` [PATCH 1/4] ARM: dts: sun4i: Add backlight node to iNet1 tablet Chen-Yu Tsai
2015-11-20 15:27 ` [linux-sunxi] " Chen-Yu Tsai
2015-11-20 16:38 ` Maxime Ripard
2015-11-20 16:38 ` Maxime Ripard
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.