Define the main clock frequency in every at91rm9200 boards.
Remove the old main clock definition.
Signed-off-by: Boris BREZILLON
---
arch/arm/boot/dts/at91rm9200ek.dts | 17 ++---
arch/arm/boot/dts/mpa1600.dts | 16 +---
2 files changed, 11 insertions(+), 22
Define at91sam9260 clocks in at91sam9260 device tree.
Add references to the appropriate clocks in each peripheral.
Signed-off-by: Boris BREZILLON
---
arch/arm/boot/dts/at91sam9260.dtsi | 144 +++-
1 file changed, 143 insertions(+), 1 deletion(-)
diff --git a
On 07/06/2013 12:14, Gregory CLEMENT wrote:
On 06/07/2013 11:32 AM, boris brezillon wrote:
On 07/06/2013 11:22, Nicolas Ferre wrote:
On 07/06/2013 10:34, Boris BREZILLON :
Hello,
This patch series is a proposal to move at91 clock implementation
to common clk framework.
Before discussion
On 10/06/2013 11:06, Mark Brown wrote:
On Fri, Jun 07, 2013 at 09:56:52PM +0200, Boris BREZILLON wrote:
On 07/06/2013 18:55, Mark Brown wrote:
On Fri, Jun 07, 2013 at 06:26:09PM +0200, Boris BREZILLON wrote:
Replace clk_enable/disable with clk_prepare_enable/disable_unprepare to
avoid common
Boris
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 to kizbox board
.../devicetree/bindings/watchdog/atmel-wdt.txt | 30 +-
software watchdog.
Finally it adds several properties to the device tree bindings.
Signed-off-by: Boris BREZILLON
---
drivers/watchdog/at91sam9_wdt.c | 319 +--
1 file changed, 236 insertions(+), 83 deletions(-)
diff --git a/drivers/watchdog/at91sam9_wdt.c b
Set default watchdog options in every SoC compatible with the sam9 watchdog.
Signed-off-by: Boris BREZILLON
---
arch/arm/boot/dts/at91sam9260.dtsi |5 +
arch/arm/boot/dts/at91sam9263.dtsi |5 +
arch/arm/boot/dts/at91sam9g45.dtsi |5 +
arch/arm/boot/dts/at91sam9n12.dtsi
Add watchdog specific config for kizbox board.
Signed-off-by: Boris BREZILLON
---
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/arm/boot/dts
Add new at91sam9 watchdog properties to the documentation.
Signed-off-by: Boris BREZILLON
---
.../devicetree/bindings/watchdog/atmel-wdt.txt | 30 ++--
1 file changed, 28 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/watchdog/atmel-wdt.txt
On 12/06/2013 11:05, Vinod Koul wrote:
On Fri, Jun 07, 2013 at 06:25:57PM +0200, Boris BREZILLON wrote:
Replace clk_enable/disable with clk_prepare_enable/disable_unprepare to
avoid common clk framework warnings.
Signed-off-by: Boris BREZILLON
---
drivers/dma/at_hdmac.c | 12
On 28/06/2013 09:44, Nicolas Ferre wrote:
On 25/06/2013 10:11, Boris BREZILLON :
Replace clk_enable/disable with clk_prepare_enable/disable_unprepare to
avoid common clk framework warnings.
Signed-off-by: Boris BREZILLON
It seems that you forgot the Acked-by line from Ludovic.
One comment
Replace clk_enable/disable with clk_prepare_enable/disable_unprepare to
avoid common clk framework warnings.
Signed-off-by: Boris BREZILLON
Acked-by: Ludovic Desroches
---
drivers/mmc/host/atmel-mci.c | 27 ++-
1 file changed, 18 insertions(+), 9 deletions(-)
diff
Replace clk_enable/disable with clk_prepare_enable/disable_unprepare to
avoid common clk framework warnings.
Signed-off-by: Boris BREZILLON
---
drivers/usb/gadget/atmel_usba_udc.c | 28 +---
1 file changed, 21 insertions(+), 7 deletions(-)
diff --git a/drivers/usb
Replace clk_enable/disable with clk_prepare_enable/disable_unprepare to
avoid common clk framework warnings.
Signed-off-by: Boris BREZILLON
Acked-by: Nicolas Ferre
---
drivers/video/atmel_lcdfb.c |8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/video
Replace clk_enable/disable with clk_prepare_enable/disable_unprepare to
avoid common clk framework warnings.
Signed-off-by: Boris BREZILLON
---
drivers/spi/spi-atmel.c | 12 +++-
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/drivers/spi/spi-atmel.c b/drivers/spi/spi
ehci, ohci, dma 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_enab
Replace clk_enable/disable with clk_prepare_enable/disable_unprepare to
avoid common clk framework warnings.
Signed-off-by: Boris BREZILLON
---
drivers/clocksource/tcb_clksrc.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/clocksource/tcb_clksrc.c b
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
---
drivers/usb/host/ohci
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
---
drivers/usb/gadget
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");
+
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
---
arch/arm/mach-at91
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
---
drivers/clk/at91/Makefile
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
ecked 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
---
drivers/clk/at91/Makefile |2 +-
drivers/clk/at91
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
---
driver
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
---
arch/arm/mach-at91/Kconfig |7 +++
drivers/clk/at91/Makefile |1 +
drivers/clk/at91/clk
Copyright (C) 2013 Boris BREZILLON
+ *
+ * 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) any later version.
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
---
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
---
arch/arm/mach-at91/Kconfig | 11 ++
drivers/clk/at91/Makefile |1 +
drivers/clk/at91/clk-usb.c | 303
This is the documentation of the dt bindings used by at91 clks.
Signed-off-by: Boris BREZILLON
---
.../devicetree/bindings/clock/at91-clock.txt | 262
1 file changed, 262 insertions(+)
create mode 100644 Documentation/devicetree/bindings/clock/at91-clock.txt
diff
mel's datasheets).
Signed-off-by: Boris BREZILLON
---
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 drivers/cl
d-off-by: Boris BREZILLON
---
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/at91/clk-periphe
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
---
arch/arm/mach-at91/Makefile |2 +-
arch/arm/mach-at91/clock.c | 977 --
arch/arm/mach-at91
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
---
arch/arm/mach-at91/Kconfig |1 +
arch/arm/mach
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
---
arch/arm/mach-at91/at91sam9263.c | 593
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
---
arch/arm/mach-at91/at91sam9g45.c | 702
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
---
arch/arm/mach-at91/at91sam9x5.c | 291 ---
1 file
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
---
arch/arm/mach-at91/at91sam9rl.c | 500
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
---
arch/arm/mach-at91/at91sam9n12.c | 194 --
1 file
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
---
arch/arm/mach-at91/Kconfig |1 +
arch/arm/mach-at91/sama5d3.c | 342
Move at91 clk init from early_init to timer_init for all at91rm9200 non dt
boards.
Signed-off-by: Boris BREZILLON
---
arch/arm/mach-at91/board-1arm.c | 12 ++--
arch/arm/mach-at91/board-carmeva.c| 13 -
arch/arm/mach-at91/board-cpuat91.c| 12
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
---
arch/arm/mach-at91/at91sam9261.c | 570
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
---
arch/arm/mach-at91/at91sam9260.c | 687
Make use of common clk framework for all at91sam9 SoCs
Signed-off-by: Boris BREZILLON
---
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/mach-at91/Kconfig
Move at91 clk init from early_init to timer_init for all at91sam9 non dt
boards.
Signed-off-by: Boris BREZILLON
---
arch/arm/mach-at91/board-afeb-9260v1.c | 11 +++
arch/arm/mach-at91/board-cam60.c| 13 -
arch/arm/mach-at91/board-cpu9krea.c | 12
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
---
arch/arm/mach-at91/at91sam926x_time.c |
when moving to common clk framework.
This patch add support for usb clock retrieval and configuration.
Signed-off-by: Boris BREZILLON
---
drivers/usb/host/ohci-at91.c | 16 ++--
1 file changed, 14 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/host/ohci-at91.c b/drivers
when moving to common clk framework.
This patch add support for usb clock retrieval and configuration.
Signed-off-by: Boris BREZILLON
---
drivers/usb/gadget/at91_udc.c | 31 ++-
drivers/usb/gadget/at91_udc.h |2 +-
2 files changed, 27 insertions(+), 6 deletions
Define at91rm9200 clocks in at91rm9200 device tree.
Add references to the appropriate clocks in each peripheral.
Signed-off-by: Boris BREZILLON
---
arch/arm/boot/dts/at91rm9200.dtsi | 231 +
1 file changed, 231 insertions(+)
diff --git a/arch/arm/boot/dts
Define at91sam9260 clocks in at91sam9260 device tree.
Add references to the appropriate clocks in each peripheral.
Signed-off-by: Boris BREZILLON
---
arch/arm/boot/dts/at91sam9260.dtsi | 236
1 file changed, 236 insertions(+)
diff --git a/arch/arm/boot/dts
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.
This
Define at91sam9263 clocks in at91sam9263 device tree.
Add references to the appropriate clocks in each peripheral.
Signed-off-by: Boris BREZILLON
---
arch/arm/boot/dts/at91sam9263.dtsi | 237
1 file changed, 237 insertions(+)
diff --git a/arch/arm/boot/dts
Define at91sam9g45 clocks in at91sam9g45 device tree.
Add references to the appropriate clocks in each peripheral.
Signed-off-by: Boris BREZILLON
---
arch/arm/boot/dts/at91sam9g45.dtsi | 257
1 file changed, 257 insertions(+)
diff --git a/arch/arm/boot/dts
Define at91sam9n12 clocks in at91sam9n12 device tree.
Add references to the appropriate clocks in each peripheral.
Signed-off-by: Boris BREZILLON
---
arch/arm/boot/dts/at91sam9n12.dtsi | 251
1 file changed, 251 insertions(+)
diff --git a/arch/arm/boot/dts
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
---
arch/arm
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
---
arch/arm/boot/dts/at91sam9g20.dtsi | 37
1 file changed, 37 insertions(+)
diff --git a/arch/arm/boot/dts
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
---
arch/arm/boo
Define the main clock frequency in every sam9260/sam9g20 boards.
Remove the old main clock definition.
Signed-off-by: Boris BREZILLON
---
arch/arm/boot/dts/animeo_ip.dts | 17 ++---
arch/arm/boot/dts/at91sam9g20ek_common.dtsi | 17 ++---
arch/arm/boot/dts
Define the main clock frequency in every at91rm9200 boards.
Remove the old main clock definition.
Signed-off-by: Boris BREZILLON
---
arch/arm/boot/dts/at91rm9200ek.dts | 17 ++---
arch/arm/boot/dts/mpa1600.dts | 16 +---
2 files changed, 11 insertions(+), 22
Define the main clock frequency in every at91sam9263 boards.
Remove the old main clock definition.
Signed-off-by: Boris BREZILLON
---
arch/arm/boot/dts/at91sam9263ek.dts | 17 ++---
arch/arm/boot/dts/tny_a9263.dts | 17 ++---
arch/arm/boot/dts/usb_a9263.dts
Define the main clock frequency in every at91sam9g45 boards.
Remove the old main clock definition.
Signed-off-by: Boris BREZILLON
---
arch/arm/boot/dts/at91sam9m10g45ek.dts | 17 ++---
arch/arm/boot/dts/pm9g45.dts | 16 +---
2 files changed, 11 insertions
Define the main clock frequency in every at91sam9n12 boards.
Remove the old main clock definition.
Signed-off-by: Boris BREZILLON
---
arch/arm/boot/dts/at91sam9n12ek.dts | 17 ++---
1 file changed, 6 insertions(+), 11 deletions(-)
diff --git a/arch/arm/boot/dts/at91sam9n12ek.dts
Define the main clock frequency in every at91sam9x5 boards.
Remove the old main clock definition.
Signed-off-by: Boris BREZILLON
---
arch/arm/boot/dts/at91-ariag25.dts | 17 ++---
1 file changed, 6 insertions(+), 11 deletions(-)
diff --git a/arch/arm/boot/dts/at91-ariag25.dts
b
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
---
arch/arm/boot/dts/sama5d31ek.dts |4
arch/arm/boot/dts/sama5d33ek.dts
Replace clk_enable/disable with clk_prepare_enable/disable_unprepare to
avoid common clk framework warnings.
Signed-off-by: Boris BREZILLON
---
drivers/clocksource/tcb_clksrc.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/clocksource/tcb_clksrc.c b
Replace clk_enable/disable with clk_prepare_enable/disable_unprepare to
avoid common clk framework warnings.
Signed-off-by: Boris BREZILLON
Acked-by: Ludovic Desroches
---
drivers/mmc/host/atmel-mci.c | 34 +++---
1 file changed, 27 insertions(+), 7 deletions
Replace clk_enable/disable with clk_prepare_enable/disable_unprepare to
avoid common clk framework warnings.
Signed-off-by: Boris BREZILLON
---
drivers/usb/gadget/atmel_usba_udc.c | 28 +---
1 file changed, 21 insertions(+), 7 deletions(-)
diff --git a/drivers/usb
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
Acked-by: Nicolas Ferre
---
drivers/video/atmel_lcdfb.c |8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/video
(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
---
drivers/clocksource/tcb_clksrc.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/clocksource/tcb_clksrc.c b
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 s
e feedback from you on the
clk implementations and dt bindings...
Berst Regards,
Boris
Le 17/07/2013 15:34, Boris BREZILLON a écrit :
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 Contr
On 29/07/2013 16:18, Richard Genoud wrote:
2013/7/29 boris brezillon :
On 29/07/2013 10:00, Richard Genoud wrote:
2013/7/26 boris brezillon :
On 26/07/2013 17:44, boris brezillon wrote:
I found 2 bugs:
1) the main frequency ready test in recalc_rate function is wrong
2) the common clk
On 29/07/2013 17:09, Richard Genoud wrote:
2013/7/29 boris brezillon :
On 29/07/2013 16:18, Richard Genoud wrote:
2013/7/29 boris brezillon :
On 29/07/2013 10:00, Richard Genoud wrote:
2013/7/26 boris brezillon :
On 26/07/2013 17:44, boris brezillon wrote:
I found 2 bugs:
1) the main
On 29/07/2013 17:42, Linus Walleij wrote:
On Sat, Jul 20, 2013 at 4:51 PM, 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 (l
On 29/07/2013 17:09, Richard Genoud wrote:
2013/7/29 boris brezillon :
On 29/07/2013 16:18, Richard Genoud wrote:
2013/7/29 boris brezillon :
On 29/07/2013 10:00, Richard Genoud wrote:
2013/7/26 boris brezillon :
On 26/07/2013 17:44, boris brezillon wrote:
I found 2 bugs:
1) the main
ard
compatibility hack.
Should I get 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 (o
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
---
drivers/usb/host/ohci-at91.c
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
---
drivers/usb/gadget/at91_udc.c
d
peripheral clk ids.
Signed-off-by: Boris BREZILLON
---
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/at91s
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
---
arch/arm/boot/dts/at91sam9260.dtsi | 57 +++-
1 file changed, 30 insertions(+), 27
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
---
arch/arm/boot/dts/at91sam9g45.dtsi| 57 +
arch/arm/mach-at91/include/mach/at91sam9g45
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
---
arch/arm/boot/dts/at91sam9n12.dtsi | 43 ++--
1 file changed, 22 insertions(+), 21
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
---
arch/arm/boot/dts/at91sam9x5.dtsi | 63 +++--
1 file changed, 32 insertions(+), 31
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
---
arch/arm/boot/dts/sama5d3.dtsi | 83
1 file changed, 42 insertions(+), 41 deletions
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
---
arch/arm/boot/dts/at91sam9263.dtsi | 46 +++-
1 file changed, 24 insertions(+), 22
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
---
arch/arm/boot/dts/at91rm9200.dtsi | 59 +
1 file changed, 33 insertions(+), 26
right now. 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: at9
Hello Richard,
On 01/08/2013 11:27, Richard Genoud wrote:
2013/8/1 Richard Genoud :
2013/8/1 Boris BREZILLON :
Hello,
This patch series move at91 SoCs peripheral id definitions from machine
specific include dir to dt-bindings include dir.
These macros are used to reference interrupts instead
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
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
this series ?
Best 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 +
optional and may be implemented if the clock is not
a perfect clock (accuracy != 0 ppb).
Signed-off-by: Boris BREZILLON
---
Documentation/clk.txt|4 ++
drivers/clk/Kconfig |4 ++
drivers/clk/clk.c| 91 --
include/linux
This patch adds support for accuracy retrieval on fixed clocks.
It also adds a new dt property called 'clock-accuracy' to define the clock
accuracy.
This can be usefull for oscillator (RC, crystal, ...) definitions which are
always given an accuracy characteristic.
---
.../devicetree/bindings/clo
201 - 300 of 5738 matches
Mail list logo