[linux-sunxi] [PATCH v2 2/5] clk: sunxi: Add driver for the H3 THS clock

2015-11-23 Thread 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 + drivers/clk/sunxi/clk-h3-ths.c| 98 ++

[linux-sunxi] [PATCH v2 5/5] ARM: dts: sun8i: Add THS node to the H3 .dtsi

2015-11-23 Thread Josef Gajdusek
This patch adds nodes for the THS driver and the THS clock to the Allwinner H3 .dtsi file. Signed-off-by: Josef Gajdusek --- arch/arm/boot/dts/sun8i-h3.dtsi | 33 + 1 file changed, 33 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi b/arch/arm/boot/dts/

[linux-sunxi] [PATCH v2 3/5] thermal: Add a driver for the Allwinner THS sensor

2015-11-23 Thread Josef Gajdusek
This patch adds support for the Sunxi thermal sensor on the Allwinner H3. Should be easily extendable for the A33/A83T/... as they have similar but not completely identical sensors. Signed-off-by: Josef Gajdusek --- drivers/thermal/Kconfig | 7 + drivers/thermal/Makefile| 1 + driver

[linux-sunxi] [PATCH v2 4/5] dt-bindings: document sun8i_ths

2015-11-23 Thread Josef Gajdusek
This patch adds the binding documentation for the sun8i_ths driver Signed-off-by: Josef Gajdusek --- .../devicetree/bindings/thermal/sun8i-ths.txt | 31 ++ 1 file changed, 31 insertions(+) create mode 100644 Documentation/devicetree/bindings/thermal/sun8i-ths.txt diff

[linux-sunxi] [PATCH v2 1/5] ARM: dts: sun8i: Add SID node

2015-11-23 Thread 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 b/arch/arm/boot/dts/sun8i-h3.dtsi index 0faa38a..58de718 10064

[linux-sunxi] [PATCH v2 0/5] sunxi: THS support

2015-11-23 Thread Josef Gajdusek
Hello everyone, this is v2 of my THS patchset Changelog: * Some stylistic changes * devm_reset_control_get_optional -> devm_reset_control_get * Added the clk-h3-ths clock driver - Note: A23/A33/A83T do not have a separate clock, H3 seems to be the first (and only?) SoC with it

Re: [linux-sunxi] Re: [PATCH] ARM: dts: sun7i: Add dts file for the lamobo-r1 board

2015-11-23 Thread Hans de Goede
Hi, On 22-11-15 20:59, Maxime Ripard wrote: Hi, On Fri, Nov 20, 2015 at 08:11:53PM +0100, Hans de Goede wrote: From: Jelle de Jong The lamobo-r1 board, sometimes called the BPI-R1 but not labelled as such on the PCB, is meant as a A20 based router board. As such the board comes with a built-

[linux-sunxi] Re: [PATCH v4 5/6] ARM: dts: sunxi: Add Allwinner H3 DTSI

