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

2017-04-24 Thread Maxime Ripard
On Thu, Apr 20, 2017 at 03:03:38PM +0800, icen...@aosc.io wrote: > 在 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,

[linux-sunxi] Re: [PATCH v3 0/6] sunxi: video: Add support for HDMI output on A64/H3/H5

2017-04-24 Thread Maxime Ripard
Hi Jernej, On Fri, Apr 21, 2017 at 07:24:12PM +0200, Jernej Škrabec wrote: > Dne petek, 21. april 2017 ob 09:04:13 CEST je Maxime Ripard napisal(a): > > Hi Jernej, > > > > On Mon, Mar 27, 2017 at 07:22:28PM +0200, Jernej Skrabec wrote: > > > This series implements support for HDMI output. This

[linux-sunxi] [PATCH v4 03/10] irqchip/sunxi-nmi: add support for the NMI in A64 R_INTC

2017-04-24 Thread Icenowy Zheng
Add support for the newly imported compatible for the A64 R_INTC in irq-sunxi-nmi driver Signed-off-by: Icenowy Zheng --- New patch in v4, which is part of NMI refactor. drivers/irqchip/irq-sunxi-nmi.c | 13 + 1 file changed, 13 insertions(+) diff --git

[linux-sunxi] [PATCH v4 02/10] irqchip/sunxi-nmi: add A64 R_INTC to the binding doc

2017-04-24 Thread Icenowy Zheng
The A31 NMI driver seems to be using wrong base address. As we're going to convert to use a correct NMI base address (and correctly name it to R_INTC as the datasheet suggests), add a new compatible string for the "correct" R_INTC, which we will use for A64 SoC. Signed-off-by: Icenowy Zheng

[linux-sunxi] [PATCH v4 06/10] regulator: axp20x-regulator: add support for AXP803

2017-04-24 Thread Icenowy Zheng
AXP803 PMIC also have a series of regulators (DCDCs and LDOs) controllable via I2C/RSB bus. Add support for them. Signed-off-by: Icenowy Zheng Acked-by: Chen-Yu Tsai --- Changes in v4: - Fixed somewhere which mention AXP806 before 803. Changes in v2: - Place

[linux-sunxi] [PATCH v4 08/10] arm64: allwinner: a64: add DTSI file for AXP803 PMIC

2017-04-24 Thread Icenowy Zheng
As nearly all A64 boards are using AXP803 PMIC, add a DTSI file for it, like the old DTSI files for AXP20x/22x, for the common parts of the PMIC. Signed-off-by: Icenowy Zheng --- Changes in v4: - Re-sorted the nodes. arch/arm64/boot/dts/allwinner/axp803.dtsi | 150

[linux-sunxi] [PATCH v4 07/10] mfd: axp20x: add axp20x-regulator cell for AXP803

2017-04-24 Thread Icenowy Zheng
As axp20x-regulator now supports AXP803, add a cell for it. Signed-off-by: Icenowy Zheng Acked-by: Chen-Yu Tsai --- Changes in v4: - Added a trailing comma for new cell, for easier further cell addition. Changes in v3: - Make the new cell one-liner.

[linux-sunxi] [PATCH v4 04/10] arm64: allwinner: a64: add NMI (R_INTC) controller on A64

2017-04-24 Thread Icenowy Zheng
Allwinner A64 SoC features a R_INTC controller, which controls the NMI line, and this interrupt line is usually connected to the AXP PMIC. Add support for it. Signed-off-by: Icenowy Zheng --- Changes in v4: - Changes it to use R_INTC binding and change node label to r_intc. -

[linux-sunxi] [PATCH v4 01/10] arm64: allwinner: a64: enable RSB on A64

2017-04-24 Thread Icenowy Zheng
Allwinner A64 have a RSB controller like the one on A23/A33 SoCs. Add it and its pinmux. Signed-off-by: Icenowy Zheng Acked-by: Chen-Yu Tsai --- Changes in v2: - Removed bonus properties in pio node. - Added Chen-Yu's ACK.

[linux-sunxi] [PATCH v4 05/10] arm64: allwinner: a64: add AXP803 node to Pine64 device tree

2017-04-24 Thread Icenowy Zheng
The Pine64 (including Pine64+) boards have an AXP803 as its main PMIC. Add its device node. Signed-off-by: Icenowy Zheng --- arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts | 11 +++ 1 file changed, 11 insertions(+) diff --git

[linux-sunxi] [PATCH] sunxi: fix the default value of CONS_INDEX on non-A23/A33 SUN8I

