[linux-sunxi] Re: [PATCH v2 05/10] regulator: axp20x: support AXP809 variant

2016-02-15 Thread Chen-Yu Tsai
On Tue, Feb 16, 2016 at 4:04 AM, Mark Brown wrote: > On Mon, Feb 15, 2016 at 06:31:23PM +0800, Chen-Yu Tsai wrote: >> The X-Powers AXP809 PMIC has a similar set of regulators as the AXP221, >> though a few LDOs were removed, and a new switch output added. Like the >> AXP221,

[linux-sunxi] Re: [PATCH 01/14] pinctrl: sunxi: Add A83T R_PIO controller support

2016-02-15 Thread Linus Walleij
On Thu, Feb 11, 2016 at 4:12 PM, Maxime Ripard wrote: > On Thu, Feb 11, 2016 at 02:47:57PM +0100, Linus Walleij wrote: >> Can you guys supply a MAINTAINERS entry for the sunxi >> stuff? > > We have one, and Chen-Yu is listed as co-maintainer: >

[linux-sunxi] Re: [PATCH] pinctrl: sunxi: set pin function as input on export

2016-02-15 Thread Linus Walleij
On Mon, Feb 8, 2016 at 3:37 PM, Krzysztof Adamski wrote: > Default function of a pin in sunxi SoCs is "disabled". By default gpios > exported by sysfs are set as input and indeed, when reading "direction" > file you will get "in". The "value" pin won't return proper

[linux-sunxi] Re: [PATCH v2 05/10] regulator: axp20x: support AXP809 variant

2016-02-15 Thread Mark Brown
On Mon, Feb 15, 2016 at 06:31:23PM +0800, Chen-Yu Tsai wrote: > The X-Powers AXP809 PMIC has a similar set of regulators as the AXP221, > though a few LDOs were removed, and a new switch output added. Like the > AXP221, AXP809 also has DC1SW and DC5LDO, which are internally chained > to DCDC1 and

Re: [linux-sunxi] ve encondig JPEG / H264 for H3

2016-02-15 Thread Manuel Braga
On Fri, 12 Feb 2016 15:38:29 -0800 (PST) "@lex" wrote: > Thanks for answering. > > I want to encode (JPEG and H264) images i grab from the camera and > send it to clients (linux and windows) and this could be used on all > new H3 devices and everybody else could benefit

Re: [linux-sunxi] Allwinner A64 MMC support

2016-02-15 Thread Hans de Goede
Hi, On 15-02-16 14:59, Andre Przywara wrote: Hi Hans, p.s. I love the work you've been doing on the A64, I've not had a chance to try it out yet though. Have you made any progress with getting the mmc slot to work ? If not maybe I can make some time I've prior experience in bringing

Re: [linux-sunxi] Allwinner A64 MMC support

2016-02-15 Thread Andre Przywara
Hi, On 15/02/16 14:58, Chen-Yu Tsai wrote: > On Mon, Feb 15, 2016 at 10:36 PM, Andre Przywara > wrote: >> Hi Chen-Yu, >> >> On 15/02/16 14:23, Chen-Yu Tsai wrote: >>> On Mon, Feb 15, 2016 at 9:59 PM, Andre Przywara >>> wrote: Hi Hans,

Re: [linux-sunxi] Allwinner A64 MMC support

2016-02-15 Thread Chen-Yu Tsai
On Mon, Feb 15, 2016 at 10:36 PM, Andre Przywara wrote: > Hi Chen-Yu, > > On 15/02/16 14:23, Chen-Yu Tsai wrote: >> On Mon, Feb 15, 2016 at 9:59 PM, Andre Przywara >> wrote: >>> Hi Hans, >>> >>> >>> p.s. I love the work

Re: [linux-sunxi] Allwinner A64 MMC support

2016-02-15 Thread Andre Przywara
Hi Chen-Yu, On 15/02/16 14:23, Chen-Yu Tsai wrote: > On Mon, Feb 15, 2016 at 9:59 PM, Andre Przywara > wrote: >> Hi Hans, >> >> >> >>> >>> p.s. >>> >>> I love the work you've been doing on the A64, I've not had a chance >>> to try it out yet though. Have you made

Re: [linux-sunxi] Allwinner A64 MMC support

2016-02-15 Thread Chen-Yu Tsai
On Mon, Feb 15, 2016 at 9:59 PM, Andre Przywara wrote: > Hi Hans, > > > >> >> p.s. >> >> I love the work you've been doing on the A64, I've not had a chance >> to try it out yet though. Have you made any progress with getting >> the mmc slot to work ? If not maybe I

[linux-sunxi] Allwinner A64 MMC support

2016-02-15 Thread Andre Przywara
Hi Hans, > > p.s. > > I love the work you've been doing on the A64, I've not had a chance > to try it out yet though. Have you made any progress with getting > the mmc slot to work ? If not maybe I can make some time I've > prior experience in bringing up the mmc slot on other Allwinner

Re: [linux-sunxi] (Still) breaking DT compatibility

2016-02-15 Thread Hans de Goede
Hi, On 15-02-16 11:16, Andre Przywara wrote: On 12/02/16 18:51, Hans de Goede wrote: Hi, So far I've stayed out of this discussion, but now I feel I have to weigh in: There is no need for this series, device-tree compatibility for sunxi devices is a non issue. No devices ship with dtb files

[linux-sunxi] [PATCH v2 03/10] mfd: axp20x: Add support for AXP809 PMIC

