[linux-sunxi] Re: [PATCH v7 4/8] drm/sunxi: Add DT bindings documentation of Allwinner HDMI

2016-12-01 Thread Laurent Pinchart
On Thursday 01 Dec 2016 12:30:09 Jean-Francois Moine wrote: > On Thu, 01 Dec 2016 12:41:20 +0200 Laurent Pinchart wrote: > >>> If a DVI connector instead of a HDMI connector is soldered, how > >>> should such a device tree be written? > >> > >> Use a dvi-connector instead :) > > > > The HDMI

[linux-sunxi] Re: [PATCH v7 4/8] drm/sunxi: Add DT bindings documentation of Allwinner HDMI

2016-12-01 Thread Laurent Pinchart
On Thursday 01 Dec 2016 09:55:20 Maxime Ripard wrote: > On Thu, Dec 01, 2016 at 01:33:30AM +0800, Icenowy Zheng wrote: > >>> hdmi-out { > >>> compatible = "hdmi-connector"; > >>> type = "a"; > >>> /* I2C bus and GPIO references are made

[linux-sunxi] Re: [PATCH v7 4/8] drm/sunxi: Add DT bindings documentation of Allwinner HDMI

2016-12-01 Thread Jean-Francois Moine
On Thu, 01 Dec 2016 12:41:20 +0200 Laurent Pinchart wrote: > > > If a DVI connector instead of a HDMI connector is soldered, how > > > should such a device tree be written? > > > > Use a dvi-connector instead :) > > The HDMI encoder DT node doesn't (and certainly shouldn't) report what type >

[linux-sunxi] Re: [PATCH v7 4/8] drm/sunxi: Add DT bindings documentation of Allwinner HDMI

2016-12-01 Thread Maxime Ripard
On Thu, Dec 01, 2016 at 01:33:30AM +0800, Icenowy Zheng wrote: > >>          hdmi-out { > >>                  compatible = "hdmi-connector"; > >>                  type = "a"; > >>                  /* I2C bus and GPIO references are made

[linux-sunxi] Re: [PATCH v7 4/8] drm/sunxi: Add DT bindings documentation of Allwinner HDMI

2016-12-01 Thread Icenowy Zheng
30.11.2016, 18:44, "Jean-Francois Moine" : > On Wed, 30 Nov 2016 11:52:25 +0200 > Laurent Pinchart wrote: > >>  Hi Jean-François, >> >>  On Wednesday 30 Nov 2016 10:27:57 Jean-Francois Moine wrote: >>  > On Wed, 30 Nov 2016 10:20:21 +0200 Laurent Pinchart wrote: >>  > >> Well, I don't see

[linux-sunxi] Re: [PATCH v7 4/8] drm/sunxi: Add DT bindings documentation of Allwinner HDMI

2016-12-01 Thread Icenowy Zheng
30.11.2016, 17:28, "Jean-Francois Moine" : > On Wed, 30 Nov 2016 10:20:21 +0200 > Laurent Pinchart wrote: > >>  > Well, I don't see what this connector can be. >>  > May you give me a DT example? >> >>  Sure. >> >>  arch/arm/boot/dts/r8a7791-koelsch.dts >> >>          /* HDMI

[PATCH v7 4/8] drm/sunxi: Add DT bindings documentation of Allwinner HDMI

2016-11-30 Thread Laurent Pinchart
Hi Jean-François, On Wednesday 30 Nov 2016 10:27:57 Jean-Francois Moine wrote: > On Wed, 30 Nov 2016 10:20:21 +0200 Laurent Pinchart wrote: > >> Well, I don't see what this connector can be. > >> May you give me a DT example? > > > > Sure. > > > > arch/arm/boot/dts/r8a7791-koelsch.dts > > > >

[PATCH v7 4/8] drm/sunxi: Add DT bindings documentation of Allwinner HDMI

2016-11-30 Thread Jean-Francois Moine
On Wed, 30 Nov 2016 11:52:25 +0200 Laurent Pinchart wrote: > Hi Jean-François, > > On Wednesday 30 Nov 2016 10:27:57 Jean-Francois Moine wrote: > > On Wed, 30 Nov 2016 10:20:21 +0200 Laurent Pinchart wrote: > > >> Well, I don't see what this connector can be. > > >> May you give me a DT

[PATCH v7 4/8] drm/sunxi: Add DT bindings documentation of Allwinner HDMI

2016-11-30 Thread Jean-Francois Moine
On Wed, 30 Nov 2016 10:20:21 +0200 Laurent Pinchart wrote: > > Well, I don't see what this connector can be. > > May you give me a DT example? > > Sure. > > arch/arm/boot/dts/r8a7791-koelsch.dts > > /* HDMI encoder */ > > hdmi at 39 { > compatible =

[PATCH v7 4/8] drm/sunxi: Add DT bindings documentation of Allwinner HDMI

2016-11-30 Thread Laurent Pinchart
Hi Jean-François, On Wednesday 30 Nov 2016 09:12:08 Jean-Francois Moine wrote: > On Tue, 29 Nov 2016 22:10:01 +0200 Laurent Pinchart wrote: > > On Tuesday 29 Nov 2016 21:04:55 Jean-Francois Moine wrote: > >> On Tue, 29 Nov 2016 21:33 +0200 Laurent Pinchart wrote: > > You need a third port

[PATCH v7 4/8] drm/sunxi: Add DT bindings documentation of Allwinner HDMI

2016-11-30 Thread Jean-Francois Moine
On Tue, 29 Nov 2016 22:10:01 +0200 Laurent Pinchart wrote: > Hi Jean-François, > > On Tuesday 29 Nov 2016 21:04:55 Jean-Francois Moine wrote: > > On Tue, 29 Nov 2016 21:33 +0200 Laurent Pinchart wrote: > > >>> You need a third port for the HDMI encoder output, connected to an > > >>> HDMI

[PATCH v7 4/8] drm/sunxi: Add DT bindings documentation of Allwinner HDMI

2016-11-29 Thread Laurent Pinchart
Hi Jean-François, On Tuesday 29 Nov 2016 21:04:55 Jean-Francois Moine wrote: > On Tue, 29 Nov 2016 21:33 +0200 Laurent Pinchart wrote: > >>> You need a third port for the HDMI encoder output, connected to an > >>> HDMI connector DT node. > >> > >> I don't see what you mean. The HDMI device is

[PATCH v7 4/8] drm/sunxi: Add DT bindings documentation of Allwinner HDMI

2016-11-29 Thread Laurent Pinchart
Hi Jean-François, On Tuesday 29 Nov 2016 20:27:51 Jean-Francois Moine wrote: > On Tue, 29 Nov 2016 20:46:22 +0200 Laurent Pinchart wrote: > [snip] > > >> +Example: > >> + > >> + hdmi: hdmi at 01ee { > >> + compatible = "allwinner,sun8i-a83t-hdmi"; > >> + reg = <0x01ee

[PATCH v7 4/8] drm/sunxi: Add DT bindings documentation of Allwinner HDMI

2016-11-29 Thread Jean-Francois Moine
On Tue, 29 Nov 2016 21:33 +0200 Laurent Pinchart wrote: > > > You need a third port for the HDMI encoder output, connected to an HDMI > > > connector DT node. > > > > I don't see what you mean. The HDMI device is both the encoder > > and connector (as the TDA998x): > > The driver might create

[PATCH v7 4/8] drm/sunxi: Add DT bindings documentation of Allwinner HDMI

2016-11-29 Thread Laurent Pinchart
Hi Jean-François, Thank you for the patch. On Tuesday 29 Nov 2016 10:08:25 Jean-Francois Moine wrote: > Signed-off-by: Jean-Francois Moine > --- > .../devicetree/bindings/display/sunxi/hdmi.txt | 56 +++ > 1 file changed, 56 insertions(+) > create mode 100644

[PATCH v7 4/8] drm/sunxi: Add DT bindings documentation of Allwinner HDMI

2016-11-29 Thread Jean-Francois Moine
On Tue, 29 Nov 2016 20:46:22 +0200 Laurent Pinchart wrote: [snip] > > +Example: > > + > > + hdmi: hdmi at 01ee { > > + compatible = "allwinner,sun8i-a83t-hdmi"; > > + reg = <0x01ee 0x2>; > > + clocks = < CLK_BUS_HDMI>, < CLK_HDMI>, > > +

[PATCH v7 4/8] drm/sunxi: Add DT bindings documentation of Allwinner HDMI

2016-11-29 Thread Jean-Francois Moine
Signed-off-by: Jean-Francois Moine --- .../devicetree/bindings/display/sunxi/hdmi.txt | 56 ++ 1 file changed, 56 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/sunxi/hdmi.txt diff --git