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
>
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
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
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
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
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
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>,
> > +
- 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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:
> > > >
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
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
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
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
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
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
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
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
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
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
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.
>
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
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
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/
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
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
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
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
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
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
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
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
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_
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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:
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
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
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
> >
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)
> > +{
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
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
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
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
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
On Thu, 24 Dec 2015 12:36:10 +
Russell King - ARM Linux wrote:
> It seems that you're trying to work around a limitation in Linux by
> modifying the hardware representation...
Sorry to come back to this topic, but I think you are wrong.
Looking at the imx6 DTs, the problem comes from the di
On Thu, 24 Dec 2015 10:52:07 +
Russell King - ARM Linux wrote:
> On Thu, Dec 24, 2015 at 09:15:28AM +0100, Jean-Francois Moine wrote:
> > Well, two topics:
> >
> > - adding a second 'of_compare' function complexifies the code
> > and people may won
On Wed, 23 Dec 2015 18:59:48 +
Russell King - ARM Linux wrote:
> > > Have a look at my v2 where I've introduced two compare functions and also
> > > modified the Rockchip compare_port() to use port->parent in the
> > > comparison. I
> > > guess that should solve your problem.
> >
> > Keepin
On Wed, 23 Dec 2015 10:05:34 +
Liviu Dudau wrote:
> > What was the reason to keep the "ports" node instead of the device?
>
> The function is an extract of common code sprinkled through a few DRM drivers,
> they all used port rather than port->parent.
Sorry for I could find such drivers. Ma
On Tue, 22 Dec 2015 17:38:00 +
Liviu Dudau wrote:
> On Fri, Nov 20, 2015 at 02:22:03PM +, Liviu Dudau wrote:
> > Hello,
> >
> > This is v2 of the patchset trying to make drm_of_component_probe() cope
> > with finding
> > both local crtc ports and remote encoder ones. Heiko Stübner was
Sorry to enter this thread a bit late.
About the number of probe deferred messages, I proposed a simple patch to
reduce them:
https://lkml.org/lkml/2013/8/20/218
I was wondering how many messages this patch could save...
--
Ken ar c'hentañ| ** Breizh ha Linux atav!
On Fri, 9 Oct 2015 14:25:26 +0100
Russell King - ARM Linux wrote:
> > Here's my currently queued TDA998x development work for 4.4.
>
> As there have been no comments against this series, I'll send David a
> pull request later today.
It works fine for me. Thanks.
On Tue, 6 Oct 2015 11:23:03 +0200
Arnaud Pouliquen wrote:
[snip]
> As API is defined in DRM, it seems more logical to match it with the one
> defined for video. From my windows, i didn't see any blocking point to
> connect codec callback with this API.
> But anyway, this API is not freezed
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
On Tue, 28 Jul 2015 15:59:17 +0200
Jean-Francois Moine wrote:
> Using hdmi_avi_infoframe_pack() to create the AVI infoframe calculates
> the checksum of the frame and breaks the second calculation which is
> done in tda998x_write_if(). Then the HDMI AVI frame is wrong and
> the di
t;use drm_hdmi_avi_infoframe_from_display_mode()")
Signed-off-by: Jean-Francois Moine
---
v2: add the Fixes: tag
---
drivers/gpu/drm/i2c/tda998x_drv.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/i2c/tda998x_drv.c
b/drivers/gpu/drm/i2c/tda998x_d
t; timeout condition check covers the wait-queue related failure condition.
>
> Signed-off-by: Nicholas Mc Guire
Acked-by: Jean-Francois Moine
--
Ken ar c'hentañ| ** Breizh ha Linux atav! **
Jef | http://moinejf.free.fr/
x_write_if().
Signed-off-by: Jean-Francois Moine
---
drivers/gpu/drm/i2c/tda998x_drv.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/i2c/tda998x_drv.c
b/drivers/gpu/drm/i2c/tda998x_drv.c
index fe1599d..424228b 100644
--- a/drivers/gpu/drm/i2c/tda998x_drv.c
+++
The file sound/core/pcm_drm_eld.c which was added by the commit
838d1631b766529213684f07dd71cdf2e92f0623
ALSA: pcm: add DRM ELD helper
lacks the function drm_eld_sad() which was defined by Russell's patch
http://article.gmane.org/gmane.linux.ports.arm.kernel/411574
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
On Mon, 27 Apr 2015 20:25:02 +0200
Jean-Francois Moine wrote:
> Using i2s and s/pdif at the same time with the simple card asks for a
> patch as the one I submitted in february 2014 (ASoC: simple-card: DT
> fix and multi DAI links extension).
Sorry, the patch was "ASoC: simple-c
On Mon, 27 Apr 2015 14:33:45 +0300
Jyri Sarha wrote:
> Have you done anything about the tda998x audio support lately?
>
> I was thinking of taking a shot at this now that I finally seem to have
> some time for it. However, if you are just about to send another series
> I'll wait for that first
Mark Brown)
- update the audio_sample_rate from the EDID (Andrew Jackson)
v3: fix bad rate (Andrew Jackson)
v2: check double stream start (Mark Brown)
Jean-Francois Moine (9):
ASoC: kirkwood: dynamically build the DAI array
ASoC: kirkwood: check the DAI type from the DAI name
ASoC: kirkwood: acce
parameters
found in the tree.
Signed-off-by: Jean-Francois Moine
---
sound/soc/generic/Kconfig | 2 +
sound/soc/generic/Makefile | 2 +
sound/soc/generic/dt-card.c | 275
3 files changed, 279 insertions(+)
create mode 100644 sound/soc/generic/dt
snd_soc_get_dai_name() may be used to define a sound card with
a different syntax from the one of the simple-card.
Signed-off-by: Jean-Francois Moine
---
include/sound/soc.h | 2 ++
sound/soc/soc-core.c | 5 +++--
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/include/sound
With I2S input, the CTS_N predivider depends on the audio sample width.
Signed-off-by: Jean-Francois Moine
---
drivers/gpu/drm/i2c/tda998x_drv.c | 21 ++---
include/sound/tda998x.h | 4 +++-
sound/soc/codecs/tda998x.c| 5 +++--
3 files changed, 24 insertions
The tda998x CODEC maintains the audio format and rate constraints according
to the HDMI device parameters (EDID) and sets dynamically the input ports
in the TDA998x I2C driver on start/stop audio streaming.
Signed-off-by: Jean-Francois Moine
---
drivers/gpu/drm/i2c/tda998x_drv.c | 124
encoder use.
Signed-off-by: Jean-Francois Moine
---
drivers/gpu/drm/i2c/tda998x_drv.c | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/i2c/tda998x_drv.c
b/drivers/gpu/drm/i2c/tda998x_drv.c
index cf245ce..b35f35f 100644
--- a/drivers/gpu/drm/i2c
/tda998x.h prepares to the definition of
a tda998x CODEC.
Signed-off-by: Jean-Francois Moine
---
.../devicetree/bindings/drm/i2c/tda998x.txt| 51 +
drivers/gpu/drm/i2c/tda998x_drv.c | 88 +++---
include/sound/tda998x.h| 8
1 - 100 of 414 matches
Mail list logo