* [PATCH v3] video: fbdev: add Marvell PXA LCD controller binding
@ 2015-10-12 11:30 Robert Jarzmik
2015-10-12 18:41 ` Philipp Zabel
2015-10-13 18:48 ` Rob Herring
0 siblings, 2 replies; 3+ messages in thread
From: Robert Jarzmik @ 2015-10-12 11:30 UTC (permalink / raw
To: Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
Philipp Zabel
Cc: devicetree, linux-kernel, Jean-Christophe Plagniol-Villard,
Tomi Valkeinen, linux-fbdev, Robert Jarzmik
Add documentation for the PXA LCD controller devicetree binding.
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
---
Since v1: Philipp's review on the whole binding
Since v2: moved to display/, Philipp's and Rob's review
dropped panel description, should be a simple panel with a
lcd-type optional node that could be added to simple-panel.
---
.../bindings/display/marvell,pxa2xx-lcdc.txt | 34 ++++++++++++++++++++++
1 file changed, 34 insertions(+)
create mode 100644 Documentation/devicetree/bindings/display/marvell,pxa2xx-lcdc.txt
diff --git a/Documentation/devicetree/bindings/display/marvell,pxa2xx-lcdc.txt b/Documentation/devicetree/bindings/display/marvell,pxa2xx-lcdc.txt
new file mode 100644
index 000000000000..309c47f25b87
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/marvell,pxa2xx-lcdc.txt
@@ -0,0 +1,34 @@
+PXA LCD Controller
+------------------
+
+Required properties:
+ - compatible : one of these
+ "marvell,pxa2xx-lcdc",
+ "marvell,pxa270-lcdc",
+ "marvell,pxa300-lcdc"
+ - reg : should contain 1 register range (address and length).
+ - interrupts : framebuffer controller interrupt.
+ - clocks: phandle to input clocks
+
+Required nodes:
+ - port: connection to the LCD panel (see video-interfaces.txt)
+ This node must have its properties bus-width and remote-endpoint set.
+ If the panel is not a TFT color panel, then a "lcd-type" property in
+ the panel should specify the panel type.
+ This panel node should be in the board dts.
+
+Example:
+ lcd-controller@40500000 {
+ compatible = "marvell,pxa2xx-lcdc";
+ reg = <0x44000000 0x10000>;
+ interrupts = <17>;
+ clocks = <&clks CLK_LCD>;
+ status = "okay";
+
+ port {
+ lcdc_out: endpoint {
+ remote-endpoint = <&panel_in>;
+ bus-width = <16>;
+ };
+ };
+ };
--
2.1.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v3] video: fbdev: add Marvell PXA LCD controller binding
2015-10-12 11:30 [PATCH v3] video: fbdev: add Marvell PXA LCD controller binding Robert Jarzmik
@ 2015-10-12 18:41 ` Philipp Zabel
2015-10-13 18:48 ` Rob Herring
1 sibling, 0 replies; 3+ messages in thread
From: Philipp Zabel @ 2015-10-12 18:41 UTC (permalink / raw
To: Robert Jarzmik
Cc: Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
devicetree, LKML, Jean-Christophe Plagniol-Villard,
Tomi Valkeinen, linux-fbdev
On Mon, Oct 12, 2015 at 1:30 PM, Robert Jarzmik <robert.jarzmik@free.fr> wrote:
> Add documentation for the PXA LCD controller devicetree binding.
>
> Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Reviewed-by: Philipp Zabel <philipp.zabel@gmail.com>
regards
Philipp
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v3] video: fbdev: add Marvell PXA LCD controller binding
2015-10-12 11:30 [PATCH v3] video: fbdev: add Marvell PXA LCD controller binding Robert Jarzmik
2015-10-12 18:41 ` Philipp Zabel
@ 2015-10-13 18:48 ` Rob Herring
1 sibling, 0 replies; 3+ messages in thread
From: Rob Herring @ 2015-10-13 18:48 UTC (permalink / raw
To: Robert Jarzmik
Cc: Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala, Philipp Zabel,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
Jean-Christophe Plagniol-Villard, Tomi Valkeinen,
linux-fbdev@vger.kernel.org
On Mon, Oct 12, 2015 at 6:30 AM, Robert Jarzmik <robert.jarzmik@free.fr> wrote:
> Add documentation for the PXA LCD controller devicetree binding.
>
> Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
> ---
> Since v1: Philipp's review on the whole binding
> Since v2: moved to display/, Philipp's and Rob's review
> dropped panel description, should be a simple panel with a
> lcd-type optional node that could be added to simple-panel.
Applied, thanks.
Rob
> ---
> .../bindings/display/marvell,pxa2xx-lcdc.txt | 34 ++++++++++++++++++++++
> 1 file changed, 34 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/display/marvell,pxa2xx-lcdc.txt
>
> diff --git a/Documentation/devicetree/bindings/display/marvell,pxa2xx-lcdc.txt b/Documentation/devicetree/bindings/display/marvell,pxa2xx-lcdc.txt
> new file mode 100644
> index 000000000000..309c47f25b87
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/display/marvell,pxa2xx-lcdc.txt
> @@ -0,0 +1,34 @@
> +PXA LCD Controller
> +------------------
> +
> +Required properties:
> + - compatible : one of these
> + "marvell,pxa2xx-lcdc",
> + "marvell,pxa270-lcdc",
> + "marvell,pxa300-lcdc"
> + - reg : should contain 1 register range (address and length).
> + - interrupts : framebuffer controller interrupt.
> + - clocks: phandle to input clocks
> +
> +Required nodes:
> + - port: connection to the LCD panel (see video-interfaces.txt)
> + This node must have its properties bus-width and remote-endpoint set.
> + If the panel is not a TFT color panel, then a "lcd-type" property in
> + the panel should specify the panel type.
> + This panel node should be in the board dts.
> +
> +Example:
> + lcd-controller@40500000 {
> + compatible = "marvell,pxa2xx-lcdc";
> + reg = <0x44000000 0x10000>;
> + interrupts = <17>;
> + clocks = <&clks CLK_LCD>;
> + status = "okay";
> +
> + port {
> + lcdc_out: endpoint {
> + remote-endpoint = <&panel_in>;
> + bus-width = <16>;
> + };
> + };
> + };
> --
> 2.1.4
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-10-13 18:48 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-12 11:30 [PATCH v3] video: fbdev: add Marvell PXA LCD controller binding Robert Jarzmik
2015-10-12 18:41 ` Philipp Zabel
2015-10-13 18:48 ` Rob Herring
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).