linux-tegra.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] ARM: config: tegra: enable T114 SPI
@ 2013-04-10 11:48 Laxman Dewangan
       [not found] ` <1365594483-20651-1-git-send-email-ldewangan-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Laxman Dewangan @ 2013-04-10 11:48 UTC (permalink / raw)
  To: swarren; +Cc: linux, linux-arm-kernel, linux-tegra, linux-kernel,
	Laxman Dewangan

Nvidia Tegra114 has the new spi controller whose driver
is not compatible with older SoCs. The new driver is added
for Tegra114 spi controller.

Enabling the config of this driver.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
---
 arch/arm/configs/tegra_defconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/arm/configs/tegra_defconfig b/arch/arm/configs/tegra_defconfig
index a5f0485..8a50fc8 100644
--- a/arch/arm/configs/tegra_defconfig
+++ b/arch/arm/configs/tegra_defconfig
@@ -121,6 +121,7 @@ CONFIG_I2C_MUX=y
 CONFIG_I2C_MUX_PINCTRL=y
 CONFIG_I2C_TEGRA=y
 CONFIG_SPI=y
+CONFIG_SPI_TEGRA114=y
 CONFIG_SPI_TEGRA20_SFLASH=y
 CONFIG_SPI_TEGRA20_SLINK=y
 CONFIG_GPIO_PCA953X_IRQ=y
-- 
1.7.1.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 2/2] ARM: tegra: dts: dalmore: enable spi4
       [not found] ` <1365594483-20651-1-git-send-email-ldewangan-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
@ 2013-04-10 11:48   ` Laxman Dewangan
       [not found]     ` <1365594483-20651-2-git-send-email-ldewangan-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Laxman Dewangan @ 2013-04-10 11:48 UTC (permalink / raw)
  To: swarren-3lzwWm7+Weoh9ZMKESR00Q
  Cc: linux-lFZ/pmaqli7XmaaqVzeoHQ,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA, Laxman Dewangan

Enable SPI4 and add Winbond SPI flash W25Q32DW device
on CS0 line.

Signed-off-by: Laxman Dewangan <ldewangan-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
---
 arch/arm/boot/dts/tegra114-dalmore.dts |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/arch/arm/boot/dts/tegra114-dalmore.dts b/arch/arm/boot/dts/tegra114-dalmore.dts
index 12198d1..295a1be 100644
--- a/arch/arm/boot/dts/tegra114-dalmore.dts
+++ b/arch/arm/boot/dts/tegra114-dalmore.dts
@@ -823,6 +823,16 @@
 		};
 	};
 
+	spi@7000da00 {
+		status = "okay";
+		spi-max-frequency = <25000000>;
+		spi-flash@0 {
+			compatible = "winbond,w25q32dw";
+			reg = <0>;
+			spi-max-frequency = <20000000>;
+		};
+	};
+
 	kbc {
 		status = "okay";
 		nvidia,debounce-delay-ms = <640>;
-- 
1.7.1.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH 1/2] ARM: config: tegra: enable T114 SPI
  2013-04-10 11:48 [PATCH 1/2] ARM: config: tegra: enable T114 SPI Laxman Dewangan
       [not found] ` <1365594483-20651-1-git-send-email-ldewangan-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
@ 2013-04-10 22:29 ` Stephen Warren
  2013-05-17 23:54 ` Stephen Warren
  2 siblings, 0 replies; 5+ messages in thread
From: Stephen Warren @ 2013-04-10 22:29 UTC (permalink / raw)
  To: Laxman Dewangan; +Cc: linux, linux-arm-kernel, linux-tegra, linux-kernel

On 04/10/2013 05:48 AM, Laxman Dewangan wrote:
> Nvidia Tegra114 has the new spi controller whose driver
> is not compatible with older SoCs. The new driver is added
> for Tegra114 spi controller.

These 2, and the other 2 KBC patches you posted, all look reasonable.
They'll have to wait until 3.11 though.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 2/2] ARM: tegra: dts: dalmore: enable spi4
       [not found]     ` <1365594483-20651-2-git-send-email-ldewangan-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
@ 2013-05-17 23:54       ` Stephen Warren
  0 siblings, 0 replies; 5+ messages in thread
From: Stephen Warren @ 2013-05-17 23:54 UTC (permalink / raw)
  To: Laxman Dewangan
  Cc: linux-lFZ/pmaqli7XmaaqVzeoHQ,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA

On 04/10/2013 05:48 AM, Laxman Dewangan wrote:
> Enable SPI4 and add Winbond SPI flash W25Q32DW device
> on CS0 line.

I have applied this to Tegra's for-3.11/dt branch.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 1/2] ARM: config: tegra: enable T114 SPI
  2013-04-10 11:48 [PATCH 1/2] ARM: config: tegra: enable T114 SPI Laxman Dewangan
       [not found] ` <1365594483-20651-1-git-send-email-ldewangan-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
  2013-04-10 22:29 ` [PATCH 1/2] ARM: config: tegra: enable T114 SPI Stephen Warren
@ 2013-05-17 23:54 ` Stephen Warren
  2 siblings, 0 replies; 5+ messages in thread
From: Stephen Warren @ 2013-05-17 23:54 UTC (permalink / raw)
  To: Laxman Dewangan; +Cc: linux, linux-arm-kernel, linux-tegra, linux-kernel

On 04/10/2013 05:48 AM, Laxman Dewangan wrote:
> Nvidia Tegra114 has the new spi controller whose driver
> is not compatible with older SoCs. The new driver is added
> for Tegra114 spi controller.

I have applied this to (squashed it into) Tegra's for-3.11/defconfig branch.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-05-17 23:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-10 11:48 [PATCH 1/2] ARM: config: tegra: enable T114 SPI Laxman Dewangan
     [not found] ` <1365594483-20651-1-git-send-email-ldewangan-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-04-10 11:48   ` [PATCH 2/2] ARM: tegra: dts: dalmore: enable spi4 Laxman Dewangan
     [not found]     ` <1365594483-20651-2-git-send-email-ldewangan-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-05-17 23:54       ` Stephen Warren
2013-04-10 22:29 ` [PATCH 1/2] ARM: config: tegra: enable T114 SPI Stephen Warren
2013-05-17 23:54 ` Stephen Warren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).