Re: [linux-sunxi] Re: [RFC PATCH 07/11] drm: sun4i: add support for the TV encoder in H3 SoC

2017-05-22 Thread Jernej Škrabec
Hi, Dne sobota, 20. maj 2017 ob 03:37:53 CEST je Chen-Yu Tsai napisal(a): > On Sat, May 20, 2017 at 2:23 AM, Jernej Škrabec wrote: > > Hi, > > > > Dne petek, 19. maj 2017 ob 20:08:18 CEST je Icenowy Zheng napisal(a): > >> 于 2017年5月20日 GMT+08:00 上午2:03:30, Maxime Ripard

[linux-sunxi] Re: [PATCH v2 4/4] sunxi: video: Add H3/H5 TV out driver

2017-05-22 Thread Jernej Škrabec
Hi Maxime, Dne ponedeljek, 22. maj 2017 ob 09:35:56 CEST je Maxime Ripard napisal(a): > On Fri, May 19, 2017 at 05:41:17PM +0200, Jernej Skrabec wrote: > > This commit adds support for TV (composite) output. > > > > Because there is no mechanism to select TV standard, PAL is > > hardcoded. > >

[linux-sunxi] Re: [PATCH v2 1/4] sunxi: video: Rename tve.c to tve_common.c

2017-05-22 Thread Simon Glass
On 19 May 2017 at 09:41, Jernej Skrabec wrote: > In order to avoid future confusion with similary named files, rename > tve.c to tve_common.c. New name better represents the fact that this file > holds code which can be and will be shared between multiple drivers. > >

[linux-sunxi] Re: [PATCH v2 3/4] sunxi: video: Add support for CSC and TVE to DE2 driver

2017-05-22 Thread Simon Glass
On 19 May 2017 at 09:41, Jernej Skrabec wrote: > Extend DE2 driver with support for TVE driver, which will be added in > next commit. TVE unit expects data to be in YUV format, so CSC support > is also added here. > > Note that HDMI driver has higher priority, so TV out

[linux-sunxi] Re: [U-Boot] [PATCH 2/2] sunxi: A64: (re-)add sun8i emac DT nodes

2017-05-22 Thread Tom Rini
On Mon, May 22, 2017 at 01:59:33AM +0100, Andre Przywara wrote: > As the kernel DT does not have an Ethernet driver and bindings, lets > (re-)add the DT bindings for U-Boot's sun8i EMAC Ethernet driver, which > got lost when syncing the kernel DT to U-Boot. > This slightly updates the DT nodes to

[linux-sunxi] Re: [PATCH 4/6] ARM: sun8i: a83t: Add device node for DMA controller

2017-05-22 Thread Maxime Ripard
On Mon, May 22, 2017 at 02:25:50PM +0800, Chen-Yu Tsai wrote: > The A83T SoC has a DMA controller that supports 8 DMA channels > to and from various peripherals. > > Add a device node for it. > > Signed-off-by: Chen-Yu Tsai Applied, thanks! Maxime -- Maxime Ripard, Free

[linux-sunxi] Re: [PATCH v2 4/4] sunxi: video: Add H3/H5 TV out driver

2017-05-22 Thread Maxime Ripard
On Fri, May 19, 2017 at 05:41:17PM +0200, Jernej Skrabec wrote: > This commit adds support for TV (composite) output. > > Because there is no mechanism to select TV standard, PAL is > hardcoded. I'd rather use a consistent mechanism with the old driver (even if we only support PAL right now and

Re: [linux-sunxi] [PATCH 4/6] ARM: sun8i: a83t: Add device node for DMA controller

2017-05-22 Thread Maxime Ripard
Hi Markus, On Mon, May 22, 2017 at 09:18:49AM +0200, Code Kipper wrote: > On 22 May 2017 at 08:25, Chen-Yu Tsai wrote: > > The A83T SoC has a DMA controller that supports 8 DMA channels > > to and from various peripherals. > > > > Add a device node for it. > > > > Signed-off-by:

