[linux-sunxi] Re: [PATCH v7 04/10] mfd: axp20x: Add missing copyright notice

2016-01-13 Thread Carlo Caione
On Wed, Jan 13, 2016 at 4:30 AM, Chen-Yu Tsai <w...@csie.org> wrote: > When the driver was merged, the original author did not include a proper > copyright notice. This patch adds the notice, backdated to when the > driver was merged. > > Cc: Carlo Caione <ca...@caione.or

Re: [linux-sunxi] [PATCH] Input: axp20x-pek: Add module alias

2015-08-03 Thread Carlo Caione
On Mon, Aug 3, 2015 at 9:48 AM, Chen-Yu Tsai w...@csie.org wrote: Add a proper module alias so the driver can be autoloaded when the parent axp20x mfd driver registers its cells. Signed-off-by: Chen-Yu Tsai w...@csie.org Acked-by: Carlo Caione ca...@caione.org Thanks, -- Carlo Caione

Re: [linux-sunxi] Re: [PATCH] input: axp20x-pek: Fix reporting button state as inverted

2015-06-24 Thread Carlo Caione
anymore) Acked-by: Carlo Caione ca...@caione.org -- Carlo Caione -- 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 email to linux-sunxi+unsubscr...@googlegroups.com

Re: [linux-sunxi] Re: 2015 SBC survey by Linux Foundation/LinuxGizmos

2015-06-16 Thread Carlo Caione
a good news. Some of the Amlogic chips look good spec-wise. Yep :) Sorry for the OT, -- Carlo Caione -- 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 email to linux-sunxi

Re: [linux-sunxi] Lemon Pi on Indiegogo campaign,$35 ARM Quad-core A9 and Imagination PowerVR SGX544 open source board

2015-05-27 Thread Carlo Caione
are not as far advanced: http://linux-meson.com/doku.php#community Well, things are going on actually. Really slowly since I'm basically the only one working on it, but they are going on. -- Carlo Caione -- You received this message because you are subscribed to the Google Groups linux-sunxi

Re: [linux-sunxi] [PATCH v8 0/6] mfd: AXP20x: Add support for AXP202 and AXP209

2014-12-24 Thread Carlo Caione
On Tue, Dec 23, 2014 at 3:53 AM, Chen-Yu Tsai w...@csie.org wrote: Hi everyone, Hi ChenYu, Thank you very much for respinning this. -- Carlo Caione -- You received this message because you are subscribed to the Google Groups linux-sunxi group. To unsubscribe from this group and stop

Re: [linux-sunxi] Re: [PATCH v7 0/6] mfd: AXP20x: Add support for AXP202 and AXP209

2014-10-22 Thread Carlo Caione
On Wed, Oct 22, 2014 at 09:59:29AM +0200, Maxime Ripard wrote: On Wed, Oct 22, 2014 at 08:28:42AM +0200, Bruno Prémont wrote: On Sun, 29 Jun 2014 20:23:51 +0200 Carlo Caione wrote: During the merging of v6 several patches were left out. This v7 comprises all the patches that are still

Re: [linux-sunxi] Re: GPL Violations round-up.

2014-09-22 Thread Carlo Caione
already submitted to LKML for Meson6 and Meson8 architectures. I'm in contact with a couple of engineers in Amlogic and they seem willing to help the community. They also promised to provide me with all the documentation I need. We will see. -- Carlo Caione -- You received this message because

Re: [linux-sunxi] Compiling android kernel using android source files

2014-07-24 Thread Carlo Caione
linux-sunxi right? -- Carlo Caione -- 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 email to linux-sunxi+unsubscr...@googlegroups.com. For more options, visit https

Re: [linux-sunxi] Compiling android kernel using android source files

2014-07-24 Thread Carlo Caione
things on topic. FWIW I already proposed in the irc channel to create a ml specifically for kernel development (on vger maybe?) Aaas usual IMHO, Ciao :) -- Carlo Caione -- You received this message because you are subscribed to the Google Groups linux-sunxi group. To unsubscribe from

[linux-sunxi] Re: [PATCH v7 3/6] input: misc: Add driver for AXP20x Power Enable Key

2014-06-30 Thread Carlo Caione
. Regards, -- Carlo Caione -- 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 email to linux-sunxi+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d

[linux-sunxi] [PATCH v7 2/6] dt-bindings: add vendor-prefix for X-Powers

2014-06-29 Thread Carlo Caione
Signed-off-by: Carlo Caione ca...@caione.org --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index 46a311e..0d5a80c 100644

[linux-sunxi] [PATCH v7 4/6] input: misc: Add ABI docs for AXP20x PEK

2014-06-29 Thread Carlo Caione
Add ABI entries for the PEK found on PMU X-Powers AXP202 and AXP209. Signed-off-by: Carlo Caione ca...@caione.org --- Documentation/ABI/testing/sysfs-driver-input-axp-pek | 11 +++ 1 file changed, 11 insertions(+) create mode 100644 Documentation/ABI/testing/sysfs-driver-input-axp-pek

[linux-sunxi] [PATCH v7 1/6] mfd: AXP20x: Add bindings documentation

2014-06-29 Thread Carlo Caione
Bindings documentation for the AXP20x driver. In this file also sub-nodes are documented. Signed-off-by: Carlo Caione ca...@caione.org Acked-by: Maxime Ripard maxime.rip...@free-electrons.com --- Documentation/devicetree/bindings/mfd/axp20x.txt | 93 1 file changed, 93

[linux-sunxi] [PATCH v7 5/6] ARM: sunxi: Add AXP20x support in defconfig

2014-06-29 Thread Carlo Caione
Signed-off-by: Carlo Caione ca...@caione.org --- arch/arm/configs/sunxi_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/configs/sunxi_defconfig b/arch/arm/configs/sunxi_defconfig index 7209bfd..acf465f 100644 --- a/arch/arm/configs/sunxi_defconfig +++ b/arch/arm/configs

