[linux-sunxi] Re: [PATCH 4/5] ARM: sun8i: a83t: Add dt node for the syscon control module

2017-06-05 Thread Chen-Yu Tsai
On Tue, Jun 6, 2017 at 3:21 AM, Corentin Labbe wrote: > This patch add the dt node for the syscon register present on the > Allwinner A83T > > Signed-off-by: Corentin Labbe > --- > arch/arm/boot/dts/sun8i-a83t.dtsi | 6 ++ > 1 file

[linux-sunxi] [PATCH 1/5] ARM: sun8i: orangepi-plus: Enable dwmac-sun8i

2017-06-05 Thread Corentin Labbe
The dwmac-sun8i hardware is present on the Orange PI plus. It uses an external PHY rtl8211e via RGMII. This patch create the needed regulator, emac and phy nodes. Signed-off-by: Corentin Labbe --- arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts | 32

[linux-sunxi] [PATCH 5/5] ARM: sun8i: a83t: add dwmac-sun8i ethernet driver

2017-06-05 Thread Corentin Labbe
The dwmac-sun8i is an ethernet MAC hardware that support 10/100/1000 speed. This patch enable the dwmac-sun8i on the Allwinner a83t SoC Device-tree. Signed-off-by: Corentin Labbe --- arch/arm/boot/dts/sun8i-a83t.dtsi | 28 1 file changed,

[linux-sunxi] [PATCH 0/5] ARM: sunxi: Enable dwmac-sun8i on more boards

2017-06-05 Thread Corentin Labbe
Hello This serie enable dwmac-sun8i on more boards. The first 3 patch enable dwmac-sun8i on some h3/h5 boards. The last 2 add dwmac-sun8i on a83t. Corentin Labbe (5): ARM: sun8i: orangepi-plus: Enable dwmac-sun8i ARM: sun8i: bananapi-m2-plus: Enable dwmac-sun8i ARM: sun50i: orangepi-pc2:

[linux-sunxi] [PATCH 4/5] ARM: sun8i: a83t: Add dt node for the syscon control module

2017-06-05 Thread Corentin Labbe
This patch add the dt node for the syscon register present on the Allwinner A83T Signed-off-by: Corentin Labbe --- arch/arm/boot/dts/sun8i-a83t.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-a83t.dtsi

[linux-sunxi] [PATCH 3/5] ARM: sun50i: orangepi-pc2: Enable dwmac-sun8i

2017-06-05 Thread Corentin Labbe
The dwmac-sun8i hardware is present on the Orange PI PC2. It uses an external PHY rtl8211e via RGMII. This patch create the needed regulator, emac and phy nodes. Signed-off-by: Corentin Labbe --- .../boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts | 27

[linux-sunxi] [PATCH 2/5] ARM: sun8i: bananapi-m2-plus: Enable dwmac-sun8i

2017-06-05 Thread Corentin Labbe
The dwmac-sun8i hardware is present on the Banana Pi M2+ It uses an external PHY rtl8211e via RGMII. This patch create the needed regulator, emac and phy nodes. Signed-off-by: Corentin Labbe --- arch/arm/boot/dts/sun8i-h3-bananapi-m2-plus.dts | 29

[linux-sunxi] Re: [PATCH] net-next: stmmac: dwmac-sun8i: ensure the EPHY is properly reseted

2017-06-05 Thread David Miller
From: Icenowy Zheng Date: Mon, 5 Jun 2017 01:53:23 +0800 > The EPHY may be already enabled by bootloaders which have Ethernet > capability (e.g. current U-Boot). Thus it should be reseted properly > before doing the enabling sequence in the dwmac-sun8i driver, otherwise > the

Re: [linux-sunxi] [PATCH] net-next: stmmac: dwmac-sun8i: ensure the EPHY is properly reseted

2017-06-05 Thread David Miller
From: Corentin Labbe Date: Mon, 5 Jun 2017 13:10:19 +0200 > On Mon, Jun 05, 2017 at 01:53:23AM +0800, Icenowy Zheng wrote: >> The EPHY may be already enabled by bootloaders which have Ethernet >> capability (e.g. current U-Boot). Thus it should be reseted properly >>

[linux-sunxi] Re: [PATCH 10/19] drm/sun4i: hdmi: Rename internal DDC clock to avoid name collision

2017-06-05 Thread Maxime Ripard
On Sat, Jun 03, 2017 at 10:33:25PM +0800, Chen-Yu Tsai wrote: > On Sat, Jun 3, 2017 at 3:30 AM, Maxime Ripard > wrote: > > On Fri, Jun 02, 2017 at 06:10:15PM +0800, Chen-Yu Tsai wrote: > >> The DDC parent clock on the A31 SoC is also conveniently named > >>

[linux-sunxi] Re: [PATCH v2 0/2] ARM/arm64: sunxi: convert CCU raw numbers to macros

