On Tue, 5 Jul 2016 11:25:10 +0200 Maxime Ripard wrote:
> On Tue, Jul 05, 2016 at 04:33:31PM +0800, Icenowy Zheng wrote:
> >
> >
> > 05.07.2016, 13:26, "Michael Haas" :
> > > Hi,
> > >
> > > nice work! Is this in any way related to Bruno Prémonts driver for the
> > >
On Tue, 05 Jul 2016 16:47:38 +0800 Icenowy Zheng wrote:
> I read the datasheet of axp20x, and then found that this driver does
> not support backup RTC battery.
> (But maybe backup battery do not need a driver -- at least on IBM PC
> it has no driver)
A driver is needed to enable/disable the RTC
Hello Michael,
On Thu, 31 Mar 2016 08:41:57 +0200 Michael Haas wrote:
> Hello,
>
> (adding Bruno to CC)
Thanks for CCing, as I currently catch up with mailing list rather
sporadically!
> On 03/31/2016 08:24 AM, Chen-Yu Tsai wrote:
> >>
> >> Is anyone working on that? If not, I'll get started.
-08-15 22:11, Bruno Prémont wrote:
This is all my changes to port my original driver on top of Hans' work.
Before anything of this can be merged a few steps are still needed:
- split big patch in a series
- rtc/ac supplies: document DT bindings
- battery driver: implement missing parts
) += wm831x_power.o
diff --git a/drivers/power/axp20x_ac_power.c b/drivers/power/axp20x_ac_power.c
index e69de29..d8ecde6 100644
--- a/drivers/power/axp20x_ac_power.c
+++ b/drivers/power/axp20x_ac_power.c
@@ -0,0 +1,203 @@
+/*
+ * AXP20x PMIC AC power driver
+ *
+ * Copyright 2014-2015 Bruno Prémont bonb
On Sat, 1 Aug 2015 09:25:17 Hans de Goede hdego...@redhat.com wrote:
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
On Fri, 31 Jul 2015 14:14:28 +0800 Chen-Yu Tsai wrote:
On Fri, Jul 31, 2015 at 1:51 PM, Bruno Prémont wrote:
Hi ChenYu,
On Fri, 31 Jul 2015 13:31:53 +0800 Chen-Yu Tsai wrote:
Hi Hans,
On Wed, Jun 10, 2015 at 5:37 AM, Hans de Goede wrote:
Add a node representing the usb power supply
Hi ChenYu,
On Fri, 31 Jul 2015 13:31:53 +0800 Chen-Yu Tsai wrote:
Hi Hans,
On Wed, Jun 10, 2015 at 5:37 AM, Hans de Goede hdego...@redhat.com wrote:
Add a node representing the usb power supply part of the axp209 pmic, note
that the usb power supply and the (to be added later) ac power
devicetree nodes can reference the right power-supply, and thus each one
will get its own mfd-cell / platform_device and platform-driver.
Cc: Bruno Prémont bonb...@linux-vserver.org
Acked-by: Lee Jones lee.jo...@linaro.org
Signed-off-by: Bruno Prémont bonb...@linux-vserver.org
Signed
Hi Simo,
On Wed, 18 Feb 2015 07:15:22 +0200 Siarhei Siamashka wrote:
On Wed, 18 Feb 2015 07:08:42 +0200 Siarhei Siamashka wrote:
On Fri, 13 Feb 2015 09:04:48 -0800 (PST) Simo Xefil wrote:
There are surely plenty of ways to clear the framebuffer. And you can
also even make a copy of the old
On Tue, 13 January 2015 Dave McLaughlin davemclaughli...@gmail.com wrote:
I am running Android sunxi-linux 3.4 and on boot up, with battery power
only, I see the following in the debug output.
[0.148] boot1 version : 2.0.0
[0.149] script installed early ok
[0.149] pmu type = 3
[0.253] bat
Hi,
On Fri, 19 December 2014 nilsnu...@gmail.com wrote:
I use lilo on x86/64 PC from 2002.
Why it doesnt work on allwinner ? What is the problem ?
I want try mainline kernel, is it possible to select kernel on boot ?
Something similar to lilo\grub.
Lilo has its core bootloader part
On Sat, 08 November 2014 Bruno Prémont wrote:
Since I have my Cubietruck, be it with 3.4 kernels or with mainline
kernels I've been experiencing unstable TCP connections.
The symptoms are stalling connections (usually SSH connections to the
Cubietruck) that have nearly no chance
Hi Hans,
On Mon, 10 November 2014 Hans de Goede wrote:
On 11/08/2014 08:34 PM, Bruno Prémont wrote:
Since updating my cubietruck to u-boot-2014.10 the SATA hard drive
connected to it performs emergency head parking around the time
uboot hands over control to kernel (or kernel is booting
Hi Ezaul,
On Tue, 04 November 2014 Ezaul Zillmer ezaulzill...@gmail.com wrote:
Cubieboard2 + Kernel 3.18-rc3
[ 15.955655] axp20x-regulator axp20x-regulator: regulators node not found
[ 15.962580] LDO1: 1300 mV
[ 15.965732] LDO2: at 3000 mV
[ 15.969120] LDO3: at 2275 mV
[
Hi Maxime,
On Tue, 21 October 2014 Maxime Ripard maxime.rip...@free-electrons.com wrote:
On Tue, Oct 21, 2014 at 06:09:16PM +0200, Bruno Prémont wrote:
On Tue, 21 October 2014 Lee Jones lee.jo...@linaro.org wrote:
On Mon, 20 Oct 2014, Bruno Prémont wrote:
---
Note: the OCV values
On Thu, 23 October 2014 Edgar Toernig fro...@gmx.de wrote:
+ getnstimeofday(ts);
+ /* only query hardware if our data is stale */
+ spin_lock(devdata-lock);
+ if (!init !(ts.tv_sec devdata-next_check.tv_sec ||
+ ts.tv_nsec devdata-next_check.tv_sec)) {
+
Hi Maxime,
On Tue, 04 November 2014 Maxime Ripard maxime.rip...@free-electrons.com wrote:
On Mon, Nov 03, 2014 at 09:02:44PM +0100, Bruno Prémont wrote:
Doing something like this?:
--- a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
+++ b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
for X-Powers AXP20x PMICs
+ *
+ * Copyright 2014 Bruno Prémont bonb...@linux-vserver.org
+ *
+ * This file is subject to the terms and conditions of the GNU General
+ * Public License. See the file COPYING in the main directory of this
+ * archive for more details.
+ *
+ * This program is distributed
This series adds a power-supply driver to cover backup/RTC battery
charger, VBUS/OTG power in, AC power in and battery charger features
supported by AXP20x PMIC.
The DT bindings documentation patch depends on the following patch
from Carlo Caione:
---
arch/arm/boot/dts/sun7i-a20-cubietruck.dts |4 +
1 files changed, 2 insertions(+), 0 deletion(-)
diff --git a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
index a6c1a3c..efb65fb 100644
--- a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
+++
Hey Olliver,
For mainline I wrote a driver for the power supply part some time ago
and posted it here (it's referenced from the mainlining page on the WIKI).
It covers ACIN, BATTERY and VBUS power supplies with both current and
voltage measurements. For battery it could also provide temperature
Hello,
On Fri, 3 Oct 2014 04:55:22 -0700 (PDT) Markus Rathgeb wrote:
Thank you for your work!
Is there a git repository the changes could be found (to simplify merging /
cherry-picking)?
Is there some progress to get that mainline?
I've been waiting for some feed-back from sunxi community
On Fri, 19 September 2014 Dave McLaughlin davemclaughli...@gmail.com wrote:
With an A20 board I have found that if I power up with external DC
connected, the battery shows the correct charge percentage. If I run on
batter and make sure it never sleeps (through the app I am developing) it
voltage for one of
the first readings by AXP.
Those pmu_bat_para* values are used under the name of OCV (which I understand
as open-circuit-voltage in their context).
Bruno
Dave...
On Saturday, 20 September 2014 16:09:35 UTC+7, Bruno Prémont wrote:
What are the battery voltage
subdrivers (e.g. pek input driver, power_supply drivers, regulators, ...).
Bruno
On Mon, Aug 4, 2014 at 4:20 PM, Bruno Prémont bonb...@linux-vserver.org
wrote:
Hi,
Attached code is a little program to decode AXP20x registers and present
their values in a readable way.
By default it looks
Hi,
Attached code is a little program to decode AXP20x registers and present
their values in a readable way.
By default it looks for AXP20x mfd driver's regmap in sysfs.
Not all registers are being decoded yet (missing are e.g. GPIOs).
Some undocumented registers are mentioned (e.g. OCV values,
driver for X-Powers AXP20x PMICs
+ *
+ * Copyright 2014 Bruno Prémont bonb...@linux-vserver.org
+ *
+ * This file is subject to the terms and conditions of the GNU General
+ * Public License. See the file COPYING in the main directory of this
+ * archive for more details.
+ *
+ * This program
28 matches
Mail list logo