[linux-sunxi] [PATCH v7 0/6] mfd: AXP20x: Add support for AXP202 and AXP209

2014-06-29 Thread Carlo Caione
in the MFD cell Changes since v5: - Added ACKs - Fixed compilation warning (reported by Hans De Goede) - Vendor-prefixes are now sorted - Removed DT patch Carlo Caione (6): mfd: AXP20x: Add bindings documentation dt-bindings: add vendor-prefix for X-Powers input

[linux-sunxi] [PATCH v7 6/6] ARM: sunxi: Add AXP20x support multi_v7_defconfig

2014-06-29 Thread Carlo Caione
Signed-off-by: Carlo Caione ca...@caione.org --- arch/arm/configs/multi_v7_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index be1a345..d79418e 100644 --- a/arch/arm/configs/multi_v7_defconfig +++ b/arch

Re: [linux-sunxi] Re: [PATCH v6 3/7] mfd: AXP20x: Add bindings documentation

2014-06-21 Thread Carlo Caione
On Wed, Jun 18, 2014 at 11:06 AM, Lee Jones lee.jo...@linaro.org wrote: On 19/05/2014 21:47, Carlo Caione wrote: Bindings documentation for the AXP20x driver. In this file also sub-nodes are documented. I think this patch has been forgotten (I didn't find it in linus' tree or linux-next

Re: [linux-sunxi] Re: [PATCH v6 0/7] mfd: AXP20x: Add support for AXP202 and AXP209

2014-05-22 Thread Carlo Caione
apply no problem. Hi Lee, I'd say #1 for the MFD tree, #4 for the input subsystem, #2 #3 and #5 are documentations, #6 and #7 defconfigs add-on. Thanks, -- Carlo Caione -- You received this message because you are subscribed to the Google Groups linux-sunxi group. To unsubscribe from this group

[linux-sunxi] Re: [PATCH v6 0/7] mfd: AXP20x: Add support for AXP202 and AXP209

2014-05-21 Thread Carlo Caione
On Wed, May 21, 2014 at 12:23 AM, Mark Brown broo...@kernel.org wrote: On Mon, May 19, 2014 at 09:47:41PM +0200, Carlo Caione wrote: This set of patches introduces the core driver and support for two different subsystems: - Regulators .../ABI/testing/sysfs-driver-input-axp-pek

Re: [linux-sunxi] Re: [PATCH v5 4/8] input: misc: Add driver for AXP20x Power Enable Key

2014-05-19 Thread Carlo Caione
On Mon, May 19, 2014 at 7:57 AM, Dmitry Torokhov dmitry.torok...@gmail.com wrote: On Fri, May 02, 2014 at 06:06:04PM -0700, Maxime Ripard wrote: On Thu, May 01, 2014 at 02:29:30PM +0200, Carlo Caione wrote: This patch add support for the Power Enable Key found on MFD AXP202 and AXP209

Re: [linux-sunxi] [PATCH] regulator: AXP20x: fix wrong call to of_find_node_by_name

2014-05-19 Thread Carlo Caione
node that is not related to the axp20x PMIC. Signed-off-by: Boris BREZILLON boris.brezil...@free-electrons.com --- Acked-by: Carlo Caione ca...@caione.org Thank you, -- Carlo Caione -- You received this message because you are subscribed to the Google Groups linux-sunxi group

[linux-sunxi] [PATCH v6 1/7] mfd: AXP20x: Add mfd driver for AXP20x PMIC

2014-05-19 Thread Carlo Caione
Key) - Regulators Signed-off-by: Carlo Caione ca...@caione.org Acked-by: Lee Jones lee.jo...@linaro.org Acked-by: Maxime Ripard maxime.rip...@free-electrons.com --- drivers/mfd/Kconfig| 12 +++ drivers/mfd/Makefile | 1 + drivers/mfd/axp20x.c | 258

[linux-sunxi] [PATCH v6 7/7] ARM: sunxi: Add AXP20x support multi_v7_defconfig

2014-05-19 Thread Carlo Caione
Signed-off-by: Carlo Caione ca...@caione.org --- arch/arm/configs/multi_v7_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index d4e8a47..5aeea19 100644 --- a/arch/arm/configs/multi_v7_defconfig +++ b/arch

[linux-sunxi] [PATCH v6 3/7] mfd: AXP20x: Add bindings documentation

2014-05-19 Thread Carlo Caione
Bindings documentation for the AXP20x driver. In this file also sub-nodes are documented. Signed-off-by: Carlo Caione ca...@caione.org Acked-by: Maxime Ripard maxime.rip...@free-electrons.com --- Documentation/devicetree/bindings/mfd/axp20x.txt | 93 1 file changed, 93

[linux-sunxi] [PATCH v6 5/7] input: misc: Add ABI docs for AXP20x PEK

2014-05-19 Thread Carlo Caione
Add ABI entries for the PEK found on PMU X-Powers AXP202 and AXP209. Signed-off-by: Carlo Caione ca...@caione.org --- Documentation/ABI/testing/sysfs-driver-input-axp-pek | 11 +++ 1 file changed, 11 insertions(+) create mode 100644 Documentation/ABI/testing/sysfs-driver-input-axp-pek

Re: [linux-sunxi] Re: [PATCH v4 6/9] regulator: AXP20x: Add support for regulators subsystem

2014-05-16 Thread Carlo Caione
On Thu, May 15, 2014 at 8:03 PM, Boris BREZILLON boris.brezil...@free-electrons.com wrote: Hello Carlo, On 11/04/2014 11:38, Carlo Caione wrote: AXP202 and AXP209 come with two synchronous step-down DC-DCs and five LDOs. This patch introduces basic support for those regulators. Signed-off

