[linux-sunxi] [PATCH v2 2/4] ARM: pwm: sun4i: selectable prescaler table for support sun6i.

2017-02-07 Thread lis8215
From: Siarhei Volkau This patch not introduce new features, just prepare code for adding sun6i PWM driver in next commit. A31 SoC have a different set of prescalers than others ASoCs, but its position and count in the control register are the same. This patch make the table

[linux-sunxi] [PATCH v2 1/4] ARM: pwm: sun4i: unification of register operations for support sun6i.

2017-02-07 Thread lis8215
From: Siarhei Volkau This patch not introduce new features, just prepare code for adding sun6i PWM driver in next commits. A31 SoC have a different map of PWM registers than others ASoCs, but register bits purposes are very similar. This patch introduce set of register

[linux-sunxi] [PATCH v2 0/4] Add the Allwinner A31/A31s PWM driver

2017-02-07 Thread lis8215
From: Siarhei Volkau First of all im sorry for accidentally sent old patch, please ignore them. This is the second version of the sun6i PWM patchset. - added missing documentation changes - dts changes in separate patch Thanks to Julian Calaby for tips.

[linux-sunxi] [PATCH v2 3/4] ARM: pwm: sun6i: add support the Allwinner A31 PWM.

2017-02-07 Thread lis8215
From: Siarhei Volkau This patch introduce the sun6i PWM driver itself: - sun6i register operations, - sun6i prescaler table, - DT bindings for A31 SoC, - documentation update. Signed-off-by: Siarhei Volkau --- .../devicetree/bindings/pwm/pwm-sun4i.txt

[linux-sunxi] [PATCH v2 4/4] ARM: dts: sun6i: Add the PWM block to the A31/A31s.

2017-02-07 Thread lis8215
From: Siarhei Volkau Signed-off-by: Siarhei Volkau --- arch/arm/boot/dts/sun6i-a31.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/sun6i-a31.dtsi b/arch/arm/boot/dts/sun6i-a31.dtsi index ee1eb6d..fcba129 100644 ---

[linux-sunxi] [PATCH] Add the Allwinner A31/A31s PWM driver.

2017-02-07 Thread lis8215
From: Siarhei Volkau A31 SoC have a different map of PWM registers than others Allwinner SoCs, so the operation of access to the registers reworked for all existing in driver SoCs. Tested on Onda V972 (a31) and Marsboard A20, but only PWM channel 0, because other channels

Re: [linux-sunxi] Re: [PATCH v3 04/10] clk: sunxi-ng: add support for Allwinner H5 SoC

2017-02-07 Thread Maxime Ripard
On Mon, Jan 30, 2017 at 10:02:04PM +0800, Icenowy Zheng wrote: > > >  static struct ccu_reset_map sunxi_h3_h5_ccu_resets[] = { > > >  [RST_USB_PHY0] =  { 0x0cc, BIT(0) }, > > >  [RST_USB_PHY1] =  { 0x0cc, BIT(1) }, > > > @@ -791,6 +910,7 @@ static struct ccu_reset_map sunxi_h3_h5_ccu_resets[]

[linux-sunxi] Re: [U-Boot] [PATCH v3 04/13] sunxi: simplify ACTLR.SMP bit set #ifdef

2017-02-07 Thread Maxime Ripard
On Mon, Feb 06, 2017 at 11:29:26AM +, Andre Przywara wrote: > Hi, > > On 03/02/17 10:52, Jagan Teki wrote: > > On Wed, Feb 1, 2017 at 2:36 AM, Andre Przywara > > wrote: > >> Instead of enumerating all SoC families that need that bit set, let's > >> just express this

[linux-sunxi] Re: [U-Boot] [PATCH v3 12/13] sunxi: dts: add basic OrangePi PC 2 device tree file

2017-02-07 Thread Maxime Ripard
On Mon, Feb 06, 2017 at 10:18:14AM +, Andre Przywara wrote: > Hi, > > On 03/02/17 11:14, Jagan Teki wrote: > > On Wed, Feb 1, 2017 at 2:36 AM, Andre Przywara > > wrote: > >> The OrangePi PC 2 is a typical SBC with the 64-bit Allwinner H5 SoC. > >> Create a new .dts

[linux-sunxi] Re: [PATCH v3 2/3] nvmem: sunxi-sid: add support for H3's SID controller

2017-02-07 Thread Maxime Ripard
On Mon, Feb 06, 2017 at 04:56:55PM +0800, Icenowy Zheng wrote: > 06.02.2017, 16:54, "Maxime Ripard" : > > On Thu, Feb 02, 2017 at 09:13:37PM +0800, Icenowy Zheng wrote: > >>  The H3 SoC have a bigger SID controller, which has its direct read > >>  address at 0x200

Re: [linux-sunxi] [PATCH] ARM: dts: sun8i: Add dts file for NanoPi NEO Air

2017-02-07 Thread Jelle van der Waa
On 02/07/17 at 08:52am, Maxime Ripard wrote: > On Tue, Feb 07, 2017 at 05:08:16AM +0800, Icenowy Zheng wrote: > > > > 2017年2月7日 03:14于 Jelle van der Waa 写道: > > > > > > add support for the NanoPi NEO Air H3 board from friendlyarm.com . This > > > board contains WiFi, Bluetooth,