[linux-sunxi] Re: [PATCH 5/6] ARM: sun8i: a83t: Add device node for SPDIF transmitter

2017-05-22 Thread Maxime Ripard
On Mon, May 22, 2017 at 02:25:51PM +0800, Chen-Yu Tsai wrote: > The A83T SoC has an SPDIF transmitter block. According to the vendor > BSP kernel, it is compatible with the one found on the H3 SoC. > > Add a device node and pinmux setting for it. > > Signed-off-by: Chen-Yu Tsai

[linux-sunxi] Re: [PATCH 2/6] clk: sunxi-ng: a83t: Fix audio PLL divider offset

2017-05-22 Thread Chen-Yu Tsai
On Mon, May 22, 2017 at 3:20 PM, Maxime Ripard wrote: > On Mon, May 22, 2017 at 02:25:48PM +0800, Chen-Yu Tsai wrote: >> The divider of the audio PLL has an offset of 1. >> Fix this in the driver. >> >> Signed-off-by: Chen-Yu Tsai > > Applied,

[linux-sunxi] [PATCH 1/6] clk: sunxi-ng: a83t: Fix PLL lock status register offset

2017-05-22 Thread Chen-Yu Tsai
The offset for the PLL lock status register was incorrectly set to 0x208, which actually points to an unused register. The correct register offset is 0x20c. Signed-off-by: Chen-Yu Tsai --- drivers/clk/sunxi-ng/ccu-sun8i-a83t.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[linux-sunxi] [PATCH 6/6] ARM: sun8i: a83t: cubietruck-plus: Enable SPDIF output

2017-05-22 Thread Chen-Yu Tsai
The Cubietruck Plus has an optical SPDIF out connector. Enable SPDIF audio output for this board. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun8i-a83t-cubietruck-plus.dts | 22 ++ 1 file changed, 22 insertions(+) diff --git

[linux-sunxi] [PATCH 0/6] ARM: sun8i: a83t: Enable SPDIF output support

2017-05-22 Thread Chen-Yu Tsai
Hi everyone, This series, apart from some minor fixes, adds SPDIF output support with existing drivers. The SPDIF transmitter block is the same as the one found on the H3. There is no receiver support. The A83T pinctrl and DMA engine drivers are already in the kernel. Patches 1 & 2 fix some

[linux-sunxi] [PATCH 2/6] clk: sunxi-ng: a83t: Fix audio PLL divider offset

2017-05-22 Thread Chen-Yu Tsai
The divider of the audio PLL has an offset of 1. Fix this in the driver. Signed-off-by: Chen-Yu Tsai --- drivers/clk/sunxi-ng/ccu-sun8i-a83t.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/sunxi-ng/ccu-sun8i-a83t.c

[linux-sunxi] [PATCH 3/6] pinctrl: sunxi: Fix SPDIF function name for A83T

