[linux-sunxi] [PATCH v3 resend 2/2] mfd: axp20x: Add a cell for the usb power_supply part of the axp20x PMICs

2015-08-01 Thread Hans de Goede
Add a cell for the usb power_supply part of the axp20x PMICs. Note that this cell is only for the usb power_supply part and not the ac-power / battery-charger / rtc-backup-bat-charger bits. Depending on the board each of those must be enabled / disabled separately in devicetree as most boards do

[linux-sunxi] [PATCH v3 resend 1/2] mfd: axp20x: Add missing registers, and mark more registers volatile

2015-08-01 Thread Hans de Goede
From: Bruno Prémont bonb...@linux-vserver.org Add an extra set of registers which is necessary tu support the PMICs battery charger function, and mark registers which contain status bits, gpio status, and adc readings as volatile. Cc: Bruno Prémont bonb...@linux-vserver.org Signed-off-by: Bruno

[linux-sunxi] [PATCH v3 resend 0/2] mfd: axp20x: Add usb-power-supply support

2015-08-01 Thread Hans de Goede
Hi Lee, AFAICT these 2 are ready for merging but I do not see them in mfd/for-mfd-next hence this resend. Thanks, Hans -- You received this message because you are subscribed to the Google Groups linux-sunxi group. To unsubscribe from this group and stop receiving emails from it, send an

Re: Bug#793185: [linux-sunxi] Re: forwarding a bug: cpufreq missing in debian stable on a cuibeboard

2015-08-01 Thread Ian Campbell
On Sat, 2015-08-01 at 10:51 +0100, Ian Campbell wrote: http://git.kernel.org/linus/07949bf9c63c9a80027fe8452d5fe8b9ba9b3c23 I'll see about backporting that to the 4.1 kernel in Debian until we move to 4.2. It turns out that this patch while necessary is not sufficient and I also needed the

Re: [linux-sunxi] Re: [PATCH 5/5] ARM: dts: sun7i: Add dts file for Wits Pro A20 DKT

2015-08-01 Thread Maxime Ripard
On Fri, Jul 31, 2015 at 08:02:40PM +0200, Hans de Goede wrote: Hi, On 31-07-15 18:56, Maxime Ripard wrote: On Fri, Jul 31, 2015 at 06:25:29PM +0800, Chen-Yu Tsai wrote: Note that it's a bit of a pain for now to support such cases, as there's nothing to tie something from the DT to an SDIO

[linux-sunxi] Re: [PATCH] ARM: dts: sun7i: Change cubietruck wifi enable pin to use mmc-pwrseq

2015-08-01 Thread Maxime Ripard
On Fri, Jul 31, 2015 at 05:41:52PM +0200, Hans de Goede wrote: The wifi-enable pin of the ap6210 module is not really a regulator, switch to the mmc-pwrseq framework for controlling it. This more accurately reflects how the hardware actually works. Signed-off-by: Hans de Goede

Re: [linux-sunxi] Re: [PATCH 5/5] ARM: dts: sun7i: Add dts file for Wits Pro A20 DKT

2015-08-01 Thread Maxime Ripard
On Fri, Jul 31, 2015 at 06:13:06PM +0200, Hans de Goede wrote: mmc-pwrseq-simple supports multiple reset/enable gpios (by listing them all as reset-gpios and setting GPIO_ACTIVE_LOW/HIGH depending on which value they need to be to activate things). It also supports listing clocks which need

[linux-sunxi] [PATCH v2] regulator: axp20x: Add module alias

2015-08-01 Thread Ian Campbell
This allows the module to be autoloaded. Together with 07949bf9c63c (cpufreq: dt: allow driver to boot automatically) this is sufficient to allow a modular kernel (such as Debian's) to enable cpufreq on a Cubietruck. Signed-off-by: Ian Campbell i...@hellion.org.uk Cc: Liam Girdwood

Re: [linux-sunxi] [PATCH v3 1/1] sunxi-tools: extend fel utility to handle SPL + U-Boot binary

2015-08-01 Thread Hans de Goede
Hi, On 15-07-15 18:33, Bernhard Nortmann wrote: A patch to extend the fel spl command to properly handle not only the SPL part of a combined u-boot-sunxi-with-spl.bin boot file, but additionally also transfer the main u-boot binary (image) contained within the second part of such files. This

[linux-sunxi] no shutdown pushing the power button

2015-08-01 Thread Leonardo Canducci
My Cubieboard runs Debian Jessie (linux 4.1 from experimental) on a SD card. I'd like to shutdown pushing the power button as I do on my NAND install (wheezy image and linux sunxi 3.4). On Jessie acpi_listen (and journalctl|syslog|dmesg) doesn't register any event when pushing the button while

Re: Bug#793185: [linux-sunxi] Re: forwarding a bug: cpufreq missing in debian stable on a cuibeboard

2015-08-01 Thread Hans de Goede
Hi, On 01-08-15 14:50, Ian Campbell wrote: On Sat, 2015-08-01 at 10:51 +0100, Ian Campbell wrote: http://git.kernel.org/linus/07949bf9c63c9a80027fe8452d5fe8b9ba9b3c23 I'll see about backporting that to the 4.1 kernel in Debian until we move to 4.2. It turns out that this patch while

[linux-sunxi] Re: [PATCH v3 1/4] ARM: dts: Add binding documentation for AXP20x pmic usb power supply

2015-08-01 Thread Hans de Goede
Hi, On 24-07-15 16:59, Sebastian Reichel wrote: Hi, On Fri, Jun 26, 2015 at 12:59:14PM +0200, Hans de Goede wrote: Add binding documentation for the usb power supply part of the AXP20x pmic. [...] +Example: + [...] + + usb_power_supply: usb_power_supply {

[linux-sunxi] Re: [PATCH v3 4/4] power: Add an axp20x-usb-power driver

2015-08-01 Thread Hans de Goede
Hi, On 24-07-15 17:10, Sebastian Reichel wrote: Hi, On Fri, Jun 26, 2015 at 12:59:17PM +0200, Hans de Goede wrote: This adds a driver for the usb power_supply bits of the axp20x PMICs. I initially started writing my own driver, before coming aware of Bruno Prémont's excellent earlier RFC

[linux-sunxi] [PATCH v4 1/2] ARM: dts: Add binding documentation for AXP20x pmic usb power supply

2015-08-01 Thread Hans de Goede
Add binding documentation for the usb power supply part of the AXP20x pmic. Signed-off-by: Hans de Goede hdego...@redhat.com --- Changes in v2: -Split out into a separate patch from the actual driver commit Changes in v4: -s/usb_power_supply/usb-power-supply/ in the dts example code ---

[linux-sunxi] [PATCH v4 2/2] power: Add an axp20x-usb-power driver

2015-08-01 Thread Hans de Goede
This adds a driver for the usb power_supply bits of the axp20x PMICs. I initially started writing my own driver, before coming aware of Bruno Prémont's excellent earlier RFC with a driver for this. My driver was lacking CURRENT_MAX and VOLTAGE_MIN support Bruno's drvier has, so I've copied the

[linux-sunxi] Re: [PATCH v2] mmc: sunxi: Don't start commands while the card is busy

2015-08-01 Thread Hans de Goede
Hi, On 21-07-15 14:15, Ulf Hansson wrote: On 10 July 2015 at 17:14, Hans de Goede hdego...@redhat.com wrote: Some sdio wifi modules have not been working reliable with the sunxi-mmc host code. This turns out to be caused by it starting new commands while the card signals that it is still busy

Re: Bug#793185: [linux-sunxi] Re: forwarding a bug: cpufreq missing in debian stable on a cuibeboard

2015-08-01 Thread Ian Campbell
On Thu, 2015-07-30 at 15:47 +0800, Chen-Yu Tsai wrote: On Sat, Jul 25, 2015 at 11:30 PM, Ian Campbell i...@debian.org wrote: On Sat, 2015-07-25 at 22:54 +0800, Chen-Yu Tsai wrote: On Sat, Jul 25, 2015 at 10:46 PM, Leonardo Canducci leonardo.candu...@gmail.com wrote: I got lost

[linux-sunxi] Re: [PATCH 1/3] phy-sun4i-usb: Add missing EXPORT_SYMBOL for sun4i_usb_phy_set_squelch_detect

2015-08-01 Thread Kishon Vijay Abraham I
Hi, On Friday 31 July 2015 01:31 PM, Hans de Goede wrote: sun4i_usb_phy_set_squelch_detect is used by other code, which may be built as a module, so it should be exported. Signed-off-by: Hans de Goede hdego...@redhat.com --- Changes in v6: -New patch in v6 of the sunxi musb support series