2015-11-23 Thread Maxime Ripard
Hi, On Sun, Nov 01, 2015 at 02:33:23PM +0100, Jens Kuske wrote: > >> + bus_gates: clk@01c20060 { > >> + #clock-cells = <1>; > >> + compatible = "allwinner,sun8i-h3-bus-gates-clk"; > >> + reg = <0x01c20060 0x14>; > >> +

Re: [linux-sunxi] [PATCH] spi: dts: sun4i: Add support for inter-word wait cycles using the SPI Wait Clock Register

2015-11-23 Thread Marcus Weseloh
2015-11-22 20:45 GMT+01:00 Maxime Ripard : >> Julien, Rob: thanks for your comments! Ok, I will make the following changes: >> >> - remove "sun4i,spi-wdelay" from the sun4i binding and add the >> property to the spi-bus.txt binding instead >> - remove the comment about the additional 3 cycles from

Re: [linux-sunxi] [PATCH v2 2/5] clk: sunxi: Add driver for the H3 THS clock

2015-11-23 Thread LABBE Corentin
On Mon, Nov 23, 2015 at 09:02:49AM +0100, Josef Gajdusek wrote: > This patch adds a driver for the THS clock which is present on the > Allwinner H3. > > Signed-off-by: Josef Gajdusek > --- Hello Just a minor comment below. > +static void __init sun8i_h3_ths_clk_setup(struct device_node *node) >

[linux-sunxi] Re: [PATCH v2 4/5] dt-bindings: document sun8i_ths

2015-11-23 Thread Chen-Yu Tsai
On Mon, Nov 23, 2015 at 4:02 PM, Josef Gajdusek wrote: > This patch adds the binding documentation for the sun8i_ths driver > > Signed-off-by: Josef Gajdusek > --- > .../devicetree/bindings/thermal/sun8i-ths.txt | 31 > ++ > 1 file changed, 31 insertions(+) > create mo

Re: [linux-sunxi] [PATCH v2 2/5] clk: sunxi: Add driver for the H3 THS clock

2015-11-23 Thread Priit Laes
On Mon, 2015-11-23 at 09:02 +0100, Josef Gajdusek wrote: > 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| 

Re: [linux-sunxi] Re: [PATCH] ARM: dts: sun7i: Add dts file for the lamobo-r1 board

2015-11-23 Thread Thomas Kaiser
Hi, Hans de Goede wrote: > On 22-11-15 20:59, Maxime Ripard wrote: > >> +&cpu0 { > >> +cpu-supply = <®_dcdc2>; > >> +operating-points = < > >> +/* kHz uV */ > >> +96140 > >> +912000140 > >>

Re: [linux-sunxi] Re: [PATCH v4 5/6] ARM: dts: sunxi: Add Allwinner H3 DTSI

2015-11-23 Thread Hans de Goede
HI, On 23-11-15 09:57, Maxime Ripard wrote: Hi, On Sun, Nov 01, 2015 at 02:33:23PM +0100, Jens Kuske wrote: + bus_gates: clk@01c20060 { + #clock-cells = <1>; + compatible = "allwinner,sun8i-h3-bus-gates-clk"; + reg

Re: [linux-sunxi] Re: [PATCH v4 4/6] reset: sunxi: Add Allwinner H3 bus resets

2015-11-23 Thread Maxime Ripard
Hi, On Mon, Nov 23, 2015 at 03:41:52PM +0800, Chen-Yu Tsai wrote: > On Thu, Nov 5, 2015 at 2:47 PM, Jean-Francois Moine wrote: > > On Wed, 4 Nov 2015 08:30:14 -0800 > > Maxime Ripard wrote: > > > >> Hi Arnd, > >> > >> On Fri, Oct 30, 2015 at 09:27:03AM +0100, Arnd Bergmann wrote: > >> > On Tuesd

[linux-sunxi] Re: [PATCH v2 4/5] dt-bindings: document sun8i_ths

2015-11-23 Thread Maxime Ripard
Hi, On Mon, Nov 23, 2015 at 09:02:51AM +0100, Josef Gajdusek wrote: > This patch adds the binding documentation for the sun8i_ths driver > > Signed-off-by: Josef Gajdusek > --- > .../devicetree/bindings/thermal/sun8i-ths.txt | 31 > ++ > 1 file changed, 31 insertions(+

[linux-sunxi] Re: [PATCH v2 1/5] ARM: dts: sun8i: Add SID node

2015-11-23 Thread Maxime Ripard
Hi, On Mon, Nov 23, 2015 at 09:02:48AM +0100, Josef Gajdusek wrote: > 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/ar

Re: [linux-sunxi] Re: [PATCH v4 5/6] ARM: dts: sunxi: Add Allwinner H3 DTSI

2015-11-23 Thread Jens Kuske
On 23/11/15 11:50, Hans de Goede wrote: > HI, > > On 23-11-15 09:57, Maxime Ripard wrote: >> Hi, >> >> On Sun, Nov 01, 2015 at 02:33:23PM +0100, Jens Kuske wrote: > + bus_gates: clk@01c20060 { > + #clock-cells = <1>; > + compati

Re: [linux-sunxi] Re: [PATCH v4 5/6] ARM: dts: sunxi: Add Allwinner H3 DTSI

2015-11-23 Thread Chen-Yu Tsai
On Mon, Nov 23, 2015 at 6:50 PM, Hans de Goede wrote: > HI, > > > On 23-11-15 09:57, Maxime Ripard wrote: >> >> Hi, >> >> On Sun, Nov 01, 2015 at 02:33:23PM +0100, Jens Kuske wrote: > > + bus_gates: clk@01c20060 { > + #clock-cells = <1>; > +

[linux-sunxi] Allwinner A20: systemd / Time has been changed

2015-11-23 Thread philippe . baret
Hi, Via microSD card, i am trying to install FreedomBox image (debian "stretch/sid") on a Cubietruck 128 SSD edition. Whilst FreedomBox image has been installed on Cubietruck SSD by some users without problem, i experienced some loop messages at a point of the process from systemd. The message

Re: [linux-sunxi] A20 higher External interrupr (EINT22-EINT31)

2015-11-23 Thread ivoronov
Dear Andrea, Maxime & Co, In the past I have set up EINT7 for my Cubie2 per manual http://linux-sunxi.org/External_interrupts and it works well on 3.19 through 4.2 kernels. In looking at audio sunxi-codec working I switched to 4.4-rc1 over the last week and discovered the following: 1) my modu

[linux-sunxi] Re: [PATCH] ARM: dts: sun8i: Add Orange Pi PC support

2015-11-23 Thread Maxime Ripard
Hi, On Wed, Nov 18, 2015 at 01:40:33PM +0800, Chen-Yu Tsai wrote: > +&usbphy { > + /* USB VBUS is always on */ > + status = "okay"; > +}; You can tie it to reg_5v0 then :) Thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electr

[linux-sunxi] Re: [PATCH v2 2/5] clk: sunxi: Add driver for the H3 THS clock

2015-11-23 Thread Rob Herring
On Mon, Nov 23, 2015 at 09:02:49AM +0100, Josef Gajdusek wrote: > This patch adds a driver for the THS clock which is present on the > Allwinner H3. > > Signed-off-by: Josef Gajdusek Acked-by: Rob Herring > --- > Documentation/devicetree/bindings/clock/sunxi.txt | 1 + > drivers/clk/sunxi/Ma

[linux-sunxi] Re: [PATCH] ARM: dts: sun8i-h3-orangepi-plus: Enable USB host controllers

2015-11-23 Thread Troy Dack
On Wednesday, 18 November 2015 03:12:11 UTC+11, Jens Kuske wrote: > > Enable the 2 USB host controllers used on the Orange Pi Plus > and add the necessary regulators. > > Signed-off-by: Reinder de Haan > > Signed-off-by: Hans de Goede > > Signed-off-by: Jens Kuske > > --- > > Hi Hans, > >

[linux-sunxi] Re: Is FFmpeg for sunxi support 4K(3840×2160) encoding?

2015-11-23 Thread Sugar Wu
Sorry, A80 not support 4K. 在 2015年11月23日星期一 UTC+8上午10:29:49,Arnold kang写道: > > HI all , >I want to encoding 4K video on allwinner A80 SOC. I want to know the > LIB support it ? thanks > -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To uns

[linux-sunxi] Re: [PATCH v2 1/5] ARM: dts: sun8i: Add SID node

2015-11-23 Thread Chen-Yu Tsai
Hi, On Mon, Nov 23, 2015 at 8:43 PM, Maxime Ripard wrote: > Hi, > > On Mon, Nov 23, 2015 at 09:02:48AM +0100, Josef Gajdusek wrote: >> 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 |

[linux-sunxi] Re: [PATCH v2 1/5] ARM: dts: sun8i: Add SID node

2015-11-23 Thread Sugar Wu
I will give you the right widths as soon. 在 2015年11月24日星期二 UTC+8上午11:13:41,Chen-Yu Tsai写道: > > Hi, > > On Mon, Nov 23, 2015 at 8:43 PM, Maxime Ripard > > wrote: > > Hi, > > > > On Mon, Nov 23, 2015 at 09:02:48AM +0100, Josef Gajdusek wrote: > >> Add a node describing the Security ID memory t

[linux-sunxi] [PATCH v4 4/6] regulator: axp20x: Support new AXP223 PMIC

2015-11-23 Thread Chen-Yu Tsai
The AXP223 is a new PMIC commonly paired with Allwinner A23/A33 SoCs. It is functionally identical to AXP221; only the regulator default voltage/status and the external host interface are different. Signed-off-by: Chen-Yu Tsai Reviewed-by: Mark Brown --- drivers/regulator/axp20x-regulator.c | 3

[linux-sunxi] [PATCH v4 0/6] mfd: axp20x: Add support for RSB based AXP223

2015-11-23 Thread Chen-Yu Tsai
Hi everyone, This is v4 of the AXP223 PMIC series. Changes since v3: - Removed settings for axp223 reg_rtc_ldo from board dts files that are already in axp22x.dtsi. The name is kept. - Dropped simplefb label and defconfig patches, as they are merged. Changes since v2: - s/It's/Its/

[linux-sunxi] [PATCH v4 1/6] mfd: axp20x: Add AXP223 to list of supported PMICs in DT bindings

2015-11-23 Thread Chen-Yu Tsai
The AXP223 is a new PMIC commonly paired with Allwinner A23/A33 SoCs. It is functionally identical to AXP221; only the regulator default voltage/status and the external host interface are different. Signed-off-by: Chen-Yu Tsai Acked-by: Maxime Ripard Acked-by: Rob Herring --- Documentation/dev

[linux-sunxi] [PATCH v4 6/6] ARM: dts: sun8i: q8-common: Add AXP223 PMIC device and regulator nodes

2015-11-23 Thread Chen-Yu Tsai
A23/A33 Q8 tablets have an X-Powers AXP223 PMIC connected via RSB. Its regulators provide power to various parts of the SoC and the board. Also add lcd regulator supply for simplefb and update the existing vmmc-supply for mmc0. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun8i-q8-common.d

[linux-sunxi] [PATCH v4 3/6] mfd: axp20x: Add support for RSB based AXP223 PMIC

2015-11-23 Thread Chen-Yu Tsai
The AXP223 is a new PMIC commonly paired with Allwinner A23/A33 SoCs. It is functionally identical to AXP221; only the regulator default voltage/status and the external host interface are different. Signed-off-by: Chen-Yu Tsai --- drivers/mfd/Kconfig| 11 ++ drivers/mfd/Makefile

[linux-sunxi] [PATCH v4 5/6] ARM: dts: sun8i: sinlinx-sina33: Add AXP223 PMIC device and regulator nodes

2015-11-23 Thread Chen-Yu Tsai
This board has a X-Powers AXP223 PMIC connected via RSB. Its regulators provide power to various parts of the SoC and the board. Also update the regulator supply phandles. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun8i-a33-sinlinx-sina33.dts | 79 +- 1 file chan

[linux-sunxi] [PATCH v4 2/6] mfd: axp20x: Split the driver into core and i2c bits

2015-11-23 Thread Chen-Yu Tsai
The axp20x driver assumes the device is i2c based. This is not the case with later chips, which use a proprietary 2 wire serial bus by Allwinner called "Reduced Serial Bus". This patch follows the example of mfd/wm831x and splits it into an interface independent core, and an i2c specific glue laye

[linux-sunxi] Re: [PATCH v2 1/5] ARM: dts: sun8i: Add SID node

2015-11-23 Thread Maxime Ripard
On Tue, Nov 24, 2015 at 11:13:13AM +0800, Chen-Yu Tsai wrote: > Hi, > > On Mon, Nov 23, 2015 at 8:43 PM, Maxime Ripard > wrote: > > Hi, > > > > On Mon, Nov 23, 2015 at 09:02:48AM +0100, Josef Gajdusek wrote: > >> Add a node describing the Security ID memory to the > >> Allwinner H3 .dtsi file. >

[linux-sunxi] Re: [PATCH v2 1/5] ARM: dts: sun8i: Add SID node

2015-11-23 Thread Maxime Ripard
On Mon, Nov 23, 2015 at 07:24:40PM -0800, Sugar Wu wrote: > I will give you the right widths as soon. Great, thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- You received this message because you are subscribed to the G

[linux-sunxi] Re: [PATCH v2 1/5] ARM: dts: sun8i: Add SID node

2015-11-23 Thread Chen-Yu Tsai
On Tue, Nov 24, 2015 at 2:38 PM, Maxime Ripard wrote: > On Tue, Nov 24, 2015 at 11:13:13AM +0800, Chen-Yu Tsai wrote: >> Hi, >> >> On Mon, Nov 23, 2015 at 8:43 PM, Maxime Ripard >> wrote: >> > Hi, >> > >> > On Mon, Nov 23, 2015 at 09:02:48AM +0100, Josef Gajdusek wrote: >> >> Add a node describin

[linux-sunxi] Re: [PATCH v2 1/5] ARM: dts: sun8i: Add SID node

2015-11-23 Thread Sugar Wu
On Monday, November 23, 2015 at 8:43:59 PM UTC+8, Maxime Ripard wrote: > > Hi, > > On Mon, Nov 23, 2015 at 09:02:48AM +0100, Josef Gajdusek wrote: > > Add a node describing the Security ID memory to the > > Allwinner H3 .dtsi file. > > > > Signed-off-by: Josef Gajdusek > > > --- > > arch/