2017-06-05 Thread Maxime Ripard
On Mon, Jun 05, 2017 at 05:00:31PM +0800, Chen-Yu Tsai wrote: > Hi Maxime, > > This is a fixed version of my "convert CCU raw numbers to macros" series. > Please take these instead. > > Changes since v1: > > - Fixed incorrect macro name for IR reset control phandle > > - Fixed header

[linux-sunxi] Re: [PATCH 0/3] pinctrl: sun8i: Add support for A83T R_PIO

2017-06-05 Thread Maxime Ripard
On Sat, Jun 03, 2017 at 10:44:24PM +0800, Chen-Yu Tsai wrote: > Hi, > > This series adds support for the R_PIO pin controller on the A83T. > The pins managed this controller are mainly used for communicating > with the PMIC and codec, and various GPIOs for enabling power switches > for USB ports

[linux-sunxi] [PATCH v4 3/3] ASoC: sun4i-codec: Add support for V3s codec

2017-06-05 Thread Icenowy Zheng
From: Icenowy Zheng The codec in the V3s is similar to the one found on the A31. One key difference is the analog path controls are routed through the PRCM block. This is supported by the sun8i-codec-analog driver, and tied into this codec driver with the audio card's aux_dev.

[linux-sunxi] [PATCH v4 2/3] ASoC: sun8i-codec-analog: add support for V3s SoC

2017-06-05 Thread Icenowy Zheng
From: Icenowy Zheng The V3s SoC features an analog codec with headphone support but without mic2 and linein. Add support for it. Signed-off-by: Icenowy Zheng Reviewed-by: Chen-Yu Tsai Acked-by: Rob Herring --- Changes in

[linux-sunxi] [PATCH v4 0/3] Allwinner V3s audio codec support (ASoC part)

2017-06-05 Thread Icenowy Zheng
This is the ASoC part of the Allwinner V3s audio codec support. The audio codec is like the ones on A23/H3, but much simpler. As it lacks two features that used to be common (MIC2 and LINEIN), some structures are altered to exclude these features. Icenowy Zheng (3): ASoC: sun8i-codec-analog:

[linux-sunxi] [PATCH v4 1/3] ASoC: sun8i-codec-analog: prepare a mixer control/widget/route set for V3s

2017-06-05 Thread Icenowy Zheng
Allwinner V3s has an analog codec without MIC2 and Line In, which will need a special set of mixer controls/widgets/routes, otherwise meaningless controls will be exported to userspace and confuse the user. Add the special set, and use it when the SoC has no MIC2 and Line In. Signed-off-by:

Re: [linux-sunxi] [PATCH 1/2] dmaengine: sun6i: make gate bit in sun8i's DMA engines a common quirk

2017-06-05 Thread Chen-Yu Tsai
On Mon, Jun 5, 2017 at 8:33 PM, Icenowy Zheng wrote: > From: Icenowy Zheng > > Originally we enable a special gate bit when the compatible indicates > A23/33. > > But according to BSP sources and user manuals, more SoCs will need this > gate bit. > > So make it

Re: [linux-sunxi] [PATCH] net-next: stmmac: dwmac-sun8i: ensure the EPHY is properly reseted

2017-06-05 Thread Andrew Lunn
On Mon, Jun 05, 2017 at 01:10:19PM +0200, Corentin Labbe wrote: > On Mon, Jun 05, 2017 at 01:53:23AM +0800, Icenowy Zheng wrote: > > The EPHY may be already enabled by bootloaders which have Ethernet > > capability (e.g. current U-Boot). Thus it should be reseted properly > > before doing the

[linux-sunxi] [PATCH 2/2] dmaengine: sun6i: support V3s SoC variant

2017-06-05 Thread Icenowy Zheng
From: Icenowy Zheng Allwinner V3s has a DMA engine similar to the ones from A31, but with fewer channels and DRQs. Add support for it. Signed-off-by: Icenowy Zheng Acked-by: Chen-Yu Tsai Acked-by: Rob Herring --- Changes

[linux-sunxi] [PATCH 0/2] Allwinner V3s DMA support

2017-06-05 Thread Icenowy Zheng
This is a dedicated patchset of Allwinner V3s DMA support, which used to be part of the audio codec support patchset. It's a derivation of the DMA part of v3 of the codec patchset. Icenowy Zheng (2): dmaengine: sun6i: make gate bit in sun8i's DMA engines a common quirk dmaengine: sun6i:

[linux-sunxi] [PATCH 1/2] dmaengine: sun6i: make gate bit in sun8i's DMA engines a common quirk

2017-06-05 Thread Icenowy Zheng
From: Icenowy Zheng Originally we enable a special gate bit when the compatible indicates A23/33. But according to BSP sources and user manuals, more SoCs will need this gate bit. So make it a common quirk configured in the config struct. Signed-off-by: Icenowy Zheng

