Hello,
On 20/06/2013 08:52, Mike Turquette wrote:
Quoting Boris BREZILLON (2013-06-07 08:11:03)
+static struct clk_lookup pioA_clk_lookup[] = {
+ CLKDEV_INIT(NULL, pioA_clk, NULL),
+ CLKDEV_INIT(NULL, pioA, NULL),
+};
It would be great to get rid of this clkdev data from
On 20/06/2013 09:48, Nicolas Ferre wrote:
On 19/06/2013 13:17, Boris BREZILLON :
Replace clk_enable/disable with clk_prepare_enable/disable_unprepare to
avoid common clk framework warnings.
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
Acked-by: Nicolas Ferre nicolas.fe...@atmel.com
On 21/06/2013 03:47, Yang, Wenyou wrote:
-Original Message-
From: linux-arm-kernel [mailto:linux-arm-kernel-boun...@lists.infradead.org]
On Behalf Of Boris BREZILLON
Sent: 2013年6月11日 18:51
To: Wim Van Sebroeck; Jean-Christophe Plagniol-Villard; Ferre, Nicolas;
linux-watch
Change since v1:
- fix typo in documentaion
- fix irq dt definition for sama5d3 SoC
Boris BREZILLON (4):
watchdog: at91sam9_wdt: better watchdog support
watchdog: at91sam9_wdt: update device tree doc
ARM: at91/dt: add sam9 watchdog default options to SoCs
ARM: at91/dt: add watchdog properties
a software reboot.
Finally it adds several properties to the device tree bindings.
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
---
drivers/watchdog/at91sam9_wdt.c | 319 +--
1 file changed, 236 insertions(+), 83 deletions(-)
diff --git a/drivers
Add new at91sam9 watchdog properties to the documentation.
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
---
.../devicetree/bindings/watchdog/atmel-wdt.txt | 30 ++--
1 file changed, 28 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings
Set default watchdog options in every SoC compatible with the sam9 watchdog.
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
---
arch/arm/boot/dts/at91sam9260.dtsi |5 +
arch/arm/boot/dts/at91sam9263.dtsi |5 +
arch/arm/boot/dts/at91sam9g45.dtsi |5 +
arch/arm/boot
Set default watchdog options in every SoC compatible with the sam9 watchdog.
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
---
arch/arm/boot/dts/at91sam9260.dtsi |5 +
arch/arm/boot/dts/at91sam9263.dtsi |5 +
arch/arm/boot/dts/at91sam9g45.dtsi |5 +
arch/arm/boot
Add watchdog specific config for kizbox board.
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
---
arch/arm/boot/dts/kizbox.dts |6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/kizbox.dts b/arch/arm/boot/dts/kizbox.dts
index 02df191..928f6ee 100644
--- a/arch
Replace clk_enable/disable with clk_prepare_enable/disable_unprepare to
avoid common clk framework warnings.
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
Acked-by: Ludovic Desroches ludovic.desroc...@atmel.com
---
drivers/mmc/host/atmel-mci.c | 27 ++-
1 file
Replace clk_enable/disable with clk_prepare_enable/disable_unprepare to
avoid common clk framework warnings.
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
---
drivers/usb/gadget/atmel_usba_udc.c | 28 +---
1 file changed, 21 insertions(+), 7 deletions(-)
diff
Replace clk_enable/disable with clk_prepare_enable/disable_unprepare to
avoid common clk framework warnings.
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
Acked-by: Nicolas Ferre nicolas.fe...@atmel.com
---
drivers/video/atmel_lcdfb.c |8
1 file changed, 4 insertions(+), 4
Replace clk_enable/disable with clk_prepare_enable/disable_unprepare to
avoid common clk framework warnings.
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
---
drivers/spi/spi-atmel.c | 12 +++-
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/drivers/spi/spi
and serial)
Changes since common clk patch series:
- add clk_prepare_enable return check
- fix a deadlock in atmel-mci (missing spin_unlock)
- remove already applied patches (atmel-ssc and pwm-atmel-tcb)
Boris BREZILLON (7):
ARM: at91/tc/clocksource: replace clk_enable/disable
Replace clk_enable/disable with clk_prepare_enable/disable_unprepare to
avoid common clk framework warnings.
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
---
drivers/clocksource/tcb_clksrc.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers
when moving to common clk framework.
This patch add support for usb clock retrieval and configuration, and is
backward compatible with the current at91 clk implementation (if usb clk
is not found, it does not configure/enable the usb clk).
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
when moving to common clk framework.
This patch add support for usb clock retrieval and configuration, and is
backward compatible with the current at91 clk implementation (if usb clk
is not found, it does not configure/enable the usb clk).
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
Hello Thomas,
On 16/07/2013 17:13, Thomas Petazzoni wrote:
Dear Boris BREZILLON,
On Tue, 16 Jul 2013 17:06:48 +0200, Boris BREZILLON wrote:
buf = kmalloc(ATMCI_REGS_SIZE, GFP_KERNEL);
if (!buf)
@@ -389,9 +391,13 @@ static int atmci_regs_show(struct seq_file *s, void *v
Hello Alan,
On 16/07/2013 18:48, Alan Stern wrote:
On Tue, 16 Jul 2013, Boris BREZILLON wrote:
The AT91 PMC (Power Management Controller) provides an USB clock used by
USB Full Speed host (ohci) and USB Full Speed device (udc).
The usb drivers (ohci and udc) must configure this clock to 48Mhz
On 16/07/2013 20:47, Alan Stern wrote:
On Tue, 16 Jul 2013, boris brezillon wrote:
+ uclk = clk_get(pdev-dev, usb_clk);
+ if (IS_ERR(uclk)) {
+ uclk = NULL;
+ dev_warn(pdev-dev, failed to get usb_clk\n);
+ }
Is this really what you want
This patch moves at91_pmc.h header from machine specific directory
(arch/arm/mach-at91/include/mach/at91_pmc.h) to clk include directory
(include/linux/clk/at91.h).
We need this to avoid reference to machine specific headers in clk
drivers.
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
This is the at91 main oscillator clock implementation using common
clk framework.
If rate is not provided during clock registraction it is computed using
the slow clock (main clk parent in this case) rate and the MCFR register.
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
---
drivers
definition
Boris BREZILLON (42):
ARM: at91: move at91_pmc.h to include/linux/clk/at91.h
ARM: at91: add PMC main clock
ARM: at91: add PMC pll clocks
ARM: at91: add PMC master clock
ARM: at91: add PMC system clocks
ARM: at91: add PMC peripheral clocks
ARM: at91: add PMC programmable
during rate change to avoid
over/underclocking.
These characteristics are described in atmel's SoC datasheet in
Electrical Characteristics paragraph.
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
---
drivers/clk/at91/Makefile |2 +-
drivers/clk/at91/clk-master.c | 317
This is the at91 system clock implementation using common clk framework.
Some peripheral needs to enable a system clock in order to work properly.
Each system clock is given an id which is the bit offset used in SCER/SCDR
registers.
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
This is the at91 utmi clock implementation using common clk framework.
This clock is a pll with a fixed factor (x40).
It is used as a source for usb clock.
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
---
arch/arm/mach-at91/Kconfig |7 +++
drivers/clk/at91/Makefile |1
+ *
+ * Copyright (C) 2013 Boris BREZILLON b.brezil...@overkiz.com
+ *
+ * This pllram is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option
This is the at91 smd (Soft Modem) clock implementation using common clk
framework.
Not used by any driver right now.
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
---
arch/arm/mach-at91/Kconfig |5 ++
drivers/clk/at91/Makefile |1 +
drivers/clk/at91/clk-smd.c | 157
This is the at91 usb clock implementation using common clk framework.
This clock is used to clock usb ports (ohci, ehci and udc).
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
---
arch/arm/mach-at91/Kconfig | 11 ++
drivers/clk/at91/Makefile |1 +
drivers/clk/at91/clk-usb.c
This is the documentation of the dt bindings used by at91 clks.
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
---
.../devicetree/bindings/clock/at91-clock.txt | 262
1 file changed, 262 insertions(+)
create mode 100644 Documentation/devicetree/bindings/clock
datasheets).
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
---
drivers/clk/at91/Makefile |2 +
drivers/clk/at91/clk-programmable.c | 368 +++
include/linux/clk/at91.h| 18 ++
3 files changed, 388 insertions(+)
create mode 100644
-by: Boris BREZILLON b.brezil...@overkiz.com
---
drivers/clk/at91/Makefile |2 +-
drivers/clk/at91/clk-peripheral.c | 371 +
include/linux/clk/at91.h |8 +
3 files changed, 380 insertions(+), 1 deletion(-)
create mode 100644 drivers/clk
registration is moved to at91_clk_init function which should be called
before timer_init (pit timer request at91 master clock).
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
---
arch/arm/mach-at91/Makefile |2 +-
arch/arm/mach-at91/clock.c | 977
This patch removes all references to the old at91 clks implementation and
make use of the new at91 clk implem for at91rm9200 SoC.
All dt specific lookups are removed (handled in clk device tree binding).
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
---
arch/arm/mach-at91/Kconfig
This patch removes all references to the old at91 clks implementation and
make use of the new at91 clk implem for at91sam9263 SoC.
All dt specific lookups are removed (handled in clk device tree binding).
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
---
arch/arm/mach-at91/at91sam9263
This patch removes all references to the old at91 clks implementation and
make use of the new at91 clk implem for at91sam9g45 SoC.
All dt specific lookups are removed (handled in clk device tree binding).
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
---
arch/arm/mach-at91/at91sam9g45
This patch removes all references to the old at91 clks for at91sam9x5 SoCs.
These SoCs only supports dt boards: we can remove register_clocks
(all clocks are defined in dt).
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
---
arch/arm/mach-at91/at91sam9x5.c | 291
This patch removes all references to the old at91 clks implementation and
make use of the new at91 clk implem for at91sam9rl SoC.
All dt specific lookups are removed (handled in clk device tree binding).
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
---
arch/arm/mach-at91/at91sam9rl.c
This patch removes all references to the old at91 clks for at91sam9n12 SoC.
This SoC only supports dt boards: we can remove register_clocks
(all clocks are defined in dt).
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
---
arch/arm/mach-at91/at91sam9n12.c | 194
This patch removes all references to the old at91 clks for sama5d3 SoCs.
These SoCs only supports dt boards: we can remove register_clocks
(all clocks are defined in dt).
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
---
arch/arm/mach-at91/Kconfig |1 +
arch/arm/mach-at91/sama5d3
Move at91 clk init from early_init to timer_init for all at91rm9200 non dt
boards.
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
---
arch/arm/mach-at91/board-1arm.c | 12 ++--
arch/arm/mach-at91/board-carmeva.c| 13 -
arch/arm/mach-at91/board-cpuat91.c
This patch removes all references to the old at91 clks implementation and
make use of the new at91 clk implem for at91sam9261 SoC.
All dt specific lookups are removed (handled in clk device tree binding).
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
---
arch/arm/mach-at91/at91sam9261
This patch removes all references to the old at91 clks implementation and
make use of the new at91 clk implem for at91sam9260 SoC.
All dt specific lookups are removed (handled in clk device tree binding).
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
---
arch/arm/mach-at91/at91sam9260
Make use of common clk framework for all at91sam9 SoCs
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
---
arch/arm/mach-at91/Kconfig |1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig
index 3253373..9901316 100644
--- a/arch/arm
Move at91 clk init from early_init to timer_init for all at91sam9 non dt
boards.
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
---
arch/arm/mach-at91/board-afeb-9260v1.c | 11 +++
arch/arm/mach-at91/board-cam60.c| 13 -
arch/arm/mach-at91/board
Use device tree to get the source clock of the PIT (Periodic Interval Timer).
If the clock is not found in device tree (or dt is not enabled) we'll try to
get it using clk_lookup definitions.
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
---
arch/arm/mach-at91/at91sam926x_time.c | 21
when moving to common clk framework.
This patch add support for usb clock retrieval and configuration.
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
---
drivers/usb/host/ohci-at91.c | 16 ++--
1 file changed, 14 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/host
when moving to common clk framework.
This patch add support for usb clock retrieval and configuration.
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
---
drivers/usb/gadget/at91_udc.c | 31 ++-
drivers/usb/gadget/at91_udc.h |2 +-
2 files changed, 27
Define at91rm9200 clocks in at91rm9200 device tree.
Add references to the appropriate clocks in each peripheral.
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
---
arch/arm/boot/dts/at91rm9200.dtsi | 231 +
1 file changed, 231 insertions(+)
diff
Define at91sam9260 clocks in at91sam9260 device tree.
Add references to the appropriate clocks in each peripheral.
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
---
arch/arm/boot/dts/at91sam9260.dtsi | 236
1 file changed, 236 insertions(+)
diff
On 17/07/2013 17:33, Alan Stern wrote:
On Tue, 16 Jul 2013, Boris BREZILLON wrote:
The AT91 PMC (Power Management Controller) provides an USB clock used by
USB Full Speed host (ohci) and USB Full Speed device (udc).
The usb drivers (ohci and udc) must configure this clock to 48Mhz
Define at91sam9263 clocks in at91sam9263 device tree.
Add references to the appropriate clocks in each peripheral.
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
---
arch/arm/boot/dts/at91sam9263.dtsi | 237
1 file changed, 237 insertions(+)
diff
Define at91sam9g45 clocks in at91sam9g45 device tree.
Add references to the appropriate clocks in each peripheral.
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
---
arch/arm/boot/dts/at91sam9g45.dtsi | 257
1 file changed, 257 insertions(+)
diff
Define at91sam9n12 clocks in at91sam9n12 device tree.
Add references to the appropriate clocks in each peripheral.
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
---
arch/arm/boot/dts/at91sam9n12.dtsi | 251
1 file changed, 251 insertions(+)
diff
Define at91sam9x5 clocks in at91sam9x5 device tree.
Add references to the appropriate clocks in each peripheral.
Split optional sam9x5 peripherals in several device tree files. These
files are included by each SoC according to it's availability.
Signed-off-by: Boris BREZILLON b.brezil
On 17/07/2013 15:40, Boris BREZILLON wrote:
This is the at91 main oscillator clock implementation using common
clk framework.
If rate is not provided during clock registraction it is computed using
the slow clock (main clk parent in this case) rate and the MCFR register.
Signed-off-by: Boris
Define at91sam9g20 clocks in at91sam9g20 device tree.
Add references to the appropriate clocks in each peripheral.
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
---
arch/arm/boot/dts/at91sam9g20.dtsi | 37
1 file changed, 37 insertions(+)
diff
Define sama5d3 clocks in sama5d3 device tree.
Add references to the appropriate clocks in each peripheral.
Split optional sam9x5 peripherals in several device tree files. These
files are included by each SoC according to it's availability.
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
Define the main clock frequency in every sam9260/sam9g20 boards.
Remove the old main clock definition.
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
---
arch/arm/boot/dts/animeo_ip.dts | 17 ++---
arch/arm/boot/dts/at91sam9g20ek_common.dtsi | 17
Define the main clock frequency in every at91rm9200 boards.
Remove the old main clock definition.
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
---
arch/arm/boot/dts/at91rm9200ek.dts | 17 ++---
arch/arm/boot/dts/mpa1600.dts | 16 +---
2 files changed
Define the main clock frequency in every at91sam9263 boards.
Remove the old main clock definition.
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
---
arch/arm/boot/dts/at91sam9263ek.dts | 17 ++---
arch/arm/boot/dts/tny_a9263.dts | 17 ++---
arch/arm/boot
Define the main clock frequency in every at91sam9g45 boards.
Remove the old main clock definition.
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
---
arch/arm/boot/dts/at91sam9m10g45ek.dts | 17 ++---
arch/arm/boot/dts/pm9g45.dts | 16 +---
2 files
Define the main clock frequency in every at91sam9n12 boards.
Remove the old main clock definition.
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
---
arch/arm/boot/dts/at91sam9n12ek.dts | 17 ++---
1 file changed, 6 insertions(+), 11 deletions(-)
diff --git a/arch/arm/boot
Define the main clock frequency in every at91sam9x5 boards.
Remove the old main clock definition.
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
---
arch/arm/boot/dts/at91-ariag25.dts | 17 ++---
1 file changed, 6 insertions(+), 11 deletions(-)
diff --git a/arch/arm/boot
On 17/07/2013 19:13, Russell King - ARM Linux wrote:
On Wed, Jul 17, 2013 at 05:37:13PM +0200, Boris BREZILLON wrote:
Move at91 clk init from early_init to timer_init for all at91sam9 non dt
boards.
Using black ball point pen, please complete the following sentence using
as many words as you
Define the main clock frequency in every sama5d3 boards.
Remove the old main clock definition.
Include the appropriate peripheral options according to peripherals
availability.
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
---
arch/arm/boot/dts/sama5d31ek.dts |4
arch/arm/boot
Replace clk_enable/disable with clk_prepare_enable/disable_unprepare to
avoid common clk framework warnings.
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
---
drivers/clocksource/tcb_clksrc.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers
Replace clk_enable/disable with clk_prepare_enable/disable_unprepare to
avoid common clk framework warnings.
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
Acked-by: Ludovic Desroches ludovic.desroc...@atmel.com
---
drivers/mmc/host/atmel-mci.c | 34
Replace clk_enable/disable with clk_prepare_enable/disable_unprepare to
avoid common clk framework warnings.
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
---
drivers/usb/gadget/atmel_usba_udc.c | 28 +---
1 file changed, 21 insertions(+), 7 deletions(-)
diff
clk_prepare/unprepare (and indirectly clk_prepare_enable/disable_unprepare)
may sleep and thus cannot be called in critical section.
This patch fix a bug introduced by commit
6f0d94790efe9f4481bbd7c174ef0e9b5e5db7c4 where clk_disable_unprepare was
called with user_lock hold.
Signed-off-by: Boris
Replace clk_enable/disable with clk_prepare_enable/disable_unprepare to
avoid common clk framework warnings.
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
Acked-by: Nicolas Ferre nicolas.fe...@atmel.com
---
drivers/video/atmel_lcdfb.c |8
1 file changed, 4 insertions(+), 4
(missing spin_unlock)
- remove already applied patches (atmel-ssc and pwm-atmel-tcb)
Boris BREZILLON (5):
ARM: at91/tc/clocksource: replace clk_enable/disable with
clk_prepare_enable/disable_unprepare.
mmc: atmel-mci: prepare clk before calling enable
at91/avr32/atmel_lcdfb: prepare clk
Replace clk_enable/disable with clk_prepare_enable/disable_unprepare to
avoid common clk framework warnings.
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
---
drivers/clocksource/tcb_clksrc.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers
On 17/07/2013 15:34, Boris BREZILLON wrote:
Hello,
This patch series is a proposal to move at91 clock implementation
to common clk framework.
Most of the clock provided by the PMC (Power Management Controller) are
implemented :
- main clock (main oscillator)
- pll clocks
- master clock
On 18/07/2013 11:53, Mark Brown wrote:
On Thu, Jul 18, 2013 at 09:48:40AM +0200, Boris BREZILLON wrote:
clk_prepare/unprepare (and indirectly clk_prepare_enable/disable_unprepare)
may sleep and thus cannot be called in critical section.
I'm missing patches 1-4?
I can send you the whole series
On 18/07/2013 13:25, Mark Brown wrote:
On Thu, Jul 18, 2013 at 09:48:40AM +0200, Boris BREZILLON wrote:
clk_prepare/unprepare (and indirectly clk_prepare_enable/disable_unprepare)
may sleep and thus cannot be called in critical section.
Applied, thanks.
Thanks
--
To unsubscribe from this list
On 18/07/2013 12:58, Mark Brown wrote:
On Thu, Jul 18, 2013 at 12:21:38PM +0200, boris brezillon wrote:
I can send you the whole series if you want (already sent to LKML
and LAKML).
But I'd like to understand who I should send patches from this series to.
When you send me patch 5/5
)configure the debounce time after bootup and
the second solution does not provide any way to do this
I might be wrong, so please feel free to share your thoughts about this.
Best Regards,
Boris
Boris BREZILLON (4):
pinctrl: at91: fix typos
pinctrl: at91: reset caller's config variable before
Fix AT91_PINCTRL_DEBOUNCE_VAL dt macro typo.
Fix at91_pinctrl_mux_ops callback typos.
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
---
drivers/pinctrl/pinctrl-at91.c |6 +++---
include/dt-bindings/pinctrl/at91.h |2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff
filter is disabled.
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
---
drivers/pinctrl/pinctrl-at91.c | 18 +-
1 file changed, 13 insertions(+), 5 deletions(-)
diff --git a/drivers/pinctrl/pinctrl-at91.c b/drivers/pinctrl/pinctrl-at91.c
index 50b555a..6624bce 100644
(which will result in disabling the debounce filter).
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
---
drivers/pinctrl/pinctrl-at91.c | 18 +-
1 file changed, 13 insertions(+), 5 deletions(-)
diff --git a/drivers/pinctrl/pinctrl-at91.c b/drivers/pinctrl/pinctrl-at91.c
bank is already configured with a different
debounce time, the pin config with fail with -EINVAL.
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
---
drivers/pinctrl/pinctrl-at91.c | 22 ++
1 file changed, 18 insertions(+), 4 deletions(-)
diff --git a/drivers/pinctrl
AT91 SoCs do not support per pin debounce time configuration.
Instead you have to configure a debounce time which will be used for all
pins of a given bank (PIOA, PIOB, ...).
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
---
.../bindings/pinctrl/atmel,at91-pinctrl.txt|9
this patch (and patch 27) out of the this series and back
to the prepare series ?
Best Regards,
Boris
On 17/07/2013 17:47, Boris BREZILLON wrote:
The AT91 PMC (Power Management Controller) provides an USB clock used by
USB Full Speed host (ohci) and USB Full Speed device (udc).
The usb drivers
when moving to common clk framework.
This patch adds support for usb clock retrieval and configuration, and is
backward compatible with the current at91 clk implementation (if usb clk
is not found, it does not configure/enable it).
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
when moving to common clk framework.
This patch adds support for usb clock retrieval and configuration, and is
backward compatible with the current at91 clk implementation (if usb clk
is not found, it does not configure/enable it).
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
.
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
---
arch/arm/mach-at91/include/mach/at91rm9200.h | 31 +-
arch/arm/mach-at91/include/mach/at91sam9260.h | 29 +
arch/arm/mach-at91/include/mach/at91sam9261.h | 23 +--
arch/arm/mach-at91/include/mach
This patch make use of the peripheral id macros defined in
dt-bindings/at91/at91sam9260/peripherals.h to register peripheral
interrupts.
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
---
arch/arm/boot/dts/at91sam9260.dtsi | 57 +++-
1 file changed, 30
This patch make use of the peripheral id macros defined in
dt-bindings/at91/at91sam9g45/peripherals.h to register peripheral
interrupts.
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
---
arch/arm/boot/dts/at91sam9g45.dtsi| 57 +
arch/arm/mach-at91
This patch make use of the peripheral id macros defined in
dt-bindings/at91/at91sam9n12/peripherals.h to register peripheral
interrupts.
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
---
arch/arm/boot/dts/at91sam9n12.dtsi | 43 ++--
1 file changed, 22
This patch make use of the peripheral id macros defined in
dt-bindings/at91/at91sam9x5/peripherals.h to register peripheral
interrupts.
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
---
arch/arm/boot/dts/at91sam9x5.dtsi | 63 +++--
1 file changed, 32
This patch make use of the peripheral id macros defined in
dt-bindings/at91/sama5d3/peripherals.h to register peripheral
interrupts.
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
---
arch/arm/boot/dts/sama5d3.dtsi | 83
1 file changed, 42
This patch make use of the peripheral id macros defined in
dt-bindings/at91/at91sam9263/peripherals.h to register peripheral
interrupts.
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
---
arch/arm/boot/dts/at91sam9263.dtsi | 46 +++-
1 file changed, 24
This patch make use of the peripheral id macros defined in
dt-bindings/at91/at91rm9200/peripherals.h to register peripheral
interrupts.
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
---
arch/arm/boot/dts/at91rm9200.dtsi | 59 +
1 file changed, 33
. Maybe something like 'include/dt-bindings/soc/at91/xxx' or
'include/dt-bindings/peripherals/at91/xxx' would be better.
What do you think ?
Best Regards,
Boris
Boris BREZILLON (8):
ARM: at91: move peripheral id definitions to dt-bindings include dir
ARM: at91/dt: use periph id macros
Hello Richard,
On 01/08/2013 11:27, Richard Genoud wrote:
2013/8/1 Richard Genoud richard.gen...@gmail.com:
2013/8/1 Boris BREZILLON b.brezil...@overkiz.com:
Hello,
This patch series move at91 SoCs peripheral id definitions from machine
specific include dir to dt-bindings include dir
On 01/08/2013 13:04, Alexandre Belloni wrote:
Hi,
On 20/07/2013 16:51, Boris BREZILLON wrote:
The current implementation handle both edge and level interrupts with the
'handle_simple_irq' handler.
Level interrupts are active as long as the pin stays at the configured
level (low or high
On 01/08/2013 13:13, Mark Brown wrote:
On Thu, Aug 01, 2013 at 01:06:20PM +0200, boris brezillon wrote:
[changed Mark Brown address from opensource.wolfsonmicro.com to
kernel.org (the 1st one failed)]
Sorry Mark. Do you want me to resend you the whole series ?
If it's just DT changes
Regards,
Boris
Boris BREZILLON (2):
clk: add clk accuracy retrieval support
clk: add accuracy support for fixed clock
Documentation/clk.txt |4 +
.../devicetree/bindings/clock/fixed-clock.txt |3 +
drivers/clk/Kconfig
is optional and may be implemented if the clock is not
a perfect clock (accuracy != 0 ppb).
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
---
Documentation/clk.txt|4 ++
drivers/clk/Kconfig |4 ++
drivers/clk/clk.c| 91
101 - 200 of 10969 matches
Mail list logo