Re: [RFC] early init and DT platform devices allocation/registration

2013-06-26 Thread Hiroshi Doyu
Grant Likely grant.lik...@secretlab.ca wrote @ Tue, 25 Jun 2013 19:52:33 +0200: Here's my workaround. I need to call of_detach_node() with OF_DYNAMIC to avoid duplicated device registration. Gah! my eyes! Don't do that. It is incredibly problematic. Look at inhibiting duplicate device

Re: [PATCH 3/9] ARM: dma-mapping: convert DMA direction into IOMMU protection attributes

2013-06-25 Thread Hiroshi Doyu
Hi Will, On Mon, 10 Jun 2013 20:34:39 +0200 Will Deacon will.dea...@arm.com wrote: ... @@ -1636,13 +1636,27 @@ static dma_addr_t arm_coherent_iommu_map_page(struct device *dev, struct page *p { struct dma_iommu_mapping *mapping = dev-archdata.mapping; dma_addr_t dma_addr; -

Re: [PATCH 3/9] ARM: dma-mapping: convert DMA direction into IOMMU protection attributes

2013-06-25 Thread Hiroshi Doyu
thought too. I have a patch for that as below. If you like, I'll rebase and send for merge with the one which changes dma-mapping.c. From 699e6bd4fef86383d197775486b47bcbdc594f4a Mon Sep 17 00:00:00 2001 From: Hiroshi Doyu hd...@nvidia.com Date: Tue, 25 Jun 2013 13:43:29 +0300 Subject: [PATCH 1/2

Re: [RFC] early init and DT platform devices allocation/registration

2013-06-25 Thread Hiroshi Doyu
help solve this. Here's my workaround. I need to call of_detach_node() with OF_DYNAMIC to avoid duplicated device registration. From f4d88b8521c278b41b72028d326c03cfd2e90af8 Mon Sep 17 00:00:00 2001 From: Hiroshi Doyu hd...@nvidia.com Date: Fri, 14 Jun 2013 15:22:02 +0300 Subject: [PATCH 1/1] ARM

Re: [PATCH 4/9] ARM: dma-mapping: NULLify dev-archdata.mapping pointer on detach

2013-06-10 Thread Hiroshi Doyu
Hi Will, Will Deacon will.dea...@arm.com wrote @ Mon, 10 Jun 2013 20:34:40 +0200: The current code only clobbers a local variable, so the device is left with a stale mapping pointer. True. This's my bad. Thanks. ___ devicetree-discuss mailing list

Re: [v2 0/6] CLK: tegra: convert device tree files to use CLK defines

2013-05-22 Thread Hiroshi Doyu
On Tue, 21 May 2013 18:05:49 +0200 Stephen Warren swar...@wwwdotorg.org wrote: On 05/21/2013 03:10 AM, Hiroshi Doyu wrote: This patchset converts device tree files to use CLK defines. This version was updated along with the latest DT changes. The following changes since commit

[v2 0/6] CLK: tegra: convert device tree files to use CLK defines

2013-05-21 Thread Hiroshi Doyu
) Hiroshi Doyu (6): ARM: tegra20: create a DT header defining CLK IDs ARM: tegra20: convert device tree files to use CLK defines ARM: tegra30: create a DT header defining CLK IDs ARM: tegra30: convert device tree files to use CLK defines ARM: tegra114: create a DT

[v2 1/6] ARM: tegra20: create a DT header defining CLK IDs

2013-05-21 Thread Hiroshi Doyu
, which guarantees that the two stay in sync. This also makes device trees more readable by using names instead of magic numbers. Signed-off-by: Hiroshi Doyu hd...@nvidia.com --- .../bindings/clock/nvidia,tegra20-car.txt | 154 +--- include/dt-bindings/clk/tegra20-car.h

[v2 2/6] ARM: tegra20: convert device tree files to use CLK defines

2013-05-21 Thread Hiroshi Doyu
Use the Tegra20 CAR binding header (tegra20-car.h) to replace magic numbers in the device tree. For example, - clocks = tegra_car 28; + clocks = tegra_car CLK_HOST1X; Signed-off-by: Hiroshi Doyu hd...@nvidia.com --- arch/arm/boot/dts/tegra20-colibri-512.dtsi | 4

[v2 3/6] ARM: tegra30: create a DT header defining CLK IDs

2013-05-21 Thread Hiroshi Doyu
, which guarantees that the two stay in sync. This also makes device trees more readable by using names instead of magic numbers. Signed-off-by: Hiroshi Doyu hd...@nvidia.com --- .../bindings/clock/nvidia,tegra30-car.txt | 211 +--- include/dt-bindings/clk/tegra30-car.h

[v2 4/6] ARM: tegra30: convert device tree files to use CLK defines

2013-05-21 Thread Hiroshi Doyu
Use the Tegra30 CAR binding header (tegra30-car.h) to replace magic numbers in the device tree. For example, - clocks = tegra_car 28; + clocks = tegra_car CLK_HOST1X; Signed-off-by: Hiroshi Doyu hd...@nvidia.com --- arch/arm/boot/dts/tegra30-beaver.dts | 4

[v2 5/6] ARM: tegra114: create a DT header defining CLK IDs

2013-05-21 Thread Hiroshi Doyu
, which guarantees that the two stay in sync. This also makes device trees more readable by using names instead of magic numbers. Signed-off-by: Hiroshi Doyu hd...@nvidia.com --- .../bindings/clock/nvidia,tegra114-car.txt | 252 +-- include/dt-bindings/clk/tegra114-car.h

[v2 6/6] ARM: tegra114: convert device tree files to use CLK defines

2013-05-21 Thread Hiroshi Doyu
Use the Tegra114 CAR binding header (tegra114-car.h) to replace magic numbers in the device tree. For example, - clocks = tegra_car 28; + clocks = tegra_car CLK_HOST1X; Signed-off-by: Hiroshi Doyu hd...@nvidia.com --- arch/arm/boot/dts/tegra114-dalmore.dts | 4

Re: [PATCH 1/6] ARM: tegra20: create a DT header defining CLK IDs

2013-05-14 Thread Hiroshi Doyu
Stephen Warren swar...@wwwdotorg.org wrote @ Mon, 13 May 2013 18:46:27 +0200: I'm not sure exactly how these patches will get merged. For you reference, I anticipate one of two things happening: 1) * Patches 1, 3, 5 get put into a topic branch, and merged into both the clk tree and the

[PATCH 1/6] ARM: tegra20: create a DT header defining CLK IDs

2013-05-13 Thread Hiroshi Doyu
To replace magic number in tegra_car: - clocks = tegra_car 28; + clocks = tegra_car CLK_HOST1X; Signed-off-by: Hiroshi Doyu hd...@nvidia.com --- .../bindings/clock/nvidia,tegra20-car.txt | 152 +--- include/dt-bindings/clk/tegra20-car.h

[PATCH 2/6] ARM: tegra20: convert device tree files to use CLK defines

2013-05-13 Thread Hiroshi Doyu
Replace magic number in tegra_car: - clocks = tegra_car 28; + clocks = tegra_car CLK_HOST1X; Signed-off-by: Hiroshi Doyu hd...@nvidia.com --- arch/arm/boot/dts/tegra20-colibri-512.dtsi | 4 +- arch/arm/boot/dts/tegra20-harmony.dts | 4 +- arch/arm/boot/dts

[PATCH 3/6] ARM: tegra30: create a DT header defining CLK IDs

2013-05-13 Thread Hiroshi Doyu
To replace magic number in tegra_car: - clocks = tegra_car 28; + clocks = tegra_car CLK_HOST1X; Signed-off-by: Hiroshi Doyu hd...@nvidia.com --- .../bindings/clock/nvidia,tegra30-car.txt | 209 +--- include/dt-bindings/clk/tegra30-car.h

[PATCH 0/6] CLK: tegra: convert device tree files to use CLK defines

2013-05-13 Thread Hiroshi Doyu
This patchset converts device tree files to use CLK defines. This is against Stephen Warren's linux-next_common branch in: git://nv-tegra.nvidia.com/user/swarren/linux-2.6 If this is ok, I'll also convert enum variables to use CLK defines in drivers/clk/tegra/clk-tegra{20,30,114}.c Hiroshi

[PATCH 6/6] ARM: tegra114: convert device tree files to use CLK defines

2013-05-13 Thread Hiroshi Doyu
Replace magic number in tegra_car: - clocks = tegra_car 28; + clocks = tegra_car CLK_HOST1X; Signed-off-by: Hiroshi Doyu hd...@nvidia.com --- arch/arm/boot/dts/tegra114-dalmore.dts | 4 +- arch/arm/boot/dts/tegra114.dtsi| 79

[PATCH 4/6] ARM: tegra30: convert device tree files to use CLK defines

2013-05-13 Thread Hiroshi Doyu
Replace magic number in tegra_car: - clocks = tegra_car 28; + clocks = tegra_car CLK_HOST1X; Signed-off-by: Hiroshi Doyu hd...@nvidia.com --- arch/arm/boot/dts/tegra30-beaver.dts | 4 +- arch/arm/boot/dts/tegra30-cardhu.dtsi | 4 +- arch/arm/boot/dts/tegra30

[PATCH 5/6] ARM: tegra114: create a DT header defining CLK IDs

2013-05-13 Thread Hiroshi Doyu
Replace magic number in tegra_car: - clocks = tegra_car 28; + clocks = tegra_car CLK_HOST1X; Signed-off-by: Hiroshi Doyu hd...@nvidia.com --- .../bindings/clock/nvidia,tegra114-car.txt | 250 +-- include/dt-bindings/clk/tegra114-car.h

[v3 0/6] ARM: tegra: convert device tree files to use CLK defines

2013-02-15 Thread Hiroshi Doyu
://lists.infradead.org/pipermail/linux-arm-kernel/2013-February/149672.html [1] http://lists.infradead.org/pipermail/linux-arm-kernel/2013-February/149804.html Hiroshi Doyu (6): ARM: tegra20: create a DT header defining CLK IDs ARM: tegra20: convert device tree files to use CLK defines ARM: tegra30

[v3 1/6] ARM: tegra20: create a DT header defining CLK IDs

2013-02-15 Thread Hiroshi Doyu
To replace magic number in tegra_car: - clocks = tegra_car 28; + clocks = tegra_car CLK_HOST1X; Signed-off-by: Hiroshi Doyu hd...@nvidia.com --- arch/arm/boot/dts/tegra20-car.h | 158 +++ 1 file changed, 158 insertions(+) create

[v3 2/6] ARM: tegra20: convert device tree files to use CLK defines

2013-02-15 Thread Hiroshi Doyu
Replace magic number in tegra_car: - clocks = tegra_car 28; + clocks = tegra_car CLK_HOST1X; Signed-off-by: Hiroshi Doyu hd...@nvidia.com --- .../bindings/clock/nvidia,tegra20-car.txt | 150 +--- arch/arm/boot/dts/tegra20-paz00.dtsp

[v3 3/6] ARM: tegra30: create a DT header defining CLK IDs

2013-02-15 Thread Hiroshi Doyu
To replace magic number in tegra_car: - clocks = tegra_car 28; + clocks = tegra_car CLK_HOST1X; Signed-off-by: Hiroshi Doyu hd...@nvidia.com --- arch/arm/boot/dts/tegra30-car.h | 218 +++ 1 file changed, 218 insertions(+) create

[v3 4/6] ARM: tegra30: convert device tree files to use CLK defines

2013-02-15 Thread Hiroshi Doyu
Replace magic number in tegra_car: - clocks = tegra_car 28; + clocks = tegra_car CLK_HOST1X; Signed-off-by: Hiroshi Doyu hd...@nvidia.com --- .../bindings/clock/nvidia,tegra30-car.txt | 207 +--- arch/arm/boot/dts/tegra30.dtsip

[v3 5/6] ARM: tegra114: create a DT header defining CLK IDs

2013-02-15 Thread Hiroshi Doyu
To replace magic number in tegra_car: - clocks = tegra_car 28; + clocks = tegra_car CLK_HOST1X; Signed-off-by: Hiroshi Doyu hd...@nvidia.com --- arch/arm/boot/dts/tegra114-car.h | 272 ++ 1 file changed, 272 insertions(+) create

[v3 6/6] ARM: tegra114: convert device tree files to use CLK defines

2013-02-15 Thread Hiroshi Doyu
Replace magic number in tegra_car: - clocks = tegra_car 28; + clocks = tegra_car CLK_HOST1X; Signed-off-by: Hiroshi Doyu hd...@nvidia.com --- .../bindings/clock/nvidia,tegra114-car.txt | 261 +--- arch/arm/boot/dts/tegra114.dtsip

Re: [PATCH 1/1] ARM: dt: add header to define tegra20 clocks

2013-02-14 Thread Hiroshi Doyu
Peter De Schrijver pdeschrij...@nvidia.com wrote @ Thu, 14 Feb 2013 11:12:20 +0100: On Thu, Feb 14, 2013 at 07:38:17AM +0100, Hiroshi Doyu wrote: To replace magic number in clocks = tegra_car 28; But then we should probably also remove the enum tegra20_clk and replace

[v2 0/4] ARM: tegra: convert device tree files to use CLK defines

2013-02-14 Thread Hiroshi Doyu
-February/149804.html Hiroshi Doyu (4): ARM: tegra20: create a DT header defining CLK IDs ARM: tegra20: convert device tree files to use CLK defines ARM: tegra30: create a DT header defining CLK IDs ARM: tegra30: convert device tree files to use CLK defines .../bindings/clock/nvidia,tegra20

[v2 1/4] ARM: tegra20: create a DT header defining CLK IDs

2013-02-14 Thread Hiroshi Doyu
To replace magic number in tegra_car: - clocks = tegra_car 28; + clocks = tegra_car CLK_HOST1X; Signed-off-by: Hiroshi Doyu hd...@nvidia.com --- arch/arm/boot/dts/tegra20-car.h | 114 +++ 1 file changed, 114 insertions(+) create

[v2 2/4] ARM: tegra20: convert device tree files to use CLK defines

2013-02-14 Thread Hiroshi Doyu
Replace magic number in tegra_car: - clocks = tegra_car 28; + clocks = tegra_car CLK_HOST1X; Signed-off-by: Hiroshi Doyu hd...@nvidia.com --- .../bindings/clock/nvidia,tegra20-car.txt |2 +- arch/arm/boot/dts/tegra20-paz00.dtsp |2

[v2 3/4] ARM: tegra30: create a DT header defining CLK IDs

2013-02-14 Thread Hiroshi Doyu
To replace magic number in tegra_car: - clocks = tegra_car 28; + clocks = tegra_car CLK_HOST1X; Signed-off-by: Hiroshi Doyu hd...@nvidia.com --- arch/arm/boot/dts/tegra30-car.h | 171 +++ 1 file changed, 171 insertions(+) create

[v2 4/4] ARM: tegra30: convert device tree files to use CLK defines

2013-02-14 Thread Hiroshi Doyu
Replace magic number in tegra_car: - clocks = tegra_car 28; + clocks = tegra_car CLK_HOST1X; Signed-off-by: Hiroshi Doyu hd...@nvidia.com --- .../bindings/clock/nvidia,tegra30-car.txt |2 +- arch/arm/boot/dts/tegra30.dtsip| 87

[PATCH 2/2] ARM: tegra114: convert device tree files to use CLK defines

2013-02-14 Thread Hiroshi Doyu
Replace magic number in tegra_car: - clocks = tegra_car 28; + clocks = tegra_car CLK_HOST1X; Signed-off-by: Hiroshi Doyu hd...@nvidia.com --- .../bindings/clock/nvidia,tegra114-car.txt |2 +- arch/arm/boot/dts/tegra114.dtsip | 13

Re: [PATCH 1/9] ARM: dt: add header to define GPIO flags

2013-02-14 Thread Hiroshi Doyu
Stephen Warren swar...@wwwdotorg.org wrote @ Wed, 13 Feb 2013 22:33:10 +0100: From: Stephen Warren swar...@nvidia.com Many GPIO device tree bindings use the same flags. Create a header to define those. Signed-off-by: Stephen Warren swar...@nvidia.com --- arch/arm/boot/dts/gpio.h | 10

[PATCH 1/1] ARM: dt: add header to define tegra20 clocks

2013-02-13 Thread Hiroshi Doyu
To replace magic number in clocks = tegra_car 28; Signed-off-by: Hiroshi Doyu hd...@nvidia.com --- This patch depends on: [PATCH 0/9] ARM: tegra: use new dtc+cpp feature http://lists.infradead.org/pipermail/linux-arm-kernel/2013-February/149613.html This patch is the experiment for Tegra20

Re: [PATCH v5 06/14] ARM: EXYNOS: add System MMU definition to DT

2013-01-16 Thread Hiroshi Doyu
Will Deacon will.dea...@arm.com wrote @ Wed, 16 Jan 2013 12:51:14 +0100: On Tue, Dec 11, 2012 at 11:09:47AM +, Cho KyongHo wrote: This commit adds System MMU nodes to DT of Exynos SoCs. [Adding devicetree-discuss and some other IOMMU/DT people to CC] Signed-off-by: KyongHo Cho

Re: [PATCH 2/2] ARM: tegra: Use DT /cpu node to detect number of CPU core

2013-01-14 Thread Hiroshi Doyu
Hi Russell, Russell King - ARM Linux li...@arm.linux.org.uk wrote @ Mon, 14 Jan 2013 10:27:20 +0100: On Mon, Jan 14, 2013 at 09:52:50AM +0200, Hiroshi Doyu wrote: + if (!arm_dt_cpu_map_valid()) + set_cpu_possible(0, true); You don't need to do any of this (and, therefore, I

[PATCH 1/2] ARM: kernel: DT cpu map validity check helper function

2013-01-13 Thread Hiroshi Doyu
From: Lorenzo Pieralisi lorenzo.pieral...@arm.com Since the introduction of /cpu nodes bindings for ARM and the corresponding parse function arm_dt_init_cpu_maps(), the cpu_logical_map and the number of possible CPUs are set according to the DT /cpu nodes entries. Currently most of the existing

[PATCH 2/2] ARM: tegra: Use DT /cpu node to detect number of CPU core

2013-01-13 Thread Hiroshi Doyu
SCU based detection only works with Cortex-A9 MP and it doesn't support ones with multiple clusters. The only way to detect number of CPU core correctly is with DT /cpu node. If DT /cpu node based detection fails, we just simply fall back a single core in Tegra SoCs. Signed-off-by: Hiroshi Doyu

Re: [PATCH 9/9] ARM: tegra: Add initial support for Tegra 114 SoC.

2013-01-03 Thread Hiroshi Doyu
Arnd Bergmann a...@arndb.de wrote @ Thu, 3 Jan 2013 17:28:19 +0100: On Thursday 20 December 2012, Hiroshi Doyu wrote: + +DT_MACHINE_START(TEGRA114_DT, NVIDIA Tegra114 (Flattened Device Tree)) + .smp= smp_ops(tegra_smp_ops), + .map_io = tegra_map_common_io

Re: [PATCH 4/4] ARM: tegra: Set SCU base address dynamically from DT

2013-01-02 Thread Hiroshi Doyu
Stephen Warren swar...@wwwdotorg.org wrote @ Wed, 2 Jan 2013 20:02:53 +0100: On 12/16/2012 11:18 PM, Hiroshi Doyu wrote: Set Snoop Control Unit(SCU) register base address dynamically from DT. Hiroshi, what's the status on this patch series? I think Rob had comments/objections on patch 4

Re: [PATCH 6/9] ARM: dt: tegra114: Add new SoC base, Tegra 114 SoC

2012-12-30 Thread Hiroshi Doyu
Hi Olof, Olof Johansson o...@lixom.net wrote @ Sat, 29 Dec 2012 07:39:13 +0100: On Thu, Dec 20, 2012 at 11:44:04AM +0200, Hiroshi Doyu wrote: Initial support for Tegra 114 SoC. This is expected to be included in the board DTS files, Tegra 114 SoC based evaluation board family. Signed

[PATCH 0/9] ARM: Initial support for Tegra 114 SoC.

2012-12-20 Thread Hiroshi Doyu
the above configuration , it hangs at boot-up. With SPI disabled, it's ok. Hiroshi Doyu (9): ARM: tegra: fuse: Add chipid TEGRA114 0x35 HACK: ARM: tegra: Use CLK_IGNORE_UNUSED for Tegra 114 SoC ARM: tegra: # of CPU cores detection w/ w/o HAVE_ARM_SCU clocksource: tegra: Reorganize funcs

[PATCH 1/9] ARM: tegra: fuse: Add chipid TEGRA114 0x35

2012-12-20 Thread Hiroshi Doyu
Add tegra_chip_id TEGRA114 0x35 Signed-off-by: Hiroshi Doyu hd...@nvidia.com --- arch/arm/mach-tegra/fuse.h |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-tegra/fuse.h b/arch/arm/mach-tegra/fuse.h index ff1383d..da78434 100644 --- a/arch/arm/mach-tegra/fuse.h +++ b/arch/arm

[PATCH 4/9] clocksource: tegra: Reorganize funcs by clock functionarities

2012-12-20 Thread Hiroshi Doyu
Relocate functions by clock functionarities{RTC, TMR}. Also created some new functions as helper. Signed-off-by: Hiroshi Doyu hd...@nvidia.com --- drivers/clocksource/tegra20_timer.c | 160 +++ 1 file changed, 86 insertions(+), 74 deletions(-) diff --git

[PATCH 5/9] clocksource: tegra: Enable ARM arch_timer with TSC

2012-12-20 Thread Hiroshi Doyu
Add platform enabler for ARM arch_timer(TSC). TSC is more fine grained timer than TMR0. If it's available, it will be used for clock source and sched_clock. Otherwise, TMR0 is used. In any case TMR0 is necessary for clock event. Signed-off-by: Hiroshi Doyu hd...@nvidia.com --- .../bindings/arm

[PATCH 6/9] ARM: dt: tegra114: Add new SoC base, Tegra 114 SoC

2012-12-20 Thread Hiroshi Doyu
Initial support for Tegra 114 SoC. This is expected to be included in the board DTS files, Tegra 114 SoC based evaluation board family. Signed-off-by: Hiroshi Doyu hd...@nvidia.com --- arch/arm/boot/dts/tegra114.dtsi | 89 +++ 1 file changed, 89 insertions

[PATCH 7/9] ARM: dt: tegra114: Add new board, Dalmore

2012-12-20 Thread Hiroshi Doyu
Add a new evaluation board, Dalmore for Tegra 114 family. Signed-off-by: Hiroshi Doyu hd...@nvidia.com --- arch/arm/boot/dts/Makefile |3 ++- arch/arm/boot/dts/tegra114-dalmore.dts | 21 + 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644

[PATCH 8/9] ARM: dt: tegra114: Add new board, Pluto

2012-12-20 Thread Hiroshi Doyu
Add a new evaluation board, Pluto for Tegra 114 family. Signed-off-by: Hiroshi Doyu hd...@nvidia.com --- arch/arm/boot/dts/Makefile |3 ++- arch/arm/boot/dts/tegra114-pluto.dts | 21 + 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 arch

[PATCH 9/9] ARM: tegra: Add initial support for Tegra 114 SoC.

2012-12-20 Thread Hiroshi Doyu
Add new Tegra 114 SoC support. Signed-off-by: Hiroshi Doyu hd...@nvidia.com --- arch/arm/mach-tegra/Kconfig | 10 +++ arch/arm/mach-tegra/Makefile|1 + arch/arm/mach-tegra/board-dt-tegra114.c | 48 +++ arch/arm/mach-tegra/common.c

[PATCH 2/9] HACK: ARM: tegra: Use CLK_IGNORE_UNUSED for Tegra 114 SoC

2012-12-20 Thread Hiroshi Doyu
Use CLK_IGNORE_UNUSED for the Tegra 114 SoC to ensure clk_disable_unused() is not called. Otherwise the system will die, because the usecount of the clocks is incorrect. This patch will be reverted once the Tegra 114 clocks are implemented. Signed-off-by: Hiroshi Doyu hd...@nvidia.com --- arch

Re: [PATCH 3/9] ARM: tegra: # of CPU cores detection w/ w/o HAVE_ARM_SCU

2012-12-20 Thread Hiroshi Doyu
Felipe Balbi ba...@ti.com wrote @ Thu, 20 Dec 2012 11:06:25 +0100: ... @@ -149,7 +154,26 @@ done: */ static void __init tegra_smp_init_cpus(void) { - unsigned int i, ncores = scu_get_core_count(scu_base); + unsigned int i, cpu_id, ncores; + u32 l2ctlr; + phys_addr_t pa;

Re: [PATCH 3/9] ARM: tegra: # of CPU cores detection w/ w/o HAVE_ARM_SCU

2012-12-20 Thread Hiroshi Doyu
Marc Zyngier marc.zyng...@arm.com wrote @ Thu, 20 Dec 2012 12:17:08 +0100: On 20/12/12 09:44, Hiroshi Doyu wrote: The method to detect the number of CPU cores on Cortex-A9 MPCore and Cortex-A15 MPCore is different. On Cortex-A9 MPCore we can get this information from the Snoop Control Unit

Re: [PATCH 5/9] clocksource: tegra: Enable ARM arch_timer with TSC

2012-12-20 Thread Hiroshi Doyu
Marc Zyngier marc.zyng...@arm.com wrote @ Thu, 20 Dec 2012 12:01:15 +0100: On 20/12/12 09:44, Hiroshi Doyu wrote: Add platform enabler for ARM arch_timer(TSC). TSC is more fine grained timer than TMR0. If it's available, it will be used for clock source and sched_clock. Otherwise, TMR0

[PATCH 1/4] ARM: dt: Add doc for ARM Snoop Control Unit(SCU)

2012-12-19 Thread Hiroshi Doyu
Add scu.txt under arm for ARM Snoop Control Unit(SCU) Signed-off-by: Hiroshi Doyu hd...@nvidia.com --- Documentation/devicetree/bindings/arm/scu.txt | 15 +++ 1 file changed, 15 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/scu.txt diff --git

[PATCH 3/4] ARM: dt: tegra30.dtsi: Add SCU node

2012-12-19 Thread Hiroshi Doyu
Add Snoop Control Unit(SCU) node for Cortex A9 MP. Signed-off-by: Hiroshi Doyu hd...@nvidia.com --- arch/arm/boot/dts/tegra30.dtsip |5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/tegra30.dtsip b/arch/arm/boot/dts/tegra30.dtsip index 8feba6d..84a41c2 100644

[PATCH 2/4] ARM: dt: tegra20.dtsi: Add SCU node

2012-12-19 Thread Hiroshi Doyu
Add Snoop Control Unit(SCU) node for Cortex A9 MP. Signed-off-by: Hiroshi Doyu hd...@nvidia.com --- arch/arm/boot/dts/tegra20.dtsip |5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/tegra20.dtsip b/arch/arm/boot/dts/tegra20.dtsip index 3e046b1..d325aed 100644

[PATCH 4/4] ARM: tegra: Set SCU base address dynamically from DT

2012-12-19 Thread Hiroshi Doyu
Set Snoop Control Unit(SCU) register base address dynamically from DT. Signed-off-by: Hiroshi Doyu hd...@nvidia.com --- arch/arm/mach-tegra/platsmp.c | 23 --- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-tegra/platsmp.c b/arch/arm/mach-tegra

Re: [PATCH 4/4] ARM: tegra: Set SCU base address dynamically from DT

2012-12-19 Thread Hiroshi Doyu
Hi Rob, Rob Herring robherri...@gmail.com wrote @ Mon, 17 Dec 2012 15:00:46 +0100: On 12/17/2012 12:18 AM, Hiroshi Doyu wrote: Set Snoop Control Unit(SCU) register base address dynamically from DT. Signed-off-by: Hiroshi Doyu hd...@nvidia.com --- arch/arm/mach-tegra/platsmp.c | 23

Re: [PATCH 4/4] ARM: tegra: Set SCU base address dynamically from DT

2012-12-19 Thread Hiroshi Doyu
Rob Herring robherri...@gmail.com wrote @ Tue, 18 Dec 2012 14:46:36 +0100: On 12/18/2012 03:21 AM, Hiroshi Doyu wrote: Hi Rob, Rob Herring robherri...@gmail.com wrote @ Mon, 17 Dec 2012 15:00:46 +0100: On 12/17/2012 12:18 AM, Hiroshi Doyu wrote: Set Snoop Control Unit(SCU) register

Re: [PATCH 4/4] ARM: tegra: Set SCU base address dynamically from DT

2012-12-19 Thread Hiroshi Doyu
Hiroshi Doyu hd...@nvidia.com wrote @ Tue, 18 Dec 2012 17:15:46 +0200 (EET): Rob Herring robherri...@gmail.com wrote @ Tue, 18 Dec 2012 14:46:36 +0100: On 12/18/2012 03:21 AM, Hiroshi Doyu wrote: Hi Rob, Rob Herring robherri...@gmail.com wrote @ Mon, 17 Dec 2012 15:00:46 +0100