Theses patches apply to the kernel package git module [PATCH 1/3] [ARM][TEGRA][PAZ00] Add TPS6586x RTC/Regulator as builtin [PATCH 2/3] [ARM][TEGRA][PAZ00] Add simple-panel support in dts for AC100 [PATCH 3/3] [ARM] [Wandboard] Add CONFIG_RTC_DRV_SNVS as builtin
This prevent rtc to appear too late on the Toshiba AC100 déc. 31 19:00:01 localhost kernel: drivers/rtc/hctosys.c: unable to open rtc device (rtc0) ... déc. 31 19:00:01 localhost kernel: tps6586x-rtc tps6586x-rtc: rtc core: registered tps6586x-rtc as rtc0
The powered rtc is accesseded via i2c so this requires IC2_TEGRA=y in order to work --- config-armv7 | 4 ++-- config-armv7-generic | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/config-armv7 b/config-armv7 index c148a67..c3019f7 100644 --- a/config-armv7 +++ b/config-armv7 @@ -508,7 +508,7 @@ CONFIG_TEGRA_IOMMU_GART=y CONFIG_TEGRA_IOMMU_SMMU=y CONFIG_MMC_SDHCI_TEGRA=m
-CONFIG_I2C_TEGRA=m +CONFIG_I2C_TEGRA=y
CONFIG_TEGRA_SYSTEM_DMA=y CONFIG_TEGRA_EMC_SCALING_ENABLE=y @@ -549,7 +549,7 @@ CONFIG_NVEC_LEDS=y CONFIG_NVEC_PAZ00=y CONFIG_MFD_TPS6586X=y CONFIG_GPIO_TPS6586X=y -CONFIG_RTC_DRV_TPS6586X=m +CONFIG_RTC_DRV_TPS6586X=y
CONFIG_PWM_TEGRA=m
diff --git a/config-armv7-generic b/config-armv7-generic index a81ca01..d493212 100644 --- a/config-armv7-generic +++ b/config-armv7-generic @@ -461,7 +461,7 @@ CONFIG_REGULATOR_TPS6507X=m CONFIG_REGULATOR_TPS65090=m CONFIG_REGULATOR_TPS65217=m CONFIG_REGULATOR_TPS6524X=m -CONFIG_REGULATOR_TPS6586X=m +CONFIG_REGULATOR_TPS6586X=y CONFIG_REGULATOR_TPS65910=m CONFIG_REGULATOR_TPS65912=m CONFIG_REGULATOR_TPS80031=m
On Fri, Feb 14, 2014 at 8:38 AM, Nicolas Chauvet kwizart@gmail.com wrote:
This prevent rtc to appear too late on the Toshiba AC100 déc. 31 19:00:01 localhost kernel: drivers/rtc/hctosys.c: unable to open rtc device (rtc0) ... déc. 31 19:00:01 localhost kernel: tps6586x-rtc tps6586x-rtc: rtc core: registered tps6586x-rtc as rtc0
The powered rtc is accesseded via i2c so this requires IC2_TEGRA=y in order to work
Shouldn't the rtc module have a dependency on I2C and do a request_module on it? Building it into the kernel works, but only because the i2c-tegra module is doing a subsys_initcall instead of just plain module_init. Seems somewhat tenuous.
Looking at the i2c-tegra driver, I think it should be OK to built in as it seems to have the proper device tree matches in place. I'm curious if you tested this on any of the other boards that are built in the multiboard armv7 kernels though.
josh
config-armv7 | 4 ++-- config-armv7-generic | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/config-armv7 b/config-armv7 index c148a67..c3019f7 100644 --- a/config-armv7 +++ b/config-armv7 @@ -508,7 +508,7 @@ CONFIG_TEGRA_IOMMU_GART=y CONFIG_TEGRA_IOMMU_SMMU=y CONFIG_MMC_SDHCI_TEGRA=m
-CONFIG_I2C_TEGRA=m +CONFIG_I2C_TEGRA=y
CONFIG_TEGRA_SYSTEM_DMA=y CONFIG_TEGRA_EMC_SCALING_ENABLE=y @@ -549,7 +549,7 @@ CONFIG_NVEC_LEDS=y CONFIG_NVEC_PAZ00=y CONFIG_MFD_TPS6586X=y CONFIG_GPIO_TPS6586X=y -CONFIG_RTC_DRV_TPS6586X=m +CONFIG_RTC_DRV_TPS6586X=y
CONFIG_PWM_TEGRA=m
diff --git a/config-armv7-generic b/config-armv7-generic index a81ca01..d493212 100644 --- a/config-armv7-generic +++ b/config-armv7-generic @@ -461,7 +461,7 @@ CONFIG_REGULATOR_TPS6507X=m CONFIG_REGULATOR_TPS65090=m CONFIG_REGULATOR_TPS65217=m CONFIG_REGULATOR_TPS6524X=m -CONFIG_REGULATOR_TPS6586X=m +CONFIG_REGULATOR_TPS6586X=y CONFIG_REGULATOR_TPS65910=m CONFIG_REGULATOR_TPS65912=m CONFIG_REGULATOR_TPS80031=m -- 1.7.2.1
kernel mailing list kernel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/kernel
2014-02-14 14:54 GMT+01:00 Josh Boyer jwboyer@fedoraproject.org:
On Fri, Feb 14, 2014 at 8:38 AM, Nicolas Chauvet kwizart@gmail.com wrote:
This prevent rtc to appear too late on the Toshiba AC100 déc. 31 19:00:01 localhost kernel: drivers/rtc/hctosys.c: unable to open
rtc device (rtc0)
... déc. 31 19:00:01 localhost kernel: tps6586x-rtc tps6586x-rtc: rtc core:
registered tps6586x-rtc as rtc0
The powered rtc is accesseded via i2c so this requires IC2_TEGRA=y in order to work
Shouldn't the rtc module have a dependency on I2C and do a request_module on it? Building it into the kernel works, but only because the i2c-tegra module is doing a subsys_initcall instead of just plain module_init. Seems somewhat tenuous.
My understanding is that lsmod output doesn't show any dependency of the rtc driver upon ic2_tegra or tps6586_regulator, but all theses modules are appropriately loaded and hwclock -rf /dev/rtc0 shows the right time after a cold boot with the current kernel. Adding theses modules within the initramfs only allows the rtc driver to be loaded bellow 1sec too late, and as soon as there is no option for the kernel to delay the rtc clock read, the rtc driver cannot win the race when built as a module.
There are probably others rtc modules in that situation. But I don't know the how they are wired...
Looking at the i2c-tegra driver, I think it should be OK to built in as it seems to have the proper device tree matches in place. I'm curious if you tested this on any of the other boards that are built in the multiboard armv7 kernels though.
Testing with this scratch build: http://kojipkgs.fedoraproject.org//work/tasks/3307/6523307/kernel-3.14.0-0.r... on a wandboard quad but I have issue with fedora kernel package 3.14.rc2 or 3.14-rc3, I need to find a serial to inverstigate this boot time issue.
Nicolas (kwizart)
This prevent error like this déc. 31 19:00:02 localhost kernel: drivers/rtc/hctosys.c: unable to open rtc device (rtc0) ... déc. 31 19:00:09 localhost kernel: snvs_rtc 20cc034.snvs-rtc-lp: rtc core: registered 20cc034.snvs-rtc-lp as rtc0
On the wandboard, this rtc isn't wired, so it can only help to save time accross reboot --- config-armv7 | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/config-armv7 b/config-armv7 index c3019f7..3a48199 100644 --- a/config-armv7 +++ b/config-armv7 @@ -360,7 +360,7 @@ CONFIG_IMX_WEIM=y CONFIG_IMX2_WDT=m CONFIG_HW_RANDOM_MXC_RNGA=m CONFIG_CRYPTO_DEV_SAHARA=m -CONFIG_RTC_DRV_SNVS=m +CONFIG_RTC_DRV_SNVS=y # CONFIG_FB_MX3 is not set
CONFIG_SND_IMX_SOC=m
This patch adds panel support for the Toshiba AC100 Scheduled for 3.15. --- arm-tegra-paz00-panel-dts.patch | 96 +++++++++++++++++++++++++++++++++++++++ kernel.spec | 5 ++ 2 files changed, 101 insertions(+), 0 deletions(-) create mode 100644 arm-tegra-paz00-panel-dts.patch
diff --git a/arm-tegra-paz00-panel-dts.patch b/arm-tegra-paz00-panel-dts.patch new file mode 100644 index 0000000..77a6cc2 --- /dev/null +++ b/arm-tegra-paz00-panel-dts.patch @@ -0,0 +1,96 @@ +commit 92183edf46d3811c566bb7e6ac2c31d5987a1883 +Author: Marc Dietrich marvin24@gmx.de +Date: Sat Dec 21 21:38:13 2013 +0100 + + ARM: tegra: paz00: Add LVDS support to device tree + + Add backlight and panel nodes for the PAZ00 TFT LCD panel. + + Signed-off-by: Marc Dietrich marvin24@gmx.de + +diff --git a/arch/arm/boot/dts/tegra20-paz00.dts b/arch/arm/boot/dts/tegra20-paz00.dts +index c7cd8e6..679f47b 100644 +--- a/arch/arm/boot/dts/tegra20-paz00.dts ++++ b/arch/arm/boot/dts/tegra20-paz00.dts +@@ -17,6 +17,15 @@ + }; + + host1x@50000000 { ++ dc@54200000 { ++ nvidia,head = <0>; ++ rgb { ++ status = "okay"; ++ ++ nvidia,panel = <&panel>; ++ }; ++ }; ++ + hdmi@54280000 { + status = "okay"; + +@@ -257,7 +266,11 @@ + status = "okay"; + }; + +- i2c@7000c000 { ++ pwm: pwm@7000a000 { ++ status = "okay"; ++ }; ++ ++ lvds_ddc: i2c@7000c000 { + status = "okay"; + clock-frequency = <400000>; + +@@ -475,6 +488,18 @@ + non-removable; + }; + ++ backlight: backlight { ++ compatible = "pwm-backlight"; ++ ++ enable-gpios = <&gpio TEGRA_GPIO(U, 4) GPIO_ACTIVE_HIGH>; ++ pwms = <&pwm 0 5000000>; ++ ++ brightness-levels = <0 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 255>; ++ default-brightness-level = <10>; ++ ++ backlight-boot-off; ++ }; ++ + clocks { + compatible = "simple-bus"; + #address-cells = <1>; +@@ -509,6 +534,16 @@ + }; + }; + ++ panel: panel { ++ compatible = "samsung,ltn101nt05", "simple-panel"; ++ ++ ddc-i2c-bus = <&lvds_ddc>; ++ power-supply = <&vdd_pnl_reg>; ++ enable-gpios = <&gpio TEGRA_GPIO(M, 6) GPIO_ACTIVE_HIGH>; ++ ++ backlight = <&backlight>; ++ }; ++ + regulators { + compatible = "simple-bus"; + #address-cells = <1>; +@@ -522,6 +557,16 @@ + regulator-max-microvolt = <5000000>; + regulator-always-on; + }; ++ ++ vdd_pnl_reg: regulator@1 { ++ compatible = "regulator-fixed"; ++ reg = <1>; ++ regulator-name = "+3VS,vdd_pnl"; ++ regulator-min-microvolt = <3300000>; ++ regulator-max-microvolt = <3300000>; ++ gpio = <&gpio TEGRA_GPIO(A, 4) GPIO_ACTIVE_HIGH>; ++ enable-active-high; ++ }; + }; + + sound { diff --git a/kernel.spec b/kernel.spec index 9511a4b..ae2db12 100644 --- a/kernel.spec +++ b/kernel.spec @@ -598,6 +598,10 @@ Patch21010: arm-omap-load-tfp410.patch # ARM tegra Patch21020: arm-tegra-usb-no-reset-linux33.patch
+# Add panel support for tegra paz00 +# Backported from linux-next scheduled for 3.15 +Patch21021: arm-tegra-paz00-panel-dts.patch + # ARM i.MX6 # http://www.spinics.net/lists/devicetree/msg08276.html Patch21030: arm-imx6-utilite.patch @@ -1160,6 +1164,7 @@ ApplyPatch arm-lpae-ax88796.patch ApplyPatch arm-sound-soc-samsung-dma-avoid-another-64bit-division.patch ApplyPatch arm-omap-load-tfp410.patch ApplyPatch arm-tegra-usb-no-reset-linux33.patch +ApplyPatch arm-tegra-paz00-panel-dts.patch ApplyPatch arm-imx6-utilite.patch
#
On Fri, Feb 14, 2014 at 8:38 AM, Nicolas Chauvet kwizart@gmail.com wrote:
This patch adds panel support for the Toshiba AC100 Scheduled for 3.15.
Do you have a link to an upstream git tree where this is queued?
josh
2014-02-14 14:47 GMT+01:00 Josh Boyer jwboyer@fedoraproject.org:
On Fri, Feb 14, 2014 at 8:38 AM, Nicolas Chauvet kwizart@gmail.com wrote:
This patch adds panel support for the Toshiba AC100 Scheduled for 3.15.
Do you have a link to an upstream git tree where this is queued?
This is the file in the kernel-next tree http://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/log/arch/arm... and the commit scheduled for next: http://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/arch/...
But I've also squashed with this commit, that I've reported and that only silent a potential issue with screen ordering: https://gitorious.org/ac100/marvin24s-kernel/commit/33e721d7cfe7f558b337970e...
With the kernel-next patch I can control the backlight, but I don't see any console rising from the dark grey light. I still need to investigate, but using tegra_defconfig worked.
Nicolas (kwizart)
On Fri, Feb 14, 2014 at 1:38 PM, Nicolas Chauvet kwizart@gmail.com wrote:
This patch adds panel support for the Toshiba AC100 Scheduled for 3.15.
arm-tegra-paz00-panel-dts.patch | 96 +++++++++++++++++++++++++++++++++++++++ kernel.spec | 5 ++
I have no problem with adding patches for .dts patches generally as they are self contained and don't affect anything outside of the specific device so I'm happy for this in general, although it appears from other bits of the thread it's still not quite ready yet anyway.
Peter
This patch adds panel support for the Toshiba AC100 Scheduled for 3.15.
http://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/log/arch/arm... Commit-Id: 5816898b9592b877209e91c493db946ab275d825 --- arm-tegra-paz00-panel-dts.patch | 99 +++++++++++++++++++++++++++++++++++++++ kernel.spec | 5 ++ 2 files changed, 104 insertions(+), 0 deletions(-) create mode 100644 arm-tegra-paz00-panel-dts.patch
diff --git a/arm-tegra-paz00-panel-dts.patch b/arm-tegra-paz00-panel-dts.patch new file mode 100644 index 0000000..e64f2ce --- /dev/null +++ b/arm-tegra-paz00-panel-dts.patch @@ -0,0 +1,99 @@ +From fb4a8356eb67514b10618d1e9e4059ced14c05f2 Mon Sep 17 00:00:00 2001 +From: Marc Dietrich marvin24@gmx.de +Date: Sat, 21 Dec 2013 21:38:13 +0100 +Subject: [PATCH] ARM: tegra: paz00: Add LVDS support to device tree + +Add backlight and panel nodes for the PAZ00 TFT LCD panel. + +Signed-off-by: Marc Dietrich marvin24@gmx.de +--- + arch/arm/boot/dts/tegra20-paz00.dts | 46 ++++++++++++++++++++++++++++++++++- + 1 files changed, 45 insertions(+), 1 deletions(-) + +diff --git a/arch/arm/boot/dts/tegra20-paz00.dts b/arch/arm/boot/dts/tegra20-paz00.dts +index c7cd8e6..9a39a80 100644 +--- a/arch/arm/boot/dts/tegra20-paz00.dts ++++ b/arch/arm/boot/dts/tegra20-paz00.dts +@@ -17,6 +17,14 @@ + }; + + host1x@50000000 { ++ dc@54200000 { ++ rgb { ++ status = "okay"; ++ ++ nvidia,panel = <&panel>; ++ }; ++ }; ++ + hdmi@54280000 { + status = "okay"; + +@@ -257,7 +265,11 @@ + status = "okay"; + }; + +- i2c@7000c000 { ++ pwm: pwm@7000a000 { ++ status = "okay"; ++ }; ++ ++ lvds_ddc: i2c@7000c000 { + status = "okay"; + clock-frequency = <400000>; + +@@ -475,6 +487,18 @@ + non-removable; + }; + ++ backlight: backlight { ++ compatible = "pwm-backlight"; ++ ++ enable-gpios = <&gpio TEGRA_GPIO(U, 4) GPIO_ACTIVE_HIGH>; ++ pwms = <&pwm 0 5000000>; ++ ++ brightness-levels = <0 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 255>; ++ default-brightness-level = <10>; ++ ++ backlight-boot-off; ++ }; ++ + clocks { + compatible = "simple-bus"; + #address-cells = <1>; +@@ -509,6 +533,16 @@ + }; + }; + ++ panel: panel { ++ compatible = "samsung,ltn101nt05", "simple-panel"; ++ ++ ddc-i2c-bus = <&lvds_ddc>; ++ power-supply = <&vdd_pnl_reg>; ++ enable-gpios = <&gpio TEGRA_GPIO(M, 6) GPIO_ACTIVE_HIGH>; ++ ++ backlight = <&backlight>; ++ }; ++ + regulators { + compatible = "simple-bus"; + #address-cells = <1>; +@@ -522,6 +556,16 @@ + regulator-max-microvolt = <5000000>; + regulator-always-on; + }; ++ ++ vdd_pnl_reg: regulator@1 { ++ compatible = "regulator-fixed"; ++ reg = <1>; ++ regulator-name = "+3VS,vdd_pnl"; ++ regulator-min-microvolt = <3300000>; ++ regulator-max-microvolt = <3300000>; ++ gpio = <&gpio TEGRA_GPIO(A, 4) GPIO_ACTIVE_HIGH>; ++ enable-active-high; ++ }; + }; + + sound { +-- +1.7.1 diff --git a/kernel.spec b/kernel.spec index 55abdf4..7d725de 100644 --- a/kernel.spec +++ b/kernel.spec @@ -598,6 +598,10 @@ Patch21010: arm-omap-load-tfp410.patch # ARM tegra Patch21020: arm-tegra-usb-no-reset-linux33.patch
+# Add panel support for tegra paz00 +# Backported from linux-next scheduled for 3.15 +Patch21021: arm-tegra-paz00-panel-dts.patch + # ARM i.MX6 # http://www.spinics.net/lists/devicetree/msg08276.html Patch21030: arm-imx6-utilite.patch @@ -1161,6 +1165,7 @@ ApplyPatch arm-lpae-ax88796.patch ApplyPatch arm-sound-soc-samsung-dma-avoid-another-64bit-division.patch ApplyPatch arm-omap-load-tfp410.patch ApplyPatch arm-tegra-usb-no-reset-linux33.patch +ApplyPatch arm-tegra-paz00-panel-dts.patch ApplyPatch arm-imx6-utilite.patch
#
On Wed, Feb 26, 2014 at 8:45 PM, Nicolas Chauvet kwizart@gmail.com wrote:
This patch adds panel support for the Toshiba AC100 Scheduled for 3.15.
http://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/log/arch/arm... Commit-Id: 5816898b9592b877209e91c493db946ab275d825
arm-tegra-paz00-panel-dts.patch | 99 +++++++++++++++++++++++++++++++++++++++ kernel.spec | 5 ++ 2 files changed, 104 insertions(+), 0 deletions(-) create mode 100644 arm-tegra-paz00-panel-dts.patch
diff --git a/arm-tegra-paz00-panel-dts.patch b/arm-tegra-paz00-panel-dts.patch new file mode 100644 index 0000000..e64f2ce --- /dev/null +++ b/arm-tegra-paz00-panel-dts.patch @@ -0,0 +1,99 @@ +From fb4a8356eb67514b10618d1e9e4059ced14c05f2 Mon Sep 17 00:00:00 2001 +From: Marc Dietrich marvin24@gmx.de +Date: Sat, 21 Dec 2013 21:38:13 +0100 +Subject: [PATCH] ARM: tegra: paz00: Add LVDS support to device tree
+Add backlight and panel nodes for the PAZ00 TFT LCD panel.
+Signed-off-by: Marc Dietrich marvin24@gmx.de +---
- arch/arm/boot/dts/tegra20-paz00.dts | 46 ++++++++++++++++++++++++++++++++++-
- 1 files changed, 45 insertions(+), 1 deletions(-)
+diff --git a/arch/arm/boot/dts/tegra20-paz00.dts b/arch/arm/boot/dts/tegra20-paz00.dts +index c7cd8e6..9a39a80 100644 +--- a/arch/arm/boot/dts/tegra20-paz00.dts ++++ b/arch/arm/boot/dts/tegra20-paz00.dts +@@ -17,6 +17,14 @@
};
host1x@50000000 {
++ dc@54200000 { ++ rgb { ++ status = "okay"; ++ ++ nvidia,panel = <&panel>; ++ }; ++ }; ++
hdmi@54280000 {
status = "okay";
+@@ -257,7 +265,11 @@
status = "okay";
};
+- i2c@7000c000 { ++ pwm: pwm@7000a000 { ++ status = "okay"; ++ }; ++ ++ lvds_ddc: i2c@7000c000 {
status = "okay";
clock-frequency = <400000>;
+@@ -475,6 +487,18 @@
non-removable;
};
++ backlight: backlight { ++ compatible = "pwm-backlight"; ++ ++ enable-gpios = <&gpio TEGRA_GPIO(U, 4) GPIO_ACTIVE_HIGH>; ++ pwms = <&pwm 0 5000000>; ++ ++ brightness-levels = <0 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 255>; ++ default-brightness-level = <10>; ++ ++ backlight-boot-off; ++ }; ++
clocks {
compatible = "simple-bus";
#address-cells = <1>;
+@@ -509,6 +533,16 @@
};
};
++ panel: panel { ++ compatible = "samsung,ltn101nt05", "simple-panel"; ++ ++ ddc-i2c-bus = <&lvds_ddc>; ++ power-supply = <&vdd_pnl_reg>; ++ enable-gpios = <&gpio TEGRA_GPIO(M, 6) GPIO_ACTIVE_HIGH>; ++ ++ backlight = <&backlight>; ++ }; ++
regulators {
compatible = "simple-bus";
#address-cells = <1>;
+@@ -522,6 +556,16 @@
regulator-max-microvolt = <5000000>;
regulator-always-on;
};
++ ++ vdd_pnl_reg: regulator@1 { ++ compatible = "regulator-fixed"; ++ reg = <1>; ++ regulator-name = "+3VS,vdd_pnl"; ++ regulator-min-microvolt = <3300000>; ++ regulator-max-microvolt = <3300000>; ++ gpio = <&gpio TEGRA_GPIO(A, 4) GPIO_ACTIVE_HIGH>; ++ enable-active-high; ++ };
};
sound {
+-- +1.7.1 diff --git a/kernel.spec b/kernel.spec index 55abdf4..7d725de 100644 --- a/kernel.spec +++ b/kernel.spec @@ -598,6 +598,10 @@ Patch21010: arm-omap-load-tfp410.patch # ARM tegra Patch21020: arm-tegra-usb-no-reset-linux33.patch
+# Add panel support for tegra paz00 +# Backported from linux-next scheduled for 3.15 +Patch21021: arm-tegra-paz00-panel-dts.patch
# ARM i.MX6 # http://www.spinics.net/lists/devicetree/msg08276.html Patch21030: arm-imx6-utilite.patch @@ -1161,6 +1165,7 @@ ApplyPatch arm-lpae-ax88796.patch ApplyPatch arm-sound-soc-samsung-dma-avoid-another-64bit-division.patch ApplyPatch arm-omap-load-tfp410.patch ApplyPatch arm-tegra-usb-no-reset-linux33.patch +ApplyPatch arm-tegra-paz00-panel-dts.patch ApplyPatch arm-imx6-utilite.patch
ACK
On Thu, Feb 27, 2014 at 2:12 AM, Peter Robinson pbrobinson@gmail.com wrote:
On Wed, Feb 26, 2014 at 8:45 PM, Nicolas Chauvet kwizart@gmail.com wrote:
diff --git a/kernel.spec b/kernel.spec index 55abdf4..7d725de 100644 --- a/kernel.spec +++ b/kernel.spec @@ -598,6 +598,10 @@ Patch21010: arm-omap-load-tfp410.patch # ARM tegra Patch21020: arm-tegra-usb-no-reset-linux33.patch
+# Add panel support for tegra paz00 +# Backported from linux-next scheduled for 3.15 +Patch21021: arm-tegra-paz00-panel-dts.patch
# ARM i.MX6 # http://www.spinics.net/lists/devicetree/msg08276.html Patch21030: arm-imx6-utilite.patch @@ -1161,6 +1165,7 @@ ApplyPatch arm-lpae-ax88796.patch ApplyPatch arm-sound-soc-samsung-dma-avoid-another-64bit-division.patch ApplyPatch arm-omap-load-tfp410.patch ApplyPatch arm-tegra-usb-no-reset-linux33.patch +ApplyPatch arm-tegra-paz00-panel-dts.patch ApplyPatch arm-imx6-utilite.patch
ACK
Applied, thanks.
josh
--- config-armv7 | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/config-armv7 b/config-armv7 index 2dad34c..283ce0d 100644 --- a/config-armv7 +++ b/config-armv7 @@ -559,7 +559,7 @@ CONFIG_TEGRA_HOST1X_FIREWALL=y CONFIG_DRM_TEGRA=m # CONFIG_DRM_TEGRA_FBDEV is not set # CONFIG_DRM_TEGRA_DEBUG is not set -# CONFIG_DRM_TEGRA_STAGING is not set +CONFIG_DRM_TEGRA_STAGING=y CONFIG_DRM_PANEL=y CONFIG_DRM_PANEL_SIMPLE=m
On Wed, Feb 26, 2014 at 8:45 PM, Nicolas Chauvet kwizart@gmail.com wrote:
config-armv7 | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/config-armv7 b/config-armv7 index 2dad34c..283ce0d 100644 --- a/config-armv7 +++ b/config-armv7 @@ -559,7 +559,7 @@ CONFIG_TEGRA_HOST1X_FIREWALL=y CONFIG_DRM_TEGRA=m # CONFIG_DRM_TEGRA_FBDEV is not set # CONFIG_DRM_TEGRA_DEBUG is not set -# CONFIG_DRM_TEGRA_STAGING is not set +CONFIG_DRM_TEGRA_STAGING=y CONFIG_DRM_PANEL=y CONFIG_DRM_PANEL_SIMPLE=m
ACK
On Thu, Feb 27, 2014 at 2:10 AM, Peter Robinson pbrobinson@gmail.com wrote:
On Wed, Feb 26, 2014 at 8:45 PM, Nicolas Chauvet kwizart@gmail.com wrote:
config-armv7 | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/config-armv7 b/config-armv7 index 2dad34c..283ce0d 100644 --- a/config-armv7 +++ b/config-armv7 @@ -559,7 +559,7 @@ CONFIG_TEGRA_HOST1X_FIREWALL=y CONFIG_DRM_TEGRA=m # CONFIG_DRM_TEGRA_FBDEV is not set # CONFIG_DRM_TEGRA_DEBUG is not set -# CONFIG_DRM_TEGRA_STAGING is not set +CONFIG_DRM_TEGRA_STAGING=y CONFIG_DRM_PANEL=y CONFIG_DRM_PANEL_SIMPLE=m
ACK
Done in git. Thanks for the patch and review.
josh
--- config-armv7 | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/config-armv7 b/config-armv7 index 283ce0d..05ee3e4 100644 --- a/config-armv7 +++ b/config-armv7 @@ -557,7 +557,7 @@ CONFIG_PWM_TEGRA=m CONFIG_TEGRA_HOST1X=m CONFIG_TEGRA_HOST1X_FIREWALL=y CONFIG_DRM_TEGRA=m -# CONFIG_DRM_TEGRA_FBDEV is not set +CONFIG_DRM_TEGRA_FBDEV=y # CONFIG_DRM_TEGRA_DEBUG is not set CONFIG_DRM_TEGRA_STAGING=y CONFIG_DRM_PANEL=y
On Wed, Feb 26, 2014 at 8:45 PM, Nicolas Chauvet kwizart@gmail.com wrote:
config-armv7 | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/config-armv7 b/config-armv7 index 283ce0d..05ee3e4 100644 --- a/config-armv7 +++ b/config-armv7 @@ -557,7 +557,7 @@ CONFIG_PWM_TEGRA=m CONFIG_TEGRA_HOST1X=m CONFIG_TEGRA_HOST1X_FIREWALL=y CONFIG_DRM_TEGRA=m -# CONFIG_DRM_TEGRA_FBDEV is not set +CONFIG_DRM_TEGRA_FBDEV=y # CONFIG_DRM_TEGRA_DEBUG is not set CONFIG_DRM_TEGRA_STAGING=y CONFIG_DRM_PANEL=y
We should really be using KMS and modesetting here, is there a reason for this?
Peter
Le 27 févr. 2014 08:11, "Peter Robinson" pbrobinson@gmail.com a écrit :
On Wed, Feb 26, 2014 at 8:45 PM, Nicolas Chauvet kwizart@gmail.com
wrote:
config-armv7 | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/config-armv7 b/config-armv7 index 283ce0d..05ee3e4 100644 --- a/config-armv7 +++ b/config-armv7 @@ -557,7 +557,7 @@ CONFIG_PWM_TEGRA=m CONFIG_TEGRA_HOST1X=m CONFIG_TEGRA_HOST1X_FIREWALL=y CONFIG_DRM_TEGRA=m -# CONFIG_DRM_TEGRA_FBDEV is not set +CONFIG_DRM_TEGRA_FBDEV=y # CONFIG_DRM_TEGRA_DEBUG is not set CONFIG_DRM_TEGRA_STAGING=y CONFIG_DRM_PANEL=y
We should really be using KMS and modesetting here, is there a reason for
this? This option is required to provide Linux console. Support is built on top of kms according to the help page.
Nicolas (kwizart)
This prevent error like this déc. 31 19:00:02 localhost kernel: drivers/rtc/hctosys.c: unable to open rtc device (rtc0) ... déc. 31 19:00:09 localhost kernel: snvs_rtc 20cc034.snvs-rtc-lp: rtc core: registered 20cc034.snvs-rtc-lp as rtc0
On the wandboard, this rtc isn't wired, so it can only help to save time accross reboot --- config-armv7 | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/config-armv7 b/config-armv7 index c3019f7..3a48199 100644 --- a/config-armv7 +++ b/config-armv7 @@ -360,7 +360,7 @@ CONFIG_IMX_WEIM=y CONFIG_IMX2_WDT=m CONFIG_HW_RANDOM_MXC_RNGA=m CONFIG_CRYPTO_DEV_SAHARA=m -CONFIG_RTC_DRV_SNVS=m +CONFIG_RTC_DRV_SNVS=y # CONFIG_FB_MX3 is not set
CONFIG_SND_IMX_SOC=m
kernel@lists.fedoraproject.org