2017-05-22 Thread Chen-Yu Tsai
We use well known standard names for functions that have name, such as I2C, SPI, SPDIF, etc.. Fix the function name of SPDIF, which was named OWA (One Wire Audio) based on Allwinner datasheets. Fixes: 4730f33f0d82 ("pinctrl: sunxi: add allwinner A83T PIO controller

[linux-sunxi] [PATCH 4/6] ARM: sun8i: a83t: Add device node for DMA controller

2017-05-22 Thread Chen-Yu Tsai
The A83T SoC has a DMA controller that supports 8 DMA channels to and from various peripherals. Add a device node for it. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun8i-a83t.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git

[linux-sunxi] [PATCH 5/6] ARM: sun8i: a83t: Add device node for SPDIF transmitter

2017-05-22 Thread Chen-Yu Tsai
The A83T SoC has an SPDIF transmitter block. According to the vendor BSP kernel, it is compatible with the one found on the H3 SoC. Add a device node and pinmux setting for it. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun8i-a83t.dtsi | 21 + 1 file

[linux-sunxi] Re: [PATCH 1/6] clk: sunxi-ng: a83t: Fix PLL lock status register offset

2017-05-22 Thread Maxime Ripard
On Mon, May 22, 2017 at 02:25:47PM +0800, Chen-Yu Tsai wrote: > The offset for the PLL lock status register was incorrectly set to > 0x208, which actually points to an unused register. The correct > register offset is 0x20c. > > Signed-off-by: Chen-Yu Tsai Applied, thanks! Maxime

[linux-sunxi] Re: [PATCH 3/6] pinctrl: sunxi: Fix SPDIF function name for A83T

2017-05-22 Thread Maxime Ripard
On Mon, May 22, 2017 at 02:25:49PM +0800, Chen-Yu Tsai wrote: > We use well known standard names for functions that have name, such as > I2C, SPI, SPDIF, etc.. > > Fix the function name of SPDIF, which was named OWA (One Wire Audio) > based on Allwinner datasheets. > > Fixes: 4730f33f0d82

[linux-sunxi] Re: [PATCH 2/6] clk: sunxi-ng: a83t: Fix audio PLL divider offset

2017-05-22 Thread Maxime Ripard
On Mon, May 22, 2017 at 02:25:48PM +0800, Chen-Yu Tsai wrote: > The divider of the audio PLL has an offset of 1. > Fix this in the driver. > > Signed-off-by: Chen-Yu Tsai Applied, thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering

Re: [linux-sunxi] [PATCH 4/6] ARM: sun8i: a83t: Add device node for DMA controller

2017-05-22 Thread Chen-Yu Tsai
On Mon, May 22, 2017 at 3:18 PM, Code Kipper wrote: > On 22 May 2017 at 08:25, Chen-Yu Tsai wrote: >> The A83T SoC has a DMA controller that supports 8 DMA channels >> to and from various peripherals. >> >> Add a device node for it. >> >> Signed-off-by:

Re: [linux-sunxi] [PATCH 4/6] ARM: sun8i: a83t: Add device node for DMA controller

2017-05-22 Thread Code Kipper
On 22 May 2017 at 08:25, Chen-Yu Tsai wrote: > The A83T SoC has a DMA controller that supports 8 DMA channels > to and from various peripherals. > > Add a device node for it. > > Signed-off-by: Chen-Yu Tsai > --- > arch/arm/boot/dts/sun8i-a83t.dtsi | 9 + >

[linux-sunxi] Re: [PATCH v2 3/4] sunxi: video: Add support for CSC and TVE to DE2 driver

2017-05-22 Thread Maxime Ripard
On Fri, May 19, 2017 at 05:41:16PM +0200, Jernej Skrabec wrote: > Extend DE2 driver with support for TVE driver, which will be added in > next commit. TVE unit expects data to be in YUV format, so CSC support > is also added here. > > Note that HDMI driver has higher priority, so TV out is not

[linux-sunxi] Re: [PATCH 6/6] ARM: sun8i: a83t: cubietruck-plus: Enable SPDIF output

2017-05-22 Thread Maxime Ripard
On Mon, May 22, 2017 at 02:25:52PM +0800, Chen-Yu Tsai wrote: > The Cubietruck Plus has an optical SPDIF out connector. > Enable SPDIF audio output for this board. > > Signed-off-by: Chen-Yu Tsai Applied, thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux and Kernel

[linux-sunxi] Re: [PATCH] ARM: sun8i: a83t: cubietruck-plus: Add LED device nodes

2017-05-22 Thread Maxime Ripard
On Mon, May 22, 2017 at 12:03:34PM +0800, Chen-Yu Tsai wrote: > The Cubietruck Plus has 4 LEDs in different colors. > Add device nodes for them. > > Signed-off-by: Chen-Yu Tsai Applied, thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering

[linux-sunxi] Re: [PATCH v6 6/9] mfd: axp20x: add axp20x-regulator cell for AXP803

2017-05-22 Thread Lee Jones
On Thu, 18 May 2017, Icenowy Zheng wrote: > As axp20x-regulator now supports AXP803, add a cell for it. > > Signed-off-by: Icenowy Zheng > Acked-by: Chen-Yu Tsai > --- > Changes in v5: > - Removed wrong snippet. > Changes in v4: > - Added a trailing comma for

[linux-sunxi] Re: [PATCH 1/2] arm64: A64/Pine64: update device tree from Linux

2017-05-22 Thread Maxime Ripard
On Mon, May 22, 2017 at 01:59:32AM +0100, Andre Przywara wrote: > The Linux device tree for the Allwinner A64 SoC has changed a lot since > the U-Boot version was merged. > Let's replace the current DT with a exact copy of the Linux one as of: > commit c6778ff813d2ca3e3c8733c87dc8b6831a64578b >

[linux-sunxi] Re: [PATCH 2/6] clk: sunxi-ng: a83t: Fix audio PLL divider offset

2017-05-22 Thread Maxime Ripard
On Mon, May 22, 2017 at 03:35:57PM +0800, Chen-Yu Tsai wrote: > On Mon, May 22, 2017 at 3:20 PM, Maxime Ripard > wrote: > > On Mon, May 22, 2017 at 02:25:48PM +0800, Chen-Yu Tsai wrote: > >> The divider of the audio PLL has an offset of 1. > >> Fix this in the

[linux-sunxi] Re: [PATCH v2 00/10] Initial Allwinner R40 support

2017-05-22 Thread Linus Walleij
On Thu, May 4, 2017 at 3:49 PM, Icenowy Zheng wrote: > This is the first non-RFC version of this patchset, which added basical > support including I2C, UART and MMC to the mainline Linux. > > The pinctrl driver of A20 is also merged into the one of A10 before > R40 support is

[linux-sunxi] Re: [PATCH v6 2/9] irqchip/sunxi-nmi: add support for the NMI in A64 R_INTC

2017-05-22 Thread Marc Zyngier
On 18/05/17 08:16, Icenowy Zheng wrote: > Add support for the newly imported compatible for the A64 R_INTC in > irq-sunxi-nmi driver. > > Signed-off-by: Icenowy Zheng > --- > Changes in v5: > - Fix A64 R_INTC compatible. > > drivers/irqchip/irq-sunxi-nmi.c | 13 + >

[linux-sunxi] Re: [PATCH v6 2/9] irqchip/sunxi-nmi: add support for the NMI in A64 R_INTC

2017-05-22 Thread Icenowy Zheng
于 2017年5月22日 GMT+08:00 下午5:39:22, Marc Zyngier 写到: >On 18/05/17 08:16, Icenowy Zheng wrote: >> Add support for the newly imported compatible for the A64 R_INTC in >> irq-sunxi-nmi driver. >> >> Signed-off-by: Icenowy Zheng >> --- >> Changes in v5: >> -

Re: [linux-sunxi] Re: [PATCH v6 2/9] irqchip/sunxi-nmi: add support for the NMI in A64 R_INTC

2017-05-22 Thread Chen-Yu Tsai
On Mon, May 22, 2017 at 5:41 PM, Icenowy Zheng wrote: > > > 于 2017年5月22日 GMT+08:00 下午5:39:22, Marc Zyngier 写到: >>On 18/05/17 08:16, Icenowy Zheng wrote: >>> Add support for the newly imported compatible for the A64 R_INTC in >>> irq-sunxi-nmi driver. >>>

[linux-sunxi] Re: [PATCH] pinctrl: use non-devm kmalloc versions for free functions

2017-05-22 Thread Linus Walleij
On Fri, May 12, 2017 at 7:14 PM, Tony Lindgren wrote: > From tony Mon Sep 17 00:00:00 2001 > From: Tony Lindgren > Date: Fri, 12 May 2017 08:47:57 -0700 > Subject: [PATCH] pinctrl: core: Fix warning by removing bogus code > > Andre Przywara