2017-04-24 Thread Icenowy Zheng
Only A23/A33 in SUN8I want a default value of CONS_INDEX of 5, for other chips the default value is 1 like other Allwinner SoCs. Fix this default value. The original wrong value has lead to wrong console on H3 Orange Pi boards. Fixes: 7095f8641863 ("sunxi: Convert CONS_INDEX to Kconfig")

[linux-sunxi] [PATCH v4 00/10] AXP803 PMIC support for Pine64

2017-04-24 Thread Icenowy Zheng
The Pine64 (including Pine64+) boards have an AXP803 PMIC, which is a PMIC similar to AXP288, but tweaked to use with Allwinner SoCs rather than Intel tablets (with DCIN and Vbus re-splitted like other AXP PMICs, and RSB bus support added). This patchset adds support for it and enabled it in

[linux-sunxi] Re: [PATCH v4 03/10] irqchip/sunxi-nmi: add support for the NMI in A64 R_INTC

2017-04-24 Thread icenowy
在 2017-04-25 00:00,Icenowy Zheng 写道: Add support for the newly imported compatible for the A64 R_INTC in irq-sunxi-nmi driver Signed-off-by: Icenowy Zheng --- New patch in v4, which is part of NMI refactor. drivers/irqchip/irq-sunxi-nmi.c | 13 + 1 file changed,

[linux-sunxi] [PATCH v4 10/10] arm64: allwinner: a64: enable Wi-Fi for Pine64

2017-04-24 Thread Icenowy Zheng
The Wi-Fi module of Pine64 is powered via DLDO4 and ELDO1 (the latter one provides I/O voltage). Add device node for it. Although the Wi-Fi module is an external module which should be inserted to a header, according to my personal talk with TL Lim, he does not want this header to be used as

[linux-sunxi] [PATCH v4 09/10] arm64: allwinner: a64: enable AXP803 regulators for Pine64

2017-04-24 Thread Icenowy Zheng
Add support of AXP803 regulators in the Pine64 device tree, in order to enable many future functionalities, e.g. Wi-Fi. Signed-off-by: Icenowy Zheng --- .../arm64/boot/dts/allwinner/sun50i-a64-pine64.dts | 109 + 1 file changed, 109 insertions(+) diff --git

[linux-sunxi] Re: [PATCH v5 09/11] ARM: dts: sun8i: add DE2 nodes for V3s SoC

