[PATCH 3/3] ARM: dts: meson: add DTS file for MINIX NEO-X8

2015-01-19 Thread Beniamino Galvani
Add a DTS file for MINIX NEO-X8, a Meson8-based digital media player. Signed-off-by: Beniamino Galvani --- arch/arm/boot/dts/Makefile| 1 + arch/arm/boot/dts/meson8-minix-neo-x8.dts | 128 ++ 2 files changed, 129 insertions(+) create mode 100644

[PATCH 1/3] of: Add vendor prefix for MINIX

2015-01-19 Thread Beniamino Galvani
Add MINIX Technology Limited to the list of device tree vendor prefixes. The company manufactures digital media players and mini-ITX motherboards. Signed-off-by: Beniamino Galvani --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a

[PATCH 2/3] of: Define board compatible for MINIX NEO-X8

2015-01-19 Thread Beniamino Galvani
Document the board compatible property for MINIX NEO-X8, a Meson8-based digital media player. While at it, move the other existing Meson board compatible to amlogic.txt. Signed-off-by: Beniamino Galvani --- Documentation/devicetree/bindings/arm/amlogic.txt | 4 Documentation/devicetree

[PATCH 0/3] ARM: meson: add support for MINIX NEO-X8

2015-01-19 Thread Beniamino Galvani
This series adds support for MINIX NEO-X8, a digital media player based on a Amlogic S802 (Meson8) SoC. It depends on the pinctrl support for Meson8 submitted here: https://lkml.org/lkml/2015/1/17/87 Beniamino Galvani (3): of: Add vendor prefix for MINIX of: Define board compatible for

[PATCH v4 1/3] pinctrl: add driver for Amlogic Meson SoCs

2015-01-17 Thread Beniamino Galvani
the moment due to lack of documentation. Signed-off-by: Beniamino Galvani --- drivers/pinctrl/Kconfig|8 + drivers/pinctrl/Makefile |1 + drivers/pinctrl/meson/Makefile |2 + drivers/pinctrl/meson/pinctrl-meson.c | 761

[PATCH v4 2/3] ARM: meson: select PINCTRL_MESON and ARCH_REQUIRE_GPIOLIB

2015-01-17 Thread Beniamino Galvani
Make sure that the Meson pinctrl driver is built whenever Meson support is enabled. Signed-off-by: Beniamino Galvani Acked-by: Linus Walleij --- arch/arm/mach-meson/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mach-meson/Kconfig b/arch/arm/mach-meson/Kconfig index

[PATCH v4 3/3] ARM: dts: meson8: add pinctrl node

2015-01-17 Thread Beniamino Galvani
Add pinctrl node to the DTSI file for meson8 and sub-nodes for some standard mux configurations. Signed-off-by: Beniamino Galvani --- arch/arm/boot/dts/meson8.dtsi | 68 +++ 1 file changed, 68 insertions(+) diff --git a/arch/arm/boot/dts/meson8.dtsi b

[PATCH v4 0/3] Amlogic Meson pinctrl driver

2015-01-17 Thread Beniamino Galvani
e_platform_driver() instead of postcore_initcall - avoid unneeded copies of platform data Changes since v1 [ https://lkml.org/lkml/2014/10/7/712 ] - added missing checks of return values - indentation fixes - added missing definitions of groups and functions for Meson8 Beniamino Galvani

Re: [PATCH v3 2/3] pinctrl: add driver for Amlogic Meson SoCs

2015-01-12 Thread Beniamino Galvani
On Mon, Jan 12, 2015 at 01:00:16AM +0100, Linus Walleij wrote: > Hi Beniamino, > > sorry for the delay to merging Sören's patches. > > Can you rebase this patch on top of the pin control "devel" branch: > https://git.kernel.org/cgit/linux/kernel/git/linusw/linux-pinctrl.git/log/?h=devel I will r

Re: [PATCH v8 2/4] ARM: mediatek: Add sysirq interrupt polarity support

2014-11-29 Thread Beniamino Galvani
On Tue, Nov 25, 2014 at 04:04:20PM +0800, Yingjoe Chen wrote: > Mediatek SoCs have interrupt polarity support in sysirq which > allows to invert polarity for given interrupt. Add this support > using hierarchy irq domain. > > [...] > > +static int __init mtk_sysirq_of_init(struct device_node *node

Re: [PATCH v3 2/3] pinctrl: add driver for Amlogic Meson SoCs

2014-11-27 Thread Beniamino Galvani
On Thu, Nov 27, 2014 at 02:48:31PM +0100, Linus Walleij wrote: > On Sun, Nov 16, 2014 at 9:14 PM, Beniamino Galvani > wrote: > > > This is a driver for the pinmux and GPIO controller available in > > Amlogic Meson SoCs. At the moment it only supports Meson8 devices,

Re: randconfig build error with next-20141126, in drivers/spi/spi-meson-spifc.c

2014-11-26 Thread Beniamino Galvani
On Wed, Nov 26, 2014 at 10:53:28AM -0700, Jim Davis wrote: > Building with the attached random configuration file, > > drivers/built-in.o: In function `meson_spifc_probe': > spi-meson-spifc.c:(.text+0x14b4a8): undefined reference to > `devm_regmap_init_mmio_clk' > make: *** [vmlinux] Error 1 Hi,

[PATCH] ARM: dts: meson: enable Ethernet controller

2014-11-23 Thread Beniamino Galvani
Add a node for the Ethernet controller to Meson DTS file and enable it on the Geniatech ATV1200 board. Signed-off-by: Beniamino Galvani --- arch/arm/boot/dts/meson.dtsi | 11 +++ arch/arm/boot/dts/meson6-atv1200.dts | 4 2 files changed, 15 insertions(+) diff --git a/arch

[PATCH v3 0/4] spi: Add support for Amlogic Meson SPIFC

2014-11-22 Thread Beniamino Galvani
one() instead of transfer_one_message() - remove useless memset of devdata - use fixed regmap config - implement PM operations - don't set master->bus_num - allow modular build of the driver Beniamino Galvani (4): spi: core: Add spi_transfer_is_last() helper spi: meson: Add device tr

[PATCH v3 1/4] spi: core: Add spi_transfer_is_last() helper

2014-11-22 Thread Beniamino Galvani
This adds the function spi_transfer_is_last() which can be used by drivers to know whether a given transfer is the last one in the current message. Signed-off-by: Beniamino Galvani --- include/linux/spi/spi.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/linux/spi/spi.h b

[PATCH v3 2/4] spi: meson: Add device tree bindings documentation for SPIFC

2014-11-22 Thread Beniamino Galvani
This adds documentation of device tree bindings for the Amlogic Meson SPIFC (SPI Flash Controller). Signed-off-by: Beniamino Galvani --- .../devicetree/bindings/spi/spi-meson.txt | 22 ++ 1 file changed, 22 insertions(+) create mode 100644 Documentation/devicetree

[PATCH v3 3/4] spi: meson: Add support for Amlogic Meson SPIFC

2014-11-22 Thread Beniamino Galvani
on of standard operations such as read, page program, sector erase, etc. in a simplified way, toggling a bit in a dedicated register. The driver doesn't use those predefined commands and relies only on custom transfers. Signed-off-by: Beniamino Galvani --- drivers/spi/Kconfig | 7

[PATCH v3 4/4] ARM: dts: meson: add node for SPIFC

2014-11-22 Thread Beniamino Galvani
This adds a node for the SPI Flash Controller to the Amlogic Meson DTS. Signed-off-by: Beniamino Galvani Acked-by: Mark Brown --- arch/arm/boot/dts/meson.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/meson.dtsi b/arch/arm/boot/dts/meson.dtsi index b91e430

Re: [PATCH v2 1/4] spi: Add 'last' flag to spi_transfer structure

2014-11-18 Thread Beniamino Galvani
On Tue, Nov 18, 2014 at 02:06:58PM +, Mark Brown wrote: > It's incredibly sad to iterate through the entire list in order to find > the last entry, especially given that it's a doubly linked list and this > is a bit of a hot path. We should look at the previous entry for the > list head instea

Re: [PATCH v3 3/3] ARM: dts: meson: add I2C controller nodes

2014-11-18 Thread Beniamino Galvani
On Tue, Nov 18, 2014 at 04:29:13PM +0100, Carlo Caione wrote: > On Tue, Nov 18, 2014 at 4:19 PM, Wolfram Sang wrote: > > On Thu, Nov 13, 2014 at 08:32:03PM +0100, Beniamino Galvani wrote: > >> Add nodes for I2C controllers A,B,AO, which are available in both >

[PATCH v3 2/3] media: rc: add driver for Amlogic Meson IR remote receiver

2014-11-18 Thread Beniamino Galvani
g. This is a driver for the IR receiver that implements software decoding of received frames. Signed-off-by: Beniamino Galvani --- MAINTAINERS | 1 + drivers/media/rc/Kconfig| 11 +++ drivers/media/rc/Makefile | 1 + drivers/media

[PATCH v3 1/3] media: rc: meson: document device tree bindings

2014-11-18 Thread Beniamino Galvani
This adds binding documentation for the infrared remote control receiver available in Amlogic Meson SoCs. Signed-off-by: Beniamino Galvani --- Documentation/devicetree/bindings/media/meson-ir.txt | 14 ++ 1 file changed, 14 insertions(+) create mode 100644 Documentation/devicetree

[PATCH v3 3/3] ARM: dts: meson: add IR receiver node

2014-11-18 Thread Beniamino Galvani
This adds a node for the IR remote control receiver to the Amlogic Meson DTS. Signed-off-by: Beniamino Galvani --- arch/arm/boot/dts/meson.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/meson.dtsi b/arch/arm/boot/dts/meson.dtsi index e6539ea..6a37f15 100644

[PATCH v3 0/3] media: rc: add support for Amlogic Meson IR receiver

2014-11-18 Thread Beniamino Galvani
kml.org/lkml/2014/11/9/20 ]: - added COMPILE_TEST to allow compilation for other architectures - added missing header files - removed bogus vendor, product and version assignments - added file path to Meson entry in MAINTAINERS - reordered patches Beniamino Galvani (3): media: rc: meson:

[PATCH v2 1/4] spi: Add 'last' flag to spi_transfer structure

2014-11-17 Thread Beniamino Galvani
ucture and populates it before passing the structure to the driver. Signed-off-by: Beniamino Galvani --- drivers/spi/spi.c | 6 ++ include/linux/spi/spi.h | 2 ++ 2 files changed, 8 insertions(+) diff --git a/drivers/spi/spi.c b/drivers/spi/spi.c index ebcb33d..fc7f02d 100644 --- a/d

[PATCH v2 3/4] spi: meson: Add support for Amlogic Meson SPIFC

2014-11-17 Thread Beniamino Galvani
on of standard operations such as read, page program, sector erase, etc. in a simplified way, toggling a bit in a dedicated register. The driver doesn't use those predefined commands and relies only on custom transfers. Signed-off-by: Beniamino Galvani --- drivers/spi/Kconfig | 7

[PATCH v2 4/4] ARM: dts: meson: add node for SPIFC

2014-11-17 Thread Beniamino Galvani
This adds a node for the SPI Flash Controller to the Amlogic Meson DTS. Signed-off-by: Beniamino Galvani Acked-by: Mark Brown --- arch/arm/boot/dts/meson.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/meson.dtsi b/arch/arm/boot/dts/meson.dtsi index e6539ea

[PATCH v2 2/4] spi: meson: Add device tree bindings documentation for SPIFC

2014-11-17 Thread Beniamino Galvani
This adds documentation of device tree bindings for the Amlogic Meson SPIFC (SPI Flash Controller). Signed-off-by: Beniamino Galvani --- .../devicetree/bindings/spi/spi-meson.txt | 22 ++ 1 file changed, 22 insertions(+) create mode 100644 Documentation/devicetree

[PATCH v2 0/4] spi: Add support for Amlogic Meson SPIFC

2014-11-17 Thread Beniamino Galvani
in meson_spifc_transfer_one() - implement transfer_one() instead of transfer_one_message() - remove useless memset of devdata - use fixed regmap config - implement PM operations - don't set master->bus_num - allow modular build of the driver Beniamino Galvani (4): spi: Add 'last'

[PATCH v3 2/3] pinctrl: add driver for Amlogic Meson SoCs

2014-11-16 Thread Beniamino Galvani
not supported at the moment due to lack of documentation. Signed-off-by: Beniamino Galvani --- drivers/pinctrl/Kconfig|8 + drivers/pinctrl/Makefile |1 + drivers/pinctrl/meson/Makefile |2 + drivers/pinctrl/meson/pinctrl-meson.c | 761

[PATCH v3 1/3] pinctrl: meson: add device tree bindings documentation

2014-11-16 Thread Beniamino Galvani
Add device tree bindings documentation for Amlogic Meson pin and GPIO controller. Signed-off-by: Beniamino Galvani --- .../devicetree/bindings/pinctrl/meson,pinctrl.txt | 97 ++ 1 file changed, 97 insertions(+) create mode 100644 Documentation/devicetree/bindings/pinctrl

[PATCH v3 3/3] ARM: meson: select PINCTRL_MESON and ARCH_REQUIRE_GPIOLIB

2014-11-16 Thread Beniamino Galvani
Make sure that the Meson pinctrl driver is built whenever Meson support is enabled. Signed-off-by: Beniamino Galvani --- arch/arm/mach-meson/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mach-meson/Kconfig b/arch/arm/mach-meson/Kconfig index 2c1154e..1828711 100644

[PATCH v3 0/3] Amlogic Meson pinctrl driver

2014-11-16 Thread Beniamino Galvani
cks of return values - indentation fixes - added missing definitions of groups and functions for Meson8 Beniamino Galvani (3): pinctrl: meson: add device tree bindings documentation pinctrl: add driver for Amlogic Meson SoCs ARM: meson: select PINCTRL_MESON and ARCH_REQUIRE_GPIOLIB .../devicet

[PATCH v3 3/3] ARM: dts: meson: add I2C controller nodes

2014-11-13 Thread Beniamino Galvani
Add nodes for I2C controllers A,B,AO, which are available in both Meson6 and Meson8. Signed-off-by: Beniamino Galvani --- arch/arm/boot/dts/meson.dtsi | 30 ++ 1 file changed, 30 insertions(+) diff --git a/arch/arm/boot/dts/meson.dtsi b/arch/arm/boot/dts/meson.dtsi

[PATCH v3 1/3] i2c: meson: add device tree bindings documentation

2014-11-13 Thread Beniamino Galvani
This commit adds device tree bindings documentation for the I2C bus controller found on Amlogic Meson SoCs. Signed-off-by: Beniamino Galvani --- .../devicetree/bindings/i2c/i2c-meson.txt | 24 ++ 1 file changed, 24 insertions(+) create mode 100644 Documentation

[PATCH v3 2/3] i2c: add support for Amlogic Meson I2C controller

2014-11-13 Thread Beniamino Galvani
This is a driver for the I2C controller found in Amlogic Meson SoCs. Signed-off-by: Beniamino Galvani --- drivers/i2c/busses/Kconfig | 7 + drivers/i2c/busses/Makefile| 1 + drivers/i2c/busses/i2c-meson.c | 492 + 3 files changed, 500

[PATCH v3 0/3] i2c: add driver for Amlogic Meson I2C controller

2014-11-13 Thread Beniamino Galvani
() - added DTS patch Changes since v1: - factored common code for token list setup Beniamino Galvani (3): i2c: meson: add device tree bindings documentation i2c: add support for Amlogic Meson I2C controller ARM: dts: meson: add I2C controller nodes .../devicetree/bindings/i2c/i2c

Re: [PATCH 2/3] spi: meson: Add support for Amlogic Meson SPIFC

2014-11-11 Thread Beniamino Galvani
On Mon, Nov 10, 2014 at 03:11:40PM +, Mark Brown wrote: > On Sun, Nov 09, 2014 at 11:56:50PM +0100, Beniamino Galvani wrote: > > On Sun, Nov 09, 2014 at 10:17:12AM +, Mark Brown wrote: > > > > I noticed that the handling of /CS was done in the spifc_txrx() function >

Re: [PATCH v2 2/3] media: rc: add driver for Amlogic Meson IR remote receiver

2014-11-11 Thread Beniamino Galvani
On Sun, Nov 09, 2014 at 08:36:09PM +, Sean Young wrote: > > [...] > > + dev_info(dev, "receiver initialized\n"); > > + > > + return 0; > > +out_unreg: > > + rc_unregister_device(ir->rc); > > rc_unregister_device() already calls rc_free_device(). Right, I will fix this. Thanks, Beniamin

Re: [PATCH v2 1/2] i2c: add support for Amlogic Meson I2C controller

2014-11-10 Thread Beniamino Galvani
On Mon, Nov 10, 2014 at 03:44:41PM +0100, Wolfram Sang wrote: > On Sun, Oct 05, 2014 at 10:17:11PM +0200, Beniamino Galvani wrote: > > This is a driver for the I2C controller found in Amlogic Meson SoCs. > > > > Signed-off-by: Beniamino Galvani > > Thanks

Re: [PATCH 2/3] spi: meson: Add support for Amlogic Meson SPIFC

2014-11-09 Thread Beniamino Galvani
On Sun, Nov 09, 2014 at 10:17:12AM +, Mark Brown wrote: > On Sun, Nov 09, 2014 at 10:25:12AM +0100, Beniamino Galvani wrote: > > > +static int meson_spifc_wait_ready(struct meson_spifc *spifc) > > +{ > > + unsigned long deadline = jiffies + msecs_to_jiffies

[PATCH 1/3] spi: meson: Add device tree bindings documentation for SPIFC

2014-11-09 Thread Beniamino Galvani
This adds documentation of device tree bindings for the Amlogic Meson SPIFC (SPI Flash Controller). Signed-off-by: Beniamino Galvani --- .../devicetree/bindings/spi/spi-meson.txt | 22 ++ 1 file changed, 22 insertions(+) create mode 100644 Documentation/devicetree

[PATCH 0/3] spi: Add support for Amlogic Meson SPIFC

2014-11-09 Thread Beniamino Galvani
flash. Beniamino Galvani (3): spi: meson: Add device tree bindings documentation for SPIFC spi: meson: Add support for Amlogic Meson SPIFC ARM: dts: meson: add node for SPIFC .../devicetree/bindings/spi/spi-meson.txt | 22 ++ arch/arm/boot/dts/meson.dtsi

[PATCH 2/3] spi: meson: Add support for Amlogic Meson SPIFC

2014-11-09 Thread Beniamino Galvani
on of standard operations such as read, page program, sector erase, etc. in a simplified way, basically toggling a bit in a dedicated register. The driver doesn't use those predefined commands and relies only on custom transfers. Signed-off-by: Beniamino Galvani --- drivers/spi/Kconfig

[PATCH 3/3] ARM: dts: meson: add node for SPIFC

2014-11-09 Thread Beniamino Galvani
This adds a node for the SPI Flash Controller to the Amlogic Meson DTS. Signed-off-by: Beniamino Galvani --- arch/arm/boot/dts/meson.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/meson.dtsi b/arch/arm/boot/dts/meson.dtsi index e6539ea..d28b16e 100644 --- a

[PATCH v2 2/3] media: rc: add driver for Amlogic Meson IR remote receiver

2014-11-09 Thread Beniamino Galvani
g. This is a driver for the IR receiver that implements software decoding of received frames. Signed-off-by: Beniamino Galvani --- MAINTAINERS | 1 + drivers/media/rc/Kconfig| 11 +++ drivers/media/rc/Makefile | 1 + drivers/media

[PATCH v2 3/3] ARM: dts: meson: add IR receiver node

2014-11-09 Thread Beniamino Galvani
This adds a node for the IR remote control receiver to the Amlogic Meson DTS. Signed-off-by: Beniamino Galvani --- arch/arm/boot/dts/meson.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/meson.dtsi b/arch/arm/boot/dts/meson.dtsi index e6539ea..6a37f15 100644

[PATCH v2 1/3] media: rc: meson: document device tree bindings

2014-11-09 Thread Beniamino Galvani
This adds binding documentation for the infrared remote control receiver available in Amlogic Meson SoCs. Signed-off-by: Beniamino Galvani --- Documentation/devicetree/bindings/media/meson-ir.txt | 14 ++ 1 file changed, 14 insertions(+) create mode 100644 Documentation/devicetree

[PATCH v2 0/3] media: rc: add support for Amlogic Meson IR receiver

2014-11-09 Thread Beniamino Galvani
product and version assignments - added file path to Meson entry in MAINTAINERS - reordered patches Beniamino Galvani (3): media: rc: meson: document device tree bindings media: rc: add driver for Amlogic Meson IR remote receiver ARM: dts: meson: add IR receiver node .../devicetree/binding

Re: [PATCH 1/3] media: rc: add driver for Amlogic Meson IR remote receiver

2014-11-03 Thread Beniamino Galvani
On Mon, Nov 03, 2014 at 11:14:10AM -0200, Mauro Carvalho Chehab wrote: > Em Sun, 12 Oct 2014 22:01:53 +0200 > Beniamino Galvani escreveu: > > > Amlogic Meson SoCs include a infrared remote control receiver that can > > operate in two modes: in "NEC" mode the hardw

Re: [PATCH 2/3] pinctrl: meson: add device tree bindings documentation

2014-10-26 Thread Beniamino Galvani
On Fri, Oct 24, 2014 at 01:53:28PM +0200, Linus Walleij wrote: > On Tue, Oct 7, 2014 at 11:32 PM, Beniamino Galvani > wrote: > > > Add device tree bindings documentation for Amlogic Meson pinmux and > > GPIO controller. > > > > Signed-off-by: Beniamino Galvani

Re: [PATCH 1/3] pinctrl: add driver for Amlogic Meson SoCs

2014-10-22 Thread Beniamino Galvani
On Tue, Oct 21, 2014 at 03:39:25PM +0200, Linus Walleij wrote: > On Tue, Oct 7, 2014 at 11:32 PM, Beniamino Galvani > wrote: > > Sorry for a quick and brief review, but should be enough for you to proceed > to iterate the patch. > > > This is a driver for the pi

[PATCH v2 2/3] pinctrl: meson: add device tree bindings documentation

2014-10-14 Thread Beniamino Galvani
Add device tree bindings documentation for Amlogic Meson pinmux and GPIO controller. Signed-off-by: Beniamino Galvani --- .../devicetree/bindings/pinctrl/meson,pinctrl.txt | 79 ++ 1 file changed, 79 insertions(+) create mode 100644 Documentation/devicetree/bindings

[PATCH v2 1/3] pinctrl: add driver for Amlogic Meson SoCs

2014-10-14 Thread Beniamino Galvani
not supported at the moment due to lack of documentation. Signed-off-by: Beniamino Galvani --- arch/arm/mach-meson/Kconfig| 3 + drivers/pinctrl/Kconfig| 8 + drivers/pinctrl/Makefile | 1 + drivers/pinctrl/meson/Makefile | 2 + drivers

[PATCH v2 3/3] ARM: dts: meson8: add pinctrl and gpio nodes

2014-10-14 Thread Beniamino Galvani
Add pinctrl node to meson8.dtsi and gpio-leds node to meson8-vega-s89e.dts Signed-off-by: Beniamino Galvani --- arch/arm/boot/dts/meson8-vega-s89e.dts | 16 +++- arch/arm/boot/dts/meson8.dtsi | 35 ++ 2 files changed, 50 insertions(+), 1

[PATCH v2 0/3] Pinctrl driver for Amlogic Meson SoCs

2014-10-14 Thread Beniamino Galvani
, however I'm not so familiar with the pinctrl subsystem and thus any feedback is very welcome. Changes since v1 [https://lkml.org/lkml/2014/10/7/712] - added missing checks of return values - indentation fixes - added missing definitions of groups and functions for Meson8 Beniamino Galva

[PATCH 3/3] ARM: dts: meson: add dts nodes for IR receiver

2014-10-12 Thread Beniamino Galvani
Signed-off-by: Beniamino Galvani --- arch/arm/boot/dts/meson.dtsi | 7 +++ arch/arm/boot/dts/meson8-vega-s89e.dts | 6 ++ arch/arm/boot/dts/meson8.dtsi | 7 +++ 3 files changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/meson.dtsi b/arch/arm/boot/dts

[PATCH 2/3] media: rc: meson: document device tree bindings

2014-10-12 Thread Beniamino Galvani
This adds binding documentation for the infrared remote control receiver available in Amlogic Meson SoCs. Signed-off-by: Beniamino Galvani --- Documentation/devicetree/bindings/media/meson-ir.txt | 14 ++ 1 file changed, 14 insertions(+) create mode 100644 Documentation/devicetree

[PATCH 1/3] media: rc: add driver for Amlogic Meson IR remote receiver

2014-10-12 Thread Beniamino Galvani
This is a driver for the IR receiver that uses software decoding of received frames. Signed-off-by: Beniamino Galvani --- drivers/media/rc/Kconfig| 11 +++ drivers/media/rc/Makefile | 1 + drivers/media/rc/meson-ir.c | 214 3 files changed, 226 i

[PATCH 0/3] media: rc: add support for Amlogic Meson IR receiver

2014-10-12 Thread Beniamino Galvani
g/lkml/2014/10/5/162 [2] https://lkml.org/lkml/2014/10/7/712 Beniamino Galvani (3): media: rc: add driver for Amlogic Meson IR remote receiver media: rc: meson: document device tree bindings ARM: dts: meson: add dts nodes for IR receiver .../devicetree/bindings/media/meson-ir.txt |

Re: [PATCH 1/3] ARM: meson: reset: Add reset controller for MesonX SoCs

2014-10-12 Thread Beniamino Galvani
On Sun, Oct 12, 2014 at 04:54:37PM +0200, Carlo Caione wrote: > This patch adds support for the reset controller found on the Amlogic > MesonX SoCs. For several devices in the AO (Always-On) power domain, it > is possible to reset them by programming a specific bit in a register. Hi Carlo, > [...

[PATCH 2/3] pinctrl: meson: add device tree bindings documentation

2014-10-07 Thread Beniamino Galvani
Add device tree bindings documentation for Amlogic Meson pinmux and GPIO controller. Signed-off-by: Beniamino Galvani --- .../devicetree/bindings/pinctrl/meson,pinctrl.txt | 80 ++ 1 file changed, 80 insertions(+) create mode 100644 Documentation/devicetree/bindings

[PATCH 1/3] pinctrl: add driver for Amlogic Meson SoCs

2014-10-07 Thread Beniamino Galvani
are not supported at the moment due to lack of documentation. Signed-off-by: Beniamino Galvani --- arch/arm/mach-meson/Kconfig| 3 + drivers/pinctrl/Kconfig| 8 + drivers/pinctrl/Makefile | 1 + drivers/pinctrl/meson/Makefile | 2 + drivers

[PATCH 3/3] ARM: dts: meson8: add pinctrl and gpio nodes

2014-10-07 Thread Beniamino Galvani
Add pinctrl node to meson8.dtsi and gpio-leds node to meson8-vega-s89e.dts Signed-off-by: Beniamino Galvani --- arch/arm/boot/dts/meson8-vega-s89e.dts | 16 +++- arch/arm/boot/dts/meson8.dtsi | 35 ++ 2 files changed, 50 insertions(+), 1

[PATCH 0/3] Pinctrl driver for Amlogic Meson SoCs

2014-10-07 Thread Beniamino Galvani
: http://lwn.net/Articles/615033/ I tested the pinmux and GPIO functionalities on a Tronsmart Vega S89e TV box and everything seems to work, however I'm not so familiar with the pinctrl subsystem and thus any feedback is very welcome. Beniamino Galvani (3): pinctrl: add driver for Amlogic Meson

[PATCH v2 0/7] ARM: meson: add support for Meson8

2014-10-05 Thread Beniamino Galvani
Hi, this patchset introduces support for Amlogic Meson8, which is a family of quad-core Cortex-A9 SoCs used in tablets and set-top boxes. Changes since v1: - reused the existing DT machine definition and renamed it to be more generic - added L2 cache support Beniamino Galvani (7): ARM

[PATCH v2 2/7] ARM: dts: add dtsi for Amlogic Meson8 SoCs

2014-10-05 Thread Beniamino Galvani
This adds a dtsi for Amlogic Meson8 SoCs. It differs from the Meson6 dtsi for the number of Cortex-A9 cores (4 vs 2) and for the frequency of clk81. Signed-off-by: Beniamino Galvani --- arch/arm/boot/dts/meson8.dtsi | 88 +++ 1 file changed, 88 insertions

[PATCH v2 7/7] ARM: meson: enable L2 cache

2014-10-05 Thread Beniamino Galvani
This enables the L2 cache controller available in Amlogic SoCs. Signed-off-by: Beniamino Galvani --- arch/arm/boot/dts/meson.dtsi | 7 +++ arch/arm/boot/dts/meson6.dtsi | 2 ++ arch/arm/boot/dts/meson8.dtsi | 4 arch/arm/mach-meson/Kconfig | 1 + arch/arm/mach-meson/meson.c | 2

[PATCH v2 6/7] ARM: meson: document meson8 compatible properties

2014-10-05 Thread Beniamino Galvani
Add device tree bindings documentation for Amlogic Meson8 SoCs. Signed-off-by: Beniamino Galvani --- Documentation/devicetree/bindings/arm/amlogic.txt | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/arm/amlogic.txt b/Documentation

[PATCH v2 4/7] of: add vendor prefix for Tronsmart

2014-10-05 Thread Beniamino Galvani
This adds Tronsmart to the list of device tree vendor prefixes. Signed-off-by: Beniamino Galvani --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree

[PATCH v2 1/7] ARM: meson: add meson8 support

2014-10-05 Thread Beniamino Galvani
Add a MACH_MESON8 symbol and add "amlogic,meson8" to the list of compatible strings for the Meson DT machine to support devices based on the Meson8 family of SoCs. Signed-off-by: Beniamino Galvani --- arch/arm/mach-meson/Kconfig | 5 + arch/arm/mach-meson/meson.c | 8 ---

[PATCH v2 3/7] ARM: dts: add dts for Tronsmart S89 Elite TV box

2014-10-05 Thread Beniamino Galvani
This adds a dts for the Tronsmart S89 Elite, a set-top box based on the Amlogic S802 SoC with a 8GiB NAND flash, USB ports, 10/100 Mbps Ethernet adapter, WiFi, HDMI and a micro SD slot. Signed-off-by: Beniamino Galvani --- arch/arm/boot/dts/meson8-vega-s89e.dts | 65

[PATCH v2 5/7] ARM: document Tronsmart compatible properties

2014-10-05 Thread Beniamino Galvani
Document device tree bindings for Tronsmart devices. Signed-off-by: Beniamino Galvani --- Documentation/devicetree/bindings/arm/tronsmart.txt | 7 +++ 1 file changed, 7 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/tronsmart.txt diff --git a/Documentation

[PATCH v2 1/2] i2c: add support for Amlogic Meson I2C controller

2014-10-05 Thread Beniamino Galvani
This is a driver for the I2C controller found in Amlogic Meson SoCs. Signed-off-by: Beniamino Galvani --- drivers/i2c/busses/Kconfig | 7 + drivers/i2c/busses/Makefile| 1 + drivers/i2c/busses/i2c-meson.c | 492 + 3 files changed, 500

[PATCH v2 2/2] i2c: meson: add device tree bindings documentation

2014-10-05 Thread Beniamino Galvani
This commit adds device tree bindings documentation for the I2C bus controller found on Amlogic Meson SoCs. Signed-off-by: Beniamino Galvani --- .../devicetree/bindings/i2c/i2c-meson.txt | 24 ++ 1 file changed, 24 insertions(+) create mode 100644 Documentation

[PATCH v2 0/2] i2c: add driver for Amlogic Meson I2C controller

2014-10-05 Thread Beniamino Galvani
Hi, this patchset adds a driver for the I2C controller available in Amlogic Meson SoCs and has been tested on a Tronsmart Vega S89E TV box to communicate with a Ricoh RN5T618 PMIC. Changes since v1: - factored common code for token list setup Beniamino Galvani (2): i2c: add support for

Re: [PATCH 1/6] ARM: meson: add meson8 machine definition

2014-10-02 Thread Beniamino Galvani
On Thu, Oct 02, 2014 at 11:28:14AM +0200, Arnd Bergmann wrote: > On Wednesday 01 October 2014 23:29:41 Beniamino Galvani wrote: > > DT_MACHINE_START(AML8726_MX, "Amlogic Meson6 platform") > > .dt_compat = m6_common_board_compat, > > MACHINE_END >

Re: [PATCH 1/6] ARM: meson: add meson8 machine definition

2014-10-02 Thread Beniamino Galvani
On Thu, Oct 02, 2014 at 11:24:54AM +0200, Arnd Bergmann wrote: > On Wednesday 01 October 2014 23:29:41 Beniamino Galvani wrote: > > > > +static const char * const m8_common_board_compat[] = { > > + "amlogic,meson8", > > + NULL, > > +}; >

[PATCH 3/6] ARM: dts: add dts for Tronsmart S89 Elite TV box

2014-10-01 Thread Beniamino Galvani
This adds a dts for the Tronsmart S89 Elite, a set-top box based on the Amlogic S802 SoC with a 8GiB NAND flash, USB ports, 10/100 Mbps Ethernet adapter, WiFi, HDMI and a micro SD slot. Signed-off-by: Beniamino Galvani --- arch/arm/boot/dts/meson8-vega-s89e.dts | 65

[PATCH 2/6] ARM: dts: add dtsi for Amlogic Meson8 SoCs

2014-10-01 Thread Beniamino Galvani
Add a dtsi for the Amlogic Meson8 SoCs. It differs from the Meson6 dtsi for the number of Cortex-A9 cores (4 vs 2) and for the frequency of clk81. Signed-off-by: Beniamino Galvani --- arch/arm/boot/dts/meson8.dtsi | 90 +++ 1 file changed, 90 insertions

[PATCH 4/6] of: add vendor prefix for Tronsmart

2014-10-01 Thread Beniamino Galvani
This adds Tronsmart to the list of device tree vendor prefixes. Signed-off-by: Beniamino Galvani --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree

[PATCH 6/6] ARM: meson: document meson8 compatible properties

2014-10-01 Thread Beniamino Galvani
Add device tree bindings documentation for Amlogic Meson8 SoCs. Signed-off-by: Beniamino Galvani --- Documentation/devicetree/bindings/arm/amlogic.txt | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/arm/amlogic.txt b/Documentation

[PATCH 5/6] ARM: document Tronsmart compatible properties

2014-10-01 Thread Beniamino Galvani
Document device tree bindings for Tronsmart devices. Signed-off-by: Beniamino Galvani --- Documentation/devicetree/bindings/arm/tronsmart.txt | 7 +++ 1 file changed, 7 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/tronsmart.txt diff --git a/Documentation

[PATCH 0/6] ARM: add machine and dts files for Amlogic Meson8

2014-10-01 Thread Beniamino Galvani
Hi, this patchset introduces a machine definition and dts files for Amlogic Meson8, which is a family of quad-core Cortex-A9 SoCs used in tablets and set-top boxes. Beniamino Galvani (6): ARM: meson: add meson8 machine definition ARM: dts: add dtsi for Amlogic Meson8 SoCs ARM: dts: add dts

[PATCH 1/6] ARM: meson: add meson8 machine definition

2014-10-01 Thread Beniamino Galvani
This patch adds a machine definition for Amlogic Meson8 SoCs. Signed-off-by: Beniamino Galvani --- arch/arm/mach-meson/Kconfig | 5 + arch/arm/mach-meson/meson.c | 8 2 files changed, 13 insertions(+) diff --git a/arch/arm/mach-meson/Kconfig b/arch/arm/mach-meson/Kconfig index

Re: [PATCH 3/4] watchdog: add driver for Ricoh RN5T618 watchdog

2014-09-28 Thread Beniamino Galvani
rammable expiration time of 1, 8, 32 > > > or 128 seconds. > > > > > > Signed-off-by: Beniamino Galvani > > > --- > > > drivers/watchdog/Kconfig | 11 +++ > > > drivers/watchdog/Makefile |1 + > > > drivers/watchdog/rn

Re: net: stmmac glue layer for Amlogic Meson SoCs

2014-09-23 Thread Beniamino Galvani
On Tue, Sep 23, 2014 at 08:16:18AM +0200, Giuseppe CAVALLARO wrote: > On 9/20/2014 3:29 PM, Beniamino Galvani wrote: > >Hi, > > > >the Ethernet controller available in Amlogic Meson6 and Meson8 SoCs is > >a Synopsys DesignWare MAC IP core, already supported by the stm

[PATCH 1/2] net: stmmac: add Amlogic Meson glue layer

2014-09-20 Thread Beniamino Galvani
The Ethernet controller available in Meson6 and Meson8 SoCs is a Synopsys DesignWare MAC IP core, already supported by the stmmac driver. This glue layer implements some platform-specific settings needed by the Amlogic variant. Signed-off-by: Beniamino Galvani --- drivers/net/ethernet/stmicro

[PATCH 2/2] net: stmmac: meson: document device tree bindings

2014-09-20 Thread Beniamino Galvani
Add the device tree bindings documentation for the Amlogic Meson variant of the Synopsys DesignWare MAC. Signed-off-by: Beniamino Galvani --- .../devicetree/bindings/net/meson-dwmac.txt| 25 ++ 1 file changed, 25 insertions(+) create mode 100644 Documentation

net: stmmac glue layer for Amlogic Meson SoCs

2014-09-20 Thread Beniamino Galvani
Amlogic S802 device with the initial Meson support submitted by Carlo Caione [1]. [1] http://lwn.net/Articles/612000/ Beniamino Galvani (2): net: stmmac: add Amlogic Meson glue layer net: stmmac: meson: document device tree bindings .../devicetree/bindings/net/meson-dwmac.txt| 25

[PATCH 0/2] Amlogic Meson I2C driver

2014-09-16 Thread Beniamino Galvani
here: http://thread.gmane.org/gmane.linux.ports.arm.kernel/356685 Beniamino Galvani (2): i2c: add support for Amlogic Meson I2C controller i2c: meson: add device tree bindings documentation .../devicetree/bindings/i2c/i2c-meson.txt | 24 + drivers/i2c/busses/Kconfig

[PATCH 2/2] i2c: meson: add device tree bindings documentation

2014-09-16 Thread Beniamino Galvani
Add device tree bindings documentation for the I2C controller found in Amlogic Meson SoCs. Signed-off-by: Beniamino Galvani --- .../devicetree/bindings/i2c/i2c-meson.txt | 24 ++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/devicetree/bindings

[PATCH 1/2] i2c: add support for Amlogic Meson I2C controller

2014-09-16 Thread Beniamino Galvani
This adds a driver for the I2C controller found in Meson6 and Meson8 SoCs from Amlogic. Signed-off-by: Beniamino Galvani --- drivers/i2c/busses/Kconfig | 7 + drivers/i2c/busses/Makefile| 1 + drivers/i2c/busses/i2c-meson.c | 500 + 3 files

Re: [PATCH v7] ethernet: arc: Add support for Rockchip SoC layer device tree bindings

2014-09-09 Thread Beniamino Galvani
thernet/arc/emac_main.c | 2 + > drivers/net/ethernet/arc/emac_rockchip.c | 229 > +++ > 5 files changed, 245 insertions(+), 1 deletion(-) > create mode 100644 drivers/net/ethernet/arc/emac_rockchip.c Tested-by: Beniamino Galvani -- To unsubscribe from thi

Re: [PATCH v5 1/4] ethernet: arc: Add support for Rockchip SoC layer device tree bindings

2014-09-04 Thread Beniamino Galvani
On Thu, Sep 04, 2014 at 11:33:38AM +0200, Arnd Bergmann wrote: > This is a recurring problem: > > driver a depends on x and selects y > driver b depends on y and selects x > > Maybe we should teach Kconfig to not worry about it when x and y are > both user-selectable as well. > > However, a nic

Re: [PATCH v5 1/4] ethernet: arc: Add support for Rockchip SoC layer device tree bindings

2014-09-04 Thread Beniamino Galvani
ddrphy in the list of critical clocks, solves the problem. During the module unload, if you move the call to arc_emac_remove() before clk_disable_unprepare() you can avoid a delay of 4-5 seconds caused by the timeout of the function phy_disconnect(). In any case: Tested-by: Beniamino Galvani [

Re: [PATCH 3/4] watchdog: add driver for Ricoh RN5T618 watchdog

2014-09-04 Thread Beniamino Galvani
On Thu, Sep 04, 2014 at 10:25:03AM -0700, Guenter Roeck wrote: > On Thu, Sep 04, 2014 at 10:19:17AM +0100, Lee Jones wrote: > > Wim, > > > > Still waiting on a Watchdog Ack, so I can take this set in. > > > Wasn't there a more recent version of this patch ? Yes, this is superseded by v2. Beniam

Re: [PATCH v5 1/4] ethernet: arc: Add support for Rockchip SoC layer device tree bindings

2014-09-03 Thread Beniamino Galvani
On Wed, Sep 03, 2014 at 04:52:42PM +, Romain Perier wrote: > This patch defines a platform glue layer for Rockchip SoCs which > support arc-emac driver. It ensures that regulator for the rmii is on > before trying to connect to the ethernet controller. It applies right > speed and mode changes

[PATCH v2 3/4] watchdog: add driver for Ricoh RN5T618 watchdog

2014-08-30 Thread Beniamino Galvani
This adds a driver for the watchdog timer available in Ricoh RN5T618 PMIC. The device supports a programmable expiration time of 1, 8, 32 or 128 seconds. Signed-off-by: Beniamino Galvani --- drivers/watchdog/Kconfig | 11 +++ drivers/watchdog/Makefile |1 + drivers/watchdog

[PATCH v2 4/4] mfd: rn5t618: document device tree bindings

2014-08-30 Thread Beniamino Galvani
This adds the device tree bindings documentation for Ricoh RN5T618. Signed-off-by: Beniamino Galvani Reviewed-by: Mark Brown --- Documentation/devicetree/bindings/mfd/rn5t618.txt | 36 + 1 file changed, 36 insertions(+) create mode 100644 Documentation/devicetree

  1   2   >