Add DSI display support for Exynos based boards
Subsystems (6)
v3 cover Add DSI display support for Exynos based boards
Hi,
This patchset adds drivers and bindings to the following devices:
- Exynos DSI master,
- S6E8AA0 DSI panel,
It adds also display support in DTS files for the following boards:
- Exynos4210/Trats,
- Exynos4412/Trats2.
The patchset is based on exynos_drm_next branch.
It is the 3rd iteration of the patches, main changes:
- based on exynos_drm_next branch,
- added video interface bindings between DSI host and slave,
it seems to me to be redundand, and I hope when video interface bindings will be stabilized it can become optional,
- GPIOs implemented using gpiod framework,
- removed controversial stuff (toshiba bridge implementation and arndale support), it will be send in another set of patches
Other changes are described in individual patches.
Regards
Andrzej
Andrzej Hajda (12):
drm/mipi_dsi: add flags to DSI messages
drm/mipi_dsi: create dsi devices only for nodes with reg property drm/exynos: disallow fbdev initialization if no device is connected exynos/dsim: add DT bindings
drm/exynos: add DSIM driver
panel/s6e8aa0: add DT bindings
drm/panel: add S6E8AA0 driver
ARM: dts: exynos4: add MIPI DSI Master node
ARM: dts: exynos4210-trats: add panel node
ARM: dts: exynos4412-trats2: add panel node
ARM: dts: exynos4210-trats: enable exynos/fimd node
ARM: dts: exynos4412-trats2: enable exynos/fimd node
.../devicetree/bindings/panel/samsung,s6e8aa0.txt | 56 + .../devicetree/bindings/video/exynos_dsim.txt | 80 + arch/arm/boot/dts/exynos4.dtsi | 14 + arch/arm/boot/dts/exynos4210-trats.dts | 61 + arch/arm/boot/dts/exynos4412-trats2.dts | 70 + drivers/gpu/drm/drm_mipi_dsi.c | 6 +- drivers/gpu/drm/exynos/Kconfig | 9 + drivers/gpu/drm/exynos/Makefile | 1 + drivers/gpu/drm/exynos/exynos_drm_drv.c | 15 + drivers/gpu/drm/exynos/exynos_drm_drv.h | 1 + drivers/gpu/drm/exynos/exynos_drm_dsi.c | 1525 ++++++++++++++++++++ drivers/gpu/drm/exynos/exynos_drm_fbdev.c | 21 + drivers/gpu/drm/panel/Kconfig | 7 + drivers/gpu/drm/panel/Makefile | 1 + drivers/gpu/drm/panel/panel-s6e8aa0.c | 1069 ++++++++++++++ include/drm/drm_mipi_dsi.h | 6 + 16 files changed, 2941 insertions(+), 1 deletion(-) create mode 100644 Documentation/devicetree/bindings/panel/samsung,s6e8aa0.txt create mode 100644 Documentation/devicetree/bindings/video/exynos_dsim.txt create mode 100644 drivers/gpu/drm/exynos/exynos_drm_dsi.c create mode 100644 drivers/gpu/drm/panel/panel-s6e8aa0.c
Signature · 1 line
1.8.3.2
PATCH v3 1/12 drm/mipi_dsi: add flags to DSI messages
This patch adds flags field to mipi_dsi_msg structure and two flags:
- MIPI_DSI_MSG_REQ_ACK - request ACK from peripheral for given message,
- MIPI_DSI_MSG_USE_LPM - use Low Power Mode to transmit message. The first flag is usually helpful during DSI diagnostic, the second flag is required by some peripherals during configuration phase.
--- include/drm/drm_mipi_dsi.h | 6 ++++++ 1 file changed, 6 insertions(+)
include/drm/drm_mipi_dsi.h +6 -0
@@ -17,6 +17,11 @@struct mipi_dsi_host ;struct mipi_dsi_device ; +/* request ACK from peripheral */ +#define MIPI_DSI_MSG_REQ_ACK BIT(0) +/* use Low Power Mode to transmit message */ +#define MIPI_DSI_MSG_USE_LPM BIT(1) +/** * struct mipi_dsi_msg - read/write DSI buffer * @channel: virtual channel id
@@ -29,6 +34,7 @@ struct mipi_dsi_device;struct mipi_dsi_msg {u8 channel;u8 type; +u16 flags;size_t tx_len;const void *tx_buf;
Signature · 1 line
1.8.3.2
PATCH v3 2/12 drm/mipi_dsi: create dsi devices only for nodes with reg property
In reply to Andrzej HajdaMIPI DSI host node can contain child nodes which are not DSI devices. Checking for existence of reg property can be used to distinguish such nodes.
--- drivers/gpu/drm/drm_mipi_dsi.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
drivers/gpu/drm/drm_mipi_dsi.c +5 -1
@@ -142,8 +142,12 @@ int mipi_dsi_host_register(struct mipi_dsi_host *host) {struct device_node *node; -for_each_available_child_of_node (host->dev->of_node, node) +for_each_available_child_of_node (host->dev->of_node, node) { +/* skip nodes without reg property */ +if (!of_find_property (node,"reg" ,NULL )) +continue ;of_mipi_dsi_device_add (host, node); + }return 0 ; }
Signature · 1 line
1.8.3.2
PATCH v3 3/12 drm/exynos: disallow fbdev initialization if no device is connected
In reply to Andrzej HajdaThis patch adds explicit check if there is a connector with connected status before fbdev initialization. It prevents creation of default fbdev 1024x768 which is unusable on panels with bigger resolutions.
--- drivers/gpu/drm/exynos/exynos_drm_fbdev.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+)
drivers/gpu/drm/exynos/exynos_drm_fbdev.c +21 -0
@@ -237,6 +237,24 @@ static struct drm_fb_helper_funcs exynos_drm_fb_helper_funcs = { .fb_probe = exynos_drm_fbdev_create, }; +bool exynos_drm_fbdev_is_anything_connected (struct drm_device *dev) +{ +struct drm_connector *connector; +bool ret = false; + +mutex_lock (&dev->mode_config.mutex); +list_for_each_entry (connector, &dev->mode_config.connector_list, head) { +if (connector->status != connector_status_connected) +continue ; + + ret = true; +break ; + } +mutex_unlock (&dev->mode_config.mutex); + +return ret; +} +int exynos_drm_fbdev_init (struct drm_device *dev) {struct exynos_drm_fbdev *fbdev;
@@ -248,6 +266,9 @@ int exynos_drm_fbdev_init(struct drm_device *dev)if (!dev->mode_config.num_crtc || !dev->mode_config.num_connector)return 0 ; +if (!exynos_drm_fbdev_is_anything_connected (dev)) +return 0 ; + fbdev =kzalloc (sizeof (*fbdev),GFP_KERNEL );if (!fbdev)return -ENOMEM ;
Signature · 1 line
1.8.3.2
PATCH v3 4/12 exynos/dsim: add DT bindings
In reply to Andrzej HajdaThe patch adds DT bindings for Exynos DSI Master. DSIM follows rules for DSI bus host bindings [1].
Properties describes its resources: memory, interrupt, clocks, phy, regulators, frequencies of clocks and video interfaces.
[1]: Documentation/devicetree/bindings/mipi/dsi/mipi-dsi-bus.txt
---
v2
- added burst and esc clock frequency properties
- add samsung prefix to all frequency props
v3
- reset-gpio changed to reset-gpios property
- added video interface bindings
- properties related to video interface moved to endpoint node
dsim bindings
--- .../devicetree/bindings/video/exynos_dsim.txt | 80 ++++++++++++++++++++++ 1 file changed, 80 insertions(+) create mode 100644 Documentation/devicetree/bindings/video/exynos_dsim.txt
Documentation/devicetree/bindings/video/exynos_dsim.txt new file +80 -0
@@ -0,0 +1,80 @@ +Exynos MIPI DSI Master + +Required properties: + - compatible: "samsung,exynos4210-mipi-dsi" + - reg: physical base address and length of the registers set for the device + - interrupts: should contain DSI interrupt + - clocks: list of clock specifiers, must contain an entry for each required + entry in clock-names + - clock-names: should include "bus_clk"and "pll_clk" entries + - phys: list of phy specifiers, must contain an entry for each required + entry in phy-names + - phy-names: should include "dsim" entry + - vddcore-supply: MIPI DSIM Core voltage supply (e.g. 1.1V) + - vddio-supply: MIPI DSIM I/O and PLL voltage supply (e.g. 1.8V) + - samsung,pll-clock-frequency: specifies frequency of the "pll_clk" clock + - #address-cells, #size-cells: should be set respectively to <1> and <0> + according to DSI host bindings (see MIPI DSI bindings [1]) + +Optional properties: + - samsung,power-domain: a phandle to DSIM power domain node + +Child nodes: + Should contain DSI peripheral nodes (see MIPI DSI bindings [1]). + +Video interfaces: + Device node can contain video interface port nodes according to [2]. + The following are properties specific to those nodes: + + port node: + - reg: (required) can be 0 for input RGB/I80 port or 1 for DSI port; + + endpoint node of DSI port (reg = 1): + - samsung,burst-clock-frequency: specifies DSI frequency in high-speed burst + mode + - samsung,esc-clock-frequency: specifies DSI frequency in escape mode + +[1]: Documentation/devicetree/bindings/mipi/dsi/mipi-dsi-bus.txt +[2]: Documentation/devicetree/bindings/media/video-interfaces.txt + +Example: + + dsi@11C80000 { + compatible = "samsung,exynos4210-mipi-dsi"; + reg = <0x11C80000 0x10000>; + interrupts = <0 79 0>; + clocks = <&clock 286>, <&clock 143>; + clock-names = "bus_clk", "pll_clk"; + phys = <&mipi_phy 1>; + phy-names = "dsim"; + vddcore-supply = <&vusb_reg>; + vddio-supply = <&vmipi_reg>; + samsung,power-domain = <&pd_lcd0>; + #address-cells = <1>; + #size-cells = <0>; + samsung,pll-clock-frequency = <24000000>; + + panel@1 { + reg = <0>; + ... + port { + panel_ep: endpoint { + remote-endpoint = <&dsi_ep>; + }; + }; + }; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@1 { + dsi_ep: endpoint { + reg = <0>; + samsung,burst-clock-frequency = <500000000>; + samsung,esc-clock-frequency = <20000000>; + remote-endpoint = <&panel_ep>; + }; + }; + }; + };
Signature · 1 line
1.8.3.2
A message that is not in the archive (sent off-list or not yet received): 1396007567-4015-1-git-send-email-a.hajda-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org
PATCH v3 5/12 drm/exynos: add DSIM driver
The patch adds driver for Exynos DSI master (DSIM). It is a platform driver which is registered as exynos_drm_display sub-driver of exynos_drm framework and implements DRM encoder/connector pair.
It is also MIPI-DSI host driver and provides DSI bus for panels. It interacts with its panel(s) using drm_panel framework.
---
v2:
- add support for DSI message flags,
- add support for new DT properties,
- remove brightness DRM property,
- corrected PM handlers,
- minor fixes/improvements
v3:
- panel attach/detach moved to connector detect callback,
- improved error handling,
- removed exynos_drm_initialize callback,
- added video interface handling,
- moved dsi clock properties to dsi endpoint
--- drivers/gpu/drm/exynos/Kconfig | 9 + drivers/gpu/drm/exynos/Makefile | 1 + drivers/gpu/drm/exynos/exynos_drm_drv.c | 15 + drivers/gpu/drm/exynos/exynos_drm_drv.h | 1 + drivers/gpu/drm/exynos/exynos_drm_dsi.c | 1525 +++++++++++++++++++++++++++++++ 5 files changed, 1551 insertions(+) create mode 100644 drivers/gpu/drm/exynos/exynos_drm_dsi.c
drivers/gpu/drm/exynos/Kconfig +9 -0
@@ -39,6 +39,15 @@ config DRM_EXYNOS_DPI help This enables support for Exynos parallel output. +config DRM_EXYNOS_DSI + bool "EXYNOS DRM MIPI-DSI driver support" + depends on DRM_EXYNOS + select DRM_MIPI_DSI + select DRM_PANEL + default n + help + This enables support for Exynos MIPI-DSI device. + config DRM_EXYNOS_DP bool "EXYNOS DRM DP driver support" depends on DRM_EXYNOS && ARCH_EXYNOS
drivers/gpu/drm/exynos/Makefile +1 -0
@@ -12,6 +12,7 @@ exynosdrm-$(CONFIG_DRM_EXYNOS_IOMMU) += exynos_drm_iommu.o exynosdrm-$(CONFIG_DRM_EXYNOS_DMABUF) += exynos_drm_dmabuf.o exynosdrm-$(CONFIG_DRM_EXYNOS_FIMD) += exynos_drm_fimd.o exynosdrm-$(CONFIG_DRM_EXYNOS_DPI) += exynos_drm_dpi.o +exynosdrm-$(CONFIG_DRM_EXYNOS_DSI) += exynos_drm_dsi.o exynosdrm-$(CONFIG_DRM_EXYNOS_DP) += exynos_dp_core.o exynos_dp_reg.o exynosdrm-$(CONFIG_DRM_EXYNOS_HDMI) += exynos_hdmi.o exynos_mixer.o exynosdrm-$(CONFIG_DRM_EXYNOS_VIDI) += exynos_drm_vidi.o
drivers/gpu/drm/exynos/exynos_drm_drv.c +15 -0
@@ -450,6 +450,12 @@ static int __init exynos_drm_init(void) goto out_dp;#endif +#ifdef CONFIG_DRM_EXYNOS_DSI + ret =platform_driver_register (&dsi_driver); +if (ret <0 ) + goto out_dsi; +#endif +#ifdef CONFIG_DRM_EXYNOS_FIMD ret =platform_driver_register (&fimd_driver);if (ret <0 )
@@ -566,6 +572,11 @@ out_hdmi: out_fimd:#endif +#ifdef CONFIG_DRM_EXYNOS_DSI +platform_driver_unregister (&dsi_driver); +out_dsi: +#endif +#ifdef CONFIG_DRM_EXYNOS_DP platform_driver_unregister (&dp_driver); out_dp:
@@ -613,6 +624,10 @@ static void __exit exynos_drm_exit(void)platform_driver_unregister (&fimd_driver);#endif +#ifdef CONFIG_DRM_EXYNOS_DSI +platform_driver_unregister (&dsi_driver); +#endif +#ifdef CONFIG_DRM_EXYNOS_DP platform_driver_unregister (&dp_driver);#endif
drivers/gpu/drm/exynos/exynos_drm_drv.h +1 -0
@@ -370,6 +370,7 @@ static inline int exynos_dpi_remove(struct device *dev) { return 0; }#endif extern struct platform_driver dp_driver; +extern struct platform_driver dsi_driver;extern struct platform_driver fimd_driver;extern struct platform_driver hdmi_driver;extern struct platform_driver mixer_driver;
drivers/gpu/drm/exynos/exynos_drm_dsi.c new file +1525 -0
1,525 lines not on this page · raw message
Signature · 6 lines
1.8.3.2 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
PATCH v3 6/12 panel/s6e8aa0: add DT bindings
In reply to Andrzej HajdaThe patch adds bindings for s6e8aa0 panel.
Bindings describes panel resources, boot delays,
display timings, orientation and physical size.
---
v2
- removed samsung prefix from panel physical size props,
- renamed file to follow convention of panel bindings
v3
- reset-gpio renamed to reset-gpios
- added video interfaces bindings
--- .../devicetree/bindings/panel/samsung,s6e8aa0.txt | 56 ++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 Documentation/devicetree/bindings/panel/samsung,s6e8aa0.txt
Documentation/devicetree/bindings/panel/samsung,s6e8aa0.txt new file +56 -0
@@ -0,0 +1,56 @@ +Samsung S6E8AA0 AMOLED LCD 5.3 inch panel + +Required properties: + - compatible: "samsung,s6e8aa0" + - reg: the virtual channel number of a DSI peripheral + - vdd3-supply: core voltage supply + - vci-supply: voltage supply for analog circuits + - reset-gpios: a GPIO spec for the reset pin + - display-timings: timings for the connected panel as described by [1] + +Optional properties: + - power-on-delay: delay after turning regulators on [ms] + - reset-delay: delay after reset sequence [ms] + - init-delay: delay after initialization sequence [ms] + - panel-width-mm: physical panel width [mm] + - panel-height-mm: physical panel height [mm] + - flip-horizontal: boolean to flip image horizontally + - flip-vertical: boolean to flip image vertically + +The device node can contain one 'port' child node with one child +'endpoint' node, according to the bindings defined in [2]. This +node should describe panel's video bus. + +[1]: Documentation/devicetree/bindings/video/display-timing.txt +[2]: Documentation/devicetree/bindings/media/video-interfaces.txt + +Example: + + panel { + compatible = "samsung,s6e8aa0"; + reg = <0>; + vdd3-supply = <&vcclcd_reg>; + vci-supply = <&vlcd_reg>; + reset-gpios = <&gpy4 5 0>; + power-on-delay= <50>; + reset-delay = <100>; + init-delay = <100>; + panel-width-mm = <58>; + panel-height-mm = <103>; + flip-horizontal; + flip-vertical; + + display-timings { + timing0: timing-0 { + clock-frequency = <57153600>; + hactive = <720>; + vactive = <1280>; + hfront-porch = <5>; + hback-porch = <5>; + hsync-len = <5>; + vfront-porch = <13>; + vback-porch = <1>; + vsync-len = <2>; + }; + }; + };
Signature · 1 line
1.8.3.2
PATCH v3 7/12 drm/panel: add S6E8AA0 driver
In reply to Andrzej HajdaThe patch adds MIPI-DSI based S6E8AA0 AMOLED LCD panel driver. Driver uses mipi_dsi bus to communicate with panel and exposes drm_panel interface.
---
v2
- added bus error handling,
- set maxmimum DSI packet size on init,
- removed unsupported brightness drm_panel callbacks,
- minor improvements
v3
- switched to gpiod framework,
- minor fixes in error handling
--- drivers/gpu/drm/panel/Kconfig | 7 + drivers/gpu/drm/panel/Makefile | 1 + drivers/gpu/drm/panel/panel-s6e8aa0.c | 1069 +++++++++++++++++++++++++++++++++ 3 files changed, 1077 insertions(+) create mode 100644 drivers/gpu/drm/panel/panel-s6e8aa0.c
drivers/gpu/drm/panel/Kconfig +7 -0
@@ -23,4 +23,11 @@ config DRM_PANEL_LD9040 select SPI select VIDEOMODE_HELPERS +config DRM_PANEL_S6E8AA0 + tristate "S6E8AA0 DSI video mode panel" + depends on DRM && DRM_PANEL + depends on OF + select DRM_MIPI_DSI + select VIDEOMODE_HELPERS + endmenu
drivers/gpu/drm/panel/Makefile +1 -0
@@ -1,2 +1,3 @@ obj-$(CONFIG_DRM_PANEL_SIMPLE) += panel-simple.o obj-$(CONFIG_DRM_PANEL_LD9040) += panel-ld9040.o +obj-$(CONFIG_DRM_PANEL_S6E8AA0) += panel-s6e8aa0.o
drivers/gpu/drm/panel/panel-s6e8aa0.c new file +1069 -0
1,069 lines not on this page · raw message
Signature · 1 line
1.8.3.2
PATCH v3 8/12 ARM: dts: exynos4: add MIPI DSI Master node
In reply to Andrzej HajdaThis is a common part of DSI node for all Exynos4 boards.
--- arch/arm/boot/dts/exynos4.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+)
arch/arm/boot/dts/exynos4.dtsi +14 -0
@@ -104,6 +104,20 @@ reg = <0x10010000 0x400>; }; + dsi_0: dsi@11C80000 { + compatible = "samsung,exynos4210-mipi-dsi"; + reg = <0x11C80000 0x10000>; + interrupts = <0 79 0>; + samsung,power-domain = <&pd_lcd0>; + phys = <&mipi_phy 1>; + phy-names = "dsim"; + clocks = <&clock 286>, <&clock 143>; + clock-names = "bus_clk", "pll_clk"; + status = "disabled"; + #address-cells = <1>; + #size-cells = <0>; + }; + camera { compatible = "samsung,fimc", "simple-bus"; status = "disabled";
Signature · 1 line
1.8.3.2
PATCH v3 9/12 ARM: dts: exynos4210-trats: add panel node
In reply to Andrzej HajdaThe patch adds s6e8aa0 panel node for trats.
It adds also trats specific properties for DSI.
--- arch/arm/boot/dts/exynos4210-trats.dts | 57 ++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+)
arch/arm/boot/dts/exynos4210-trats.dts +57 -0
@@ -353,6 +353,63 @@ }; }; + dsi_0: dsi@11C80000 { + vddcore-supply = <&vusb_reg>; + vddio-supply = <&vmipi_reg>; + samsung,pll-clock-frequency = <24000000>; + status = "okay"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@1 { + reg = <1>; + + dsi_out: endpoint { + remote-endpoint = <&dsi_in>; + samsung,burst-clock-frequency = <500000000>; + samsung,esc-clock-frequency = <20000000>; + }; + }; + }; + + panel@0 { + reg = <0>; + compatible = "samsung,s6e8aa0"; + vdd3-supply = <&vcclcd_reg>; + vci-supply = <&vlcd_reg>; + reset-gpios = <&gpy4 5 0>; + power-on-delay= <50>; + reset-delay = <100>; + init-delay = <100>; + flip-horizontal; + flip-vertical; + panel-width-mm = <58>; + panel-height-mm = <103>; + + display-timings { + timing-0 { + clock-frequency = <57153600>; + hactive = <720>; + vactive = <1280>; + hfront-porch = <5>; + hback-porch = <5>; + hsync-len = <5>; + vfront-porch = <13>; + vback-porch = <1>; + vsync-len = <2>; + }; + }; + + port { + dsi_in: endpoint { + remote-endpoint = <&dsi_out>; + }; + }; + }; + }; + camera { pinctrl-names = "default"; pinctrl-0 = <>;
Signature · 1 line
1.8.3.2
PATCH v3 10/12 ARM: dts: exynos4412-trats2: add panel node
In reply to Andrzej HajdaThe patch adds s6e8aa0 panel node for trats2.
It adds also trats2 specific properties for DSI
and regulator required by panel.
--- arch/arm/boot/dts/exynos4412-trats2.dts | 66 +++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+)
arch/arm/boot/dts/exynos4412-trats2.dts +66 -0
@@ -71,6 +71,15 @@ enable-active-high; }; + lcd_vdd3_reg: voltage-regulator-2 { + compatible = "regulator-fixed"; + regulator-name = "LCD_VDD_2.2V"; + regulator-min-microvolt = <2200000>; + regulator-max-microvolt = <2200000>; + gpio = <&gpc0 1 0>; + enable-active-high; + }; + /* More to come */ };
@@ -511,6 +520,63 @@ }; }; + dsi_0: dsi@11C80000 { + vddcore-supply = <&ldo8_reg>; + vddio-supply = <&ldo10_reg>; + samsung,pll-clock-frequency = <24000000>; + status = "okay"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@1 { + reg = <1>; + + dsi_out: endpoint { + remote-endpoint = <&dsi_in>; + samsung,burst-clock-frequency = <500000000>; + samsung,esc-clock-frequency = <20000000>; + }; + }; + }; + + panel@0 { + compatible = "samsung,s6e8aa0"; + reg = <0>; + vdd3-supply = <&lcd_vdd3_reg>; + vci-supply = <&ldo25_reg>; + reset-gpios = <&gpy4 5 0>; + power-on-delay= <50>; + reset-delay = <100>; + init-delay = <100>; + flip-horizontal; + flip-vertical; + panel-width-mm = <58>; + panel-height-mm = <103>; + + display-timings { + timing-0 { + clock-frequency = <0>; + hactive = <720>; + vactive = <1280>; + hfront-porch = <5>; + hback-porch = <5>; + hsync-len = <5>; + vfront-porch = <13>; + vback-porch = <1>; + vsync-len = <2>; + }; + }; + + port { + dsi_in: endpoint { + remote-endpoint = <&dsi_out>; + }; + }; + }; + }; + camera { pinctrl-0 = <&cam_port_b_clk_active>; pinctrl-names = "default";
Signature · 1 line
1.8.3.2
PATCH v3 11/12 ARM: dts: exynos4210-trats: enable exynos/fimd node
In reply to Andrzej HajdaThe patch changes fimd node status to OK.
--- arch/arm/boot/dts/exynos4210-trats.dts | 4 ++++ 1 file changed, 4 insertions(+)
arch/arm/boot/dts/exynos4210-trats.dts +4 -0
@@ -410,6 +410,10 @@ }; }; + fimd@11c00000 { + status = "okay"; + }; + camera { pinctrl-names = "default"; pinctrl-0 = <>;
Signature · 1 line
1.8.3.2
PATCH v3 12/12 ARM: dts: exynos4412-trats2: enable exynos/fimd node
In reply to Andrzej HajdaThe patch changes fimd node status to OK.
--- arch/arm/boot/dts/exynos4412-trats2.dts | 4 ++++ 1 file changed, 4 insertions(+)
arch/arm/boot/dts/exynos4412-trats2.dts +4 -0
@@ -577,6 +577,10 @@ }; }; + fimd@11c00000 { + status = "okay"; + }; + camera { pinctrl-0 = <&cam_port_b_clk_active>; pinctrl-names = "default";
Signature · 1 line
1.8.3.2
Inki Dae
maintainerHi Andrzej,
2014-03-28 20:52 GMT+09:00 Andrzej Hajda <[email protected]>:
Quoted 27 lines
Hi,
This patchset adds drivers and bindings to the following devices:
- Exynos DSI master,
- S6E8AA0 DSI panel,It adds also display support in DTS files for the following boards:
- Exynos4210/Trats,
- Exynos4412/Trats2.The patchset is based on
exynos_drm_nextbranch.It is the 3rd iteration of the patches, main changes:
- based onexynos_drm_nextbranch,
- added video interface bindings between DSI host and slave,
it seems to me to be redundand, and I hope when video interface bindings will be stabilized it can become optional,
- GPIOs implemented using gpiod framework,
- removed controversial stuff (toshiba bridge implementation and arndale support), it will be send in another set of patchesOther changes are described in individual patches.
Regards
Andrzej
Quoted 13 lines
Andrzej Hajda (12):
drm/mipi_dsi: add flags to DSI messages
drm/mipi_dsi: create dsi devices only for nodes with reg property drm/exynos: disallow fbdev initialization if no device is connected exynos/dsim: add DT bindings
drm/exynos: add DSIM driver
panel/s6e8aa0: add DT bindings
drm/panel: add S6E8AA0 driver
ARM: dts: exynos4: add MIPI DSI Master node
ARM: dts: exynos4210-trats: add panel node
ARM: dts: exynos4412-trats2: add panel node
ARM: dts: exynos4210-trats: enable exynos/fimd node
ARM: dts: exynos4412-trats2: enable exynos/fimd node
Picked up this patch series.
Thanks for your contribution,
Inki Dae
Quoted 30 lines
.../devicetree/bindings/panel/samsung,s6e8aa0.txt | 56 + .../devicetree/bindings/video/exynos_dsim.txt | 80 + arch/arm/boot/dts/exynos4.dtsi | 14 + arch/arm/boot/dts/exynos4210-trats.dts | 61 + arch/arm/boot/dts/exynos4412-trats2.dts | 70 + drivers/gpu/drm/drm_mipi_dsi.c | 6 +- drivers/gpu/drm/exynos/Kconfig | 9 + drivers/gpu/drm/exynos/Makefile | 1 + drivers/gpu/drm/exynos/exynos_drm_drv.c | 15 + drivers/gpu/drm/exynos/exynos_drm_drv.h | 1 + drivers/gpu/drm/exynos/exynos_drm_dsi.c | 1525 ++++++++++++++++++++ drivers/gpu/drm/exynos/exynos_drm_fbdev.c | 21 + drivers/gpu/drm/panel/Kconfig | 7 + drivers/gpu/drm/panel/Makefile | 1 + drivers/gpu/drm/panel/panel-s6e8aa0.c | 1069 ++++++++++++++ include/drm/drm_mipi_dsi.h | 6 + 16 files changed, 2941 insertions(+), 1 deletion(-) create mode 100644 Documentation/devicetree/bindings/panel/samsung,s6e8aa0.txt create mode 100644 Documentation/devicetree/bindings/video/exynos_dsim.txt create mode 100644 drivers/gpu/drm/exynos/exynos_drm_dsi.c create mode 100644 drivers/gpu/drm/panel/panel-s6e8aa0.c--
1.8.3.2_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
A message that is not in the archive (sent off-list or not yet received): CAAQKjZN7u1q6jeLCyQ0qe7VDRY3wUv1PjUeZZ6uoWYjo7vdtZQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org
Hi Inki,
I see you have took also ld9040 driver patch [1].
Could you take the 3rd version of this patch [2].
It fixes build dependencies.
[1]: http://permalink.gmane.org/gmane.comp.video.dri.devel/102592
[2]: http://permalink.gmane.org/gmane.comp.video.dri.devel/102659
Thanks and Regards
Andrzej
Quoted 45 lines · Inki Dae
Hi Andrzej,
2014-03-28 20:52 GMT+09:00 Andrzej Hajda <[email protected]>:
Quoted 27 lines
Hi,
This patchset adds drivers and bindings to the following devices:
- Exynos DSI master,
- S6E8AA0 DSI panel,It adds also display support in DTS files for the following boards:
- Exynos4210/Trats,
- Exynos4412/Trats2.The patchset is based on
exynos_drm_nextbranch.It is the 3rd iteration of the patches, main changes:
- based onexynos_drm_nextbranch,
- added video interface bindings between DSI host and slave,
it seems to me to be redundand, and I hope when video interface bindings will be stabilized it can become optional,
- GPIOs implemented using gpiod framework,
- removed controversial stuff (toshiba bridge implementation and arndale support), it will be send in another set of patchesOther changes are described in individual patches.
Regards
AndrzejQuoted 13 lines
Andrzej Hajda (12):
drm/mipi_dsi: add flags to DSI messages
drm/mipi_dsi: create dsi devices only for nodes with reg property drm/exynos: disallow fbdev initialization if no device is connected exynos/dsim: add DT bindings
drm/exynos: add DSIM driver
panel/s6e8aa0: add DT bindings
drm/panel: add S6E8AA0 driver
ARM: dts: exynos4: add MIPI DSI Master node
ARM: dts: exynos4210-trats: add panel node
ARM: dts: exynos4412-trats2: add panel node
ARM: dts: exynos4210-trats: enable exynos/fimd node
ARM: dts: exynos4412-trats2: enable exynos/fimd node
Quoted 34 lines
Picked up this patch series.
Thanks for your contribution,
Inki DaeQuoted 29 lines
.../devicetree/bindings/panel/samsung,s6e8aa0.txt | 56 + .../devicetree/bindings/video/exynos_dsim.txt | 80 + arch/arm/boot/dts/exynos4.dtsi | 14 + arch/arm/boot/dts/exynos4210-trats.dts | 61 + arch/arm/boot/dts/exynos4412-trats2.dts | 70 + drivers/gpu/drm/drm_mipi_dsi.c | 6 +- drivers/gpu/drm/exynos/Kconfig | 9 + drivers/gpu/drm/exynos/Makefile | 1 + drivers/gpu/drm/exynos/exynos_drm_drv.c | 15 + drivers/gpu/drm/exynos/exynos_drm_drv.h | 1 + drivers/gpu/drm/exynos/exynos_drm_dsi.c | 1525 ++++++++++++++++++++ drivers/gpu/drm/exynos/exynos_drm_fbdev.c | 21 + drivers/gpu/drm/panel/Kconfig | 7 + drivers/gpu/drm/panel/Makefile | 1 + drivers/gpu/drm/panel/panel-s6e8aa0.c | 1069 ++++++++++++++ include/drm/drm_mipi_dsi.h | 6 + 16 files changed, 2941 insertions(+), 1 deletion(-) create mode 100644 Documentation/devicetree/bindings/panel/samsung,s6e8aa0.txt create mode 100644 Documentation/devicetree/bindings/video/exynos_dsim.txt create mode 100644 drivers/gpu/drm/exynos/exynos_drm_dsi.c create mode 100644 drivers/gpu/drm/panel/panel-s6e8aa0.c--
1.8.3.2_______________________________________________
dri-devel mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Inki Dae
maintainerHi Andrzej,
2014-04-02 16:24 GMT+09:00, Andrzej Hajda <[email protected]>:
Quoted 3 lines
Hi Inki,
I see you have took also ld9040 driver patch [1].
I think this patch should have included your DSI display support series because the patch series includes dt binding for ld9040 driver but has no ld9040 driver.
Quoted 2 lines
Could you take the 3rd version of this patch [2].
It fixes build dependencies.
Sorry for missing. Applied.
Thanks,
Inki Dae
Quoted 99 lines
[1]: http://permalink.gmane.org/gmane.comp.video.dri.devel/102592
[2]: http://permalink.gmane.org/gmane.comp.video.dri.devel/102659Thanks and Regards
AndrzejQuoted 47 lines · Inki Dae
Hi Andrzej,
2014-03-28 20:52 GMT+09:00 Andrzej Hajda <[email protected]>:
Quoted 29 lines
Hi,
This patchset adds drivers and bindings to the following devices:
- Exynos DSI master,
- S6E8AA0 DSI panel,It adds also display support in DTS files for the following boards:
- Exynos4210/Trats,
- Exynos4412/Trats2.The patchset is based on
exynos_drm_nextbranch.It is the 3rd iteration of the patches, main changes:
- based onexynos_drm_nextbranch,
- added video interface bindings between DSI host and slave, it seems to me to be redundand, and I hope when video interface
bindings
will be stabilized it can become optional,
- GPIOs implemented using gpiod framework,
- removed controversial stuff (toshiba bridge implementation and arndale support),
it will be send in another set of patchesOther changes are described in individual patches.
Regards
AndrzejQuoted 13 lines
Andrzej Hajda (12):
drm/mipi_dsi: add flags to DSI messages
drm/mipi_dsi: create dsi devices only for nodes with reg property drm/exynos: disallow fbdev initialization if no device is connected exynos/dsim: add DT bindings
drm/exynos: add DSIM driver
panel/s6e8aa0: add DT bindings
drm/panel: add S6E8AA0 driver
ARM: dts: exynos4: add MIPI DSI Master node
ARM: dts: exynos4210-trats: add panel node
ARM: dts: exynos4412-trats2: add panel node
ARM: dts: exynos4210-trats: enable exynos/fimd node
ARM: dts: exynos4412-trats2: enable exynos/fimd nodeQuoted 38 lines
Picked up this patch series.
Thanks for your contribution,
Inki DaeQuoted 33 lines
.../devicetree/bindings/panel/samsung,s6e8aa0.txt | 56 + .../devicetree/bindings/video/exynos_dsim.txt | 80 + arch/arm/boot/dts/exynos4.dtsi | 14 + arch/arm/boot/dts/exynos4210-trats.dts | 61 + arch/arm/boot/dts/exynos4412-trats2.dts | 70 + drivers/gpu/drm/drm_mipi_dsi.c | 6 +- drivers/gpu/drm/exynos/Kconfig | 9 + drivers/gpu/drm/exynos/Makefile | 1 + drivers/gpu/drm/exynos/exynos_drm_drv.c | 15 + drivers/gpu/drm/exynos/exynos_drm_drv.h | 1 + drivers/gpu/drm/exynos/exynos_drm_dsi.c | 1525 ++++++++++++++++++++ drivers/gpu/drm/exynos/exynos_drm_fbdev.c | 21 + drivers/gpu/drm/panel/Kconfig | 7 + drivers/gpu/drm/panel/Makefile | 1 + drivers/gpu/drm/panel/panel-s6e8aa0.c | 1069 ++++++++++++++ include/drm/drm_mipi_dsi.h | 6 + 16 files changed, 2941 insertions(+), 1 deletion(-) create mode 100644 Documentation/devicetree/bindings/panel/samsung,s6e8aa0.txt create mode 100644 Documentation/devicetree/bindings/video/exynos_dsim.txt create mode 100644 drivers/gpu/drm/exynos/exynos_drm_dsi.c create mode 100644 drivers/gpu/drm/panel/panel-s6e8aa0.c--
1.8.3.2_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel