Re: [linux-sunxi] Re: [PATCH v2 1/6] clk: sunxi-ng: Add sun4i/sun7i CCU driver

2017-04-20 Thread Priit Laes
On Fri, Apr 07, 2017 at 03:38:05PM +0200, Maxime Ripard wrote: > Hi Priit, > > On Tue, Apr 04, 2017 at 08:09:19PM +, Priit Laes wrote: > > > > +/* Not documented on A10 */ > > > > +static SUNXI_CCU_GATE(pll_periph_sata_clk, "pll-periph-sata", > > > > "pll-periph", > > > > +

[linux-sunxi] Re: [PATCH 3/3] ARM: sun8i: a83t: Rename pinmux setting names

2017-04-20 Thread Chen-Yu Tsai
On Tue, Apr 18, 2017 at 12:22 PM, Chen-Yu Tsai wrote: > The pinmux setting nodes all have an address element in their node > names, however the pinctrl node does not have #address-cells. > > Rename the existing pinmux setting nodes and labels in sun8i-a83t.dtsi, > dropping

[linux-sunxi] Re: [PATCH v4 02/11] clk: sunxi-ng: add support for DE2 CCU

2017-04-20 Thread Rob Herring
On Thu, Apr 20, 2017 at 9:36 AM, Maxime Ripard wrote: > Hi Rob, > > On Thu, Apr 20, 2017 at 09:02:53AM -0500, Rob Herring wrote: >> On Sun, Apr 16, 2017 at 08:08:40PM +0800, Icenowy Zheng wrote: >> > diff --git a/include/dt-bindings/clock/sun8i-de2.h >> >

Re: [linux-sunxi] Re: [PATCH v2 1/6] clk: sunxi-ng: Add sun4i/sun7i CCU driver

2017-04-20 Thread Chen-Yu Tsai
On Fri, Apr 21, 2017 at 3:59 AM, Priit Laes wrote: > On Fri, Apr 07, 2017 at 03:38:05PM +0200, Maxime Ripard wrote: >> Hi Priit, >> >> On Tue, Apr 04, 2017 at 08:09:19PM +, Priit Laes wrote: >> > > > +/* Not documented on A10 */ >> > > > +static

Re: [linux-sunxi] R8 I2S output - MCLK signal inverted

2017-04-20 Thread Maxime Ripard
On Mon, Apr 17, 2017 at 12:24:48PM -0700, ha...@hazarkarabay.com.tr wrote: > Hi, thanks for answering. > > 17 Nisan 2017 Pazartesi 11:09:56 UTC+3 tarihinde Maxime Ripard yazdı: > > > > > I'm trying to get I2S output on Allwinner R8 (actually an NTC GR8). > > > > Soo, not an R8 ? :) > > I

[linux-sunxi] Re: [PATCH v4 06/11] drm/sun4i: add support for Allwinner DE2 mixers

2017-04-20 Thread Maxime Ripard
On Tue, Apr 18, 2017 at 06:47:56PM +0800, Icenowy Zheng wrote: > >> + /* Get the physical address of the buffer in memory */ > >> + gem = drm_fb_cma_get_gem_obj(fb, 0); > >> + > >> + DRM_DEBUG_DRIVER("Using GEM @ %pad\n", >paddr); > >> + > >> + /* Compute the start of the displayed memory */ >

[linux-sunxi] Re: [PATCH v4 02/11] clk: sunxi-ng: add support for DE2 CCU

2017-04-20 Thread Maxime Ripard
Hi Rob, On Thu, Apr 20, 2017 at 09:02:53AM -0500, Rob Herring wrote: > On Sun, Apr 16, 2017 at 08:08:40PM +0800, Icenowy Zheng wrote: > > diff --git a/include/dt-bindings/clock/sun8i-de2.h > > b/include/dt-bindings/clock/sun8i-de2.h > > new file mode 100644 > > index ..982c6d18c75b >

[linux-sunxi] Re: [PATCH v4 05/11] drm/sun4i: abstract a engine type

2017-04-20 Thread Maxime Ripard
On Tue, Apr 18, 2017 at 07:05:12PM +0800, Icenowy Zheng wrote: > >> @@ -56,7 +55,7 @@ static void sun4i_crtc_atomic_flush(struct drm_crtc > >*crtc, > >> > >>DRM_DEBUG_DRIVER("Committing plane changes\n"); > >> > >> - sun4i_backend_commit(scrtc->backend); > >> +

[linux-sunxi] Re: [PATCH v4 02/11] clk: sunxi-ng: add support for DE2 CCU

2017-04-20 Thread Rob Herring
On Sun, Apr 16, 2017 at 08:08:40PM +0800, Icenowy Zheng wrote: > The "Display Engine 2.0" in Allwinner newer SoCs contains a clock > management unit for its subunits, like the DE CCU in A80. > > Add a sunxi-ng style driver for it. > > Signed-off-by: Icenowy Zheng > --- >

[linux-sunxi] Re: [PATCH v4 03/11] dt-bindings: add bindings for DE2 on V3s SoC

2017-04-20 Thread Rob Herring
On Sun, Apr 16, 2017 at 08:08:41PM +0800, Icenowy Zheng wrote: > Allwinner V3s SoC have a display engine which have a different pipeline > with older SoCs. > > Add document for it (new compatibles and the new "mixer" part). > > Signed-off-by: Icenowy Zheng > --- > Changes in

[linux-sunxi] Re: [PATCH v4 01/11] dt-bindings: add binding for the Allwinner DE2 CCU

2017-04-20 Thread Rob Herring
On Sun, Apr 16, 2017 at 08:08:39PM +0800, Icenowy Zheng wrote: > Allwinner "Display Engine 2.0" contains some clock controls in it. > > In order to add them as clock drivers, we need a device tree binding. > Add the binding here. > > Signed-off-by: Icenowy Zheng > --- > Changes

[linux-sunxi] Re: [PATCH v3 03/12] dt-bindings: make AXP20X compatible strings one per line

2017-04-20 Thread Rob Herring
On Mon, Apr 17, 2017 at 07:57:38PM +0800, Icenowy Zheng wrote: > In the binding documentation of AXP20X mfd, the compatible strings used > to be listed for three per line, which leads to some mess when trying to > add AXP803 compatible string (as we have already AXP806 and AXP809 > compatibles,

[linux-sunxi] Re: [PATCH v6 1/6] dt-bindings: power: supply: add AXP20X/AXP22X battery DT binding

2017-04-20 Thread Rob Herring
On Tue, Apr 18, 2017 at 09:34:16AM +0200, Quentin Schulz wrote: > The X-Powers AXP20X and AXP22X PMICs can have a battery as power supply. > > This patch adds the DT binding documentation for the battery power > supply which gets various data from the PMIC, such as the battery status > (charging,

Re: [linux-sunxi] R8 I2S output - MCLK signal inverted

2017-04-20 Thread hazar
Hi, 20 Nisan 2017 Perşembe 11:12:16 UTC+3 tarihinde Maxime Ripard yazdı: > > > That one doesn't have the property to invert MCLK though? > > Yes, because there is no property exists to MCLK inversion. There is for BCLK (simple-audio-card,bitclock-inversion;) and LRCK (

Re: [linux-sunxi] Re: [PATCH v3 02/12] arm64: allwinner: a64: add NMI controller on A64

2017-04-20 Thread Maxime Ripard
On Tue, Apr 18, 2017 at 06:56:43PM +0800, Icenowy Zheng wrote: > > > 于 2017年4月18日 GMT+08:00 下午3:00:16, Maxime Ripard > 写到: > >On Mon, Apr 17, 2017 at 07:57:37PM +0800, Icenowy Zheng wrote: > >> Allwinner A64 SoC features a NMI controller, which is usually >

[linux-sunxi] Re: [PATCH v4 04/18] dt-bindings: syscon: Add DT bindings documentation for Allwinner syscon

2017-04-20 Thread Corentin Labbe
On Thu, Apr 20, 2017 at 12:38:50AM +0100, André Przywara wrote: > On 12/04/17 12:13, Corentin Labbe wrote: > > This patch adds documentation for Device-Tree bindings for the > > syscon present in allwinner devices. > > > > Signed-off-by: Corentin Labbe > > --- > >

Re: [linux-sunxi] Re: [PATCH v3 02/12] arm64: allwinner: a64: add NMI controller on A64

2017-04-20 Thread icenowy
在 2017-04-20 13:58,Maxime Ripard 写道: On Tue, Apr 18, 2017 at 06:56:43PM +0800, Icenowy Zheng wrote: 于 2017年4月18日 GMT+08:00 下午3:00:16, Maxime Ripard 写到: >On Mon, Apr 17, 2017 at 07:57:37PM +0800, Icenowy Zheng wrote: >> Allwinner A64 SoC features a NMI

Re: [linux-sunxi] Re: [PATCH 2/8] ARM: sun4i: Add display blocks for the sun4i dtsi.

2017-04-20 Thread Philippe Fouquet
Hi If you want I work with a Allwinner A20 (my board are derived from OlinuXino-Micro-A20), and I will interest with LVDS function. I use your patch but I have nothing to display on my screen. You can see my work on https://github.com/Philippe12/linux-sunxi/tree/sun7i-A20-lvds My hardware is

[linux-sunxi] Re: [PATCH 09/11] drm/sun4i: Support two display pipelines

2017-04-20 Thread Maxime Ripard
Hi, On Tue, Apr 18, 2017 at 06:10:26PM +0800, Chen-Yu Tsai wrote: > >> >> >> @@ -540,14 +539,22 @@ static int sun4i_tcon_bind(struct device *dev, > >> >> >> struct device *master, > >> >> >> /* This can fail if the DT does not have any downstream > >> >> >> encoders. */ > >> >> >>