[linux-sunxi] Re: [PATCH v6 2/2] mtd: nand: sunxi: add reset line support

2016-06-23 Thread Boris Brezillon
On Fri, 24 Jun 2016 07:20:38 +0800 Icenowy Zheng wrote: > In my opinion, return directly PTR_ERR(nfc->reset) is OK here. > If devm_reset_control_get_optional() return -EPROBE_DEFER, the code here will > also return it. However, if we get other error, why should it return >

[linux-sunxi] Re: [PATCH 06/14] ARM: dts: sun8i: Add cpu0 label to sun8i-h3.dtsi

2016-06-23 Thread Chen-Yu Tsai
On Fri, Jun 24, 2016 at 3:20 AM, wrote: > From: Ondrej Jirman > > Add label to the first cpu so that it can be referenced > from derived dts files. > > Signed-off-by: Ondrej Jirman > --- > arch/arm/boot/dts/sun8i-h3.dtsi | 2 +- > 1

[linux-sunxi] Re: [PATCH 07/14] regulator: SY8106A regulator driver

2016-06-23 Thread Chen-Yu Tsai
On Fri, Jun 24, 2016 at 3:20 AM, wrote: > From: Ondrej Jirman > > SY8106A is I2C attached single output voltage regulator > made by Silergy. > > Signed-off-by: Ondrej Jirman > --- > drivers/regulator/Kconfig | 8 +- >

[linux-sunxi] Re: [PATCH 03/14] thermal: Add support for sun8i THS on Allwinner H3

2016-06-23 Thread Chen-Yu Tsai
Hi, On Fri, Jun 24, 2016 at 3:20 AM, wrote: > From: Ondrej Jirman > The subject could read: thermal: sun8i_ths: Add support for the thermal sensor on Allwinner H3 > This patch adds support for the sun8i thermal sensor on > Allwinner H3 SoC. > >

Re: [linux-sunxi] [PATCH 13/14] ARM: dts: sun8i: Add gpio-regulator used on Orange Pi One

2016-06-23 Thread Julian Calaby
Hi Ondrej, On Fri, Jun 24, 2016 at 5:21 AM, wrote: > From: Ondrej Jirman > > Xulong Orange Pi One uses GPIO based regulator that > switches between two voltages: 1.1V and 1.3V. The > regulator is controlled from the PL6 pin. > > Signed-off-by: Ondrej

Re: [linux-sunxi] [PATCH 11/14] ARM: sun8i: clk: Add clk-factor rate application method

2016-06-23 Thread Julian Calaby
Hi Ondrej, On Fri, Jun 24, 2016 at 5:21 AM, wrote: > From: Ondrej Jirman > > PLL1 on H3 requires special factors application algorithm, > when the rate is changed. This algorithm was extracted > from the arisc code that handles frequency scaling > in the

Re: [linux-sunxi] [PATCH 13/14] ARM: dts: sun8i: Add gpio-regulator used on Orange Pi One

2016-06-23 Thread Julian Calaby
Hi Ondrej, On Fri, Jun 24, 2016 at 5:21 AM, wrote: > From: Ondrej Jirman > > Xulong Orange Pi One uses GPIO based regulator that > switches between two voltages: 1.1V and 1.3V. The > regulator is controlled from the PL6 pin. > > Signed-off-by: Ondrej

[linux-sunxi] Re: [PATCH 04/14] dt-bindings: document sun8i_ths

2016-06-23 Thread Chen-Yu Tsai
On Fri, Jun 24, 2016 at 3:20 AM, wrote: > From: Ondrej Jirman > > This patch adds the binding documentation for the sun8i_ths driver > > Signed-off-by: Ondřej Jirman > --- > .../devicetree/bindings/thermal/sun8i-ths.txt | 31 >

[linux-sunxi] Re: [PATCH 01/14] ARM: dts: sun8i: Add SID node

2016-06-23 Thread Chen-Yu Tsai
On Fri, Jun 24, 2016 at 3:20 AM, wrote: > From: Josef Gajdusek > > Add a node describing the Security ID memory to the Allwinner H3 .dtsi file. > > Signed-off-by: Josef Gajdusek > --- > arch/arm/boot/dts/sun8i-h3.dtsi | 7 +++ > 1 file

[linux-sunxi] [PATCH 04/14] dt-bindings: document sun8i_ths

