Re: [linux-sunxi] [PATCH] MAINTAINERS: Update Allwinner entry and add new maintainer

2015-10-14 Thread Arnd Bergmann
On Sunday 11 October 2015 17:18:44 Maxime Ripard wrote: > Ah right. I wanted this to be applied directly for 4.3, so I based it > on 4.3-rc4, that didn't have that commit. > > In order to avoid the potential conflicts, I think the ARM-SoC > maintainers should simply merge this one, and I'll drop

[linux-sunxi] [PATCH 5/6] ARM: dts: sun8i: Add NMI interrupt controller node

2015-10-14 Thread Chen-Yu Tsai
The NMI interrupt controller is in charge of the NMI pin exposed by the SoC to the PMIC. The PMIC signals interrupts through this. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun8i-a23-a33.dtsi | 8 1 file changed, 8 insertions(+) diff --git

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

2015-10-14 Thread Chen-Yu Tsai
Hi everyone, This series adds support for the Reduced Serial Bus based AXP223 PMIC. The AXP223 is functionally identical to the AXP221, which we already support. Only some default values for the regulators are different. The defaults fit their recommended application, paired with different SoCs.

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

2015-10-14 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/regulator/axp20x-regulator.c | 3 +++ 1

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

2015-10-14 Thread kbuild test robot
Hi Chen-Yu, [auto build test ERROR on next-20151013 -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/Chen-Yu-Tsai/mfd-axp20x-Add-support-for-RSB-based-AXP223/20151015-004334 config:

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

2015-10-14 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 --- Documentation/devicetree/bindings/mfd/axp20x.txt

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

2015-10-14 Thread Chen-Yu Tsai
The axp20x driver assumes the device is i2c based. This is not the case with later models, which use a proprietary 2 wire serial bus called "Reduced Serial Bus". This patch follows the example of mfd/wm831x and splits it into an interface independet core, and an i2c specific glue layer. The old

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

2015-10-14 Thread Chen-Yu Tsai
This board has a X-Powers AXP223 PMIC connected via RSB. It's 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

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

2015-10-14 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| 12 ++

[linux-sunxi] Re: [PATCH v4 2/5] clk: sunxi: Add a driver for the PLL2

2015-10-14 Thread Chen-Yu Tsai
On Tue, Oct 13, 2015 at 4:43 AM, Maxime Ripard wrote: > The PLL2 on the A10 and later SoCs is the clock used for all the audio > related operations. > > This clock has a somewhat complex output tree, with three outputs (2X, 4X > and 8X) with a fixed divider from

[linux-sunxi] Re: [PATCH v4 3/5] clk: sunxi: pll2: Add A13 support

2015-10-14 Thread Chen-Yu Tsai
On Tue, Oct 13, 2015 at 4:43 AM, Maxime Ripard wrote: > The A13, unlike the A10 and A20, doesn't use a pass-through exception for > the 0 value in the pre and post dividers, but increments all the values > written in the register by one. > > Add an exception for

[linux-sunxi] Re: [PATCH v4 5/5] clk: sunxi: mod1 clock support

2015-10-14 Thread Chen-Yu Tsai
On Tue, Oct 13, 2015 at 4:43 AM, Maxime Ripard wrote: > From: Emilio López > > The module 1 type of clocks consist of a gate and a mux and are used on > the audio blocks to mux and gate the PLL2 outputs for AC97, IIS or > SPDIF. This commit

[linux-sunxi] Re: [PATCH v4 2/5] clk: sunxi: Add a driver for the PLL2

2015-10-14 Thread Chen-Yu Tsai
On Tue, Oct 13, 2015 at 4:43 AM, Maxime Ripard wrote: > The PLL2 on the A10 and later SoCs is the clock used for all the audio > related operations. > > This clock has a somewhat complex output tree, with three outputs (2X, 4X > and 8X) with a fixed divider from

[linux-sunxi] Re: [PATCH v4 2/5] clk: sunxi: Add a driver for the PLL2

2015-10-14 Thread Chen-Yu Tsai
On Wed, Oct 14, 2015 at 5:10 PM, Chen-Yu Tsai wrote: > On Tue, Oct 13, 2015 at 4:43 AM, Maxime Ripard > wrote: >> The PLL2 on the A10 and later SoCs is the clock used for all the audio >> related operations. >> >> This clock has a somewhat complex

Re: [linux-sunxi] Kernel config for OTG on the A20?

2015-10-14 Thread Siarhei Siamashka
d for testing USB OTG on pcDuino2: https://github.com/ssvb/linux-sunxi/commits/20151014-4.3.0-rc5-pcduino2-otg-test It is based on the current 'sunxi-next' branch from https://github.com/linux-sunxi/linux-sunxi and applies a few patches on top of it. This way I get the system successfully boo

[linux-sunxi] Re: [PATCH v4 1/5] clk: Add a basic multiplier clock

2015-10-14 Thread Chen-Yu Tsai
On Tue, Oct 13, 2015 at 4:43 AM, Maxime Ripard wrote: > Some clocks are using a multiplier component, however, unlike their mux, > gate or divider counterpart, these factors don't have a basic clock > implementation. > > This leads to code duplication across

[linux-sunxi] [PATCH sunxi-tools 1/3] Makefile: Prefix most tools with sunxi-

2015-10-14 Thread Ian Campbell
Several of the tools here are too generic and/or short for distro packaging purposes (which like to try and avoid naming clashes in $PATH). Prefix the following with "sunxi-": - fexc - bootinfo - fel - pio - meminfo Do not prefix any of the fel "payloads" or raw binaries since they

[linux-sunxi] [PATCH sunxi-tools 3/3] Makefile: Add an install rule

2015-10-14 Thread Ian Campbell
Allow for separate installation of tools and target-tools, to aid in packaging. By default everything the tools are installed into /usr/local/bin but this can be overridden using PREFIX= or BINDIR= on the make invocation. To enable this it was necessary to split fex2bin and bin2fex out from

[linux-sunxi] [PATCH sunxi-tools 2/3] Makefile: Split out target tools rules

2015-10-14 Thread Ian Campbell
Target tools are those which are only useful on a target sunxi system (i.e. which probe hardware etc). Currently this is only sunxi-pio. At first I thought sunxi-nand-part might be included, but I think that is useful on NAND images as well as actual devices. This will allow for easier

Re: [linux-sunxi] sunxi-tools: tagging a new release?

2015-10-14 Thread Ian Campbell
On Sun, 2015-10-11 at 21:11 +0200, Peter Korsgaard wrote: > > "Ian" == Ian Campbell writes: > > Hi, > > > The Debian package (of v1.2-ish) has: > > install -m0755 usb-boot $(PKG)/usr/bin/sunxi-usb-boot > > install -m0755 fel $(PKG)/usr/bin/sunxi-fel >

[linux-sunxi] [PATCH sunxi-tools 0/3] Add sunxi- prefixes to tools, and add an install target

2015-10-14 Thread Ian Campbell
As discussed in https://groups.google.com/forum/#!topic/linux-sunxi/skn-959DYHU and specifically https://groups.google.com/d/msg/linux-sunxi/skn-959DYHU/w6YGlnfbAwAJ he re are some patches to add a sunxi- prefix to (most) tools and to add an install target. Ian. -- You received this message

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

2015-10-14 Thread kbuild test robot
Hi Chen-Yu, [auto build test ERROR on next-20151013 -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/Chen-Yu-Tsai/mfd-axp20x-Add-support-for-RSB-based-AXP223/20151015-004334 config: x86_64-allmodconfig

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

2015-10-14 Thread kbuild test robot
Hi Chen-Yu, [auto build test ERROR on next-20151013 -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/Chen-Yu-Tsai/mfd-axp20x-Add-support-for-RSB-based-AXP223/20151015-004334 config: x86_64-allmodconfig

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

2015-10-14 Thread Julian Calaby
Hi Chen-Yu, On Thu, Oct 15, 2015 at 3:32 AM, Chen-Yu Tsai wrote: > The axp20x driver assumes the device is i2c based. This is not the > case with later models, which use a proprietary 2 wire serial bus > called "Reduced Serial Bus". > > This patch follows the example of mfd/wm831x