Re: [linux-sunxi] [PATCH] net-next: stmmac: dwmac-sun8i: ensure the EPHY is properly reseted

2017-06-05 Thread Corentin Labbe
On Mon, Jun 05, 2017 at 01:53:23AM +0800, Icenowy Zheng wrote: > The EPHY may be already enabled by bootloaders which have Ethernet > capability (e.g. current U-Boot). Thus it should be reseted properly > before doing the enabling sequence in the dwmac-sun8i driver, otherwise > the EMAC reset

[linux-sunxi] [PATCH v2 0/2] ARM/arm64: sunxi: convert CCU raw numbers to macros

2017-06-05 Thread Chen-Yu Tsai
Hi Maxime, This is a fixed version of my "convert CCU raw numbers to macros" series. Please take these instead. Changes since v1: - Fixed incorrect macro name for IR reset control phandle - Fixed header filename typo These are some clean up patches for 4.12. They convert raw number

[linux-sunxi] [PATCH v2 2/2] arm64: allwinner: a64: Convert CCU raw number references to macros

2017-06-05 Thread Chen-Yu Tsai
The A64 device tree file has some remnants of raw number references to the CCU node, likely from when the CCU bindings and device tree changes were first merged. Convert these, and the R_CCU ones, to use the proper defined macros from their respective device tree binding header files.

[linux-sunxi] [PATCH v2 1/2] ARM: sunxi: h3-h5: Convert R_CCU raw numbers to macros

2017-06-05 Thread Chen-Yu Tsai
Now that the R_CCU device tree binding headers have been merged, we can convert the raw number references in the device trees to use the defined macros. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sunxi-h3-h5.dtsi | 8 +--- 1 file changed, 5 insertions(+), 3

[linux-sunxi] Re: [PATCH 2/2] arm64: allwinner: a64: Convert CCU raw number references to macros

2017-06-05 Thread kbuild test robot
-raw-numbers-to-macros/20170605-124326 base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next config: arm64-defconfig (attached as .config) compiler: aarch64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705 reproduce: wget https://raw.githubusercontent.com/01org/lkp

[linux-sunxi] Re: [PATCH 0/2] ARM/arm64: sunxi: convert CCU raw numbers to macros

2017-06-05 Thread Chen-Yu Tsai
On Mon, Jun 5, 2017 at 4:14 PM, Maxime Ripard wrote: > On Mon, Jun 05, 2017 at 12:32:22PM +0800, Chen-Yu Tsai wrote: >> Hi Maxime, >> >> These are some clean up patches for 4.12. They convert raw number >> references for the CCU and R_CCU nodes, from when the

[linux-sunxi] Re: [PATCH 0/2] ARM/arm64: sunxi: convert CCU raw numbers to macros

2017-06-05 Thread Maxime Ripard
On Mon, Jun 05, 2017 at 12:32:22PM +0800, Chen-Yu Tsai wrote: > Hi Maxime, > > These are some clean up patches for 4.12. They convert raw number > references for the CCU and R_CCU nodes, from when the CCU/R_CCU stuff > was first added, to the defined macros in the device tree header files. > >

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

2017-06-05 Thread Marc Zyngier
On 05/06/17 08:56, Icenowy Zheng wrote: > > > 于 2017年6月5日 GMT+08:00 下午3:53:50, Marc Zyngier 写到: >> On 05/06/17 06:57, Chen-Yu Tsai wrote: >>> Hi Marc, >>> >>> On Mon, May 22, 2017 at 10:25 PM, Chen-Yu Tsai wrote: On Mon, May 22, 2017 at 5:41 PM,

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

2017-06-05 Thread Icenowy Zheng
于 2017年6月5日 GMT+08:00 下午3:53:50, Marc Zyngier 写到: >On 05/06/17 06:57, Chen-Yu Tsai wrote: >> Hi Marc, >> >> On Mon, May 22, 2017 at 10:25 PM, Chen-Yu Tsai wrote: >>> On Mon, May 22, 2017 at 5:41 PM, Icenowy Zheng >wrote: 于

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

2017-06-05 Thread Marc Zyngier
On 05/06/17 06:57, Chen-Yu Tsai wrote: > Hi Marc, > > On Mon, May 22, 2017 at 10:25 PM, Chen-Yu Tsai wrote: >> On Mon, May 22, 2017 at 5:41 PM, Icenowy Zheng wrote: >>> >>> >>> 于 2017年5月22日 GMT+08:00 下午5:39:22, Marc Zyngier 写到: On

[linux-sunxi] Re: [PATCH 1/2] ARM: sunxi: h3-h5: Convert R_CCU raw numbers to macros

2017-06-05 Thread kbuild test robot
-raw-numbers-to-macros/20170605-124326 base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next config: arm-hisi_defconfig (attached as .config) compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705 reproduce: wget https://raw.githubusercontent.com/01org/lkp