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
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
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
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
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
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
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
-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
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
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
,
+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
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
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
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
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
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
:
- 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
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
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
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
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
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
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
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
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
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
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
.
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
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
.
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
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
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
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
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
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
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
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
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
-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
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
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
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
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
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
). 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
.
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
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
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
-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
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
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
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
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
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
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
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
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
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
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
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
/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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
401 - 500 of 1080 matches
Mail list logo