On 11:28 Sat 17 Sep , Russell King - ARM Linux wrote:
On Fri, Sep 09, 2011 at 01:02:19AM -0700, Allen Martin wrote:
+#ifdef CONFIG_ARCH_TEGRA_2x_SOC
+# ifdef SOC_NAME
+# undef MULTI_SOC
+# define MULTI_SOC
+# else
+# define SOC_NAME tegra2
+# endif
+#endif
+#ifdef
On 22:56 Sat 17 Sep , Arnd Bergmann wrote:
On Saturday 17 September 2011 20:19:07 Jean-Christophe PLAGNIOL-VILLARD wrote:
I agree about it I just mean that if you have the same board with 2 SoC
which
are pin to pin compatible detect the soc type will be usefull as the soc
resource
allow the DT to pass the mac address and the phy mode
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
Cc: Jamie Iles ja...@jamieiles.com
Cc: Nicolas Ferre nicolas.fe...@atmel.com
---
Documentation/devicetree/bindings/net/macb.txt | 22
drivers/net/ethernet
On 15:58 Fri 18 Nov , Jamie Iles wrote:
Hi Jean-Christophe,
On Fri, Nov 18, 2011 at 03:29:25PM +0100, Jean-Christophe PLAGNIOL-VILLARD
wrote:
allow the DT to pass the mac address and the phy mode
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
Cc: Jamie
On 14:44 Mon 21 Nov , Stephen Warren wrote:
Mark any SDHCI controllers that aren't registered by the board files as
disabled in the device-tree files.
In practice, these controllers:
* Have nothing hooked up to them at all, or
* For ports intended for SDIO usage, the drivers for
-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
---
Apologies if I've missed it somewhere but I think this needs to be
documented in Documentation/devicetree.
[...]
diff --git a/arch/arm/mach-at91/irq.c b/arch/arm/mach-at91/irq.c
index be6b639..80783b0 100644
--- a/arch/arm/mach-at91
On 18:50 Fri 02 Dec , Nicolas Ferre wrote:
Add the Cadence macb ethernet controller in at91sam9g45 .dtsi and
enable it in at91sam9m10g45ek board device tree file.
Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com
---
arch/arm/boot/dts/at91sam9g45.dtsi |7 +++
On 12:59 Mon 05 Dec , Nicolas Ferre wrote:
Add the Cadence macb ethernet controller in at91sam9g45 .dtsi and
enable it in at91sam9m10g45ek board device tree file.
Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com
Acked-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
Best
On 18:45 Mon 05 Dec , Alan Cox wrote:
But as you illustrated, there is a large number of drivers that already
assume no IRQ is 0, even if they don't use any IRQ #0 themselves.
That is a much bigger problem to fix.
And a much larger number assuming the reverse is true which are
On 16:42 Thu 01 Dec , Nicolas Ferre wrote:
Add an irqdomain for the AIC interrupt controller.
The device tree support is mapping the registers and
is using the irq_domain_simple_ops to manage hwirq
translation.
The documentation is describing the meaning of the
two cells required for
On 14:17 Thu 21 Jul , ac...@nvidia.com wrote:
From: Andrew Chew ac...@nvidia.com
Add code to try to get platform data information (register base, irq,
modes, various tuning parameters) from device tree, if not present in board
files.
Signed-off-by: Andrew Chew ac...@nvidia.com
On 09:47 Fri 06 Jan , Rob Herring wrote:
On 01/06/2012 10:20 AM, Nicolas Ferre wrote:
From: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
Retreive registers address and IRQ from device tree entry. Fall back
to built-in values if an error occurs.
Signed-off-by: Jean
compatibility is maintained
by using the default 16 bit counter configuration.
This patch addresses both the atmel_tclib and its user: tcb_clksrc
clocksource.
Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com
Acked-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
Best Regards,
J
...@atmel.com
this is a fix shoud go for 3.3
Acked-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
Best Regards,
J.
___
devicetree-discuss mailing list
devicetree-discuss@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/devicetree-discuss
obj-$(CONFIG_OF_PCI_IRQ) += of_pci_irq.o
+obj-$(CONFIG_OF_NET) += of_mtd.o
diff --git a/drivers/of/of_mtd.c b/drivers/of/of_mtd.c
new file mode 100644
index 000..199bf58
--- /dev/null
+++ b/drivers/of/of_mtd.c
@@ -0,0 +1,90 @@
+/*
+ * Copyright 2012 Jean-Christophe PLAGNIOL-VILLARD plagn
use a local copy of board informatin and fill with DT data
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
Cc: Nicolas Ferre nicolas.fe...@atmel.com
Cc: devicetree-discuss@lists.ozlabs.org
Cc: linux-...@lists.infradead.org
---
.../devicetree/bindings/mtd/atmel-nand.txt
On 10:31 Sun 29 Jan , Simon Glass wrote:
Hi,
On Fri, Jan 27, 2012 at 9:10 PM, Jean-Christophe PLAGNIOL-VILLARD
plagn...@jcrosoft.com wrote:
use a local copy of board informatin and fill with DT data
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
Cc: Nicolas
the
number of chip select only when adding slave.
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
Cc: devicetree-discuss@lists.ozlabs.org
Cc: spi-devel-gene...@lists.sourceforge.net
---
Documentation/devicetree/bindings/spi/spi-bus.txt |9 ++-
drivers/of/of_spi.c
at91sam9m10g45ek:
add dataflash support
usb_a9g20:
add mmc spi support
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
Cc: devicetree-discuss@lists.ozlabs.org
---
arch/arm/boot/dts/at91sam9g20.dtsi | 14 ++
arch/arm/boot/dts/at91sam9g45
On 11:54 Mon 30 Jan , Grant Likely wrote:
On Mon, Jan 30, 2012 at 04:27:49PM +0100, Jean-Christophe PLAGNIOL-VILLARD
wrote:
This will allow to use gpio for chip select with no modification in the
driver binding
When use the ncs-gpio, the gpio number will be passed via
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
Cc: devicetree-discuss@lists.ozlabs.org
---
drivers/of/gpio.c |9 +
include/linux/of_gpio.h | 27 +--
2 files changed, 30 insertions(+), 6 deletions(-)
diff --git a/drivers/of/gpio.c
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
Cc: linux-...@vger.kernel.org
Cc: devicetree-discuss@lists.ozlabs.org
---
.../devicetree/bindings/gpio/gpio_i2c.txt | 33
drivers/i2c/busses/i2c-gpio.c | 55 +++-
2
for now on use gpio-i2c driver on the same pin as the hardware IP
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
Cc: devicetree-discuss@lists.ozlabs.org
---
arch/arm/boot/dts/at91sam9g45.dtsi | 13 +
1 files changed, 13 insertions(+), 0 deletions(-)
diff
use gpio-i2c and enable rv3029 RTC
enable the in the sam9g20 defconfig
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
Cc: devicetree-discuss@lists.ozlabs.org
---
arch/arm/boot/dts/usb_a9g20.dts|9 +
arch/arm/configs/at91sam9g20_defconfig |3 +++
2
@@
+/*
+ * Copyright 2012 Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
+ *
+ * OF helpers for mtd.
+ *
+ * This file is released under the GPLv2
+ *
+ */
+#include linux/kernel.h
+#include linux/of_mtd.h
+#include linux/mtd/nand.h
+#include linux/export.h
+
+/**
+ * It maps 'enum nand_ecc_modes_t' found
use a local copy of board informatin and fill with DT data
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
Acked-by: Grant Likely grant.lik...@secretlab.ca
Cc: Nicolas Ferre nicolas.fe...@atmel.com
Cc: devicetree-discuss@lists.ozlabs.org
Cc: linux-...@lists.infradead.org
On 16:09 Mon 06 Feb , Mark Brown wrote:
On Sun, Feb 05, 2012 at 11:38:53AM +0100, Jean-Christophe PLAGNIOL-VILLARD
wrote:
+ - udelay: half clock cycle time in us (may depend on each platform)
+ udelay = 2; /* ~100 kHz */
Why not specify this in kHz and do
of_property_read_bool
Search for a property in a device node and read a 32-bit value from
it. Returns 0 if 0 or if the property does not exist, 1 if 1 or none.
this will allow to disable a boolean
is-ok; = true
is-ok = 1;= true
is-ok = 0;= false
Signed-off-by: Jean-Christophe
On 17:20 Mon 06 Feb , Stefan Roese wrote:
Hi Jean-Christophe,
On Monday 06 February 2012 11:35:11 Jean-Christophe PLAGNIOL-VILLARD wrote:
- nand-ecc-mode : String, operation mode of the NAND ecc mode.
Supported values are: none, soft, hw, hw_syndrome,
hw_oob_first, soft_bch
On 19:38 Mon 06 Feb , Karol Lewandowski wrote:
On 05.02.2012 11:38, Jean-Christophe PLAGNIOL-VILLARD wrote:
Hi!
+Device-Tree bindings for i2c gpio driver
+
+Required properties:
+- compatible = gpio-i2c;
Driver name is i2c-gpio in file i2c-gpio.c. Previous version of
patch
On 10:45 Tue 07 Feb , Stefan Roese wrote:
On Tuesday 07 February 2012 05:16:06 Jean-Christophe PLAGNIOL-VILLARD wrote:
- nand-on-flash-bbt: boolean to enable on flash bbt option if not
present false
Why not use an empty type (without argument) for nand-on-flash-bbt
On 11:30 Tue 07 Feb , Nicolas Ferre wrote:
On 02/06/2012 11:35 AM, Jean-Christophe PLAGNIOL-VILLARD :
use a local copy of board informatin and fill with DT data
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
Acked-by: Grant Likely grant.lik...@secretlab.ca
Cc
On 09:13 Tue 07 Feb , Rob Herring wrote:
On 02/06/2012 10:13 PM, Jean-Christophe PLAGNIOL-VILLARD wrote:
of_property_read_bool
Search for a property in a device node and read a 32-bit value from
it. Returns 0 if 0 or if the property does not exist, 1 if 1 or none
/of/of_mtd.c
@@ -0,0 +1,85 @@
+/*
+ * Copyright 2012 Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
+ *
+ * OF helpers for mtd.
+ *
+ * This file is released under the GPLv2
+ *
+ */
+#include linux/kernel.h
+#include linux/of_mtd.h
+#include linux/mtd/nand.h
+#include linux/export.h
for now on use i2c-gpio driver on the same pin as the hardware IP
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
Cc: Nicolas Ferre nicolas.fe...@atmel.com
Cc: devicetree-discuss@lists.ozlabs.org
---
v2:
update DT bindings
Best Regards,
J.
arch/arm/boot/dts
use i2c-gpio and enable rv3029 RTC
enable the in the sam9g20 defconfig
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
Cc: Nicolas Ferre nicolas.fe...@atmel.com
Cc: devicetree-discuss@lists.ozlabs.org
---
arch/arm/boot/dts/usb_a9g20.dts|9 +
arch/arm
for now on use i2c-gpio driver on the same pin as the hardware IP
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
Cc: Nicolas Ferre nicolas.fe...@atmel.com
Cc: devicetree-discuss@lists.ozlabs.org
---
v2:
update DT bindings
Best Regards,
J.
arch/arm/boot/dts
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
Cc: Nicolas Ferre nicolas.fe...@atmel.com
Cc: linux-...@vger.kernel.org
Cc: devicetree-discuss@lists.ozlabs.org
---
v2:
use devm
update DT bindings to i2c-gpio and sda-open-drain...
update against
This will allow to use gpio for chip select with no modification in the
driver binding
When use the ncs-gpios, the gpio number will be passed via the controller_data
and the number of chip select will automatically increased.
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
Cc: devicetree-discuss@lists.ozlabs.org
Cc: spi-devel-gene...@lists.sourceforge.net
---
drivers/spi/spi-altera.c |3 ---
drivers/spi/spi-fsl-lib.c |1 -
drivers/spi/spi-imx.c |1 -
drivers/spi/spi
the atmel_spi use only gpio for chip select
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
Cc: devicetree-discuss@lists.ozlabs.org
Cc: spi-devel-gene...@lists.sourceforge.net
---
.../devicetree/bindings/spi/spi_atmel.txt |6 ++
drivers/spi/spi-atmel.c
On 11:18 Mon 13 Feb , Nicolas Ferre wrote:
On 02/13/2012 10:23 AM, Jean-Christophe PLAGNIOL-VILLARD :
this will allow to avoid the ifdef CONFIG_OF_GPIO in gpio drivers
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
Cc: Arnd Bergmann a...@arndb.de
Cc: Nicolas
On 23:09 Mon 13 Feb , Ben Dooks wrote:
On Thu, Feb 09, 2012 at 03:25:05AM +0100, Jean-Christophe PLAGNIOL-VILLARD
wrote:
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
Cc: Nicolas Ferre nicolas.fe...@atmel.com
Cc: linux-...@vger.kernel.org
Cc: devicetree
Hi Grant,
ping
Best Regards,
J.
On 17:14 Thu 09 Feb , Jean-Christophe PLAGNIOL-VILLARD wrote:
This will allow to use gpio for chip select with no modification in the
driver binding
When use the ncs-gpios, the gpio number will be passed via the controller_data
and the number
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
Cc: Nicolas Ferre nicolas.fe...@atmel.com
Cc: devicetree-discuss@lists.ozlabs.org
Cc: linux-...@vger.kernel.org
---
Hi Greg,
I you don't mind I'll apply this via at91 tree as it's part a DT USB
patch series
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
Cc: Nicolas Ferre nicolas.fe...@atmel.com
Cc: devicetree-discuss@lists.ozlabs.org
Cc: linux-...@vger.kernel.org
---
Hi Greg,
I you don't mind I'll apply this via at91 tree as it's part a DT USB
patch series
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
Cc: Nicolas Ferre nicolas.fe...@atmel.com
Cc: devicetree-discuss@lists.ozlabs.org
--
arch/arm/boot/dts/at91sam9g20.dtsi |7 +++
arch/arm/boot/dts/at91sam9g45.dtsi |7 +++
arch/arm/boot/dts
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
Cc: Nicolas Ferre nicolas.fe...@atmel.com
Cc: devicetree-discuss@lists.ozlabs.org
---
arch/arm/boot/dts/at91sam9g45.dtsi |7 +++
arch/arm/boot/dts/at91sam9m10g45ek.dts |4
arch/arm/mach-at91/at91sam9g45.c
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
Cc: Nicolas Ferre nicolas.fe...@atmel.com
Cc: devicetree-discuss@lists.ozlabs.org
Cc: linux-...@vger.kernel.org
Acked-by: Grant Likely grant.lik...@secretlab.ca
Acked-by: Greg Kroah-Hartman gre...@linuxfoundation.org
---
v2
) += of_pci_irq.o
+obj-$(CONFIG_OF_MTD) += of_mtd.o
diff --git a/drivers/of/of_mtd.c b/drivers/of/of_mtd.c
new file mode 100644
index 000..e6a1074
--- /dev/null
+++ b/drivers/of/of_mtd.c
@@ -0,0 +1,85 @@
+/*
+ * Copyright 2012 Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
://github.com/at91linux/linux-at91.git for-grant-dt
Jean-Christophe PLAGNIOL-VILLARD (2):
of: introduce helper to manage boolean
of/mtd/nand: add generic bindings and helpers
Documentation/devicetree/bindings/mtd/nand.txt |7 ++
drivers/of/Kconfig |4
Hi Grant,
can I have a feedback
the Atmel SPI depend on it
Best Regards,
J.
On 05:24 Tue 14 Feb , Jean-Christophe PLAGNIOL-VILLARD wrote:
Hi Grant,
ping
Best Regards,
J.
On 17:14 Thu 09 Feb , Jean-Christophe PLAGNIOL-VILLARD wrote:
This will allow to use
On 10:08 Mon 20 Feb , Russell King - ARM Linux wrote:
On Mon, Feb 20, 2012 at 10:58:13AM +0100, Jean-Christophe PLAGNIOL-VILLARD
wrote:
On 18:17 Mon 13 Feb , Karol Lewandowski wrote:
+ - udelay: delay between GPIO operations (may depend on each
platform
On 18:17 Mon 13 Feb , Karol Lewandowski wrote:
On 09.02.2012 03:25, Jean-Christophe PLAGNIOL-VILLARD wrote:
Hi!
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
plagnioj-sclMFOaUSTBWk0Htik3J/w...@public.gmane.org
Cc: Nicolas Ferre nicolas.ferre-aife0yeh4naavxtiumw
On 12:50 Mon 20 Feb , Russell King - ARM Linux wrote:
On Mon, Feb 20, 2012 at 11:22:31AM +0100, Jean-Christophe PLAGNIOL-VILLARD
wrote:
On 10:08 Mon 20 Feb , Russell King - ARM Linux wrote:
On Mon, Feb 20, 2012 at 10:58:13AM +0100, Jean-Christophe
PLAGNIOL-VILLARD wrote
On 14:37 Mon 20 Feb , Jean-Christophe PLAGNIOL-VILLARD wrote:
On 12:50 Mon 20 Feb , Russell King - ARM Linux wrote:
On Mon, Feb 20, 2012 at 11:22:31AM +0100, Jean-Christophe PLAGNIOL-VILLARD
wrote:
On 10:08 Mon 20 Feb , Russell King - ARM Linux wrote:
On Mon, Feb 20, 2012
On 13:58 Mon 20 Feb , Russell King - ARM Linux wrote:
On Mon, Feb 20, 2012 at 02:46:34PM +0100, Jean-Christophe PLAGNIOL-VILLARD
wrote:
On 14:37 Mon 20 Feb , Jean-Christophe PLAGNIOL-VILLARD wrote:
On 12:50 Mon 20 Feb , Russell King - ARM Linux wrote:
On Mon, Feb 20, 2012
On 13:51 Mon 20 Feb , Russell King - ARM Linux wrote:
On Mon, Feb 20, 2012 at 02:35:57PM +0100, Jean Delvare wrote:
On Mon, 20 Feb 2012 12:50:54 +, Russell King - ARM Linux wrote:
What is linux specific is specifying the _delay_ rather than specifying
the bus frequency. So as
On 10:59 Tue 21 Feb , Nicolas Ferre wrote:
On 02/21/2012 10:46 AM, Jean-Christophe PLAGNIOL-VILLARD :
Use a local copy of board informatin and fill with DT data.
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
Acked-by: Grant Likely grant.lik...@secretlab.ca
Use i2c-gpio and enable rv3029 RTC.
Enable the rtc in the sam9g20 defconfig.
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
Cc: Nicolas Ferre nicolas.fe...@atmel.com
Cc: devicetree-discuss@lists.ozlabs.org
---
arch/arm/boot/dts/usb_a9g20.dts|9 +
arch
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
Cc: Nicolas Ferre nicolas.fe...@atmel.com
Cc: linux-...@vger.kernel.org
Cc: devicetree-discuss@lists.ozlabs.org
---
v2:
use devm_kzalloc
use i2c-gpio
use time name in the properties
Best Regars,
J
On 16:57 Fri 17 Feb , Jean-Christophe PLAGNIOL-VILLARD wrote:
HI,
please find attached the generic binding for the MTD nand
This will add boolean and nand helpers
is it ok?
Best Regards,
J.
The following changes since commit d65b4e98d7ea3038b767b70fe8be959b2913f16d
This will allow to use gpio for chip select with no modification in the
driver binding
When use the ncs-gpios, the gpio number will be passed via the controller_data
and the number of chip select will automatically increased.
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
The atmel_spi use only gpio for chip select.
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
Cc: devicetree-discuss@lists.ozlabs.org
Cc: spi-devel-gene...@lists.sourceforge.net
---
.../devicetree/bindings/spi/spi_atmel.txt |6 ++
drivers/spi/spi-atmel.c
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
Cc: devicetree-discuss@lists.ozlabs.org
Cc: spi-devel-gene...@lists.sourceforge.net
Cc: Grant Likely grant.lik...@secretlab.ca
---
drivers/spi/spi-altera.c |3 ---
drivers/spi/spi-fsl-lib.c |1 -
drivers/spi
On 16:52 Fri 02 Mar , Niklas Hernaeus wrote:
From: Niklas Hernaeus niklas.herna...@linaro.org
This is the base system for using Device Tree for Snowball.
The new boardfile is a slightly modified copy of the original board file,
so new Device Tree stuff can simply be added and code
and sam9x5 (2012-03-02 00:46:37
+0800)
are available in the git repository at:
git://github.com/at91linux/linux-at91.git ..BRANCH.NOT.VERIFIED..
Jean-Christophe PLAGNIOL-VILLARD (6):
ARM: at91/dt: add specific DT soc init
ARM: at91: add pmc DT support
ARM: at91: always enable sam9
-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
Acked-by: Nicolas Ferre nicolas.fe...@atmel.com
---
arch/arm/mach-at91/board-dt.c |8 +---
arch/arm/mach-at91/generic.h |1 +
arch/arm/mach-at91/setup.c| 18 ++
3 files changed, 20 insertions(+), 7
Specified the main Oscillator via clock binding.
This will allow to do not hardcode it anymore in the DT board at 12MHz.
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
Acked-by: Nicolas Ferre nicolas.fe...@atmel.com
---
.../devicetree/bindings/arm/atmel-pmc.txt
This is need for multiple SoC in the same kernel image and DT.
As we will chose the restart function via binding.
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
Acked-by: Nicolas Ferre nicolas.fe...@atmel.com
---
arch/arm/mach-at91/Kconfig | 10 ++
1 files
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
Acked-by: Nicolas Ferre nicolas.fe...@atmel.com
---
.../devicetree/bindings/arm/atmel-at91.txt | 12
arch/arm/boot/dts/at91sam9g20.dtsi |5 +++
arch/arm/boot/dts/at91sam9g45.dtsi
We can now drop the call to ioremap_registers() as we have the binding for the
SDRAM/DDR Controller.
Drop ioremap_registers() for sam9x5 too.
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
Acked-by: Nicolas Ferre nicolas.fe...@atmel.com
---
.../devicetree/bindings/arm
Use a string to specific the wakeup mode to make it more readable.
Add the Real-time Clock Wake-up support too for sam9g45 and sam9x5.
Add AT91_SHDW_CPTWK0_MAX to specific the Max of the Wakeup Counter.
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
Acked-by: Nicolas Ferre
On 15:20 Wed 29 Feb , Jean-Christophe PLAGNIOL-VILLARD wrote:
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
Cc: Nicolas Ferre nicolas.fe...@atmel.com
Cc: linux-...@vger.kernel.org
Cc: devicetree-discuss@lists.ozlabs.org
---
v2:
use devm_kzalloc
use
On 16:25 Wed 29 Feb , Jean-Christophe PLAGNIOL-VILLARD wrote:
On 16:57 Fri 17 Feb , Jean-Christophe PLAGNIOL-VILLARD wrote:
HI,
please find attached the generic binding for the MTD nand
This will add boolean and nand helpers
is it ok?
I need this for 3.4
will you
)
are available in the git repository at:
g...@github.com:at91linux/linux-at91.git ..BRANCH.NOT.VERIFIED..
Jean-Christophe PLAGNIOL-VILLARD (9):
ARM: at91: usb ohci add dt support
ARM: at91: dt: enable usb ohci for sam9g20, sam9g45 amd sam9x5
ARM: at91: usb ehci add dt support
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
Cc: Nicolas Ferre nicolas.fe...@atmel.com
Cc: linux-...@vger.kernel.org
Acked-by: Greg Kroah-Hartman gre...@linuxfoundation.org
---
.../devicetree/bindings/usb/atmel-usb.txt | 12 ++
drivers/usb/host/ehci
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
Cc: Nicolas Ferre nicolas.fe...@atmel.com
---
arch/arm/boot/dts/at91sam9g20.dtsi |7 +++
arch/arm/boot/dts/at91sam9g25ek.dts|8
arch/arm/boot/dts/at91sam9g45.dtsi |7 +++
arch/arm/boot
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
Cc: Nicolas Ferre nicolas.fe...@atmel.com
---
arch/arm/boot/dts/at91sam9g20.dtsi |7 +++
arch/arm/boot/dts/usb_a9g20.dts|5 +
2 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/arch/arm/boot/dts
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
Cc: Nicolas Ferre nicolas.fe...@atmel.com
Cc: linux-...@vger.kernel.org
Acked-by: Grant Likely grant.lik...@secretlab.ca
Acked-by: Greg Kroah-Hartman gre...@linuxfoundation.org
---
.../devicetree/bindings/usb/atmel-usb.txt
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
Cc: Nicolas Ferre nicolas.fe...@atmel.com
---
arch/arm/boot/dts/at91sam9g25ek.dts|4
arch/arm/boot/dts/at91sam9g45.dtsi |7 +++
arch/arm/boot/dts/at91sam9m10g45ek.dts |4
arch/arm/boot/dts
Allow to compile the driver all the time if AT91 enabled.
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
Cc: Nicolas Ferre nicolas.fe...@atmel.com
Cc: linux-...@vger.kernel.org
---
Hi Greg
if it's ok with you I apply with the rest of the USB patch series via
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
Cc: Nicolas Ferre nicolas.fe...@atmel.com
---
arch/arm/boot/dts/at91sam9g25ek.dts |5 +++
arch/arm/boot/dts/at91sam9x5.dtsi | 67 +++
arch/arm/mach-at91/at91sam9x5.c |2 +
3 files
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
Cc: Nicolas Ferre nicolas.fe...@atmel.com
---
arch/arm/boot/dts/at91sam9g45.dtsi | 66
arch/arm/boot/dts/at91sam9m10g45ek.dts |5 ++
arch/arm/mach-at91/at91sam9g45.c |2 +
3
This will allow each device to specify its dma-mask
The microblaze architecture hook is keep temporary if no dma-mask is specified
int the DT
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
---
drivers/of/platform.c | 26 +-
1 files changed, 25
The atmel_spi use only gpio for chip select.
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
Cc: devicetree-discuss@lists.ozlabs.org
Cc: spi-devel-gene...@lists.sourceforge.net
---
.../devicetree/bindings/spi/spi_atmel.txt |6 +
drivers/spi/spi-atmel.c
On 11:33 Wed 07 Mar , Jean-Christophe PLAGNIOL-VILLARD wrote:
On 09:34 Wed 07 Mar , Russell King - ARM Linux wrote:
On Wed, Mar 07, 2012 at 10:15:38AM +0100, Jean-Christophe PLAGNIOL-VILLARD
wrote:
+static u64 at91_ohci_dma_mask = DMA_BIT_MASK(32);
+
+static int __devinit
This will allow each device to specify its coherent-dma-mask
The default behavior the set it to DMA_BIT_MASK(32) if none specified
is keeped.
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
---
drivers/of/platform.c | 15 ++-
1 files changed, 14 insertions
On 11:16 Wed 07 Mar , Rob Herring wrote:
On 02/29/2012 08:20 AM, Jean-Christophe PLAGNIOL-VILLARD wrote:
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
Cc: Nicolas Ferre nicolas.fe...@atmel.com
Cc: linux-...@vger.kernel.org
Cc: devicetree-discuss
On 10:59 Wed 07 Mar , Rob Herring wrote:
On 03/07/2012 05:26 AM, Jean-Christophe PLAGNIOL-VILLARD wrote:
This will allow each device to specify its dma-mask
The microblaze architecture hook is keep temporary if no dma-mask is
specified
int the DT
Signed-off-by: Jean-Christophe
On 20:24 Fri 02 Mar , Arnd Bergmann wrote:
On Friday 02 March 2012, Jean-Christophe PLAGNIOL-VILLARD wrote:
+ }
+
+ if (of_device_is_compatible(np, atmel,at91sam9x5-shdwc)) {
+ have_rtt = false;
+ have_rtc = true;
+ } else
Hi,
Rob is ok for you?
Best Regards,
J.
On 20:28 Fri 02 Mar , Jean-Christophe PLAGNIOL-VILLARD wrote:
HI,
The following patch series add the bindings for:
- PMC
- SDRAM/DDR Controller
- Reset Controller
- Shutdown Controller
The following
On 18:49 Wed 07 Mar , Arnd Bergmann wrote:
On Wednesday 07 March 2012, Jean-Christophe PLAGNIOL-VILLARD wrote:
On 20:24 Fri 02 Mar , Arnd Bergmann wrote:
On Friday 02 March 2012, Jean-Christophe PLAGNIOL-VILLARD wrote:
+ }
+
+ if (of_device_is_compatible(np
diff --git a/arch/arm/mach-at91/include/mach/at91sam9x5.h
b/arch/arm/mach-at91/include/mach/at91sam9x5.h
index a297a77..88e43d5 100644
--- a/arch/arm/mach-at91/include/mach/at91sam9x5.h
+++ b/arch/arm/mach-at91/include/mach/at91sam9x5.h
@@ -55,11 +55,6 @@
#define
For now on use i2c-gpio driver on the same pin as the hardware IP.
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
Cc: Nicolas Ferre nicolas.fe...@atmel.com
Cc: devicetree-discuss@lists.ozlabs.org
---
v3:
update i2c binding (Rob comments)
Best Regards,
J.
arch/arm
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
Cc: Nicolas Ferre nicolas.fe...@atmel.com
Cc: linux-...@vger.kernel.org
Cc: devicetree-discuss@lists.ozlabs.org
---
v3:
update i2c binding (Rob comments)
Jean can I have a ack to apply it?
Best Regards,
J
Use i2c-gpio and enable rv3029 RTC.
Enable the rtc in the sam9g20 defconfig.
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
Cc: Nicolas Ferre nicolas.fe...@atmel.com
Cc: devicetree-discuss@lists.ozlabs.org
---
arch/arm/boot/dts/usb_a9g20.dts|9 +
arch
For now on use i2c-gpio driver on the same pin as the hardware IP.
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
Cc: Nicolas Ferre nicolas.fe...@atmel.com
Cc: devicetree-discuss@lists.ozlabs.org
---
v3:
update i2c binding (Rob comments)
Best Regards,
J.
arch/arm
For now on use i2c-gpio driver on the same pin as the hardware IP.
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
Cc: Nicolas Ferre nicolas.fe...@atmel.com
Cc: devicetree-discuss@lists.ozlabs.org
---
v3:
update i2c binding (Rob comments)
Best Regards,
J.
arch/arm
On 08:12 Thu 08 Mar , Rob Herring wrote:
On 03/08/2012 12:13 AM, Jean-Christophe PLAGNIOL-VILLARD wrote:
diff --git a/arch/arm/mach-at91/include/mach/at91sam9x5.h
b/arch/arm/mach-at91/include/mach/at91sam9x5.h
index a297a77..88e43d5 100644
--- a/arch/arm/mach-at91/include/mach
1 - 100 of 400 matches
Mail list logo