Re: [linux-sunxi] Re: [PATCH 0/2] ARM: sunxi: Enable syscon for the system controller

2014-05-08 Thread Carlo Caione
of this? If it's easier for you to keep the syscon at the moment for whateever driver you're working on before submitting it, I'm fine with it, but I'm not going to merge it right now either. It's fine with me. Thank you for your review, -- Carlo Caione -- You received this message because you

Re: [linux-sunxi] Re: [PATCH 0/2] ARM: sunxi: Enable syscon for the system controller

2014-05-07 Thread Carlo Caione
On Wed, May 7, 2014 at 5:25 AM, Maxime Ripard maxime.rip...@free-electrons.com wrote: On Tue, May 06, 2014 at 10:03:19AM +0200, Carlo Caione wrote: On Tue, May 6, 2014 at 8:36 AM, Chen-Yu Tsai w...@csie.org wrote: Hi, Hi, On Tue, May 6, 2014 at 6:55 AM, Maxime Ripard maxime.rip...@free

Re: [linux-sunxi] Re: [PATCH v5 8/8] ARM: sun7i/sun4i: dt: Add AXP209 support to various boards

2014-05-06 Thread Carlo Caione
On Tue, May 6, 2014 at 12:51 AM, Maxime Ripard maxime.rip...@free-electrons.com wrote: On Sat, May 03, 2014 at 02:21:06PM +0200, Carlo Caione wrote: On Sat, May 3, 2014 at 3:09 AM, Maxime Ripard maxime.rip...@free-electrons.com wrote: Hi, On Thu, May 01, 2014 at 02:29:34PM +0200, Carlo

Re: [linux-sunxi] Re: [PATCH 0/2] ARM: sunxi: Enable syscon for the system controller

2014-05-06 Thread Carlo Caione
On Tue, May 6, 2014 at 8:36 AM, Chen-Yu Tsai w...@csie.org wrote: Hi, Hi, On Tue, May 6, 2014 at 6:55 AM, Maxime Ripard maxime.rip...@free-electrons.com wrote: On Sun, May 04, 2014 at 04:02:38PM +0200, Carlo Caione wrote: The so called system controller in Allwinner A20 and A31 SoCs

[linux-sunxi] [PATCH 0/2] ARM: sunxi: Enable syscon for the system controller