2017-04-24 Thread Maxime Ripard
On Sun, Apr 23, 2017 at 06:37:52PM +0800, Icenowy Zheng wrote: > + tcon0_out: port@1 { > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <1>; > +

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

2017-04-24 Thread Maxime Ripard
Hi, On Sun, Apr 23, 2017 at 06:37:45PM +0800, Icenowy Zheng wrote: > +static const struct of_device_id sunxi_de2_clk_ids[] = { > + { > + .compatible = "allwinner,sun8i-a83t-de2-clk", > + .data = _a83t_de2_clk_desc, > + }, > + { > + .compatible =

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

2017-04-24 Thread Maxime Ripard
Hi, Thanks a lot for that work. On Sun, Apr 23, 2017 at 06:37:48PM +0800, Icenowy Zheng wrote: > As we are going to add support for the Allwinner DE2 engine in sun4i-drm > driver, we will finally have two types of display engines -- the DE1 > backend and the DE2 mixer. They both do some display

[linux-sunxi] Re: [PATCH v3 0/6] sunxi: video: Add support for HDMI output on A64/H3/H5

2017-04-24 Thread Jernej Škrabec
Hi Maxime, Dne ponedeljek, 24. april 2017 ob 09:19:40 CEST je Maxime Ripard napisal(a): > Hi Jernej, > > On Fri, Apr 21, 2017 at 07:24:12PM +0200, Jernej Škrabec wrote: > > Dne petek, 21. april 2017 ob 09:04:13 CEST je Maxime Ripard napisal(a): > > > Hi Jernej, > > > > > > On Mon, Mar 27, 2017

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

2017-04-24 Thread icenowy
在 2017-04-24 16:51,Maxime Ripard 写道: Hi, On Sun, Apr 23, 2017 at 06:37:45PM +0800, Icenowy Zheng wrote: +static const struct of_device_id sunxi_de2_clk_ids[] = { + { + .compatible = "allwinner,sun8i-a83t-de2-clk", + .data = _a83t_de2_clk_desc, + }, +

[linux-sunxi] Re: [GIT PULL] Immutable branch between MFD and IIO due for the v4.12 merge window

2017-04-24 Thread Lee Jones
On Fri, 14 Apr 2017, Jonathan Cameron wrote: > On 11/04/17 11:05, Lee Jones wrote: > > Enjoy! > > > > The following changes since commit c1ae3cfa0e89fa1a7ecc4c99031f5e9ae99d9201: > > > > Linux 4.11-rc1 (2017-03-05 12:59:56 -0800) > > > > are available in the git repository at: > > > >

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

2017-04-24 Thread icenowy
在 2017-04-24 15:17,Maxime Ripard 写道: On Thu, Apr 20, 2017 at 03:03:38PM +0800, icen...@aosc.io wrote: 在 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 > >

[linux-sunxi] Re: [PATCH v3 05/12] mfd: axp20x: support AXP803 variant

2017-04-24 Thread Lee Jones
On Mon, 17 Apr 2017, Icenowy Zheng wrote: > AXP803 is a new PMIC chip produced by X-Powers, usually paired with A64 > via RSB bus. The PMIC itself is like AXP288, but with RSB support and > dedicated VBUS and ACIN. > > Add support for it in the axp20x mfd driver. > > Currently only power key

[linux-sunxi] Re: [PATCH v3 07/12] dt-bindings: add AXP803's regulator info

2017-04-24 Thread Lee Jones
On Mon, 17 Apr 2017, Icenowy Zheng wrote: > AXP803 have the most regulators in currently supported AXP PMICs. > > Add info for the regulators in the dt-bindings document. > > Signed-off-by: Icenowy Zheng > Acked-by: Rob Herring > --- > Changes in v3: > -

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

2017-04-24 Thread Lee Jones
On Mon, 17 Apr 2017, 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, which is after AXP803

[linux-sunxi] Re: [PATCH v3 04/12] dt-bindings: add device tree binding for X-Powers AXP803 PMIC

2017-04-24 Thread Lee Jones
On Mon, 17 Apr 2017, Icenowy Zheng wrote: > AXP803 is a PMIC produced by Shenzhen X-Powers, with either I2C or RSB > bus. > > Add a compatible for it. > > Signed-off-by: Icenowy Zheng > Acked-by: Chen-Yu Tsai > Acked-by: Rob Herring > --- >

[linux-sunxi] Re: [PATCH v4 13/18] arm64: allwinner: sun50i-a64: add dwmac-sun8i Ethernet driver

2017-04-24 Thread Corentin Labbe
On Wed, Apr 12, 2017 at 02:41:53PM +0200, Maxime Ripard wrote: > On Wed, Apr 12, 2017 at 01:13:55PM +0200, Corentin Labbe wrote: > > The dwmac-sun8i is an Ethernet MAC that supports 10/100/1000 Mbit > > connections. It is very similar to the device found in the Allwinner > > H3, but lacks the

Re: [linux-sunxi] [PATCH v4 07/10] mfd: axp20x: add axp20x-regulator cell for AXP803

2017-04-24 Thread icenowy
在 2017-04-25 10:17,Chen-Yu Tsai 写道: On Tue, Apr 25, 2017 at 12:01 AM, 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 v4: - Added a trailing

[linux-sunxi] Re: [PATCH v4 13/18] arm64: allwinner: sun50i-a64: add dwmac-sun8i Ethernet driver

2017-04-24 Thread Chen-Yu Tsai
On Mon, Apr 24, 2017 at 8:24 PM, Corentin Labbe wrote: > On Wed, Apr 12, 2017 at 02:41:53PM +0200, Maxime Ripard wrote: >> On Wed, Apr 12, 2017 at 01:13:55PM +0200, Corentin Labbe wrote: >> > The dwmac-sun8i is an Ethernet MAC that supports 10/100/1000 Mbit >> >

Re: [linux-sunxi] [PATCH v4 07/10] mfd: axp20x: add axp20x-regulator cell for AXP803

2017-04-24 Thread Chen-Yu Tsai
On Tue, Apr 25, 2017 at 12:01 AM, 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 v4: > - Added a trailing comma for new cell, for

[linux-sunxi] Can't record wav on Nanopi-NEO2 use H5-mainline-kernel source

2017-04-24 Thread wuweidong0107
Hey guys. I'm using these source for Nanoi-NEO2: https://github.com/friendlyarm/linux branch:sunxi-4.11.y-devel Basically it forks from Icenowy zheng's github. Here's my problem: I'm testing H5 internal codec.I'm able to play wav