2016-06-23 Thread megous
From: Ondrej Jirman This patch adds the binding documentation for the sun8i_ths driver Signed-off-by: Ondřej Jirman --- .../devicetree/bindings/thermal/sun8i-ths.txt | 31 ++ 1 file changed, 31 insertions(+) create mode 100644

[linux-sunxi] [PATCH 07/14] regulator: SY8106A regulator driver

2016-06-23 Thread megous
From: Ondrej Jirman SY8106A is I2C attached single output voltage regulator made by Silergy. Signed-off-by: Ondrej Jirman --- drivers/regulator/Kconfig | 8 +- drivers/regulator/Makefile| 2 +-

[linux-sunxi] [PATCH 09/14] ARM: dts: sun8i: Enable r_twi on Orange Pi PC

2016-06-23 Thread megous
From: Ondrej Jirman Enable I2C controller where the SY8106A regulator for CPUX voltage is attached on Orange Pi PC SBC. Signed-off-by: Ondrej Jirman --- arch/arm/boot/dts/sun8i-h3-orangepi-pc.dts | 4 1 file changed, 4 insertions(+) diff --git

[linux-sunxi] [PATCH 10/14] ARM: dts: sun8i: Add sy8106a regulator to Orange Pi PC

2016-06-23 Thread megous
From: Ondrej Jirman Add sy8106a regulator to r_twi bus on Orange Pi PC. This regulator controls the CPUX voltage. Signed-off-by: Ondrej Jirman --- arch/arm/boot/dts/sun8i-h3-orangepi-pc.dts | 10 ++ 1 file changed, 10 insertions(+) diff --git

[linux-sunxi] [PATCH 11/14] ARM: sun8i: clk: Add clk-factor rate application method

2016-06-23 Thread megous
From: Ondrej Jirman PLL1 on H3 requires special factors application algorithm, when the rate is changed. This algorithm was extracted from the arisc code that handles frequency scaling in the BSP kernel. This commit adds optional apply function to struct factors_data, that

[linux-sunxi] [PATCH 08/14] ARM: dts: sun8i: Add r_twi I2C controller

2016-06-23 Thread megous
From: Ondrej Jirman H3 SoC contains I2C controller optionally available on the PL0 and PL1 pins. This patch makes this controller available. Signed-off-by: Ondrej Jirman --- arch/arm/boot/dts/sun8i-h3.dtsi | 26 -- 1 file changed,

[linux-sunxi] [PATCH 12/14] ARM: dts: sun8i: Setup CPU operating points for Onrage PI PC

2016-06-23 Thread megous
From: Ondrej Jirman Orange PI PC uses SY8106A regulator for fine grained CPUX voltage regulation. Setup appropriate operating points for the board. --- arch/arm/boot/dts/sun8i-h3-orangepi-pc.dts | 50 ++ 1 file changed, 50 insertions(+) diff --git

[linux-sunxi] [PATCH 05/14] ARM: dts: sun8i: Add THS node to the sun8i-h3.dtsi

2016-06-23 Thread megous
From: Ondrej Jirman This patch adds nodes for the THS driver and the THS clock to the Allwinner sun8i-h3.dtsi file. Signed-off-by: Ondrej Jirman --- arch/arm/boot/dts/sun8i-h3.dtsi | 33 + 1 file changed, 33 insertions(+)

[linux-sunxi] [PATCH 01/14] ARM: dts: sun8i: Add SID node

2016-06-23 Thread megous
From: Josef Gajdusek Add a node describing the Security ID memory to the Allwinner H3 .dtsi file. Signed-off-by: Josef Gajdusek --- arch/arm/boot/dts/sun8i-h3.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi

[linux-sunxi] [PATCH 03/14] thermal: Add support for sun8i THS on Allwinner H3

2016-06-23 Thread megous
From: Ondrej Jirman This patch adds support for the sun8i thermal sensor on Allwinner H3 SoC. Signed-off-by: Ondřej Jirman --- drivers/thermal/Kconfig | 7 ++ drivers/thermal/Makefile| 1 + drivers/thermal/sun8i_ths.c | 295

[linux-sunxi] [PATCH 14/14] ARM: dts: sun8i: Enable DVFS on Orange Pi One

2016-06-23 Thread megous
From: Ondrej Jirman Use Xulong Orange Pi One GPIO based regulator for passive cooling and thermal management. Signed-off-by: Ondrej Jirman --- arch/arm/boot/dts/sun8i-h3-orangepi-one.dts | 39 + 1 file changed, 39 insertions(+)