2014-05-04 Thread Carlo Caione
the proper nodes in the DTS files and enable the syscon in the defconfig files. Even though the system controller includes also register for managing the NMI controller, these register are not mapped in the syscon since they are directly used and mapped by the NMI controller itself. Carlo Caione (2

[linux-sunxi] [PATCH 1/2] ARM: sunxi: dts: Enable syscon in DTSI

2014-05-04 Thread Carlo Caione
This patch adds the proper nodes in the DTSI files for Allwinner A20 and A31. Signed-off-by: Carlo Caione ca...@caione.org --- arch/arm/boot/dts/sun6i-a31.dtsi | 5 + arch/arm/boot/dts/sun7i-a20.dtsi | 5 + 2 files changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/sun6i-a31.dtsi

[linux-sunxi] [PATCH 2/2] ARM: sunxi: Add syscon support in defconfig

2014-05-04 Thread Carlo Caione
Signed-off-by: Carlo Caione ca...@caione.org --- arch/arm/configs/multi_v7_defconfig | 1 + arch/arm/configs/sunxi_defconfig| 1 + 2 files changed, 2 insertions(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index d4e8a47..d04fef5 100644 --- a/arch

Re: [linux-sunxi] Re: [PATCH v5 8/8] ARM: sun7i/sun4i: dt: Add AXP209 support to various boards

2014-05-03 Thread Carlo Caione
On Sat, May 3, 2014 at 3:09 AM, Maxime Ripard maxime.rip...@free-electrons.com wrote: Hi, On Thu, May 01, 2014 at 02:29:34PM +0200, Carlo Caione wrote: Signed-off-by: Hans de Goede hdego...@redhat.com Signed-off-by: Carlo Caione ca...@caione.org --- arch/arm/boot/dts/sun4i-a10-a1000.dts

[linux-sunxi] Re: [PATCH v5 2/8] dt-bindings: add vendor-prefix for X-Powers

2014-05-02 Thread Carlo Caione
On Fri, May 2, 2014 at 7:24 AM, Michal Simek mon...@monstr.eu wrote: On 05/01/2014 02:29 PM, Carlo Caione wrote: Signed-off-by: Carlo Caione ca...@caione.org --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation

Re: [linux-sunxi] Re: [PATCH v5 1/8] mfd: AXP20x: Add mfd driver for AXP20x PMIC

2014-05-02 Thread Carlo Caione
of Allwinner. The core enables support for two subsystems: - PEK (Power Enable Key) - Regulators Signed-off-by: Carlo Caione ca...@caione.org Acked-by: Lee Jones lee.jo...@linaro.org --- I guess I can just apply this and expect not to see any adverse symptoms? It has been tested with a sun7i

[linux-sunxi] [PATCH v5 0/8] mfd: AXP20x: Add support for AXP202 and AXP209

2014-05-01 Thread Carlo Caione
- MFD core: * The supply regulators are now specified in the MFD driver using regulator_bulk_register_supply_alias() and the .parent_supplies in the MFD cell Carlo Caione (8): mfd: AXP20x: Add mfd driver for AXP20x PMIC dt-bindings: add vendor-prefix for X-Powers

[linux-sunxi] [PATCH v5 1/8] mfd: AXP20x: Add mfd driver for AXP20x PMIC

2014-05-01 Thread Carlo Caione
Key) - Regulators Signed-off-by: Carlo Caione ca...@caione.org Acked-by: Lee Jones lee.jo...@linaro.org --- There is still a small bug in the MFD core that causes hitting the WARN_ON(!list_empty(dev-devres_head)); in linux/drivers/base/dd.c#L272 when using the regulator_bulk_register_supply_alias

[linux-sunxi] [PATCH v5 3/8] mfd: AXP20x: Add bindings documentation

2014-05-01 Thread Carlo Caione
Bindings documentation for the AXP20x driver. In this file also sub-nodes are documented. Signed-off-by: Carlo Caione ca...@caione.org --- Documentation/devicetree/bindings/mfd/axp20x.txt | 93 1 file changed, 93 insertions(+) create mode 100644 Documentation/devicetree

[linux-sunxi] [PATCH v5 2/8] dt-bindings: add vendor-prefix for X-Powers

2014-05-01 Thread Carlo Caione
Signed-off-by: Carlo Caione ca...@caione.org --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index abc3080..792cf56 100644

[linux-sunxi] [PATCH v5 4/8] input: misc: Add driver for AXP20x Power Enable Key

2014-05-01 Thread Carlo Caione
This patch add support for the Power Enable Key found on MFD AXP202 and AXP209. Besides the basic support for the button, the driver adds two entries in sysfs to configure the time delay for power on/off. Signed-off-by: Carlo Caione ca...@caione.org --- drivers/input/misc/Kconfig | 11

[linux-sunxi] [PATCH v5 6/8] ARM: sunxi: Add AXP20x support in defconfig

2014-05-01 Thread Carlo Caione
Signed-off-by: Carlo Caione ca...@caione.org --- arch/arm/configs/sunxi_defconfig | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/configs/sunxi_defconfig b/arch/arm/configs/sunxi_defconfig index b5df4a5..6e305da 100644 --- a/arch/arm/configs/sunxi_defconfig +++ b/arch/arm/configs

[linux-sunxi] [PATCH v5 7/8] ARM: sunxi: Add AXP20x support multi_v7_defconfig

2014-05-01 Thread Carlo Caione
Signed-off-by: Carlo Caione ca...@caione.org --- arch/arm/configs/multi_v7_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index d4e8a47..5aeea19 100644 --- a/arch/arm/configs/multi_v7_defconfig +++ b/arch

[linux-sunxi] [PATCH v5 5/8] input: misc: Add ABI docs for AXP20x PEK

2014-05-01 Thread Carlo Caione
Add ABI entries for the PEK found on PMU X-Powers AXP202 and AXP209. Signed-off-by: Carlo Caione ca...@caione.org --- Documentation/ABI/testing/sysfs-driver-input-axp-pek | 11 +++ 1 file changed, 11 insertions(+) create mode 100644 Documentation/ABI/testing/sysfs-driver-input-axp-pek

[linux-sunxi] [PATCH v5 8/8] ARM: sun7i/sun4i: dt: Add AXP209 support to various boards

2014-05-01 Thread Carlo Caione
Signed-off-by: Hans de Goede hdego...@redhat.com Signed-off-by: Carlo Caione ca...@caione.org --- arch/arm/boot/dts/sun4i-a10-a1000.dts | 58 ++ arch/arm/boot/dts/sun4i-a10-cubieboard.dts | 58 ++ arch/arm/boot/dts/sun4i-a10-hackberry.dts

[linux-sunxi] Re: [PATCH v4 7/9] ARM: sun7i/sun4i: dt: Add AXP209 support to various boards

2014-04-23 Thread Carlo Caione
On Fri, Apr 18, 2014 at 04:15:51PM +0100, Mark Brown wrote: On Thu, Apr 17, 2014 at 12:06:34PM +0200, Carlo Caione wrote: I'm fighting with a small issue when using the regulator_bulk_register_supply_alias(). Problem is that when using the .parent_supplies entry in the MFD driver, I hit

[linux-sunxi] Re: [PATCH v4 7/9] ARM: sun7i/sun4i: dt: Add AXP209 support to various boards

2014-04-17 Thread Carlo Caione
On Fri, Apr 11, 2014 at 6:18 PM, Mark Brown broo...@kernel.org wrote: On Fri, Apr 11, 2014 at 03:04:32PM +0200, Carlo Caione wrote: On Fri, Apr 11, 2014 at 2:29 PM, Mark Brown broo...@kernel.org wrote: + regulators

Re: [linux-sunxi] Re: [PATCH v3 01/10] mfd: AXP20x: Add mfd driver for AXP20x PMIC

2014-04-11 Thread Carlo Caione
, please comment it in the v4. Thanks, -- Carlo Caione -- 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 email to linux-sunxi+unsubscr...@googlegroups.com. For more options

[linux-sunxi] [PATCH v4 9/9] ARM: sunxi: Add AXP20x support multi_v7_defconfig

2014-04-11 Thread Carlo Caione
Signed-off-by: Carlo Caione ca...@caione.org --- arch/arm/configs/multi_v7_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index ee69829..239c014 100644 --- a/arch/arm/configs/multi_v7_defconfig +++ b/arch

[linux-sunxi] [PATCH v4 5/9] input: misc: Add ABI docs for AXP20x PEK

2014-04-11 Thread Carlo Caione
Add ABI entries for the PEK found on PMU X-Powers AXP202 and AXP209. Signed-off-by: Carlo Caione ca...@caione.org --- Documentation/ABI/testing/sysfs-driver-input-axp-pek | 11 +++ 1 file changed, 11 insertions(+) create mode 100644 Documentation/ABI/testing/sysfs-driver-input-axp-pek

[linux-sunxi] [PATCH v4 3/9] mfd: AXP20x: Add bindings documentation

2014-04-11 Thread Carlo Caione
Bindings documentation for the AXP20x driver. In this file also sub-nodes are documented. Signed-off-by: Carlo Caione ca...@caione.org --- Documentation/devicetree/bindings/mfd/axp20x.txt | 96 1 file changed, 96 insertions(+) create mode 100644 Documentation/devicetree

[linux-sunxi] [PATCH v4 6/9] regulator: AXP20x: Add support for regulators subsystem

2014-04-11 Thread Carlo Caione
AXP202 and AXP209 come with two synchronous step-down DC-DCs and five LDOs. This patch introduces basic support for those regulators. Signed-off-by: Carlo Caione ca...@caione.org --- drivers/regulator/Kconfig| 7 + drivers/regulator/Makefile | 1 + drivers/regulator

[linux-sunxi] [PATCH v4 4/9] input: misc: Add driver for AXP20x Power Enable Key

2014-04-11 Thread Carlo Caione
This patch add support for the Power Enable Key found on MFD AXP202 and AXP209. Besides the basic support for the button, the driver adds two entries in sysfs to configure the time delay for power on/off. Signed-off-by: Carlo Caione ca...@caione.org --- drivers/input/misc/Kconfig | 11

Re: [linux-sunxi] Re: [PATCH v4 1/9] mfd: AXP20x: Add mfd driver for AXP20x PMIC

2014-04-11 Thread Carlo Caione
On Fri, Apr 11, 2014 at 1:25 PM, Arnd Bergmann a...@arndb.de wrote: On Friday 11 April 2014 11:38:05 Carlo Caione wrote: +#define AXP20X_IRQ(_irq, _off, _mask) \ + [AXP20X_IRQ_##_irq] = { .reg_offset = (_off), .mask = BIT(_mask) } + +static const struct regmap_irq axp20x_regmap_irqs

Re: [linux-sunxi] Re: [PATCH v4 6/9] regulator: AXP20x: Add support for regulators subsystem

2014-04-11 Thread Carlo Caione
On Fri, Apr 11, 2014 at 2:23 PM, Mark Brown broo...@kernel.org wrote: On Fri, Apr 11, 2014 at 11:38:10AM +0200, Carlo Caione wrote: AXP202 and AXP209 come with two synchronous step-down DC-DCs and five LDOs. This patch introduces basic support for those regulators. Applied, thanks, but I had

Re: [linux-sunxi] Re: [PATCH v3 04/10] input: misc: Add driver for AXP20x Power Enable Key

2014-03-29 Thread Carlo Caione
On Fri, Mar 28, 2014 at 12:38:03AM -0700, Dmitry Torokhov wrote: Hi Carlo, Hi Dmitry, On Thu, Mar 27, 2014 at 10:29:18PM +0100, Carlo Caione wrote: [...] +#include linux/errno.h +#include linux/irq.h +#include linux/init.h +#include linux/input.h +#include linux/interrupt.h

Re: [linux-sunxi] Re: [PATCH v3 06/10] regulator: AXP20x: Add support for regulators subsystem

2014-03-29 Thread Carlo Caione
On Fri, Mar 28, 2014 at 01:39:34PM +, Mark Brown wrote: On Thu, Mar 27, 2014 at 10:29:20PM +0100, Carlo Caione wrote: +static int axp20x_set_suspend_voltage(struct regulator_dev *rdev, int uV) +{ + int sel = regulator_map_voltage_iterate(rdev, uV, uV); + + if (sel 0

[linux-sunxi] [PATCH 0/2] ARM: sun7i/sun6i: Fix broken kernel on sun6i/A31

2014-03-27 Thread Carlo Caione
These fixes are proposed by Hans de Goede to fix the broken kernel on sun6i/A31. The major problem is that the IRQ number for NMI on sun6i is wrong. Besides that, Hans proposed a fix to avoid having sporious interrupts when the NMI line is asserted but no driver has claimed the downstream

[linux-sunxi] [PATCH 1/2] ARM: sun7i/sun6i: dts: Fix IRQ number for sun6i NMI controller

2014-03-27 Thread Carlo Caione
hdego...@redhat.com Signed-off-by: Carlo Caione ca...@caione.org --- arch/arm/boot/dts/sun6i-a31.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/sun6i-a31.dtsi b/arch/arm/boot/dts/sun6i-a31.dtsi index 3b95cb5..38d43fe 100644 --- a/arch/arm/boot/dts/sun6i-a31

[linux-sunxi] [PATCH v3 02/10] dt-bindings: add vendor-prefix for X-Powers

2014-03-27 Thread Carlo Caione
Signed-off-by: Carlo Caione ca...@caione.org --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index 40ce2df..d06ba8c 100644

[linux-sunxi] [PATCH v3 03/10] mfd: AXP20x: Add bindings documentation

2014-03-27 Thread Carlo Caione
Bindings documentation for the AXP20x driver. In this file also sub-nodes are documented. Signed-off-by: Carlo Caione ca...@caione.org --- Documentation/devicetree/bindings/mfd/axp20x.txt | 83 1 file changed, 83 insertions(+) create mode 100644 Documentation/devicetree

[linux-sunxi] [PATCH v3 06/10] regulator: AXP20x: Add support for regulators subsystem

2014-03-27 Thread Carlo Caione
AXP202 and AXP209 come with two synchronous step-down DC-DCs and five LDOs. This patch introduces basic support for those regulators. Signed-off-by: Carlo Caione ca...@caione.org --- drivers/regulator/Kconfig| 7 + drivers/regulator/Makefile | 1 + drivers/regulator

[linux-sunxi] [PATCH v3 05/10] input: misc: Add ABI docs for AXP20x PEK

2014-03-27 Thread Carlo Caione
Add ABI entries for the PEK found on PMU X-Powers AXP202 and AXP209. Signed-off-by: Carlo Caione ca...@caione.org --- Documentation/ABI/testing/sysfs-driver-input-axp-pek | 11 +++ 1 file changed, 11 insertions(+) create mode 100644 Documentation/ABI/testing/sysfs-driver-input-axp-pek

[linux-sunxi] [PATCH v3 00/10] mfd: AXP20x: Add support for AXP202 and AXP209

2014-03-27 Thread Carlo Caione
: Irqchip driver for NMI controller (Carlo Caione) regulator: helpers: Modify helpers enabling multi-bit control (Carlo Caione) Changes since v1: - Added a new standalone patch for defconfig - MFD core: * Removed axp,system-power-controller property

[linux-sunxi] [PATCH v3 01/10] mfd: AXP20x: Add mfd driver for AXP20x PMIC

2014-03-27 Thread Carlo Caione
Key) - Regulators Signed-off-by: Carlo Caione ca...@caione.org --- drivers/mfd/Kconfig| 12 +++ drivers/mfd/Makefile | 1 + drivers/mfd/axp20x.c | 240 + include/linux/mfd/axp20x.h | 180 ++ 4 files

[linux-sunxi] [PATCH v3 04/10] input: misc: Add driver for AXP20x Power Enable Key

2014-03-27 Thread Carlo Caione
This patch add support for the Power Enable Key found on MFD AXP202 and AXP209. Besides the basic support for the button, the driver adds two entries in sysfs to configure the time delay for power on/off. Signed-off-by: Carlo Caione ca...@caione.org --- drivers/input/misc/Kconfig | 11

[linux-sunxi] [PATCH v3 07/10] ARM: sunxi: dt: Add x-powers-axp209.dtsi file

2014-03-27 Thread Carlo Caione
This dtsi describes the axp209 PMIC, and is to be included from inside the i2c controller node to which the axp209 is connected. Signed-off-by: Hans de Goede hdego...@redhat.com Signed-off-by: Carlo Caione ca...@caione.org --- arch/arm/boot/dts/x-powers-axp209.dtsi | 54

[linux-sunxi] [PATCH v3 10/10] ARM: sunxi: Add AXP20x support multi_v7_defconfig

2014-03-27 Thread Carlo Caione
Signed-off-by: Carlo Caione ca...@caione.org --- arch/arm/configs/multi_v7_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index ee69829..239c014 100644 --- a/arch/arm/configs/multi_v7_defconfig +++ b/arch

[linux-sunxi] [PATCH v3 08/10] ARM: sun7i/sun4i: dt: Add AXP209 support to various boards

2014-03-27 Thread Carlo Caione
Signed-off-by: Hans de Goede hdego...@redhat.com Signed-off-by: Carlo Caione ca...@caione.org --- arch/arm/boot/dts/sun4i-a10-a1000.dts | 13 + arch/arm/boot/dts/sun4i-a10-cubieboard.dts | 13 + arch/arm/boot/dts/sun4i-a10-hackberry.dts | 19

[linux-sunxi] [PATCH v3 09/10] ARM: sunxi: Add AXP20x support in defconfig

2014-03-27 Thread Carlo Caione
Signed-off-by: Carlo Caione ca...@caione.org --- arch/arm/configs/sunxi_defconfig | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/configs/sunxi_defconfig b/arch/arm/configs/sunxi_defconfig index b5df4a5..6e305da 100644 --- a/arch/arm/configs/sunxi_defconfig +++ b/arch/arm/configs

[linux-sunxi] Re: [PATCH v7 2/3] ARM: sun7i/sun6i: dts: Add NMI irqchip support

2014-03-26 Thread Carlo Caione
On Wed, Mar 26, 2014 at 03:38:05PM +0100, Hans de Goede wrote: Hi, Hi Hans, On 03/26/2014 11:04 AM, Hans de Goede wrote: Hi, On 03/26/2014 10:39 AM, Maxime Ripard wrote: On Wed, Mar 26, 2014 at 09:39:31AM +0100, Hans de Goede wrote: Hi, On 03/19/2014 08:21 PM, Carlo Caione wrote

[linux-sunxi] [PATCH v8 1/3] ARM: sun7i/sun6i: irqchip: Add irqchip driver for NMI controller

2014-03-26 Thread Carlo Caione
Allwinner A20/A31 SoCs have special registers to control / (un)mask / acknowledge NMI. This NMI controller is separated and independent from GIC. This patch adds a new irqchip to manage NMI. Signed-off-by: Carlo Caione ca...@caione.org Acked-by: Maxime Ripard maxime.rip...@free-electrons.com

[linux-sunxi] [PATCH v8 2/3] ARM: sun7i/sun6i: dts: Add NMI irqchip support

2014-03-26 Thread Carlo Caione
This patch adds DTS entries for NMI controller as child of GIC. Signed-off-by: Carlo Caione ca...@caione.org Acked-by: Maxime Ripard maxime.rip...@free-electrons.com --- arch/arm/boot/dts/sun6i-a31.dtsi | 8 arch/arm/boot/dts/sun7i-a20.dtsi | 8 2 files changed, 16 insertions

Re: [linux-sunxi] Re: [PATCH v2 6/8] ARM: sunxi: dt: Add x-powers-axp209.dtsi file

2014-03-22 Thread Carlo Caione
On Tue, Mar 18, 2014 at 10:04:50AM +0100, Maxime Ripard wrote: On Sat, Mar 15, 2014 at 04:43:43PM +0100, Carlo Caione wrote: This dtsi describes the axp209 PMIC, and is to be included from inside the i2c controller node to which the axp209 is connected. Signed-off-by: Hans de Goede hdego

Re: [linux-sunxi] Re: [PATCH v2 1/8] mfd: AXP20x: Add mfd driver for AXP20x PMIC

2014-03-22 Thread Carlo Caione
On Sat, Mar 22, 2014 at 11:42:01AM -0700, Dmitry Torokhov wrote: On Sat, Mar 22, 2014 at 07:13:36PM +0100, Carlo Caione wrote: On Sat, Mar 22, 2014 at 6:33 PM, Mark Brown broo...@kernel.org wrote: On Sat, Mar 22, 2014 at 05:51:32PM +0100, Carlo Caione wrote: On Tue, Mar 18, 2014 at 03:59

Re: [linux-sunxi] Re: [PATCH v2 1/8] mfd: AXP20x: Add mfd driver for AXP20x PMIC

2014-03-22 Thread Carlo Caione
On Sat, Mar 22, 2014 at 6:33 PM, Mark Brown broo...@kernel.org wrote: On Sat, Mar 22, 2014 at 05:51:32PM +0100, Carlo Caione wrote: On Tue, Mar 18, 2014 at 03:59:19PM +, Lee Jones wrote: + of_id = of_match_device(axp20x_of_match, i2c-dev); + if (!of_id) { + dev_err(i2c-dev

[linux-sunxi] Re: [PATCH v6 0/3] ARM: sun7i/sun6i: irqchip: Irqchip driver for NMI controller

2014-03-19 Thread Carlo Caione
On Wed, Mar 19, 2014 at 1:41 PM, Thomas Gleixner t...@linutronix.de wrote: On Wed, 19 Mar 2014, Maxime Ripard wrote: On Wed, Mar 19, 2014 at 12:13:56PM +0100, Thomas Gleixner wrote: On Sat, 15 Mar 2014, Carlo Caione wrote: Allwinner A20/A31 SoCs have a special interrupt controller

[linux-sunxi] [PATCH v7 3/3] ARM: sun7i/sun6i: irqchip: Update the documentation

2014-03-19 Thread Carlo Caione
Added documentation for NMI irqchip. Signed-off-by: Carlo Caione ca...@caione.org --- .../allwinner,sun67i-sc-nmi.txt| 27 ++ 1 file changed, 27 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/allwinner,sun67i-sc

[linux-sunxi] [PATCH v7 2/3] ARM: sun7i/sun6i: dts: Add NMI irqchip support

2014-03-19 Thread Carlo Caione
This patch adds DTS entries for NMI controller as child of GIC. Signed-off-by: Carlo Caione ca...@caione.org --- arch/arm/boot/dts/sun6i-a31.dtsi | 8 arch/arm/boot/dts/sun7i-a20.dtsi | 8 2 files changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/sun6i-a31.dtsi b/arch

[linux-sunxi] [PATCH v7 1/3] ARM: sun7i/sun6i: irqchip: Add irqchip driver for NMI controller

2014-03-19 Thread Carlo Caione
Allwinner A20/A31 SoCs have special registers to control / (un)mask / acknowledge NMI. This NMI controller is separated and independent from GIC. This patch adds a new irqchip to manage NMI. Signed-off-by: Carlo Caione ca...@caione.org Acked-by: Maxime Ripard maxime.rip...@free-electrons.com

[linux-sunxi] [PATCH v6 0/3] ARM: sun7i/sun6i: irqchip: Irqchip driver for NMI controller

2014-03-15 Thread Carlo Caione
the double interrupts issue Carlo Caione (3): ARM: sun7i/sun6i: irqchip: Add irqchip driver for NMI controller ARM: sun7i/sun6i: dts: Add NMI irqchip support ARM: sun7i/sun6i: irqchip: Update the documentation .../allwinner,sun67i-sc-nmi.txt| 27 +++ arch/arm/boot

[linux-sunxi] [PATCH v6 1/3] ARM: sun7i/sun6i: irqchip: Add irqchip driver for NMI controller

2014-03-15 Thread Carlo Caione
Allwinner A20/A31 SoCs have special registers to control / (un)mask / acknowledge NMI. This NMI controller is separated and independent from GIC. This patch adds a new irqchip to manage NMI. Signed-off-by: Carlo Caione ca...@caione.org Acked-by: Maxime Ripard maxime.rip...@free-electrons.com

[linux-sunxi] [PATCH v2 8/8] ARM: sunxi: Add AXP20x support in defconfig

2014-03-15 Thread Carlo Caione
Signed-off-by: Carlo Caione ca...@caione.org --- arch/arm/configs/sunxi_defconfig | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/configs/sunxi_defconfig b/arch/arm/configs/sunxi_defconfig index 3e2259b..0cef101 100644 --- a/arch/arm/configs/sunxi_defconfig +++ b/arch/arm/configs

[linux-sunxi] [PATCH v2 2/8] mfd: AXP20x: Add bindings documentation

2014-03-15 Thread Carlo Caione
Bindings documentation for the AXP20x driver. In this file also two sub-nodes (PEK and regulators) are documented. Signed-off-by: Carlo Caione ca...@caione.org --- Documentation/devicetree/bindings/mfd/axp20x.txt | 83 ++ .../devicetree/bindings/vendor-prefixes.txt

[linux-sunxi] [PATCH v2 4/8] input: misc: Add ABI docs for AXP20x PEK

2014-03-15 Thread Carlo Caione
Add ABI entries for the PEK found on PMU X-Powers AXP202 and AXP209. Signed-off-by: Carlo Caione ca...@caione.org --- Documentation/ABI/testing/sysfs-driver-input-axp-pek | 11 +++ 1 file changed, 11 insertions(+) create mode 100644 Documentation/ABI/testing/sysfs-driver-input-axp-pek

[linux-sunxi] [PATCH v2 1/8] mfd: AXP20x: Add mfd driver for AXP20x PMIC

2014-03-15 Thread Carlo Caione
Key) - Regulators Signed-off-by: Carlo Caione ca...@caione.org --- drivers/mfd/Kconfig| 12 +++ drivers/mfd/Makefile | 1 + drivers/mfd/axp20x.c | 247 + include/linux/mfd/axp20x.h | 179 4 files

[linux-sunxi] [PATCH v2 7/8] ARM: sun7i: dt: Add AXP209 support to various boards

2014-03-15 Thread Carlo Caione
Signed-off-by: Hans de Goede hdego...@redhat.com Signed-off-by: Carlo Caione ca...@caione.org --- arch/arm/boot/dts/sun7i-a20-cubieboard2.dts | 12 arch/arm/boot/dts/sun7i-a20-cubietruck.dts | 13 + arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts | 12

[linux-sunxi] [PATCH v2 0/8] mfd: AXP20x: Add support for AXP202 and AXP209

2014-03-15 Thread Carlo Caione
: Irqchip driver for NMI controller (Carlo Caione) Changes since v1: - Added a new standalone patch for defconfig - MFD core: * Removed axp,system-power-controller property - Bindings documentation: * Corrected description for dcdc-workmode property

[linux-sunxi] [PATCH v2 5/8] regulator: AXP20x: Add support for regulators subsystem

2014-03-15 Thread Carlo Caione
AXP202 and AXP209 come with two synchronous step-down DC-DCs and five LDOs. This patch introduces basic support for those regulators. Signed-off-by: Carlo Caione ca...@caione.org --- drivers/regulator/Kconfig| 7 + drivers/regulator/Makefile | 1 + drivers/regulator

Re: [linux-sunxi] Re: [PATCH 6/7] regulator: AXP20x: Add support for regulators subsystem

2014-03-09 Thread Carlo Caione
On Sun, Mar 09, 2014 at 07:51:48AM +, Mark Brown wrote: On Sat, Mar 08, 2014 at 12:43:04PM +0100, Carlo Caione wrote: On Fri, Mar 7, 2014 at 7:22 PM, Maxime Ripard On Sat, Mar 01, 2014 at 05:45:51PM +0100, Carlo Caione wrote: + return platform_driver_register

Re: [linux-sunxi] Re: [PATCH 2/7] mfd: AXP20x: Add bindings documentation

2014-03-08 Thread Carlo Caione
On Fri, Mar 07, 2014 at 07:13:00PM +0100, Maxime Ripard wrote: On Sat, Mar 01, 2014 at 05:45:47PM +0100, Carlo Caione wrote: Bindings documentation for the AXP20x driver. In this file also two sub-nodes (PEK and regulators) are documented. Signed-off-by: Carlo Caione ca...@caione.org

Re: [linux-sunxi] Re: [PATCH 6/7] regulator: AXP20x: Add support for regulators subsystem

2014-03-08 Thread Carlo Caione
On Fri, Mar 7, 2014 at 7:22 PM, Maxime Ripard maxime.rip...@free-electrons.com wrote: On Sat, Mar 01, 2014 at 05:45:51PM +0100, Carlo Caione wrote: +static struct platform_driver axp20x_regulator_driver = { + .probe = axp20x_regulator_probe, + .remove = axp20x_regulator_remove

Re: [linux-sunxi] Re: Build sunxi-next for A20

2014-03-06 Thread Carlo Caione
/ and i haven't found dtb make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- LOADADDR=0x40008000 -j4 dtbs As clearly written in http://linux-sunxi.org/Mainline_Kernel_Howto -- Carlo Caione -- You received this message because you are subscribed to the Google Groups linux-sunxi group

Re: [linux-sunxi] Re: Build sunxi-next for A20

2014-03-06 Thread Carlo Caione
video output I guess you should switch to using a serial output to be able to see the U-Boot prompt especially with mainline kernel (for which is IIRC is required to have a UART access) -- Carlo Caione -- You received this message because you are subscribed to the Google Groups linux-sunxi

Re: [linux-sunxi] Re: [PATCH 0/7] mfd: AXP20x: Add support for AXP202 and AXP209

2014-03-06 Thread Carlo Caione
On Thu, Mar 6, 2014 at 11:07 AM, Hans de Goede hdego...@redhat.com wrote: Hi, On 03/05/2014 09:46 PM, Carlo Caione wrote: On Wed, Mar 5, 2014 at 9:02 PM, Hans de Goede hdego...@redhat.com wrote: So I've added your patches to my sunxi-devel tree and they work as advertised :) Thank you

Re: [linux-sunxi] Re: [PATCH 0/7] mfd: AXP20x: Add support for AXP202 and AXP209

2014-03-06 Thread Carlo Caione
this was discussing is actually the part I did not put in the dtis, since it can vary per board :) Oook, now it makes sense. The idea was to integrate axp20x.dtsi at a later time, but probably I was misunderstood. Thank you for clarifying it. I'll put axp20x.dtsi back in v2. Thanks, -- Carlo Caione

[linux-sunxi] [PATCH v5 3/3] ARM: sun7i/sun6i: irqchip: Update the documentation

2014-03-05 Thread Carlo Caione
Added documentation for NMI irqchip. Signed-off-by: Carlo Caione ca...@caione.org --- .../allwinner,sun67i-sc-nmi.txt| 27 ++ 1 file changed, 27 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/allwinner,sun67i-sc

[linux-sunxi] [PATCH v5 1/3] ARM: sun7i/sun6i: irqchip: Add irqchip driver for NMI controller

2014-03-05 Thread Carlo Caione
Allwinner A20/A31 SoCs have special registers to control / (un)mask / acknowledge NMI. This NMI controller is separated and independent from GIC. This patch adds a new irqchip to manage NMI. Signed-off-by: Carlo Caione ca...@caione.org Acked-by: Maxime Ripard maxime.rip...@free-electrons.com

Re: [linux-sunxi] Re: [PATCH 0/7] mfd: AXP20x: Add support for AXP202 and AXP209

2014-03-05 Thread Carlo Caione
that A10 boards will have a different interrupt parent for the interrupt. Yep, no prob. Thanks for your work on this! Thank you! -- Carlo Caione -- You received this message because you are subscribed to the Google Groups linux-sunxi group. To unsubscribe from this group and stop receiving emails

  1   2   >