2016-02-15 Thread Chen-Yu Tsai
The X-Powers AXP809 is a new PMIC that is paired with Allwinner's A80 SoC, along with a slave AXP806 PMIC. This PMIC is quite similar to the earlier AXP223, though the interrupts and regulator have changed a bit. This patch adds support for the interrupts and power button of the PMIC.

[linux-sunxi] [PATCH v2 08/10] ARM: dts: sun9i: cubieboard4: Add AXP809 PMIC device node and regulators

2016-02-15 Thread Chen-Yu Tsai
The AXP809 PMIC is the primary PMIC. It provides various supply voltages for the SoC and other peripherals. The PMIC's interrupt line is connected to NMI pin of the SoC. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun9i-a80-cubieboard4.dts | 131 +++-

[linux-sunxi] [PATCH v2 05/10] regulator: axp20x: support AXP809 variant

2016-02-15 Thread Chen-Yu Tsai
The X-Powers AXP809 PMIC has a similar set of regulators as the AXP221, though a few LDOs were removed, and a new switch output added. Like the AXP221, AXP809 also has DC1SW and DC5LDO, which are internally chained to DCDC1 and DCDC5, respectively. Add support for this new variant. Also remove

[linux-sunxi] [PATCH v2 06/10] ARM: dts: sunxi: Add dtsi file for AXP809 PMIC

2016-02-15 Thread Chen-Yu Tsai
The AXP809 PMIC is used with the Allwinner A80 SoC, along with an AXP806 PMIC as a slave. This patch adds a dtsi file for all the common bindings and default values unrelated to board design. Currently this is just listing all the regulator nodes. The regulators are initialized based on their

[linux-sunxi] [PATCH v2 04/10] regulator: axp20x: Use of_match name as default regulator name

2016-02-15 Thread Chen-Yu Tsai
Originally the helper macros used uppercase regulator names, which are primarily used to expand to the regulator ID enum, as the default names. This is aestheticly unpleasent. Since the of_match bits are the same, just lowercase, use that as the default names instead. Signed-off-by: Chen-Yu Tsai

[linux-sunxi] [PATCH v2 01/10] MAINTAINERS: Add entry for X-Powers AXP family PMIC drivers

2016-02-15 Thread Chen-Yu Tsai
Add an entry for X-Powers AXP family PMIC drivers and list myself as maintainer. Cc: Carlo Caione Cc: Maxime Ripard Cc: Ramakrishna Pallala Cc: Todd Brandt Cc: Jacob Pan

[linux-sunxi] [PATCH v2 10/10] ARM: dts: sun9i: cubieboard4: Disable dummy regulators vcc3v0, vcc3v3, vcc5v0

2016-02-15 Thread Chen-Yu Tsai
These 3 regulators are provided in sunxi-common-regulators.dtsi. 3.0V/3.3V and 5.0V are commonly used voltages in Allwinner devices. These dummy regulators provide a stand-in when bindings that require one, but the real regulator is not supported yet. Since these are no longer needed, we can

[linux-sunxi] (Still) breaking DT compatibility (was: [RFC PATCH 0/4] clk: sunxi: fix DT compatibility issues)

2016-02-15 Thread Andre Przywara
On 12/02/16 18:51, Hans de Goede wrote: > Hi, > > So far I've stayed out of this discussion, but now I feel I have to > weigh in: > > There is no need for this series, device-tree compatibility for > sunxi devices is a non issue. No devices ship with dtb files as > part of the bootloader /

[linux-sunxi] [PATCH v3] clk: sunxi: Fix sun8i-a23-apb0-clk divider flags

2016-02-15 Thread Chen-Yu Tsai
The APB0 clock on A23 is a zero-based divider, not a power-of-two based divider. Note that this patch does not apply cleanly to kernels before 4.5-rc1, which added CLK_OF_DECLARE support to this driver. Fixes: 57a1fbf28424 ("clk: sunxi: Add A23 APB0 divider clock support") Signed-off-by: Chen-Yu

[linux-sunxi] Re: [PATCH 10/14] ARM: dts: sun8i-a83t: Add PRCM related clocks and resets

2016-02-15 Thread Chen-Yu Tsai
On Sat, Feb 13, 2016 at 12:43 AM, Chen-Yu Tsai wrote: > On Sat, Feb 13, 2016 at 12:06 AM, Vishnu Patekar > wrote: >> Hello Wens, >> >> >> On Tue, Feb 2, 2016 at 2:44 PM, Chen-Yu Tsai wrote: >>> On Sun, Jan 31, 2016 at 9:21 AM, Vishnu

Re: [linux-sunxi] Re: [PATCH v2 3/5] pinctrl: sunxi: Add H3 R_PIO controller support

2016-02-15 Thread Linus Walleij
On Mon, Feb 15, 2016 at 9:08 AM, Krzysztof Adamski wrote: > On Thu, Feb 11, 2016 at 02:21:15PM +0100, Linus Walleij wrote: >> >> On Tue, Feb 2, 2016 at 10:21 PM, Krzysztof Adamski wrote: >> >>> H3 has additional PIO controller similar to what we can find on A23. >>>

Re: [linux-sunxi] Re: [PATCH v2 3/5] pinctrl: sunxi: Add H3 R_PIO controller support

2016-02-15 Thread Krzysztof Adamski
On Thu, Feb 11, 2016 at 02:21:15PM +0100, Linus Walleij wrote: On Tue, Feb 2, 2016 at 10:21 PM, Krzysztof Adamski wrote: H3 has additional PIO controller similar to what we can find on A23. It's a 12 pin port, described in H3 Datasheet rev 1.1, pages 345-350. Signed-off-by: