[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 = "adi,adv751

[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

[PATCH 0/5] drm/sun4i: Handle TV overscan

2016-10-18 Thread Jean-Francois Moine
On Tue, 18 Oct 2016 12:03:49 +0200 Maxime Ripard wrote: > The fourth one being the major one. Every time I raised the issue on > IRC, the answer basically was "we don't care about analog", so I'm a > bit pessimistic about whether dealing with this in the core would be > accepted, hence why I chos

[linux-sunxi] [PATCH v5 4/7] ASoC: sunxi: Add sun8i I2S driver

2016-11-06 Thread Jean-Francois Moine
On Sun, 23 Oct 2016 09:33:16 +0800 Chen-Yu Tsai wrote: > On Fri, Oct 21, 2016 at 4:36 PM, Jean-Francois Moine > wrote: > > This patch adds I2S support to sun8i SoCs as the A83T and H3. > > > > Signed-off-by: Jean-Francois Moine > > --- > > Note: This driv

[linux-sunxi] [PATCH v5 4/7] ASoC: sunxi: Add sun8i I2S driver

2016-11-08 Thread Jean-Francois Moine
On Mon, 7 Nov 2016 21:05:05 +0100 Maxime Ripard wrote: > Hi, > > On Sun, Nov 06, 2016 at 07:02:48PM +0100, Jean-Francois Moine wrote: > > On Sun, 23 Oct 2016 09:33:16 +0800 > > Chen-Yu Tsai wrote: > > > > > On Fri, Oct 21, 2016 at 4:36 PM, Jean-Francois Moi

[PATCH v5 1/7] drm: sunxi: Add a basic DRM driver for Allwinner DE2

2016-11-08 Thread Jean-Francois Moine
On Mon, 7 Nov 2016 23:37:41 +0100 Maxime Ripard wrote: > Hi, > > On Fri, Oct 28, 2016 at 07:34:20PM +0200, Jean-Francois Moine wrote: > > On Fri, 28 Oct 2016 00:03:16 +0200 > > Maxime Ripard wrote: [snip] > > > > > We've been calling them bus a

[PATCH v5 1/7] drm: sunxi: Add a basic DRM driver for Allwinner DE2

2016-11-17 Thread Jean-Francois Moine
On Wed, 16 Nov 2016 22:33:06 +0100 Maxime Ripard wrote: > > > > The Device Engine just handles the planes of the LCDs, but, indeed, > > > > the LCDs must know about the DE and the DE must know about the LCDs. > > > > There are 2 ways to realize this knowledge in the DT: > > > > 1) either the DE h

[PATCH v6 0/5] drm: sun8i: Add DE2 HDMI video support

2016-11-20 Thread Jean-Francois Moine
3: - add the hardware cursor - simplify and fix the DE2 init sequences - generation for all SUNXI SoCs (Andre Przywara) v2: - remove the HDMI driver - remarks from Chen-Yu Tsai and Russell King - DT documentation added Jean-Francois Moine (5): drm: su

[PATCH v6 5/5] ARM: dts: sun8i-h3: Add HDMI video to the Orange PI 2

2016-11-20 Thread Jean-Francois Moine
Signed-off-by: Jean-Francois Moine --- arch/arm/boot/dts/sun8i-h3-orangepi-2.dts | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-h3-orangepi-2.dts b/arch/arm/boot/dts/sun8i-h3-orangepi-2.dts index 047e9e1..9ecc6f1 100644 --- a/arch/arm/boot/dts/sun8i

[PATCH v6 4/5] ARM: dts: sun8i-h3: Add HDMI video to the Banana Pi M2+

2016-11-20 Thread Jean-Francois Moine
Signed-off-by: Jean-Francois Moine --- arch/arm/boot/dts/sun8i-h3-bananapi-m2-plus.dts | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-h3-bananapi-m2-plus.dts b/arch/arm/boot/dts/sun8i-h3-bananapi-m2-plus.dts index c0c49dd..4b5baae 100644 --- a/arch

[PATCH v6 2/5] drm: sun8i: add HDMI video support to A83T and H3

2016-11-20 Thread Jean-Francois Moine
This patch adds a HDMI video driver to the Allwinner's SoCs A83T and H3. Signed-off-by: Jean-Francois Moine --- .../devicetree/bindings/display/sunxi/hdmi.txt | 53 ++ drivers/gpu/drm/sun8i/Kconfig | 7 + drivers/gpu/drm/sun8i/Makefile

[PATCH v6 3/5] ARM: dts: sun8i-h3: add HDMI video nodes

2016-11-20 Thread Jean-Francois Moine
Signed-off-by: Jean-Francois Moine --- arch/arm/boot/dts/sun8i-h3.dtsi | 51 + 1 file changed, 51 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi b/arch/arm/boot/dts/sun8i-h3.dtsi index 416b825..7c6b1d5 100644 --- a/arch/arm/boot/dts/sun8i-h3

[PATCH v6 1/5] drm: sun8i: Add a basic DRM driver for Allwinner DE2

2016-11-20 Thread Jean-Francois Moine
Allwinner's recent SoCs, as A64, A83T and H3, contain a new display engine, DE2. This patch adds a DRM video driver for this device. Signed-off-by: Jean-Francois Moine --- .../bindings/display/sunxi/sun8i-de2.txt | 83 +++ drivers/gpu/drm/Kconfig

[linux-sunxi] [PATCH v6 0/5] drm: sun8i: Add DE2 HDMI video support

2016-11-21 Thread Jean-Francois Moine
On Mon, 21 Nov 2016 01:54:53 +0100 Ondřej Jirman wrote: > Dne 20.11.2016 v 12:32 Jean-Francois Moine napsal(a): > > This patchset series adds HDMI video support to the Allwinner > > sun8i SoCs which include the display engine 2 (DE2). > > The driver contains the code for th

[PATCH v6 3/5] ARM: dts: sun8i-h3: add HDMI video nodes

2016-11-25 Thread Jean-Francois Moine
On Fri, 25 Nov 2016 17:41:51 +0800 Icenowy Zheng wrote: > After removing CLK_PLL_DE's assigned-clock, the kernel passes compilation. The 'pll-de' and 'de' must have a fixed rate. Otherwise, if you do not use the legacy u-boot, I don't know which can be the rate of the DE. > However, it cannot r

[PATCH v7 0/8] drm: sun8i: Add DE2 HDMI video support

2016-11-29 Thread Jean-Francois Moine
- generation for all SUNXI SoCs (Andre Przywara) v2: - remove the HDMI driver - remarks from Chen-Yu Tsai and Russell King - DT documentation added Jean-Francois Moine (8): drm: sun8i: Add a basic DRM driver for Allwinner DE2 drm/sun8i: Add DT bindings documentation of

[PATCH v7 7/8] ARM: dts: sun8i-h3: Add HDMI video to the Banana Pi M2+

2016-11-29 Thread Jean-Francois Moine
Signed-off-by: Jean-Francois Moine --- arch/arm/boot/dts/sun8i-h3-bananapi-m2-plus.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-h3-bananapi-m2-plus.dts b/arch/arm/boot/dts/sun8i-h3-bananapi-m2-plus.dts index c0c49dd..9f3e2f8 100644 --- a/arch/arm

[PATCH v7 2/8] drm/sun8i: Add DT bindings documentation of Allwinner DE2

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

[PATCH v7 6/8] ARM: dts: sun8i-h3: add HDMI video nodes

2016-11-29 Thread Jean-Francois Moine
Signed-off-by: Jean-Francois Moine --- Note 1: The DE clock is not set in the driver. Instead, it is set at system startup time by 'assigned-clocks', but there is a problem in sunxi-ng which uses readl_relaxed_poll_timeout(), and, as noticed by Ondřej Jirman, this function is not

[PATCH v7 3/8] drm: sun8i: add HDMI video support to A83T and H3

2016-11-29 Thread Jean-Francois Moine
Signed-off-by: Jean-Francois Moine --- drivers/gpu/drm/sun8i/Kconfig | 7 + drivers/gpu/drm/sun8i/Makefile | 2 + drivers/gpu/drm/sun8i/de2_hdmi.c| 440 +++ drivers/gpu/drm/sun8i/de2_hdmi.h| 51 +++ drivers/gpu/drm/sun8i/de2_hdmi_io.c | 843

[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 a/Documentation/devicetree/bindings/display/sunxi

[PATCH v7 1/8] drm: sun8i: Add a basic DRM driver for Allwinner DE2

2016-11-28 Thread Jean-Francois Moine
Allwinner's recent SoCs, as A64, A83T and H3, contain a new display engine, DE2. This patch adds a DRM video driver for this device. Signed-off-by: Jean-Francois Moine --- drivers/gpu/drm/Kconfig | 2 + drivers/gpu/drm/Makefile | 1 + drivers/gpu/drm/sun8i/Kc

[PATCH v7 5/8] clk: sunxi-ng: define the PLL DE clock

2016-11-29 Thread Jean-Francois Moine
Signed-off-by: Jean-Francois Moine --- include/dt-bindings/clock/sun8i-h3-ccu.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/dt-bindings/clock/sun8i-h3-ccu.h b/include/dt-bindings/clock/sun8i-h3-ccu.h index efb7ba2..7af57b7 100644 --- a/include/dt-bindings/clock/sun8i-h3-ccu.h

[PATCH v7 8/8] ARM: dts: sun8i-h3: Add HDMI video to the Orange PI 2

2016-11-29 Thread Jean-Francois Moine
Signed-off-by: Jean-Francois Moine --- arch/arm/boot/dts/sun8i-h3-orangepi-2.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-h3-orangepi-2.dts b/arch/arm/boot/dts/sun8i-h3-orangepi-2.dts index 047e9e1..7712972 100644 --- a/arch/arm/boot/dts/sun8i-h3

[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 = <&ccu CLK_BUS_HDMI>, <&ccu CLK_HDMI>, > > +

[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 b

[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

[PATCH v7 0/8] drm: sun8i: Add DE2 HDMI video support

2016-11-30 Thread Jean-Francois Moine
On Tue, 29 Nov 2016 22:36:50 +0100 Maxime Ripard wrote: > On Tue, Nov 29, 2016 at 11:18:35AM +0100, Jean-Francois Moine wrote: > > This patchset series adds HDMI video support to the Allwinner > > sun8i SoCs which include the display engine 2 (DE2). > > The driver contains

[PATCH 2/4] drm/i2c: tda998x: Remove obsolete drm_connector_register() call

2016-10-21 Thread Jean-Francois Moine
On Thu, 20 Oct 2016 16:56:44 +0530 Archit Taneja wrote: > > Please show _technically_ how this would work. I want to see code or > > pseudo-code illustrating how a "foreign" DRM encoder could be used with > > either dw-hdmi or tda998x, because right now I can't see any way that > > could work. >

[PATCH 2/4] drm/i2c: tda998x: Remove obsolete drm_connector_register() call

2016-10-21 Thread Jean-Francois Moine
On Wed, Oct 19, 2016 at 12:19:30PM +0300, Laurent Pinchart wrote: (sorry, I lost your original mail) > >>> DRM bridges indeed don't create encoders. That task is left to the display > >>> driver. The reason is the same as above: bridges can be chained (including > >>> with an internal

[PATCH v5 0/7] ARM: ASoC: drm: sun8i: Add DE2 HDMI audio and video

2016-10-22 Thread Jean-Francois Moine
elikov) v3: - add the hardware cursor - simplify and fix the DE2 init sequences - generation for all SUNXI SoCs (Andre Przywara) v2: - remove the HDMI driver - remarks from Chen-Yu Tsai and Russell King - DT documentation added Jean-Francois Moine

[PATCH v5 4/7] ASoC: sunxi: Add sun8i I2S driver

2016-10-21 Thread Jean-Francois Moine
This patch adds I2S support to sun8i SoCs as the A83T and H3. Signed-off-by: Jean-Francois Moine --- Note: This driver is closed to the sun4i-i2s except that: - it handles the H3 - it creates the sound card (with sun4i-i2s, the sound card is created by the CODECs) --- .../devicetree/bindings

[PATCH v5 5/7] ARM: dts: sun8i-h3: add HDMI audio and video nodes

2016-10-21 Thread Jean-Francois Moine
Signed-off-by: Jean-Francois Moine --- The patch for the A83T DT is not included in this patchset because the clock driver sunxi-ng does not support the A83T clocks. --- arch/arm/boot/dts/sun8i-h3.dtsi | 67 + 1 file changed, 67 insertions(+) diff --git a

[PATCH v5 7/7] ARM: dts: sun8i-h3: Add HDMI audio and video to the Orange PI 2

2016-10-22 Thread Jean-Francois Moine
Signed-off-by: Jean-Francois Moine --- The same patch may be applied to other H3 based boards (Orange PI xx). --- arch/arm/boot/dts/sun8i-h3-orangepi-2.dts | 17 + 1 file changed, 17 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-h3-orangepi-2.dts b/arch/arm/boot/dts/sun8i

[PATCH v5 1/7] drm: sunxi: Add a basic DRM driver for Allwinner DE2

2016-10-21 Thread Jean-Francois Moine
Allwinner's recent SoCs, as A64, A83T and H3, contain a new display engine, DE2. This patch adds a DRM video driver for this device. Signed-off-by: Jean-Francois Moine --- .../bindings/display/sunxi/sunxi-de2.txt | 83 +++ drivers/gpu/drm/Kconfig

[PATCH v5 3/7] drm: sunxi: add DE2 HDMI support

2016-10-21 Thread Jean-Francois Moine
This patch adds a HDMI driver to the DE2 based Allwinner's SoCs as A83T and H3. Audio and video are supported. Signed-off-by: Jean-Francois Moine --- .../devicetree/bindings/display/sunxi/hdmi.txt | 52 ++ drivers/gpu/drm/sunxi/Kconfig | 8 + drivers/gpu/drm/

[PATCH v5 6/7] ARM: dts: sun8i-h3: Add HDMI audio and video to the Banana Pi M2+

2016-10-22 Thread Jean-Francois Moine
Signed-off-by: Jean-Francois Moine --- The patch for the Banana Pi M3 (A83T) is the same as this one. --- arch/arm/boot/dts/sun8i-h3-bananapi-m2-plus.dts | 17 + 1 file changed, 17 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-h3-bananapi-m2-plus.dts b/arch/arm/boot/dts

[PATCH v5 2/7] ASoC: sunxi: Add a simple HDMI CODEC

2016-10-21 Thread Jean-Francois Moine
Allwinner's SoCs include support for both audio and video on HDMI. This patch defines a simple audio CODEC which may be used in sunxi HDMI video drivers. Signed-off-by: Jean-Francois Moine --- include/sound/sunxi_hdmi.h| 23 + sound/soc/codecs/Kconfig | 9 soun

[linux-sunxi] [PATCH v5 0/7] ARM: ASoC: drm: sun8i: Add DE2 HDMI audio and video

2016-10-23 Thread Jean-Francois Moine
On Sun, 23 Oct 2016 09:38:04 +0800 Chen-Yu Tsai wrote: > > Recently, an announce about Tina OS for the R series > > https://www.youtube.com/watch?v=h7KD-6HblAU > > was followed by the upload of a new linux-3.4 source tree > > https://github.com/tinalinux/linux-3.4 > > with files c

[linux-sunxi] [PATCH v5 4/7] ASoC: sunxi: Add sun8i I2S driver

2016-10-23 Thread Jean-Francois Moine
On Sun, 23 Oct 2016 09:33:16 +0800 Chen-Yu Tsai wrote: > > Note: This driver is closed to the sun4i-i2s except that: > > - it handles the H3 > > If it's close to sun4i-i2s, you should probably rework that one to support > the newer SoCs. > > > - it creates the sound card (with sun4i-i2s, the so

[PATCH v5 1/7] drm: sunxi: Add a basic DRM driver for Allwinner DE2

2016-10-25 Thread Jean-Francois Moine
On Mon, 24 Oct 2016 16:04:19 +0200 Maxime Ripard wrote: > Hi, Hi Maxime, > On Fri, Oct 21, 2016 at 09:26:18AM +0200, Jean-Francois Moine wrote: > > Allwinner's recent SoCs, as A64, A83T and H3, contain a new display > > engine, DE2. > > This patch adds a DRM

[PATCH v5 1/7] drm: sunxi: Add a basic DRM driver for Allwinner DE2

2016-10-25 Thread Jean-Francois Moine
On Tue, 25 Oct 2016 08:44:22 +0200 Daniel Vetter wrote: > > + /* start the subdevices */ > > + ret = component_bind_all(dev, drm); > > + if (ret < 0) > > + goto out2; > > + > > + ret = drm_dev_register(drm, 0); > > This needs to be the very last step in your driver load sequenc

[alsa-devel] [linux-sunxi] [PATCH v5 4/7] ASoC: sunxi: Add sun8i I2S driver

2016-10-27 Thread Jean-Francois Moine
On Mon, 24 Oct 2016 14:34:49 +0200 Maxime Ripard wrote: > Hi, > > On Sun, Oct 23, 2016 at 09:45:03AM +0200, Jean-Francois Moine wrote: > > On Sun, 23 Oct 2016 09:33:16 +0800 > > Chen-Yu Tsai wrote: > > > > > > Note: This driver is closed to the sun4i-i2

[linux-sunxi] [PATCH v5 2/7] ASoC: sunxi: Add a simple HDMI CODEC

2016-10-27 Thread Jean-Francois Moine
On Fri, 28 Oct 2016 00:54:34 +0800 Chen-Yu Tsai wrote: > There's already a driver for basically the same thing: > > sound/soc/codec/hdmi-codec.c > > You use it by registering a sub-device from your hdmi driver, with the > proper platform_data and callbacks. Grep for HDMI_CODEC_DRV_NAME for

[PATCH v5 1/7] drm: sunxi: Add a basic DRM driver for Allwinner DE2

2016-10-28 Thread Jean-Francois Moine
On Fri, 28 Oct 2016 00:03:16 +0200 Maxime Ripard wrote: > On Tue, Oct 25, 2016 at 04:14:41PM +0200, Jean-Francois Moine wrote: > > > > +Display controller > > > > +== > > > > + > > > > +Required properties: > > > >

[PATCH RFC v5 4/8] drm/i2c: tda998x: Add support of a DT graph of ports

2016-02-18 Thread Jean-Francois Moine
On Thu, 18 Feb 2016 08:35:30 -0600 Rob Herring wrote: > On Wed, Feb 17, 2016 at 04:49:05PM +0200, Jyri Sarha wrote: > > From: Jean-Francois Moine > > > > Two kinds of ports may be declared in a DT graph of ports: video and audio. > > This patch accepts the port va

[PATCH RFC 0/2] Add a display driver to the Allwinner H3

2016-01-05 Thread Jean-Francois Moine
be license problems, especially for the file de2_hdmi_h3.c which contains a lot of magic values. The associated DT and documentation will be submitted when the H3 DTs will be in the kernel. Jean-Francois Moine (2): clk: sunxi: Add sun8i display support drm: sunxi: Add a basic DRM driver for All

[PATCH RFC 1/2] clk: sunxi: Add sun8i display support

2016-01-05 Thread Jean-Francois Moine
Add the clock types which are used by the sun8i family for video. Signed-off-by: Jean-Francois Moine --- drivers/clk/sunxi/Makefile| 1 + drivers/clk/sunxi/clk-sun8i-display.c | 247 ++ 2 files changed, 258 insertions(+) create mode 100644 drivers

[PATCH RFC 2/2] drm: sunxi: Add a basic DRM driver for Allwinner DE2

2016-01-05 Thread Jean-Francois Moine
In recent SoCs, as the H3, Allwinner uses a new display interface, DE2. This patch adds a DRM video driver for this interface, and also a driver for the HDMI connector found in the H3. Signed-off-by: Jean-Francois Moine --- drivers/gpu/drm/Kconfig | 2 + drivers/gpu/drm/Makefile

[PATCH RFC 0/2] Add a display driver to the Allwinner H3

2016-01-08 Thread Jean-Francois Moine
On Wed, 6 Jan 2016 22:20:46 +0100 Maxime Ripard wrote: > > As there is no documentation about the DE2 nor about the HDMI which > > are found in the H3, this driver has been built from Allwiiner's > > sources. > > That's unfortunate :/ > > Have you checked in the A64 BSP if there was some useful

[PATCH RFC 1/2] clk: sunxi: Add sun8i display support

2016-01-08 Thread Jean-Francois Moine
On Wed, 6 Jan 2016 10:39:51 +0800 Chen-Yu Tsai wrote: > First of all, please include the clk subsystem maintainers and the > linux-clk mailing list for all clk related patches. OK. > On Wed, Jan 6, 2016 at 2:28 AM, Jean-Francois Moine > wrote: > > Add the clock types whi

[PATCH RFC 2/2] drm: sunxi: Add a basic DRM driver for Allwinner DE2

2016-01-11 Thread Jean-Francois Moine
On Tue, 5 Jan 2016 20:38:17 + Russell King - ARM Linux wrote: > Some comments from an ARM architecture point of view. I haven't > reviewed it from a DRM point of view yet. Anyway, thanks for your explanations and remarks. > > +static void de2_crtc_enable(struct drm_crtc *crtc) > > +{

[PATCH RFC 2/2] drm: sunxi: Add a basic DRM driver for Allwinner DE2

2016-01-13 Thread Jean-Francois Moine
On Wed, 6 Jan 2016 21:41:30 +0100 Jens Kuske wrote: > On 05/01/16 19:40, Jean-Francois Moine wrote: > [snip] > > diff --git a/drivers/gpu/drm/sunxi/de2_hdmi_h3.c > > b/drivers/gpu/drm/sunxi/de2_hdmi_h3.c > > new file mode 100644 > > index 000..c54b090 > >

[PATCH v2 0/2] Add a DRM display driver to the Allwinner H3

2016-01-15 Thread Jean-Francois Moine
as a out-of-tree driver from the tarball: http://moinejf.free.fr/opi2/h3-hdmi.tar.gz and the DT files: http://moinejf.free.fr/opi2/sun8i-h3.dtsi http://moinejf.free.fr/opi2/sun8i-h3-orangepi-plus.dts Jean-Francois Moine (2): clk: sunxi: Add sun6i/8i video support drm:

[PATCH v2 2/2] drm: sunxi: Add a basic DRM driver for Allwinner DE2

2016-01-15 Thread Jean-Francois Moine
In recent SoCs, as the H3, Allwinner uses a new display interface, DE2. This patch adds a DRM video driver for this interface. Signed-off-by: Jean-Francois Moine --- Changes: - remarks from Russell King - DT documentation added - working resolution change with xrandr

[PATCH v2 1/2] clk: sunxi: Add sun6i/8i video support

2016-01-15 Thread Jean-Francois Moine
Add the clock types which are used by the sun6i/8i families for video. Signed-off-by: Jean-Francois Moine --- Changes: - remarks from Chen-Yu Tsai - DT documentation added --- Documentation/devicetree/bindings/clock/sunxi.txt | 2 + drivers/clk/sunxi/clk-sun6i-display.c

[PATCH early RFC 0/2] Implement ASoC HDMI codec library

2015-05-13 Thread Jean-Francois Moine
On Wed, 13 May 2015 12:23:45 +0300 Jyri Sarha wrote: > Jean-Francois, would you consider trying the generic ASoC patch with > your HW, as I can not test the spdif functionality with mine? Hi Jyri, I am not sure to need all the stuff you coded. My tda998x CODEC is quite empty and it works fine

[PATCH RFC 1/2] clk: sunxi: Add sun8i display support

2016-01-19 Thread Jean-Francois Moine
ists about these developments. Otherwise, about this old RFC, Chen-Yu Tsai replied: > > Add the clock types which are used by the sun8i family for video. > > These clocks first appeared in the A31. > > > Signed-off-by: Jean-Francois Moine > > --- &g

[PATCH RFC 0/2] Add a display driver to the Allwinner H3

2016-01-19 Thread Jean-Francois Moine
On Mon, 18 Jan 2016 11:18:27 +0100 Maxime Ripard wrote: > > Then, the DE2 sources contain only: > > > > All Winner Tech, All Right Reserved. 2014-2015 Copyright (c) > > > > Eventually, there is no copyright/author/history in the HDMI sources. > > That one is nasty though :/ > > It seems t

[PATCH RFC 1/2] clk: sunxi: Add sun8i display support

2016-01-28 Thread Jean-Francois Moine
On Wed, 27 Jan 2016 22:50:51 +0100 Maxime Ripard wrote: > Hi, > > On Tue, Jan 19, 2016 at 09:09:01AM +0100, Jean-Francois Moine wrote: > > On Mon, 18 Jan 2016 20:09:04 +0100 > > Maxime Ripard wrote: [snip] > > > We have the clk-factors stuff to han

[PATCH v8 1/2] drm/rockchip: hdmi: add Innosilicon HDMI support

2016-01-29 Thread Jean-Francois Moine
On Fri, 29 Jan 2016 14:47:39 +0800 Yakir Yang wrote: > The Innosilicon HDMI is a low power HDMI 1.4 transmitter > IP, and it have been integrated on some rockchip CPUs > (like RK3036, RK312x). > > Signed-off-by: Yakir Yang > --- > Changes in v8: > - Don't check whether encoder output format is

[PATCH v3 1/2] clk: sunxi: Add sun6i/8i video support

2016-02-01 Thread Jean-Francois Moine
Add the clock types which are used by the sun6i/8i families for video. Signed-off-by: Jean-Francois Moine --- v3: (no change) v2: - remarks from Chen-Yu Tsai - DT documentation added --- Documentation/devicetree/bindings/clock/sunxi.txt | 2 + drivers/clk/sunxi/clk-sun6i

[PATCH v3 RESEND] drm/i2c: tda998x: Fix lack of required reg in DT documentation

2014-06-19 Thread Jean-Francois Moine
The I2C address (reg) is required for the TDA998x driver to be loaded and initialized. Signed-off-by: Jean-Francois Moine --- - v3 - change subject to drm/i2c - v2 - don't force the I2C address to be 0x70 This patch applies to linux-next. --- Documentation/devicetree/bin

Re: [PATCH v2 4/8] drm/i2c: tda998x: prepare for video input configuration

2013-08-21 Thread Jean-Francois Moine
On Wed Aug 14 12:43:29 PDT 2013, Sebastian Hesselbarth wrote: > From: Russell King > > The video-input-port (VIP) is highly configurable. This prepares > current driver to allow to configure VIP configuration, as some > boards connect lcd controller and TDA998x "pin-swapped" and depend > on VIP t

Re: [PATCH v2 5/8] drm/i2c: tda998x: add video and audio input configuration

2013-08-21 Thread Jean-Francois Moine
On Wed Aug 14 12:43:30 PDT 2013, Sebastian Hesselbarth wrote: > From: Russell King > > This patch adds tda998x specific parameters to allow it to be configured > for different boards using it. Also, this implements rudimentary audio > support for S/PDIF attached controllers. It seems that this p

Re: [PATCH v2 4/8] drm/i2c: tda998x: prepare for video input configuration

2013-08-21 Thread Jean-Francois Moine
On Wed, 21 Aug 2013 23:36:05 +0100 Russell King - ARM Linux wrote: > > AFAIK, the TI boards have no "pin-swapped", nor has the Cubox (there is > > no need to set the bit CFG_GRA_SWAPRB of the register LCD_SPU_DMA_CTRL0 > > of the Dove lcd for RGB or YUV formats). > > > > Which board needs a spec

[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 >

[PATCH v3 0/2] Add a DRM display driver to the Allwinner H3

2016-02-02 Thread Jean-Francois Moine
t may be built as a out-of-tree driver from the tarball: http://moinejf.free.fr/opi2/h3-hdmi.tar.gz and the DT files: http://moinejf.free.fr/opi2/sun8i-h3.dtsi http://moinejf.free.fr/opi2/sun8i-h3-orangepi-plus.dts Jean-Francois Moine (2): clk: sunxi: Add sun6i/8i video su

[PATCH v3 2/2] drm: sunxi: Add a basic DRM driver for Allwinner DE2

2016-02-02 Thread Jean-Francois Moine
In recent SoCs, as the H3, Allwinner uses a new display interface, DE2. This patch adds a DRM video driver for this interface. Signed-off-by: Jean-Francois Moine --- v3: - add the hardware cursor - simplify and fix the DE2 init sequences - generation for all SUNXI SoCs

[PATCH v2 2/2] drm: sunxi: Add a basic DRM driver for Allwinner DE2

2016-02-02 Thread Jean-Francois Moine
On Wed, 20 Jan 2016 11:14:38 + Andre Przywara wrote: > I haven't looked at it in detail yet, I just tried to compile it for > ARM64 to prepare for a test on the Allwinner A64. > > So just two things I spotted below: Hi André, I fixed them in the v3 patch request. Have you succeeded to get

[PATCH v4 0/2] Add a DRM display driver to the Allwinner H3

2016-02-02 Thread Jean-Francois Moine
t may be built as a out-of-tree driver from the tarball: http://moinejf.free.fr/opi2/h3-hdmi.tar.gz and the DT files: http://moinejf.free.fr/opi2/sun8i-h3.dtsi http://moinejf.free.fr/opi2/sun8i-h3-orangepi-plus.dts Jean-Francois Moine (2): clk: sunxi: Add sun6i/8i video su

[PATCH v4 1/2] clk: sunxi: Add sun6i/8i video support

2016-02-02 Thread Jean-Francois Moine
Add the clock types which are used by the sun6i/8i families for video. Signed-off-by: Jean-Francois Moine --- v4: - drivers/clk/sunxi/Makefile was missing (Emil Velikov) v3: (no change) v2: - remarks from Chen-Yu Tsai - DT documentation added --- Documentation/devicetree

[PATCH v4 2/2] drm: sunxi: Add a basic DRM driver for Allwinner DE2

2016-02-02 Thread Jean-Francois Moine
In recent SoCs, as the H3, Allwinner uses a new display interface, DE2. This patch adds a DRM video driver for this interface. Signed-off-by: Jean-Francois Moine --- v4: (no change) v3: - add the hardware cursor - simplify and fix the DE2 init sequences - generation for

[PATCH v3 1/2] clk: sunxi: Add sun6i/8i video support

2016-02-02 Thread Jean-Francois Moine
On Tue, 2 Feb 2016 17:19:15 + Emil Velikov wrote: > > --- > > Documentation/devicetree/bindings/clock/sunxi.txt | 2 + > > drivers/clk/sunxi/clk-sun6i-display.c | 106 + > > drivers/clk/sunxi/clk-sun6i-pll3.c| 174 > > ++ > > 3 f

[PATCH v2 2/2] drm: sunxi: Add a basic DRM driver for Allwinner DE2

2016-02-02 Thread Jean-Francois Moine
On Tue, 2 Feb 2016 17:26:13 + Andre Przywara wrote: > Can you sketch (or point me to) what I need to do? Just a > simple-framebuffer DT node? > I take it that the driver does not depend on any kind of U-Boot > initialisation, but instead takes care of this itself? > > And would this pave the

[PATCH v4 2/2] drm: sunxi: Add a basic DRM driver for Allwinner DE2

2016-02-04 Thread Jean-Francois Moine
On Tue, 2 Feb 2016 15:50:36 -0600 Rob Herring wrote: > > diff --git a/Documentation/devicetree/bindings/display/sunxi.txt > > b/Documentation/devicetree/bindings/display/sunxi.txt > > new file mode 100644 > > index 000..35f9763 > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/di

[PATCH v4 1/2] clk: sunxi: Add sun6i/8i video support

2016-02-06 Thread Jean-Francois Moine
On Fri, 5 Feb 2016 10:39:15 +0100 Maxime Ripard wrote: > > +CLK_OF_DECLARE(sun6i_display, "allwinner,sun6i-display-clk", > > sun6i_display_setup); > > Please use the display driver from my DRM serie, it covers everything > you need here. If you give me a pointer, I will have a look. > > +CLK_

[PATCH v5] ASoC: tda998x: Add a codec to the HDMI transmitter

2014-09-10 Thread Jean-Francois Moine
streaming. Signed-off-by: Jean-Francois Moine --- v5: - use the TDA998x private data instead of a specific area for the CODEC interface - the CODEC is TDA998x specific (Mark Brown) v4: - remove all the TDA998x specific stuff from the CODEC - move the EDID scan

[PATCH v3 4/5] ASoC: davinci: HDMI audio build for AM33XX and TDA998x

2014-09-18 Thread Jean-Francois Moine
On Thu, 18 Sep 2014 00:13:09 +0300 Jyri Sarha wrote: > > So, Jean-Francois is also trying to do things with the TDA998x - what's > > the story with that, is this joined up at all? > > Not really. This basic functionality does not touch tda998x at all on > the fly, but just sets i2s configuation

[PATCH v6 0/2] ASoC: tda998x: add a codec to the HDMI transmitter

2014-09-24 Thread Jean-Francois Moine
) v2: check double stream start (Mark Brown) Jean-Francois Moine (2): ASoC:codecs: Add a transmitter interface to the HDMI CODEC drm/i2c:tda998x: Use the HDMI audio CODEC .../devicetree/bindings/drm/i2c/tda998x.txt| 18 ++ drivers/gpu/drm/i2c/Kconfig| 1

[PATCH v6 1/2] ASoC:codecs: Add a transmitter interface to the HDMI CODEC CODEC

2014-09-24 Thread Jean-Francois Moine
to the HDMI transmitter on start of audio streaming. Signed-off-by: Jean-Francois Moine --- include/sound/hdmi.h| 20 ++ sound/soc/codecs/hdmi.c | 174 ++-- 2 files changed, 188 insertions(+), 6 deletions(-) create mode 100644 include/sound

[PATCH v6 2/2] drm/i2c:tda998x: Use the HDMI audio CODEC

2014-09-24 Thread Jean-Francois Moine
This patch interfaces the HDMI transmitter with the audio system. Signed-off-by: Jean-Francois Moine --- .../devicetree/bindings/drm/i2c/tda998x.txt| 18 ++ drivers/gpu/drm/i2c/Kconfig| 1 + drivers/gpu/drm/i2c/tda998x_drv.c | 299

[PATCH RFC v4 4/8] drm/i2c: tda998x: Add support of a DT graph of ports

2015-09-24 Thread Jean-Francois Moine
On Mon, 21 Sep 2015 10:19:18 -0500 Rob Herring wrote: > On 09/18/2015 06:06 AM, Jyri Sarha wrote: > > From: Jean-Francois Moine > > > > Two kinds of ports may be declared in a DT graph of ports: video and audio. > > This patch accepts the port value from a video po

[PATCH v2 4/8] drm/i2c: tda998x: prepare for video input configuration

2013-08-21 Thread Jean-Francois Moine
On Wed Aug 14 12:43:29 PDT 2013, Sebastian Hesselbarth wrote: > From: Russell King > > The video-input-port (VIP) is highly configurable. This prepares > current driver to allow to configure VIP configuration, as some > boards connect lcd controller and TDA998x "pin-swapped" and depend > on VIP t

[PATCH v2 5/8] drm/i2c: tda998x: add video and audio input configuration

2013-08-21 Thread Jean-Francois Moine
On Wed Aug 14 12:43:30 PDT 2013, Sebastian Hesselbarth wrote: > From: Russell King > > This patch adds tda998x specific parameters to allow it to be configured > for different boards using it. Also, this implements rudimentary audio > support for S/PDIF attached controllers. It seems that this p

[PATCH v2 4/8] drm/i2c: tda998x: prepare for video input configuration

2013-08-22 Thread Jean-Francois Moine
On Wed, 21 Aug 2013 23:36:05 +0100 Russell King - ARM Linux wrote: > > AFAIK, the TI boards have no "pin-swapped", nor has the Cubox (there is > > no need to set the bit CFG_GRA_SWAPRB of the register LCD_SPU_DMA_CTRL0 > > of the Dove lcd for RGB or YUV formats). > > > > Which board needs a spec

Alternative binding proposal for tda998x audio (Was: Re: [PATCH RFC v5 4/8] drm/i2c: tda998x: Add support of a DT graph of ports)

2016-03-01 Thread Jean-Francois Moine
On Tue, 1 Mar 2016 16:26:50 +0200 Jyri Sarha wrote: > Ok, here is just one more simple alternative for tda998x audio binding. > I feel that the graph ports binding for audio does not make sense > without a graph based ASoC machine driver implementation. The ASoC > simple-card is already here a

Alternative binding proposal for tda998x audio (Was: Re: [PATCH RFC v5 4/8] drm/i2c: tda998x: Add support of a DT graph of ports)

2016-03-01 Thread Jean-Francois Moine
On Tue, 1 Mar 2016 17:51:09 +0200 Jyri Sarha wrote: > I know that it works, I have used it myself until now, but it is not > needed and there is no driver that parses audio port endpoints. I see no > point specifying something in the binding that is not used and there no > specific plan to eve

Alternative binding proposal for tda998x audio (Was: Re: [PATCH RFC v5 4/8] drm/i2c: tda998x: Add support of a DT graph of ports)

2016-03-01 Thread Jean-Francois Moine
On Tue, 1 Mar 2016 20:29:17 +0200 Jyri Sarha wrote: > I understand the short comings of simple-card and it's binding. However, > the binding is documented and it is feasible to extract the audio > connections from a simple-card binding too. In fact it models the I2S > connections better than s

[PATCH v8 6/6] ARM: dts: am335x-boneblack: Add HDMI audio support

2016-03-19 Thread Jean-Francois Moine
On Thu, 17 Mar 2016 14:22:34 +0200 Jyri Sarha wrote: > @@ -76,16 +87,22 @@ > }; > > &i2c0 { > - tda19988 { > + tda19988: tda19988 { > compatible = "nxp,tda998x"; > reg = <0x70>; > + > pinctrl-names = "default", "off"; > pinctrl-0

Re: [PATCH 1/4] drm/tilcdc: add TI LCD Controller DRM driver (v3)

2013-01-23 Thread Jean-Francois Moine
Hi Rob, As I wanted to re-use your nxp-tda998x driver for the Marvell Dove SoC, I had a look at your IT LCD driver. Comments below. On Tue, 22 Jan 2013 16:36:22 -0600 Rob Clark wrote: > A simple DRM/KMS driver for the TI LCD Controller found in various > smaller TI parts (AM33xx, OMAPL138, etc)

Re: [PATCH 2/4] drm/i2c: nxp-tda998x (v2)

2013-01-23 Thread Jean-Francois Moine
On Tue, 22 Jan 2013 16:36:23 -0600 Rob Clark wrote: > Driver for the NXP TDA998X i2c hdmi encoder slave. > > v1: original > v2: fix npix/nline programming > > Signed-off-by: Rob Clark > --- > drivers/gpu/drm/i2c/Makefile | 3 + > drivers/gpu/drm/i2c/tda998x_drv.c | 908 > +

[PATCH] drm/i2c: nxp-tda998x: fix abort of some i2c exchanges

2013-05-17 Thread Jean-Francois Moine
The signals SIGALRM (most often) and SIGPOLL (sometimes) may be raised after irq or some parameter change and this aborts the i2c exchanges. The problem is solved by masking these signals. Signed-off-by: Jean-Francois Moine --- drivers/gpu/drm/i2c/tda998x_drv.c | 40

Re: [RFC 0/8] rmk's Dove DRM/TDA19988 Cubox driver

2013-05-17 Thread Jean-Francois Moine
On Thu, 16 May 2013 20:25:10 +0100 Russell King - ARM Linux wrote: > What follows is my DRM driver for Dove, which I've been working on with > the Solid-run Cubox, which only offers HDMI output via the TDA19988 > chip. > > Not everything is finished off perfectly in this driver; there's quite >

Re: [RFC 0/8] rmk's Dove DRM/TDA19988 Cubox driver

2013-05-17 Thread Jean-Francois Moine
On Fri, 17 May 2013 13:01:15 +0100 Russell King - ARM Linux wrote: > I already said - I don't support DT. I don't run any DT based ARM > devices, so I have no experience with DT. What I care more about > is a working cubox platform, which afaik DT still can't offer yet. I like the DT concept.

Re: [RFC 0/8] rmk's Dove DRM/TDA19988 Cubox driver

2013-05-18 Thread Jean-Francois Moine
On Fri, 17 May 2013 19:00:29 +0100 Russell King - ARM Linux wrote: > > Maybe I did not explain correctly: the colored cursor maybe RGB888 + > > transparency (64x64) or full ARGB (64x32 or 32x64). I coded the first > > case. And, yes, I better like a hardware cursor: it asks for less > > computati

Re: [RFC 3/8] drm/i2c: nxp-tda998x: ensure VIP output mux is properly set

2013-05-18 Thread Jean-Francois Moine
On Thu, 16 May 2013 20:26:18 +0100 Russell King wrote: > When switching between various drivers for this device, it's possible > that some critical registers are left containing values which affect > the device operation. One such case encountered is the VIP output > mux register. This defaults

Re: [RFC 2/4] ARM: dove: add video card node for SolidRun CuBox

2013-05-18 Thread Jean-Francois Moine
ed-off-by: Sebastian Hesselbarth > --- > Cc: Russell King > Cc: linux-arm-ker...@lists.infradead.org > Cc: dri-devel@lists.freedesktop.org > Cc: Jason Cooper > Cc: Jean-Francois Moine > --- > arch/arm/boot/dts/dove-cubox.dts | 16 +++- > 1 file changed, 15 inse

Re: [RFC 3/4] DRM: add OF support for Dove DRM driver

2013-05-18 Thread Jean-Francois Moine
d.org > Cc: dri-devel@lists.freedesktop.org > Cc: Jason Cooper > Cc: Jean-Francois Moine > --- > drivers/gpu/drm/dove/Kconfig |4 ++ > drivers/gpu/drm/dove/Makefile|1 + > drivers/gpu/drm/dove/dove_card.c | 110 > ++ > 3 files

Re: [RFC 4/4] DRM: tda998x: add missing include

2013-05-18 Thread Jean-Francois Moine
gt; Cc: linux-arm-ker...@lists.infradead.org > Cc: dri-devel@lists.freedesktop.org > Cc: Jason Cooper > Cc: Jean-Francois Moine > --- > include/drm/i2c/tda998x.h | 23 +++ > 1 file changed, 23 insertions(+) > create mode 100644 include/drm/i2c/tda998x.h >

  1   2   3   4   5   >