[Armadeus-commitlog] armadeus branch, buildroot-update, updated. armadeus-6.0-171-ge68b904
Brought to you by:
sszy
|
From: Julien B a. A. <ar...@us...> - 2016-12-15 15:58:01
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, buildroot-update has been updated
via e68b904e463c4d31b65f0b59a79c567861766411 (commit)
from 1dbe78264c658eee490d0992e2bc997b103b88be (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit e68b904e463c4d31b65f0b59a79c567861766411
Author: Julien BOIBESSOT <jul...@ar...>
Date: Thu Dec 15 16:57:16 2016 +0100
[LINUX] 4.8: opos6ul: makes LCD backlight drived by PWM instead of 2 state GPIO
-----------------------------------------------------------------------
Summary of changes:
...pos6ul-and-opos6uldev-add-initial-support.patch | 37 ++++++++++++--------
1 files changed, 22 insertions(+), 15 deletions(-)
diff --git a/patches/linux/4.8/0800-ARM-dts-opos6ul-and-opos6uldev-add-initial-support.patch b/patches/linux/4.8/0800-ARM-dts-opos6ul-and-opos6uldev-add-initial-support.patch
index 70bf7a5..af76ec4 100644
--- a/patches/linux/4.8/0800-ARM-dts-opos6ul-and-opos6uldev-add-initial-support.patch
+++ b/patches/linux/4.8/0800-ARM-dts-opos6ul-and-opos6uldev-add-initial-support.patch
@@ -16,10 +16,10 @@ Signed-off-by: Sébastien Szymanski <seb...@ar...>
create mode 100644 arch/arm/boot/dts/imx6ul-opos6ul.dtsi
create mode 100644 arch/arm/boot/dts/imx6ul-opos6uldev.dts
-Index: linux-4.8.4/arch/arm/boot/dts/Makefile
+Index: linux-4.8.10/arch/arm/boot/dts/Makefile
===================================================================
---- linux-4.8.4.orig/arch/arm/boot/dts/Makefile
-+++ linux-4.8.4/arch/arm/boot/dts/Makefile
+--- linux-4.8.10.orig/arch/arm/boot/dts/Makefile
++++ linux-4.8.10/arch/arm/boot/dts/Makefile
@@ -407,6 +407,7 @@ dtb-$(CONFIG_SOC_IMX6SX) += \
imx6sx-sdb.dtb
dtb-$(CONFIG_SOC_IMX6UL) += \
@@ -28,10 +28,10 @@ Index: linux-4.8.4/arch/arm/boot/dts/Makefile
imx6ul-pico-hobbit.dtb \
imx6ul-tx6ul-0010.dtb \
imx6ul-tx6ul-0011.dtb \
-Index: linux-4.8.4/arch/arm/boot/dts/imx6ul-opos6ul.dtsi
+Index: linux-4.8.10/arch/arm/boot/dts/imx6ul-opos6ul.dtsi
===================================================================
--- /dev/null
-+++ linux-4.8.4/arch/arm/boot/dts/imx6ul-opos6ul.dtsi
++++ linux-4.8.10/arch/arm/boot/dts/imx6ul-opos6ul.dtsi
@@ -0,0 +1,192 @@
+/*
+ * Copyright 2016 Armadeus Systems <su...@ar...>
@@ -225,11 +225,11 @@ Index: linux-4.8.4/arch/arm/boot/dts/imx6ul-opos6ul.dtsi
+ >;
+ };
+};
-Index: linux-4.8.4/arch/arm/boot/dts/imx6ul-opos6uldev.dts
+Index: linux-4.8.10/arch/arm/boot/dts/imx6ul-opos6uldev.dts
===================================================================
--- /dev/null
-+++ linux-4.8.4/arch/arm/boot/dts/imx6ul-opos6uldev.dts
-@@ -0,0 +1,396 @@
++++ linux-4.8.10/arch/arm/boot/dts/imx6ul-opos6uldev.dts
+@@ -0,0 +1,403 @@
+/*
+ * Copyright 2016 Armadeus Systems <su...@ar...>
+ *
@@ -289,11 +289,11 @@ Index: linux-4.8.4/arch/arm/boot/dts/imx6ul-opos6uldev.dts
+ };
+
+ backlight {
-+ compatible = "gpio-backlight";
-+ pinctrl-names = "default";
-+ pinctrl-0 = <&pinctrl_backlight>;
-+ gpios = <&gpio4 10 GPIO_ACTIVE_HIGH>;
-+ default-on;
++ compatible = "pwm-backlight";
++ pwms = <&pwm3 0 191000>;
++ brightness-levels = <0 4 8 16 32 64 128 255>;
++ default-brightness-level = <7>;
++ status = "okay";
+ };
+
+ gpio-keys {
@@ -351,6 +351,12 @@ Index: linux-4.8.4/arch/arm/boot/dts/imx6ul-opos6uldev.dts
+ };
+};
+
++&pwm3 {
++ pinctrl-names = "default";
++ pinctrl-0 = <&pinctrl_pwm3>;
++ status = "okay";
++};
++
+&adc1 {
+ vref-supply = <®_3v3>;
+ status = "okay";
@@ -480,9 +486,10 @@ Index: linux-4.8.4/arch/arm/boot/dts/imx6ul-opos6uldev.dts
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_gpios>;
+
-+ pinctrl_backlight: backlightgrp {
++
++ pinctrl_pwm3: pwm3grp {
+ fsl,pins = <
-+ MX6UL_PAD_NAND_ALE__GPIO4_IO10 0x1b0b0
++ MX6UL_PAD_NAND_ALE__PWM3_OUT 0x1b0b0
+ >;
+ };
+
hooks/post-receive
--
armadeus
|