arm, imx6, dts: add DT for aristainetos2 board
Subsystems (6)
PATCH v4 1/2 arm, imx6, dts: add DT for aristainetos2 board
This patch add support for the imx6dl based aristainetos2 board with following configuration:
CPU: Freescale i.MX6DL rev1.1 at 792 MHz MReset cause: POR MBoard: aristaitenos2 DRAM: 1 GiB NAND: 1024 MiB MMC: FSL_SDHC: 0, FSL_SDHC: 1 SF: Detected N25Q128A with page size 256 Bytes, erase size 64 KiB, total 16 MiB Display: lb07wv8 (800x480)
As this board can used with 2 different display types, the differences between them are extracted into 2 DTS files, and the common settings are collected in a common file.
---
Changes in v4:
- add comments from Philipp Zabel:
- fix some typos
- fix license text
- fix pmic compatible name to "dlg,da9063"
- remove clocks property from i2c4 node
- use simple panel driver, so remove the fsl,data-mapping and fsl,data-width properties and the display-timings node. need patch: "drm/panel: Add support for LG LB070WV8 800x480 7" panel"
Changes in v3:
- add comments from Shawn Guo
- change license to GPL/X11 dual licence
- rename touch node name to "touch"
- add DTB in Makefile
- remove "status = "okay"" from backlight node
- rename "pinctrl_ipu1_1_80Ohm_clk" to "pinctrl_ipu_disp"
- remove "status = "okay"" from "display@di0" node
- remove "dma-names;" in ecspix nodes
- use macro for clock ID and gpio
- move iomuxc to the bottom of the file
- configure pinctrl_backlight in the device node, not from the hog group
- provide a proper pad configuration value rather than 0x8000000.
- in the iomuxc node, save one level of the sub-node
needs patch:
LinusW queued patch 5fcdf6a7ed95 ("pinctrl: imx: Allow parsing DT without function nodes")
- add comments from Philipp Zabel
- get rid of "fsl,panel" to connect a drm_panel to the parallel-display instead switch to the common of-graph bindings.
need patch: "drm/imx: parallel-display: fix drm_panel support" from Philipp Zabel
Changes in v2:
- add comments from Sascha Hauer:
- remove "clock-frequency" property in i2c nodes
- correct indentation in some pinctrl nodes
- move pin settings out of "gpiogrp" where it was possible led pins not moved, as they used through sysfs
arch/arm/boot/dts/Makefile | 2 + arch/arm/boot/dts/imx6dl-aristainetos2_4.dts | 158 +++++++ arch/arm/boot/dts/imx6dl-aristainetos2_7.dts | 97 ++++ arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi | 632 +++++++++++++++++++++++++++ 4 files changed, 889 insertions(+) create mode 100644 arch/arm/boot/dts/imx6dl-aristainetos2_4.dts create mode 100644 arch/arm/boot/dts/imx6dl-aristainetos2_7.dts create mode 100644 arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi
arch/arm/boot/dts/Makefile +2 -0
@@ -256,6 +256,8 @@ dtb-$(CONFIG_SOC_IMX53) += \ dtb-$(CONFIG_SOC_IMX6Q) += \ imx6dl-aristainetos_4.dtb \ imx6dl-aristainetos_7.dtb \ + imx6dl-aristainetos2_4.dtb \ + imx6dl-aristainetos2_7.dtb \ imx6dl-cubox-i.dtb \ imx6dl-dfi-fs700-m60.dtb \ imx6dl-gw51xx.dtb \
arch/arm/boot/dts/imx6dl-aristainetos2_4.dts new file +158 -0
158 lines not on this page · raw message
arch/arm/boot/dts/imx6dl-aristainetos2_7.dts new file +97 -0
97 lines not on this page · raw message
arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi new file +632 -0
632 lines not on this page · raw message
Signature · 1 line
2.1.0
PATCH v4 2/2 drm/panel: Add support for LG LB070WV8 800x480 7" panel
This adds support for the LG LB070WV8 7" 800x480 panel to the DRM simple panel driver.
---
Changes in v4:
- new in version 4, as Philipp Zabel suggested to use simple panel driver
Changes in v3: None
Changes in v2: None
.../devicetree/bindings/panel/lg,lb070wv8.txt | 7 ++++++ drivers/gpu/drm/panel/panel-simple.c | 27 ++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 Documentation/devicetree/bindings/panel/lg,lb070wv8.txt
Documentation/devicetree/bindings/panel/lg,lb070wv8.txt new file +7 -0
@@ -0,0 +1,7 @@ +LG 7" (800x480 pixels) TFT LCD panel + +Required properties: +- compatible: should be "lg,lb070wv8" + +This binding is compatible with the simple-panel binding, which is specified +in simple-panel.txt in this directory.
drivers/gpu/drm/panel/panel-simple.c +27 -0
@@ -872,6 +872,30 @@ static const struct panel_desc innolux_zj070na_01p = { }, }; +static const struct drm_display_mode lg_lb070wv8_mode = { + .clock =33246 , + .hdisplay =800 , + .hsync_start =800 +88 , + .hsync_end =800 +88 +80 , + .htotal =800 +88 +80 +88 , + .vdisplay =480 , + .vsync_start =480 +10 , + .vsync_end =480 +10 +25 , + .vtotal =480 +10 +25 +10 , + .vrefresh =60 , +}; + +static const struct panel_desc lg_lb070wv8 = { + .modes = &lg_lb070wv8_mode, + .num_modes =1 , + .bpc =16 , + .size = { + .width =151 , + .height =91 , + }, + .bus_format =MEDIA_BUS_FMT_RGB888_1X7X4_SPWG , +}; +static const struct drm_display_mode lg_lp129qe_mode = { .clock =285250 , .hdisplay =2560 ,
@@ -1056,6 +1080,9 @@ static const struct of_device_id platform_of_match[] = { .compatible = "innolux,zj070na-01p", .data = &innolux_zj070na_01p, }, { + .compatible = "lg,lb070wv8", + .data = &lg_lb070wv8, + }, { .compatible = "lg,lp129qe", .data = &lg_lp129qe, }, {
Signature · 1 line
2.1.0
Re: [PATCH v4 2/2] drm/panel: Add support for LG LB070WV8 800x480 7" panel
Quoted 10 lines · Heiko Schocher
This adds support for the LG LB070WV8 7" 800x480 panel to the DRM simple panel driver.
Signed-off-by Heiko Schocher <[email protected]>---
Changes in v4:
- new in version 4, as Philipp Zabel suggested to use simple panel driver
Quoted 7 lines
Changes in v3: None
Changes in v2: None.../devicetree/bindings/panel/lg,lb070wv8.txt | 7 ++++++ drivers/gpu/drm/panel/panel-simple.c | 27 ++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 Documentation/devicetree/bindings/panel/lg,lb070wv8.txt
Applied, thanks. For future patches, please make sure to send them to my GMail account (as listed in MAINTAINERS). Corporate email is known to corrupt patches occasionally, though it seems to have worked fine this time.
Thierry
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
Hi Heiko,
Am Freitag, den 22.05.2015, 10:25 +0200 schrieb Heiko Schocher:
[...]
arch/arm/boot/dts/imx6dl-aristainetos2_4.dts line 3
Quoted 9 lines
arch/arm/boot/dts/imx6dl-aristainetos2_4.dts new file +3
-0@@ -0,0 +1,158 @@ +/* + * Copyright (C) 2014 Rabeeh Khoury (rabeeh at solid-run.com) + * Based on dt work by Russell King
This is new. Copy & paste error?
With proper copyright information restored,
regards
Philipp
Hello Philipp,
Am 22.05.2015 11:14, schrieb Philipp Zabel:
Quoted 4 lines
Hi Heiko,
Am Freitag, den 22.05.2015, 10:25 +0200 schrieb Heiko Schocher:
[...]
Quoted 11 lines
arch/arm/boot/dts/imx6dl-aristainetos2_4.dts line 3
Quoted 9 lines
arch/arm/boot/dts/imx6dl-aristainetos2_4.dts new file +3
-0@@ -0,0 +1,158 @@ +/* + * Copyright (C) 2014 Rabeeh Khoury ([email protected]) + * Based on dt work by Russell KingThis is new. Copy & paste error?
Argh... Good catch! I fix this .. but wait a while before posting v5 to get some more comments.
Quoted 2 lines
With proper copyright information restored,
Reviewed-by Philipp Zabel <[email protected]>
Thanks!
bye,
Heiko
Signature · 2 lines
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany