On Thu, 1 Mar 2012 18:20:55 +, Jason Cooper ja...@lakedaemon.net wrote:
Converted register address to a variable so that it could be set from
fdt. Also, pull clock frequency from fdt and clean up failure logic a
bit.
Same as rtc-mv, this device is used in all kirkwood boards. So, it
On Thu, 1 Mar 2012 18:20:53 +, Jason Cooper ja...@lakedaemon.net wrote:
We need to absorb kirkwood_init() into kirkwood_dt_init() so that as we
convert drivers, we can remove the platform call, eg
kirkwood_rtc_init(). This maintains compatibility with non-fdt
configurations because they
On Thu, 1 Mar 2012 18:20:54 +, Jason Cooper ja...@lakedaemon.net wrote:
The comment at mach-kirkwood/common.c:469, says this device is in every
kirkwood board. So, it is placed in kirkwood.dtsi.
Signed-off-by: Jason Cooper ja...@lakedaemon.net
---
arch/arm/boot/dts/kirkwood.dtsi |
On Friday 02 March 2012, Grant Likely wrote:
--- a/arch/arm/mach-kirkwood/common.c
+++ b/arch/arm/mach-kirkwood/common.c
@@ -163,7 +163,7 @@ void __init kirkwood_nand_init_rnb(struct mtd_partition
*parts, int nr_parts,
The MMCI driver will not work without two IRQs since this is not
flagged as a single-irq variant. Looking through the complex IRQ
definition for the MMCI on the versatile (including an #if 1
statement forcing MMCI IRQ0 to the VIC) this appears to the the
correct IRQ number for both models.
Cc:
The MMCI and PL022 SPI drivers sure need their platform data to
work on the Versatile as well. (This does not fix the auxdata for
MMCI instance mmc1 on the Versatile PB though.)
Cc: Russell King rmk+ker...@arm.linux.org.uk
Cc: Niklas Hernaeus niklas.herna...@linaro.org
Signed-off-by: Linus
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 -
On Thursday 01 March 2012, Nicolas Ferre wrote:
This pull request supersedes the previous:
[GIT PULL] at91: irqdomain and device tree for AIC and GPIO
This series adds irqdomain and device tree support for both the
interrupt and GPIO controllers of AT91 SoC. It has been discussed a lot
and
Hi,
On Tue, Feb 28, 2012 at 03:09:10PM +0530, Rajendra Nayak wrote:
From: Tero Kristo t-kri...@ti.com
vdd1 and vdd2 are now common regulators for twl4030 and twl6030. Also
added vdd3 as a new regulator for twl6030. twl6030 vdd1...vdd3 smps
regulator voltages can only be controlled through
On Fri, Mar 02, 2012 at 10:15:11AM +0100, Simon Guinot wrote:
Hi Jason,
On Thu, Mar 01, 2012 at 06:20:55PM +, Jason Cooper wrote:
Converted register address to a variable so that it could be set from
fdt. Also, pull clock frequency from fdt and clean up failure logic a
bit.
David,
On 02/29/2012 06:57 PM, David Daney wrote:
From: David Daney david.da...@cavium.com
Select IRQ_DOMAIN so the core irq_domain code and supply
irq_create_of_mapping().
Signed-off-by: David Daney david.da...@cavium.com
---
arch/mips/Kconfig|1 +
On Friday 02 March 2012, Jason wrote:
Grr... good catch. I originally had this in kirkwood-dreamplug.dts,
which is always 2. That's not the case in kirkwood.dtsi. What
I would like to do, and I haven't had time to look into it (I thought I
would tackle it later as a refinement :-(
On Fri, Mar 02, 2012 at 02:53:35PM +0100, Samuel Ortiz wrote:
Mark, Liam, are you guys taking this one ?
Yes.
signature.asc
Description: Digital signature
___
devicetree-discuss mailing list
devicetree-discuss@lists.ozlabs.org
On Fri, Mar 02, 2012 at 02:56:47PM +, Arnd Bergmann wrote:
On Friday 02 March 2012, Jason wrote:
Grr... good catch. I originally had this in kirkwood-dreamplug.dts,
which is always 2. That's not the case in kirkwood.dtsi. What
I would like to do, and I haven't had time to
On Fri, Mar 02, 2012 at 01:19:39AM -0600, Grant Likely wrote:
On Thu, 1 Mar 2012 18:20:54 +, Jason Cooper ja...@lakedaemon.net wrote:
The comment at mach-kirkwood/common.c:469, says this device is in every
kirkwood board. So, it is placed in kirkwood.dtsi.
Signed-off-by: Jason
On Thu, Mar 01, 2012 at 10:14:06PM +, Arnd Bergmann wrote:
On Thursday 01 March 2012, Jason wrote:
On Thu, Mar 01, 2012 at 08:28:04PM +, Arnd Bergmann wrote:
On Thursday 01 March 2012, Jason wrote:
Thanks for the feedback. I'll redo this series and resubmit. Did you
catch
On Friday 02 March 2012, Jason wrote:
That would make wdt@fed20300/clock-frequency a phandle pointing to the
root property, which is not what we want here.
The 2 value is not the actual value used in most drivers [1],
but rather the speed of the system clock [2] (hence, my
On Friday 02 March 2012, Jason wrote:
I have other commit IDs for the two patches that I took from your
emails, so you should rebase the other patches on top of the
version that I have in the arm-soc/kirkwood/board branch, otherwise
we end up with duplicate commits my tree when I pull
On Fri, Mar 02, 2012 at 04:48:51PM +, Arnd Bergmann wrote:
On Friday 02 March 2012, Jason wrote:
That would make wdt@fed20300/clock-frequency a phandle pointing to the
root property, which is not what we want here.
The 2 value is not the actual value used in most
On Fri, Mar 02, 2012 at 04:58:11PM +, Arnd Bergmann wrote:
On Friday 02 March 2012, Jason wrote:
I have other commit IDs for the two patches that I took from your
emails, so you should rebase the other patches on top of the
version that I have in the arm-soc/kirkwood/board
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
This series begins the process of converting all of the drivers initialized
from kirkwood_init() to devicetree.
The first patch converts an off-SoC driver (spi) to device tree and moves flash
partition definitions to the device tree. This was previously it's own
submission, but I've included it
This variable should be set within the driver init function that uses
it's struct, not in the generic init function.
Signed-off-by: Jason Cooper ja...@lakedaemon.net
---
arch/arm/mach-kirkwood/common.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git
On the Globalscale Dreamplug (Marvell Kirkwood Development Platform),
2MB of NOR flash are used to hold the bootloader, bootloader
environment, and devicetree blob. It is connected via spi.
Signed-off-by: Jason Cooper ja...@lakedaemon.net
---
Changes from v1:
- used of_match_ptr() as
The comment at mach-kirkwood/common.c:469, says this device is in every
kirkwood board. So, it is placed in kirkwood.dtsi.
Signed-off-by: Jason Cooper ja...@lakedaemon.net
---
Changes since v1:
- removed unnecessary of_*() code from _probe()
- use of_match_ptr()
Converted register address to a variable so that it could be set from
fdt. Also, pull clock frequency from fdt and clean up failure logic a
bit.
Same as rtc-mv, this device is used in all kirkwood boards. So, it is
placed in kirkwood.dtsi.
Signed-off-by: Jason Cooper ja...@lakedaemon.net
---
We need to absorb kirkwood_init() into kirkwood_dt_init() so that as we
convert drivers, we can remove the platform call, eg
kirkwood_rtc_init(). This maintains compatibility with non-fdt
configurations because they still call kirkwood_init() in common.c.
As drivers are converted, we will
The following changes since commit 759a45185ac0e4dfaf8bbfcb390ec73aca4b7a34:
ARM: kirkwood: convert uart0 to devicetree. (2012-02-27 16:21:44 +)
are available in the git repository at:
git://git.infradead.org/users/jcooper/linux-kirkwood.git kirkwood_dt_test
Jason Cooper (5):
ARM:
Oops, forgot to remove the Re:...
On Fri, Mar 02, 2012 at 12:52:33PM -0500, Jason wrote:
The following changes since commit 759a45185ac0e4dfaf8bbfcb390ec73aca4b7a34:
ARM: kirkwood: convert uart0 to devicetree. (2012-02-27 16:21:44 +)
are available in the git repository at:
On 03/02/2012 06:22 AM, Rob Herring wrote:
[...]
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index ce30e2f..01344ae 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -1432,6 +1432,7 @@ config CPU_CAVIUM_OCTEON
select WEAK_ORDERING
select CPU_SUPPORTS_HIGHMEM
On Friday 02 March 2012, Jason Cooper wrote:
+ wdt_reg = (void __iomem *)TIMER_VIRT_BASE;
+
+ ret = of_address_to_resource(np, 0, res);
+ if (ret) {
+ printk(KERN_ERR invalid address\n);
+ return ret;
+ }
+
+ wdt_reg =
On Wed, 29 Feb 2012 16:57:01 -0800, David Daney ddaney.c...@gmail.com wrote:
From: David Daney david.da...@cavium.com
Select IRQ_DOMAIN so the core irq_domain code and supply
irq_create_of_mapping().
Signed-off-by: David Daney david.da...@cavium.com
---
arch/mips/Kconfig
On Fri, 2 Mar 2012 16:52:47 +0100, Niklas Hernaeus
niklas.herna...@stericsson.com 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
On Fri, 2 Mar 2012 11:03:05 +0100, Jean-Christophe PLAGNIOL-VILLARD
plagn...@jcrosoft.com wrote:
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
On 03/02/2012 11:07 AM, Grant Likely wrote:
On Fri, 02 Mar 2012 10:03:58 -0800, David Daneydavid.da...@cavium.com wrote:
On 03/02/2012 06:22 AM, Rob Herring wrote:
[...]
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index ce30e2f..01344ae 100644
--- a/arch/mips/Kconfig
+++
HI,
The following patch series add the bindings for:
- PMC
- SDRAM/DDR Controller
- Reset Controller
- Shutdown Controller
The following changes since commit c5ec01650adb1976f928177cd7e71afcb82026c5:
ARM: at91: dt: enable usb ehci for sam9g45 and
On Fri, Mar 02, 2012 at 06:32:33PM +, Arnd Bergmann wrote:
On Friday 02 March 2012, Jason Cooper wrote:
+ wdt_reg = (void __iomem *)TIMER_VIRT_BASE;
+
+ ret = of_address_to_resource(np, 0, res);
+ if (ret) {
+ printk(KERN_ERR invalid address\n);
+
The following changes since commit 759a45185ac0e4dfaf8bbfcb390ec73aca4b7a34:
ARM: kirkwood: convert uart0 to devicetree. (2012-02-27 16:21:44 +)
are available in the git repository at:
git://git.infradead.org/users/jcooper/linux-kirkwood.git kirkwood_dt_test
Jason Cooper (5):
ARM:
On Friday 02 March 2012, Jason wrote:
On Fri, Mar 02, 2012 at 06:32:33PM +, Arnd Bergmann wrote:
As I commented before, I think the best approach would be to
provide a hardcoded resource for the device in the legacy case
and just use platform_get_resource() to get the resource
and
This will allow to have static Device mapping and DT probe mapping for the
System Controller.
Temporary keep the call to ioremap_registers() until we have the binding
for the SDRAM/DDR Controller.
Temporary keep the main clock hardcoded to 12MHz until we have the binding
for the PMC.
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
---
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 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 if (of_device_is_compatible(np, atmel,at91sam9rl-shdwc)) {
+
On Friday 02 March 2012, Jason wrote:
The following changes since commit 759a45185ac0e4dfaf8bbfcb390ec73aca4b7a34:
ARM: kirkwood: convert uart0 to devicetree. (2012-02-27 16:21:44 +)
are available in the git repository at:
git://git.infradead.org/users/jcooper/linux-kirkwood.git
On Friday 02 March 2012, Arnd Bergmann wrote:
On Friday 02 March 2012, Jason wrote:
The following changes since commit 759a45185ac0e4dfaf8bbfcb390ec73aca4b7a34:
ARM: kirkwood: convert uart0 to devicetree. (2012-02-27 16:21:44 +)
are available in the git repository at:
Hi Grant,
In fact this patch is not working for build without CONFIG_OF like x86.
On 2/24/2012 11:06 PM, Grant Likely wrote:
--- a/include/linux/of_platform.h
+++ b/include/linux/of_platform.h
@@ -81,7 +81,7 @@ extern struct platform_device *of_device_alloc(struct
device_node *np,
On 03/03/12 05:40, Chris Ball wrote:
Hi,
On Wed, Feb 22 2012, Mark Brown wrote:
On Tue, Feb 21, 2012 at 08:17:41AM -0500, Chris Ball wrote:
Pushed to mmc-next, thanks. (I'm expecting that you'll do the merge
to Linus.)
I've been sending patches adding runtime PM support to this driver for
There is a rather unfortunate bug in fdtget in that if multiple argument
sets are provided, it just repeats displaying the first set ones for
each set.
Fix this bug and add a test for it.
Signed-off-by: Simon Glass s...@chromium.org
---
fdtget.c|6 +++---
This option lists the children of each node given as a parameter, one
child per line.
Signed-off-by: Simon Glass s...@chromium.org
---
fdtget.c | 96 ++
1 files changed, 84 insertions(+), 12 deletions(-)
diff --git a/fdtget.c
54 matches
Mail list logo