[linux-sunxi] [PATCH 06/14] ARM: dts: sun8i: Add cpu0 label to sun8i-h3.dtsi

2016-06-23 Thread megous
From: Ondrej Jirman Add label to the first cpu so that it can be referenced from derived dts files. Signed-off-by: Ondrej Jirman --- arch/arm/boot/dts/sun8i-h3.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[linux-sunxi] [PATCH 02/14] ARM: clk: sunxi: Add driver for the H3 THS clock

2016-06-23 Thread megous
From: Josef Gajdusek This patch adds a driver for the THS clock which is present on the Allwinner H3. Signed-off-by: Josef Gajdusek --- Documentation/devicetree/bindings/clock/sunxi.txt | 1 + drivers/clk/sunxi/Makefile| 1 +

[linux-sunxi] Thermal regulation for Orange Pi PC and Orange Pi One

2016-06-23 Thread megous
This patch series implements thermal regulation on Orange Pi PC and Orange Pi One. For that purpose I've taken over the work on THS of Josef Gajdusek, and cleaned up his patches according to the previous review on the mailing list. The patch series also contains: - Regulator driver for sy8106a

[linux-sunxi] [PATCH 13/14] ARM: dts: sun8i: Add gpio-regulator used on Orange Pi One

2016-06-23 Thread megous
From: Ondrej Jirman Xulong Orange Pi One uses GPIO based regulator that switches between two voltages: 1.1V and 1.3V. The regulator is controlled from the PL6 pin. Signed-off-by: Ondrej Jirman --- arch/arm/boot/dts/sun8i-h3-orangepi-one.dts | 26

[linux-sunxi] Re: [PATCH v6 2/2] mtd: nand: sunxi: add reset line support

2016-06-23 Thread Boris Brezillon
On Mon, 20 Jun 2016 12:48:38 +0800 Icenowy Zheng wrote: > The NAND controller on some sun8i chips needs its reset line to be > deasserted before they can enter working state. > > Signed-off-by: Icenowy Zheng > --- >  Changes in v2: >    - Corrected the

[linux-sunxi] Re: [PATCH v3] ARM: dts: sun8i: Add dts file for Olimex A33-OLinuXino

2016-06-23 Thread deadcom
сряда, 22 юни 2016 г., 16:22:34 UTC+3, Maxime Ripard написа: > Hi, > > On Mon, Jun 20, 2016 at 01:32:49PM +0300, Stefan Mavrodiev wrote: > > A33-OLinuXino is A33 development board designed by Olimex LTD. > > > > It has AXP233 PMU, 1GB DRAM, a micro SD card, one USB-OTG connector, > > headphone

[linux-sunxi] Re: [PATCH v3] ARM: dts: sun8i: Add dts file for Olimex A33-OLinuXino

2016-06-23 Thread stefan . mavrodiev
сряда, 22 юни 2016 г., 16:22:34 UTC+3, Maxime Ripard написа: > Hi, > > On Mon, Jun 20, 2016 at 01:32:49PM +0300, Stefan Mavrodiev wrote: > > A33-OLinuXino is A33 development board designed by Olimex LTD. > > > > It has AXP233 PMU, 1GB DRAM, a micro SD card, one USB-OTG connector, > > headphone

Re: [linux-sunxi] Re: [PATCH] mmc: pwrseq-simple: Add an optional post-power-on-delay

2016-06-23 Thread Hans de Goede
Hi, On 23-06-16 00:25, Rob Herring wrote: On Wed, Jun 22, 2016 at 12:59 PM, Hans de Goede wrote: Some devices need a while to boot their firmware after providing clks / de-asserting resets before they are ready to receive sdio commands. This commits adds a

[linux-sunxi] Re: sun4i drm driver not working on q8 a13 tablet ?

2016-06-23 Thread Chen-Yu Tsai
Hi, On Mon, Jun 13, 2016 at 3:40 PM, Maxime Ripard wrote: > On Thu, Jun 09, 2016 at 10:34:40AM +0200, Hans de Goede wrote: >> Hi, >> >> On 09-06-16 09:53, Maxime Ripard wrote: >> >Hi Hans, >> > >> >On Sat, Jun 04, 2016 at 08:10:54PM +0200, Hans de Goede wrote: