[PATCH v2 6/7] ARM: at91/dt: add LCD panel description to sama5d3xdm.dtsi

2014-06-09 Thread Boris BREZILLON
Add LCD panel related nodes (backlight, regulators and panel) to the sama5d3 Display Module dtsi. Signed-off-by: Boris BREZILLON boris.brezil...@free-electrons.com --- arch/arm/boot/dts/sama5d3xdm.dtsi | 32 1 file changed, 32 insertions(+) diff --git a/arch/arm

[PATCH v2 2/7] pwm: add support for atmel-hlcdc-pwm device

2014-06-09 Thread Boris BREZILLON
The HLCDC IP available in some Atmel SoCs (i.e. sam9x5i.e. at91sam9n12, at91sam9x5 family or sama5d3 family) provide a PWM device. This driver add support for this PWM device. Signed-off-by: Boris BREZILLON boris.brezil...@free-electrons.com --- .../devicetree/bindings/pwm/atmel-hlcdc-pwm.txt

[PATCH v2 7/7] ARM: at91/dt: enable the LCD panel on sama5d3xek boards

2014-06-09 Thread Boris BREZILLON
Enable LCD related nodes and reference panel node in the hlcdc (High LCD Controller) controller on sama5d3xek boards. Signed-off-by: Boris BREZILLON boris.brezil...@free-electrons.com --- arch/arm/boot/dts/sama5d31ek.dts | 24 arch/arm/boot/dts/sama5d33ek.dts | 24

[PATCH v2 5/7] ARM: at91/dt: define the HLCDC node available on sama5d3 SoCs

2014-06-09 Thread Boris BREZILLON
Define the HLCDC (High LCD Controller) IP available on some sama5d3 SoCs (i.e. sama5d31, sama5d33, sama5d34 and sama5d36). Signed-off-by: Boris BREZILLON boris.brezil...@free-electrons.com --- arch/arm/boot/dts/sama5d3_lcd.dtsi | 26 ++ 1 file changed, 26 insertions

Re: [RESEND2 PATCH v4 2/2] i2c: sunxi: add P2WI (Push/Pull 2 Wire Interface) controller support

2014-06-10 Thread Boris BREZILLON
Hello Wolfram, On 10/06/2014 10:38, Wolfram Sang wrote: On Tue, Jun 03, 2014 at 10:49:52AM +0200, Boris BREZILLON wrote: The P2WI looks like an SMBus controller which only supports byte data transfers. But, it differs from standard SMBus protocol on several aspects: - it supports only one

Re: [RESEND2 PATCH v4 2/2] i2c: sunxi: add P2WI (Push/Pull 2 Wire Interface) controller support

2014-06-10 Thread Boris BREZILLON
On 10/06/2014 10:54, Boris BREZILLON wrote: Hello Wolfram, On 10/06/2014 10:38, Wolfram Sang wrote: On Tue, Jun 03, 2014 at 10:49:52AM +0200, Boris BREZILLON wrote: The P2WI looks like an SMBus controller which only supports byte data transfers. But, it differs from standard SMBus protocol

[PATCH v5 0/2] i2c: sunxi: add P2WI controller support

2014-06-10 Thread Boris BREZILLON
Changes since v3: - update the DT bindings doc - fix a comment that was no longer true Changes since v2: - drop the initialization (switch from I2C to P2WI mode) part - print devm_ioremap_resource err code Boris BREZILLON (2): i2c: sunxi: add P2WI DT bindings documentation i2c: sunxi: add P2WI

[PATCH v5 2/2] i2c: sunxi: add P2WI (Push/Pull 2 Wire Interface) controller support

2014-06-10 Thread Boris BREZILLON
-off-by: Boris BREZILLON boris.brezil...@free-electrons.com --- drivers/i2c/busses/Kconfig | 12 ++ drivers/i2c/busses/Makefile | 1 + drivers/i2c/busses/i2c-sun6i-p2wi.c | 356 3 files changed, 369 insertions(+) create mode 100644 drivers/i2c

[PATCH v5 1/2] i2c: sunxi: add P2WI DT bindings documentation

2014-06-10 Thread Boris BREZILLON
P2WI (Push/Pull 2 Wire Interface) is an SMBus like bus used to communicate with some PMICs (like the AXP221). Document P2WI DT bindings which are pretty much the same as the one defined for the marvell's mv64xxx controller. Signed-off-by: Boris BREZILLON boris.brezil...@free-electrons.com

Re: [RESEND2 PATCH v4 2/2] i2c: sunxi: add P2WI (Push/Pull 2 Wire Interface) controller support

2014-06-10 Thread Boris BREZILLON
Hello Paul, On 10/06/2014 10:56, Paul Carpenter wrote: Wolfram Sang wrote: On Tue, Jun 03, 2014 at 10:49:52AM +0200, Boris BREZILLON wrote: The P2WI looks like an SMBus controller which only supports byte data transfers. But, it differs from standard SMBus protocol on several aspects

Re: [PATCH v5 2/2] i2c: sunxi: add P2WI (Push/Pull 2 Wire Interface) controller support

2014-06-11 Thread Boris BREZILLON
, +ret); dangling ret. I'll fix it. Thanks, Boris -- Boris Brezillon, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com -- To unsubscribe from this list: send the line unsubscribe devicetree in the body of a message to majord...@vger.kernel.org More majordomo info

Re: [PATCH v5 2/2] i2c: sunxi: add P2WI (Push/Pull 2 Wire Interface) controller support

2014-06-11 Thread Boris BREZILLON
Hello Arnd, On 10/06/2014 16:47, Arnd Bergmann wrote: On Tuesday 10 June 2014 16:36:04 Maxime Ripard wrote: On Tue, Jun 10, 2014 at 03:54:56PM +0200, Arnd Bergmann wrote: On Tuesday 10 June 2014 15:47:16 Boris BREZILLON wrote: +config I2C_SUN6I_P2WI + tristate Allwinner sun6i internal

[PATCH v6 0/2] i2c: sunxi: add P2WI controller support

2014-06-11 Thread Boris BREZILLON
the initialization (switch from I2C to P2WI mode) part - print devm_ioremap_resource err code Boris BREZILLON (2): i2c: sunxi: add P2WI DT bindings documentation i2c: sunxi: add P2WI (Push/Pull 2 Wire Interface) controller support .../devicetree/bindings/i2c/i2c-sunxi-p2wi.txt | 41

[PATCH v6 1/2] i2c: sunxi: add P2WI DT bindings documentation

2014-06-11 Thread Boris BREZILLON
P2WI (Push/Pull 2 Wire Interface) is an SMBus like bus used to communicate with some PMICs (like the AXP221). Document P2WI DT bindings which are pretty much the same as the one defined for the marvell's mv64xxx controller. Signed-off-by: Boris BREZILLON boris.brezil...@free-electrons.com

[PATCH v6 2/2] i2c: sunxi: add P2WI (Push/Pull 2 Wire Interface) controller support

2014-06-11 Thread Boris BREZILLON
the P2WI protocol is close enough to SMBus to be integrated in the I2C subsystem (see this thread [1] for detailed reasons that led to integrating this driver in the I2C subsystem). [1] http://www.spinics.net/lists/linux-i2c/msg15066.html Signed-off-by: Boris BREZILLON boris.brezil...@free

Re: [PATCH v6 2/2] i2c: sunxi: add P2WI (Push/Pull 2 Wire Interface) controller support

2014-06-11 Thread Boris BREZILLON
On 11/06/2014 10:55, Wolfram Sang wrote: +MODULE_LICENSE(GPL); GPL v2 Oops, I missed this one. Sorry for the inconvenience. -- Boris Brezillon, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com -- To unsubscribe from this list: send the line unsubscribe

[PATCH v7 0/2] i2c: sunxi: add P2WI controller support

2014-06-11 Thread Boris BREZILLON
: - update the DT bindings doc - fix a comment that was no longer true Changes since v2: - drop the initialization (switch from I2C to P2WI mode) part - print devm_ioremap_resource err code Boris BREZILLON (2): i2c: sunxi: add P2WI DT bindings documentation i2c: sunxi: add P2WI (Push/Pull 2 Wire

[PATCH v7 1/2] i2c: sunxi: add P2WI DT bindings documentation

2014-06-11 Thread Boris BREZILLON
P2WI (Push/Pull 2 Wire Interface) is an SMBus like bus used to communicate with some PMICs (like the AXP221). Document P2WI DT bindings which are pretty much the same as the one defined for the marvell's mv64xxx controller. Signed-off-by: Boris BREZILLON boris.brezil...@free-electrons.com

[PATCH v7 2/2] i2c: sunxi: add P2WI (Push/Pull 2 Wire Interface) controller support

2014-06-11 Thread Boris BREZILLON
the P2WI protocol is close enough to SMBus to be integrated in the I2C subsystem (see this thread [1] for detailed reasons that led to integrating this driver in the I2C subsystem). [1] http://www.spinics.net/lists/linux-i2c/msg15066.html Signed-off-by: Boris BREZILLON boris.brezil...@free

Re: [PATCH v2 2/7] pwm: add support for atmel-hlcdc-pwm device

2014-06-13 Thread Boris BREZILLON
Hello Alexandre, On 13/06/2014 13:43, Alexandre Belloni wrote: On 09/06/2014 at 18:04:15 +0200, Boris Brezillon wrote : The HLCDC IP available in some Atmel SoCs (i.e. sam9x5i.e. at91sam9n12, at91sam9x5 family or sama5d3 family) provide a PWM device. This driver add support for this PWM

Re: [PATCH v2 1/7] mfd: add atmel-hlcdc driver

2014-06-15 Thread Boris BREZILLON
Hello JJ, On 15/06/2014 10:53, Jean-Jacques Hiblot wrote: On 06/09/2014 06:04 PM, Boris BREZILLON wrote: The HLCDC IP available on some Atmel SoCs (i.e. at91sam9n12, at91sam9x5 family or sama5d3 family) exposes 2 subdevices: - a display controller (controlled by a DRM driver) - a PWM chip

Re: [PATCH v2 2/7] pwm: add support for atmel-hlcdc-pwm device

2014-06-15 Thread Boris BREZILLON
Hello JJ, On 15/06/2014 11:11, Jean-Jacques Hiblot wrote: On 06/09/2014 06:04 PM, Boris BREZILLON wrote: The HLCDC IP available in some Atmel SoCs (i.e. sam9x5i.e. at91sam9n12, at91sam9x5 family or sama5d3 family) provide a PWM device. This driver add support for this PWM device. Signed

Re: [PATCH v2 3/7] drm: add Atmel HLCDC Display Controller support

2014-06-15 Thread Boris BREZILLON
Hello JJ, On 15/06/2014 11:32, Jean-Jacques Hiblot wrote: On 06/09/2014 06:04 PM, Boris BREZILLON wrote: The Atmel HLCDC (High LCD Controller) IP available on some Atmel SoCs (i.e. at91sam9n12, at91sam9x5 family or sama5d3 family) provides a display controller device. This display

Re: [PATCH v2 1/7] mfd: add atmel-hlcdc driver

2014-06-16 Thread Boris BREZILLON
HLCDC clocks and create a regmap so that subdevices can access the HLCDC register range concurrently. Signed-off-by: Boris BREZILLON boris.brezil...@free-electrons.com --- .../devicetree/bindings/mfd/atmel-hlcdc.txt| 41 drivers/mfd/Kconfig

Re: [PATCH v2 1/7] mfd: add atmel-hlcdc driver

2014-06-16 Thread Boris BREZILLON
On 16/06/2014 19:03, Lee Jones wrote: On Mon, 16 Jun 2014, Boris BREZILLON wrote: On 16/06/2014 14:50, Lee Jones wrote: The HLCDC IP available on some Atmel SoCs (i.e. at91sam9n12, at91sam9x5 family or sama5d3 family) exposes 2 subdevices: - a display controller (controlled by a DRM driver

[PATCH v4 0/7] mfd: axp20x: add AXP221 PMIC support

2014-06-17 Thread Boris BREZILLON
string to the DT bindings doc Changes since v2: - add helper functions for regulator set registration - fix a copy/paste error in the axp20x mfd driver Changes since v1: - merge code with the axp20x driver Boris BREZILLON (7): mfd: axp20x: add AXP221 PMIC support regulator: axp20x: prepare

[PATCH v4 5/7] regulator: add support for regulator set registration

2014-06-17 Thread Boris BREZILLON
handles self dependency issues where one regulator provided the PMIC depends on another one provided by the same PMIC. Signed-off-by: Boris BREZILLON boris.brezil...@free-electrons.com --- drivers/regulator/core.c | 106 +++ drivers/regulator/devres.c

[PATCH v4 4/7] regulator: axp20x: reset probe data before each probe

2014-06-17 Thread Boris BREZILLON
. Reset init_data and of_node field to NULL before each probe in order to avoid this kind of issue. Signed-off-by: Boris BREZILLON boris.brezil...@free-electrons.com --- drivers/regulator/axp20x-regulator.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/regulator/axp20x

[PATCH v4 2/7] regulator: axp20x: prepare support for multiple AXP chip families

2014-06-17 Thread Boris BREZILLON
Rework the AXP20X_ macros to support the several chip families, so that each family can define it's own set of regulators, and regulator matches. Pass a match table to the axp20x_regulator_parse_dt function instead of statically using the axp20x match table. Signed-off-by: Boris BREZILLON

[PATCH v4 1/7] mfd: axp20x: add AXP221 PMIC support

2014-06-17 Thread Boris BREZILLON
. Signed-off-by: Boris BREZILLON boris.brezil...@free-electrons.com --- drivers/mfd/axp20x.c | 64 ++ include/linux/mfd/axp20x.h | 56 2 files changed, 115 insertions(+), 5 deletions(-) diff --git a/drivers/mfd

[PATCH v4 3/7] regulator: axp20x: add support for AXP221 regulators

2014-06-17 Thread Boris BREZILLON
Add AXP221 regulator definitions and choose the appropriate definitions according to the variant id passed by the MFD device. Signed-off-by: Boris BREZILLON boris.brezil...@free-electrons.com --- drivers/regulator/axp20x-regulator.c | 98 +--- 1 file changed, 90

Re: [PATCH v4 4/7] regulator: axp20x: reset probe data before each probe

2014-06-18 Thread Boris BREZILLON
On 17/06/2014 22:44, Maxime Ripard wrote: On Tue, Jun 17, 2014 at 09:38:40AM +0200, Boris BREZILLON wrote: The init_data and of_node fields of the axp2xx_matches tables are filled at each device probe by the axp20x_regulator_parse_dt function (which then calls the of_regulator_match function

Re: [PATCH v4 6/7] regulator: axp20x: make use of devm_regulator_set_register

2014-06-18 Thread Boris BREZILLON
On 17/06/2014 22:46, Maxime Ripard wrote: On Tue, Jun 17, 2014 at 09:38:42AM +0200, Boris BREZILLON wrote: Make use of the devm_regulator_set_register instead of registering each regulator provided by the PMIC. This also solves a self dependency issue where one regulator of the PMIC is used

Re: [PATCH v4 1/7] mfd: axp20x: add AXP221 PMIC support

2014-06-18 Thread Boris BREZILLON
On 18/06/2014 10:36, Lee Jones wrote: On Tue, 17 Jun 2014, Boris BREZILLON wrote: Add support for the AXP221 PMIC device to the existing AXP20x driver. The AXP221 defines a new set of registers, power supplies and regulators, but most of the API is similar to the AXP20x ones. The AXP20x

Re: [PATCH v2 4/7] ARM: at91/dt: split sama5d3 lcd pin definitions to match RGB mode configs

2014-06-19 Thread Boris BREZILLON
Hello Bo, On 19/06/2014 09:07, Bo Shen wrote: Hi Boris, On 06/10/2014 12:04 AM, Boris BREZILLON wrote: The HLCDC (High LCD Controller) IP supports 4 different output mode (RGB444, RGB565, RGB666 and RGB888) and the pin muxing depends on the chosen RGB mode. Split the pin definition

Re: [PATCH v2 7/7] ARM: at91/dt: enable the LCD panel on sama5d3xek boards

2014-06-19 Thread Boris BREZILLON
On 19/06/2014 09:12, Bo Shen wrote: Hi Boris, On 06/10/2014 12:04 AM, Boris BREZILLON wrote: diff --git a/arch/arm/boot/dts/sama5d33ek.dts b/arch/arm/boot/dts/sama5d33ek.dts index cbd6a3f..f2ab41d 100644 --- a/arch/arm/boot/dts/sama5d33ek.dts +++ b/arch/arm/boot/dts/sama5d33ek.dts

Re: [PATCH v2 4/7] ARM: at91/dt: split sama5d3 lcd pin definitions to match RGB mode configs

2014-06-19 Thread Boris BREZILLON
On 19/06/2014 09:07, Bo Shen wrote: Hi Boris, On 06/10/2014 12:04 AM, Boris BREZILLON wrote: The HLCDC (High LCD Controller) IP supports 4 different output mode (RGB444, RGB565, RGB666 and RGB888) and the pin muxing depends on the chosen RGB mode. Split the pin definition to be able

[PATCH v3 0/7] ARM: at91: move aic driver to drivers/irqchips

2014-06-20 Thread Boris BREZILLON
muxing definition - rework Kconfig options Changes since v1: - rework the irq-mux bindings Boris BREZILLON (7): genirq: generic chip: export irq_map_generic_chip function irqchip: atmel-aic: move binding doc to interrupt-controller directory irqchip: atmel-aic: add new atmel AIC driver ARM

[PATCH v3 4/7] ARM: at91: introduce OLD_IRQ_AT91 Kconfig option

2014-06-20 Thread Boris BREZILLON
-by: Boris BREZILLON boris.brezil...@free-electrons.com --- arch/arm/mach-at91/Kconfig| 17 + arch/arm/mach-at91/Kconfig.non_dt | 6 ++ arch/arm/mach-at91/Makefile | 3 ++- 3 files changed, 17 insertions(+), 9 deletions(-) diff --git a/arch/arm/mach-at91/Kconfig b/arch

[PATCH v3 1/7] genirq: generic chip: export irq_map_generic_chip function

2014-06-20 Thread Boris BREZILLON
Export the generic irq map function in order to provide irq_domain ops with generic mapping and specific of xlate function (needed by the new atmel AIC driver). Signed-off-by: Boris BREZILLON boris.brezil...@free-electrons.com --- include/linux/irq.h | 2 ++ kernel/irq/generic-chip.c | 5

[PATCH v3 5/7] ARM: at91: enclose at91_aic_xx calls in IS_ENABLED(CONFIG_OLD_IRQ_AT91) blocks

2014-06-20 Thread Boris BREZILLON
no longer exposes the at91_aic_base variable which is used by the at91_aic_read functions. Signed-off-by: Boris BREZILLON boris.brezil...@free-electrons.com --- arch/arm/mach-at91/pm.c| 32 arch/arm/mach-at91/setup.c | 3 ++- 2 files changed, 22 insertions(+), 13

[PATCH v4 0/2] mtd: nand: add sunxi NAND flash controller support

2014-08-18 Thread Boris BREZILLON
ECC requirements from DT Boris BREZILLON (2): mtd: nand: add sunxi NAND flash controller support mtd: nand: add sunxi NFC dt bindings doc .../devicetree/bindings/mtd/sunxi-nand.txt | 45 + drivers/mtd/nand/Kconfig |6 + drivers/mtd/nand/Makefile

[PATCH v4 1/2] mtd: nand: add sunxi NAND flash controller support

2014-08-18 Thread Boris BREZILLON
Add support for the sunxi NAND Flash Controller (NFC). Signed-off-by: Boris BREZILLON boris.brezil...@free-electrons.com --- drivers/mtd/nand/Kconfig |6 + drivers/mtd/nand/Makefile |1 + drivers/mtd/nand/sunxi_nand.c | 1362 + 3 files

[PATCH v4 2/2] mtd: nand: add sunxi NFC dt bindings doc

2014-08-18 Thread Boris BREZILLON
Add the sunxi NAND Flash Controller dt bindings documentation. Signed-off-by: Boris BREZILLON boris.brezil...@free-electrons.com --- .../devicetree/bindings/mtd/sunxi-nand.txt | 45 ++ 1 file changed, 45 insertions(+) create mode 100644 Documentation/devicetree

Re: [PATCH v4 00/11] drm: add support for Atmel HLCDC Display Controller

2014-08-21 Thread Boris BREZILLON
). I thought we could add a notifier infrastructure to the DRM panel framework, but I'm not sure this is how you want things done... Best Regards, Boris -- Boris Brezillon, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com -- To unsubscribe from this list: send

Re: [PATCH v4 00/11] drm: add support for Atmel HLCDC Display Controller

2014-08-21 Thread Boris BREZILLON
On Thu, 21 Aug 2014 11:04:07 +0200 Thierry Reding thierry.red...@gmail.com wrote: On Thu, Aug 21, 2014 at 10:37:06AM +0200, Boris BREZILLON wrote: Hi Ludovic, On Thu, 21 Aug 2014 10:16:19 +0200 Ludovic Desroches ludovic.desroc...@atmel.com wrote: Hi Boris, You can add

Re: [PATCH v4 00/11] drm: add support for Atmel HLCDC Display Controller

2014-08-21 Thread Boris BREZILLON
On Thu, 21 Aug 2014 11:41:59 +0200 Boris BREZILLON boris.brezil...@free-electrons.com wrote: On Thu, 21 Aug 2014 11:04:07 +0200 Thierry Reding thierry.red...@gmail.com wrote: On Thu, Aug 21, 2014 at 10:37:06AM +0200, Boris BREZILLON wrote: Hi Ludovic, On Thu, 21 Aug 2014 10:16:19

Re: [PATCH v4 00/11] drm: add support for Atmel HLCDC Display Controller

2014-08-21 Thread Boris BREZILLON
On Thu, 21 Aug 2014 11:52:03 +0200 Thierry Reding thierry.red...@gmail.com wrote: On Thu, Aug 21, 2014 at 11:41:59AM +0200, Boris BREZILLON wrote: On Thu, 21 Aug 2014 11:04:07 +0200 Thierry Reding thierry.red...@gmail.com wrote: On Thu, Aug 21, 2014 at 10:37:06AM +0200, Boris BREZILLON

Re: [PATCH v4 00/11] drm: add support for Atmel HLCDC Display Controller

2014-08-21 Thread Boris BREZILLON
On Thu, 21 Aug 2014 15:16:08 +0200 Thierry Reding thierry.red...@gmail.com wrote: On Thu, Aug 21, 2014 at 03:06:00PM +0200, Boris BREZILLON wrote: On Thu, 21 Aug 2014 11:52:03 +0200 Thierry Reding thierry.red...@gmail.com wrote: On Thu, Aug 21, 2014 at 11:41:59AM +0200, Boris BREZILLON

Re: [PATCH v4 00/11] drm: add support for Atmel HLCDC Display Controller

2014-08-21 Thread Boris BREZILLON
On Thu, 21 Aug 2014 15:16:08 +0200 Thierry Reding thierry.red...@gmail.com wrote: On Thu, Aug 21, 2014 at 03:06:00PM +0200, Boris BREZILLON wrote: On Thu, 21 Aug 2014 11:52:03 +0200 Thierry Reding thierry.red...@gmail.com wrote: On Thu, Aug 21, 2014 at 11:41:59AM +0200, Boris BREZILLON

Re: [PATCH v4 00/11] drm: add support for Atmel HLCDC Display Controller

2014-08-21 Thread Boris BREZILLON
On Thu, 21 Aug 2014 17:04:34 +0200 Andrzej Hajda a.ha...@samsung.com wrote: On 08/21/2014 03:21 PM, Thierry Reding wrote: On Thu, Aug 21, 2014 at 12:32:43PM +0200, Andrzej Hajda wrote: On 08/21/2014 11:52 AM, Thierry Reding wrote: On Thu, Aug 21, 2014 at 11:41:59AM +0200, Boris BREZILLON

Re: [PATCH v4 00/11] drm: add support for Atmel HLCDC Display Controller

2014-08-21 Thread Boris BREZILLON
the component framework for that ? I know that partial notification isn't supported at the moment, but Russell agreed it was a real use case that should be implemented at some point. I'll give it a try. Best Regards, Boris -- Boris Brezillon, Free Electrons Embedded Linux and Kernel engineering

Re: [PATCH v4 00/11] drm: add support for Atmel HLCDC Display Controller

2014-08-27 Thread Boris BREZILLON
Hi Laurent, On Tue, 26 Aug 2014 01:39:21 +0200 Laurent Pinchart laurent.pinch...@ideasonboard.com wrote: Hi Boris, On Thursday 21 August 2014 19:26:33 Boris BREZILLON wrote: On Thu, 21 Aug 2014 19:08:53 +0200 Laurent Pinchart laurent.pinch...@ideasonboard.com wrote

Re: [PATCH v4 00/11] drm: add support for Atmel HLCDC Display Controller

2014-08-28 Thread Boris BREZILLON
for the Sil902x transmitter chip in the hlcdc driver. Sorry if these are silly questions, but I'm still trying to understand how my case should be modeled :-). Best Regards, Boris -- Boris Brezillon, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com

[PATCH 1/5] rtc: at91sam9: remove references to mach specific headers

2014-09-03 Thread Boris BREZILLON
In order to support multi platform kernel drivers should not include machine specific headers. Copy RTT macros in the driver code and remove any machine specific headers. Signed-off-by: Boris BREZILLON boris.brezil...@free-electrons.com --- drivers/rtc/rtc-at91sam9.c | 22

[PATCH 0/5] rtc: at91sam9: add DT support

2014-09-03 Thread Boris BREZILLON
Hello, This patch series adds DT support to the atmel at91sam9 RTC driver. It also removes any machine specific inclusions to prepare the migration to multi platform kernel support, and retain the slow clock to prevent the CCF from disabling it at the end of boot. Best Regards, Boris Boris

[PATCH 5/5] rtc: at91sam9: add DT bindings documentation

2014-09-03 Thread Boris BREZILLON
Signed-off-by: Boris BREZILLON boris.brezil...@free-electrons.com --- .../devicetree/bindings/rtc/atmel,at91sam9-rtc.txt | 20 1 file changed, 20 insertions(+) create mode 100644 Documentation/devicetree/bindings/rtc/atmel,at91sam9-rtc.txt diff --git a/Documentation

[PATCH 2/5] rtc: at91sam9: use standard readl/writel functions instead of raw versions

2014-09-03 Thread Boris BREZILLON
Signed-off-by: Boris BREZILLON boris.brezil...@free-electrons.com --- drivers/rtc/rtc-at91sam9.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/rtc/rtc-at91sam9.c b/drivers/rtc/rtc-at91sam9.c index 51f0038..74a9ca0 100644 --- a/drivers/rtc/rtc-at91sam9.c +++ b

[PATCH 4/5] rtc: at91sam9: retain slow clock and check its rate

2014-09-03 Thread Boris BREZILLON
The RTT block is using the slow clock and expect it to run at 32KHz. Now that we moved to the CCF it's better to retain the clk reference so that the CCF can't disable the slow clock considering it is unused. Signed-off-by: Boris BREZILLON boris.brezil...@free-electrons.com --- drivers/rtc/rtc

[PATCH 3/5] rtc: at91sam9: add DT support

2014-09-03 Thread Boris BREZILLON
Add of_match_table to the existing driver so that rtc nodes defined in at91 DTs can be attached to this driver. Signed-off-by: Boris BREZILLON boris.brezil...@free-electrons.com --- drivers/rtc/rtc-at91sam9.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/rtc/rtc-at91sam9.c

Re: [PATCH 0/5] rtc: at91sam9: add DT support

2014-09-03 Thread Boris BREZILLON
On Wed, 3 Sep 2014 10:45:29 +0200 Boris BREZILLON boris.brezil...@free-electrons.com wrote: Hello, This patch series adds DT support to the atmel at91sam9 RTC driver. It also removes any machine specific inclusions to prepare the migration to multi platform kernel support, and retain

[PATCH v5 09/11] ARM: at91/dt: define the HLCDC node available on sama5d3 SoCs

2014-09-08 Thread Boris BREZILLON
Define the HLCDC (HLCD Controller) IP available on some sama5d3 SoCs (i.e. sama5d31, sama5d33, sama5d34 and sama5d36) in sama5d3 dtsi file. Signed-off-by: Boris BREZILLON boris.brezil...@free-electrons.com --- arch/arm/boot/dts/sama5d3_lcd.dtsi | 28 1 file changed

[PATCH v5 10/11] ARM: at91/dt: add LCD panel description to sama5d3xdm.dtsi

2014-09-08 Thread Boris BREZILLON
Add LCD panel related nodes (backlight, regulators and panel) to sama5d3 Display Module dtsi. Reference LCD pin muxing used by sama5d3xek boards. Signed-off-by: Boris BREZILLON boris.brezil...@free-electrons.com --- arch/arm/boot/dts/sama5d3xdm.dtsi | 58

[PATCH v5 02/11] mfd: add documentation for atmel-hlcdc DT bindings

2014-09-08 Thread Boris BREZILLON
The HLCDC IP available on some Atmel SoCs (i.e. at91sam9n12, at91sam9x5 family or sama5d3 family) exposes 2 subdevices: - a display controller (controlled by a DRM driver) - a PWM chip This patch adds documentation for atmel-hlcdc DT bindings. Signed-off-by: Boris BREZILLON boris.brezil...@free

[PATCH v5 11/11] ARM: at91/dt: enable the LCD panel on sama5d3xek boards

2014-09-08 Thread Boris BREZILLON
Enable LCD related nodes. Signed-off-by: Boris BREZILLON boris.brezil...@free-electrons.com --- arch/arm/boot/dts/sama5d31ek.dts | 20 arch/arm/boot/dts/sama5d33ek.dts | 20 arch/arm/boot/dts/sama5d34ek.dts | 20 arch/arm/boot/dts

[PATCH v5 07/11] ARM: AT91/dt: split sama5d3 lcd pin definitions to match RGB mode configs

2014-09-08 Thread Boris BREZILLON
The HLCDC (HLCD Controller) IP supports 4 different output mode (RGB444, RGB565, RGB666 and RGB888) and the pin muxing will depend on the chosen RGB mode. Split pin definitions to be able to set pin config according to the selected mode. Signed-off-by: Boris BREZILLON boris.brezil...@free

[PATCH v5 05/11] drm: add Atmel HLCDC Display Controller support

2014-09-08 Thread Boris BREZILLON
version. At the moment, this driver only implements an RGB connector to interface with LCD panels, but support for other kind of external devices might be added later. Signed-off-by: Boris BREZILLON boris.brezil...@free-electrons.com Tested-by: Ludovic Desroches ludovic.desroc...@atmel.com

[PATCH v5 03/11] pwm: add support for atmel-hlcdc-pwm device

2014-09-08 Thread Boris BREZILLON
The HLCDC IP available in some Atmel SoCs (i.e. sam9x5i.e. at91sam9n12, at91sam9x5 family or sama5d3 family) provide a PWM device. This driver add support for a PWM chip exposing a single PWM device (which will most likely be used to drive a backlight device). Signed-off-by: Boris BREZILLON

[PATCH v5 08/11] ARM: AT91/dt: add alternative pin muxing for sama5d3 lcd pins

2014-09-08 Thread Boris BREZILLON
Define alternative pin muxing for the LCDC pins. Signed-off-by: Boris BREZILLON boris.brezil...@free-electrons.com --- arch/arm/boot/dts/sama5d3_lcd.dtsi | 50 ++ 1 file changed, 50 insertions(+) diff --git a/arch/arm/boot/dts/sama5d3_lcd.dtsi b/arch/arm

[PATCH v5 01/11] mfd: add atmel-hlcdc driver

2014-09-08 Thread Boris BREZILLON
. This way concurrent accesses to the iomem range are handled by the regmap framework, and each subdevice can safely access HLCDC registers. Signed-off-by: Boris BREZILLON boris.brezil...@free-electrons.com Acked-by: Lee Jones lee.jo...@linaro.org Tested-by: Ludovic Desroches ludovic.desroc

[PATCH v5 04/11] pwm: add DT bindings documentation for atmel-hlcdc-pwm driver

2014-09-08 Thread Boris BREZILLON
The HLCDC IP available in some Atmel SoCs (i.e. sam9x5i.e. at91sam9n12, at91sam9x5 family or sama5d3 family) provide a PWM device. The DT bindings used for this PWM device is following the default 3 cells bindings described in Documentation/devicetree/bindings/pwm/pwm.txt. Signed-off-by: Boris

[PATCH v5 00/11] drm: add support for Atmel HLCDC Display Controller

2014-09-08 Thread Boris BREZILLON
for hardware cursor Boris BREZILLON (11): mfd: add atmel-hlcdc driver mfd: add documentation for atmel-hlcdc DT bindings pwm: add support for atmel-hlcdc-pwm device pwm: add DT bindings documentation for atmel-hlcdc-pwm driver drm: add Atmel HLCDC Display Controller support drm: add DT

[PATCH v5 06/11] drm: add DT bindings documentation for atmel-hlcdc-dc driver

2014-09-08 Thread Boris BREZILLON
-by: Boris BREZILLON boris.brezil...@free-electrons.com --- .../devicetree/bindings/drm/atmel-hlcdc-dc.txt | 54 ++ 1 file changed, 54 insertions(+) create mode 100644 Documentation/devicetree/bindings/drm/atmel-hlcdc-dc.txt diff --git a/Documentation/devicetree/bindings/drm

[PATCH v2 4/6] ARM: at91: add clk_lookup entry for RTT devices

2014-09-09 Thread Boris BREZILLON
First export the clk32k clk. Then add clk_lookup entries for RTT devices so that rtc-at91sam9 driver can retrieve and manipulate the slow clk. Signed-off-by: Boris BREZILLON boris.brezil...@free-electrons.com --- arch/arm/mach-at91/at91sam9260.c | 2 ++ arch/arm/mach-at91/at91sam9261.c | 2

[PATCH v2 5/6] rtc: at91sam9: use clk API instead of relying on AT91_SLOW_CLOCK

2014-09-09 Thread Boris BREZILLON
it during the disable unused phase. Signed-off-by: Boris BREZILLON boris.brezil...@free-electrons.com --- drivers/rtc/rtc-at91sam9.c | 28 1 file changed, 24 insertions(+), 4 deletions(-) diff --git a/drivers/rtc/rtc-at91sam9.c b/drivers/rtc/rtc-at91sam9.c index 57014b7

[PATCH v2 0/6] rtc: at91sam9: add DT support

2014-09-09 Thread Boris BREZILLON
since v1: - remove non CCF specific case by adding the appropriate clk_lookup entries in arch/arm/mach-at91/soc-name.c files Boris BREZILLON (6): rtc: at91sam9: remove references to mach specific headers rtc: at91sam9: use standard readl/writel functions instead of raw versions rtc

[PATCH v2 6/6] rtc: at91sam9: add DT bindings documentation

2014-09-09 Thread Boris BREZILLON
Signed-off-by: Boris BREZILLON boris.brezil...@free-electrons.com --- .../devicetree/bindings/rtc/atmel,at91sam9-rtc.txt | 20 1 file changed, 20 insertions(+) create mode 100644 Documentation/devicetree/bindings/rtc/atmel,at91sam9-rtc.txt diff --git a/Documentation

Re: [PATCH 5/5] rtc: at91sam9: add DT bindings documentation

2014-09-10 Thread Boris BREZILLON
On Wed, 10 Sep 2014 14:14:24 +0200 Johan Hovold jo...@kernel.org wrote: On Wed, Sep 03, 2014 at 10:45:34AM +0200, Boris BREZILLON wrote: Signed-off-by: Boris BREZILLON boris.brezil...@free-electrons.com --- .../devicetree/bindings/rtc/atmel,at91sam9-rtc.txt | 20

Re: [PATCH 5/5] rtc: at91sam9: add DT bindings documentation

2014-09-10 Thread Boris BREZILLON
On Wed, 10 Sep 2014 17:07:02 +0200 Johan Hovold jo...@kernel.org wrote: On Wed, Sep 10, 2014 at 03:20:19PM +0200, Boris BREZILLON wrote: On Wed, 10 Sep 2014 14:14:24 +0200 Johan Hovold jo...@kernel.org wrote: This does not describe the hardware, but rather a specific software

Re: [PATCH 5/5] rtc: at91sam9: add DT bindings documentation

2014-09-10 Thread Boris BREZILLON
On Wed, 10 Sep 2014 17:07:02 +0200 Johan Hovold jo...@kernel.org wrote: On Wed, Sep 10, 2014 at 03:20:19PM +0200, Boris BREZILLON wrote: On Wed, 10 Sep 2014 14:14:24 +0200 Johan Hovold jo...@kernel.org wrote: This does not describe the hardware, but rather a specific software

[PATCH v3 4/8] rtc: at91sam9: add DT support

2014-09-11 Thread Boris BREZILLON
Add of_match_table to the existing driver so that rtc nodes defined in at91 DTs can be attached to this driver. Signed-off-by: Boris BREZILLON boris.brezil...@free-electrons.com --- drivers/rtc/rtc-at91sam9.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/rtc/rtc-at91sam9.c

[PATCH v3 7/8] rtc: at91sam9: use clk API instead of relying on AT91_SLOW_CLOCK

2014-09-11 Thread Boris BREZILLON
it during the disable unused phase. Signed-off-by: Boris BREZILLON boris.brezil...@free-electrons.com --- drivers/rtc/rtc-at91sam9.c | 28 1 file changed, 24 insertions(+), 4 deletions(-) diff --git a/drivers/rtc/rtc-at91sam9.c b/drivers/rtc/rtc-at91sam9.c index b953545

[PATCH v3 6/8] ARM: at91: add clk_lookup entry for RTT devices

2014-09-11 Thread Boris BREZILLON
First export the clk32k clk. Then add clk_lookup entries for RTT devices so that rtc-at91sam9 driver can retrieve and manipulate the slow clk. Signed-off-by: Boris BREZILLON boris.brezil...@free-electrons.com --- arch/arm/mach-at91/at91sam9260.c | 2 ++ arch/arm/mach-at91/at91sam9261.c | 2

[PATCH v3 8/8] rtc: at91sam9: add DT bindings documentation

2014-09-11 Thread Boris BREZILLON
Signed-off-by: Boris BREZILLON boris.brezil...@free-electrons.com --- .../devicetree/bindings/rtc/atmel,at91sam9-rtc.txt | 24 ++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/devicetree/bindings/rtc/atmel,at91sam9-rtc.txt diff --git a/Documentation

[PATCH v3 0/8] rtc: at91sam9: add DT support

2014-09-11 Thread Boris BREZILLON
/regmap to avoid directly requesting/mapping a GPBR memory region in the RTT driver Changes since v1: - remove non CCF specific case by adding the appropriate clk_lookup entries in arch/arm/mach-at91/soc-name.c files Boris BREZILLON (8): rtc: at91sam9: remove references to mach specific

[PATCH v3 1/8] rtc: at91sam9: remove references to mach specific headers

2014-09-11 Thread Boris BREZILLON
In order to support multi platform kernel drivers should not include machine specific headers. Copy RTT macros in the driver code and remove any machine specific headers. Signed-off-by: Boris BREZILLON boris.brezil...@free-electrons.com --- drivers/rtc/rtc-at91sam9.c | 22

[PATCH v3 2/8] rtc: at91sam9: use standard readl/writel functions instead of raw versions

2014-09-11 Thread Boris BREZILLON
Signed-off-by: Boris BREZILLON boris.brezil...@free-electrons.com --- drivers/rtc/rtc-at91sam9.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/rtc/rtc-at91sam9.c b/drivers/rtc/rtc-at91sam9.c index 51f0038..74a9ca0 100644 --- a/drivers/rtc/rtc-at91sam9.c +++ b

[PATCH v3 5/8] rtc: at91sam9: make use of syscon/regmap to access GPBR registers

2014-09-11 Thread Boris BREZILLON
offset within the GPBR block. When using non DT boards, we won't be able to retrieve the syscon regmap, hence we need to create our own regmap using the memory region defined in the 2nd memory resource assigned to the RTT platform device. Signed-off-by: Boris BREZILLON boris.brezil...@free

Re: [PATCH v3 5/8] rtc: at91sam9: make use of syscon/regmap to access GPBR registers

2014-09-11 Thread Boris BREZILLON
On Thu, 11 Sep 2014 11:41:00 +0200 Johan Hovold jo...@kernel.org wrote: On Thu, Sep 11, 2014 at 10:56:04AM +0200, Boris BREZILLON wrote: The GPBR registers are not part of the RTT block and thus should not be defined in the reg property of the rtt node. Use syscon to provide a proper DT

Re: [PATCH v3 8/8] rtc: at91sam9: add DT bindings documentation

2014-09-11 Thread Boris BREZILLON
On Thu, 11 Sep 2014 11:42:13 +0200 Johan Hovold jo...@kernel.org wrote: On Thu, Sep 11, 2014 at 10:56:07AM +0200, Boris BREZILLON wrote: Signed-off-by: Boris BREZILLON boris.brezil...@free-electrons.com --- .../devicetree/bindings/rtc/atmel,at91sam9-rtc.txt | 24

Re: [PATCH v3 0/8] rtc: at91sam9: add DT support

2014-09-11 Thread Boris BREZILLON
On Thu, 11 Sep 2014 11:39:42 +0200 Johan Hovold jo...@kernel.org wrote: On Thu, Sep 11, 2014 at 10:55:59AM +0200, Boris BREZILLON wrote: Johan, let me know if this version addresses part of your concerns. Looks good to me. I just have a few minor comments on two of the patches. I'm

[PATCH v4 1/9] rtc: at91sam9: remove references to mach specific headers

2014-09-11 Thread Boris BREZILLON
In order to support multi platform kernel drivers should not include machine specific headers. Copy RTT macros in the driver code and remove any machine specific headers. Signed-off-by: Boris BREZILLON boris.brezil...@free-electrons.com Acked-by: Alexandre Belloni alexandre.bell...@free

[PATCH v4 6/9] ARM: at91: add clk_lookup entry for RTT devices

2014-09-11 Thread Boris BREZILLON
First export the clk32k clk. Then add clk_lookup entries for RTT devices so that rtc-at91sam9 driver can retrieve and manipulate the slow clk. Signed-off-by: Boris BREZILLON boris.brezil...@free-electrons.com Acked-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/mach-at91

[PATCH v4 7/9] rtc: at91sam9: use clk API instead of relying on AT91_SLOW_CLOCK

2014-09-11 Thread Boris BREZILLON
it during the disable unused phase. Signed-off-by: Boris BREZILLON boris.brezil...@free-electrons.com Acked-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- drivers/rtc/rtc-at91sam9.c | 28 1 file changed, 24 insertions(+), 4 deletions(-) diff --git

[PATCH v4 9/9] mfd: syscon: add Atmel GPBR DT bindings documention

2014-09-11 Thread Boris BREZILLON
the current time. Signed-off-by: Boris BREZILLON boris.brezil...@free-electrons.com --- Documentation/devicetree/bindings/mfd/atmel,gpbr.txt | 15 +++ 1 file changed, 15 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/atmel,gpbr.txt diff --git a/Documentation

[PATCH v4 8/9] rtc: at91sam9: add DT bindings documentation

2014-09-11 Thread Boris BREZILLON
Signed-off-by: Boris BREZILLON boris.brezil...@free-electrons.com --- .../devicetree/bindings/rtc/atmel,at91sam9-rtc.txt | 23 ++ 1 file changed, 23 insertions(+) create mode 100644 Documentation/devicetree/bindings/rtc/atmel,at91sam9-rtc.txt diff --git a/Documentation

[PATCH v4 2/9] rtc: at91sam9: use standard readl/writel functions instead of raw versions

2014-09-11 Thread Boris BREZILLON
Signed-off-by: Boris BREZILLON boris.brezil...@free-electrons.com Acked-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- drivers/rtc/rtc-at91sam9.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/rtc/rtc-at91sam9.c b/drivers/rtc/rtc-at91sam9.c

[PATCH v4 4/9] rtc: at91sam9: add DT support

2014-09-11 Thread Boris BREZILLON
Add of_match_table to the existing driver so that rtc nodes defined in at91 DTs can be attached to this driver. Signed-off-by: Boris BREZILLON boris.brezil...@free-electrons.com Acked-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- drivers/rtc/rtc-at91sam9.c | 9 + 1 file

[PATCH v4 3/9] rtc: at91sam9: replace devm_ioremap by devm_ioremap_resource

2014-09-11 Thread Boris BREZILLON
Replace devm_ioremap calls by devm_ioremap_resource which already check resource consistency (resource != NULL) and print an error in case of failure. Signed-off-by: Boris BREZILLON boris.brezil...@free-electrons.com --- drivers/rtc/rtc-at91sam9.c | 29 ++--- 1 file

[PATCH v4 5/9] rtc: at91sam9: make use of syscon/regmap to access GPBR registers

2014-09-11 Thread Boris BREZILLON
offset within the GPBR block. When using non DT boards, we won't be able to retrieve the syscon regmap, hence we need to create our own regmap using the memory region defined in the 2nd memory resource assigned to the RTT platform device. Signed-off-by: Boris BREZILLON boris.brezil...@free

<    1   2   3   4   5   6   7   8   9   10   >