All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] ARM: DTS: am335x-evmsk: Audio and MMC1 fix (for 3.13?)
@ 2013-12-23  9:28 ` Peter Ujfalusi
  0 siblings, 0 replies; 10+ messages in thread
From: Peter Ujfalusi @ 2013-12-23  9:28 UTC (permalink / raw)
  To: Benoit Cousson, Tony Lindgren
  Cc: linux-omap, linux-arm-kernel, devicetree, rogerq, balbi

Hi,

The audio frequency has been incorrectly set in the DTS file which results
incorrect playback frequency on EVM-SK.

The SD card can not be used without the second patch on 3.13-rc5.

Regards,
Peter
---
Peter Ujfalusi (2):
  ARM: DTS: am335x-evmsk: Correct audio clock frequency
  ARM: dts: am335x-evmsk: Fix mmc1 support

 arch/arm/boot/dts/am335x-evmsk.dts | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

-- 
1.8.5.2


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

* [PATCH 0/2] ARM: DTS: am335x-evmsk: Audio and MMC1 fix (for 3.13?)
@ 2013-12-23  9:28 ` Peter Ujfalusi
  0 siblings, 0 replies; 10+ messages in thread
From: Peter Ujfalusi @ 2013-12-23  9:28 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,

The audio frequency has been incorrectly set in the DTS file which results
incorrect playback frequency on EVM-SK.

The SD card can not be used without the second patch on 3.13-rc5.

Regards,
Peter
---
Peter Ujfalusi (2):
  ARM: DTS: am335x-evmsk: Correct audio clock frequency
  ARM: dts: am335x-evmsk: Fix mmc1 support

 arch/arm/boot/dts/am335x-evmsk.dts | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

-- 
1.8.5.2

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

* [PATCH 1/2] ARM: DTS: am335x-evmsk: Correct audio clock frequency
  2013-12-23  9:28 ` Peter Ujfalusi
@ 2013-12-23  9:28   ` Peter Ujfalusi
  -1 siblings, 0 replies; 10+ messages in thread
From: Peter Ujfalusi @ 2013-12-23  9:28 UTC (permalink / raw)
  To: Benoit Cousson, Tony Lindgren
  Cc: linux-omap, linux-arm-kernel, devicetree, rogerq, balbi

The clock for audio is sourced from virt_24000000_ck, so the correct
frequency is 24000000.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
---
 arch/arm/boot/dts/am335x-evmsk.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b/arch/arm/boot/dts/am335x-evmsk.dts
index 4718ec4a4dbf..50abe53f6887 100644
--- a/arch/arm/boot/dts/am335x-evmsk.dts
+++ b/arch/arm/boot/dts/am335x-evmsk.dts
@@ -121,7 +121,7 @@
 		ti,model = "AM335x-EVMSK";
 		ti,audio-codec = <&tlv320aic3106>;
 		ti,mcasp-controller = <&mcasp1>;
-		ti,codec-clock-rate = <24576000>;
+		ti,codec-clock-rate = <24000000>;
 		ti,audio-routing =
 			"Headphone Jack",       "HPLOUT",
 			"Headphone Jack",       "HPROUT";
-- 
1.8.5.2


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

* [PATCH 1/2] ARM: DTS: am335x-evmsk: Correct audio clock frequency
@ 2013-12-23  9:28   ` Peter Ujfalusi
  0 siblings, 0 replies; 10+ messages in thread
From: Peter Ujfalusi @ 2013-12-23  9:28 UTC (permalink / raw)
  To: linux-arm-kernel

The clock for audio is sourced from virt_24000000_ck, so the correct
frequency is 24000000.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
---
 arch/arm/boot/dts/am335x-evmsk.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b/arch/arm/boot/dts/am335x-evmsk.dts
index 4718ec4a4dbf..50abe53f6887 100644
--- a/arch/arm/boot/dts/am335x-evmsk.dts
+++ b/arch/arm/boot/dts/am335x-evmsk.dts
@@ -121,7 +121,7 @@
 		ti,model = "AM335x-EVMSK";
 		ti,audio-codec = <&tlv320aic3106>;
 		ti,mcasp-controller = <&mcasp1>;
-		ti,codec-clock-rate = <24576000>;
+		ti,codec-clock-rate = <24000000>;
 		ti,audio-routing =
 			"Headphone Jack",       "HPLOUT",
 			"Headphone Jack",       "HPROUT";
-- 
1.8.5.2

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

* [PATCH 2/2] ARM: dts: am335x-evmsk: Fix mmc1 support
  2013-12-23  9:28 ` Peter Ujfalusi
@ 2013-12-23  9:28   ` Peter Ujfalusi
  -1 siblings, 0 replies; 10+ messages in thread
From: Peter Ujfalusi @ 2013-12-23  9:28 UTC (permalink / raw)
  To: Benoit Cousson, Tony Lindgren
  Cc: linux-omap, linux-arm-kernel, devicetree, rogerq, balbi

Add pinctrl section and cd-gpio to mmc1. Without these the SD card is not
working on EVM-SK board.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
---
 arch/arm/boot/dts/am335x-evmsk.dts | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b/arch/arm/boot/dts/am335x-evmsk.dts
index 50abe53f6887..486880b74831 100644
--- a/arch/arm/boot/dts/am335x-evmsk.dts
+++ b/arch/arm/boot/dts/am335x-evmsk.dts
@@ -256,6 +256,12 @@
 		>;
 	};
 
+	mmc1_pins: pinmux_mmc1_pins {
+		pinctrl-single,pins = <
+			0x160 (PIN_INPUT | MUX_MODE7) /* spi0_cs1.gpio0_6 */
+		>;
+	};
+
 	mcasp1_pins: mcasp1_pins {
 		pinctrl-single,pins = <
 			0x10c (PIN_INPUT_PULLDOWN | MUX_MODE4) /* mii1_crs.mcasp1_aclkx */
@@ -456,6 +462,9 @@
 	status = "okay";
 	vmmc-supply = <&vmmc_reg>;
 	bus-width = <4>;
+	pinctrl-names = "default";
+	pinctrl-0 = <&mmc1_pins>;
+	cd-gpios = <&gpio0 6 GPIO_ACTIVE_HIGH>;
 };
 
 &sham {
-- 
1.8.5.2


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

* [PATCH 2/2] ARM: dts: am335x-evmsk: Fix mmc1 support
@ 2013-12-23  9:28   ` Peter Ujfalusi
  0 siblings, 0 replies; 10+ messages in thread
From: Peter Ujfalusi @ 2013-12-23  9:28 UTC (permalink / raw)
  To: linux-arm-kernel

Add pinctrl section and cd-gpio to mmc1. Without these the SD card is not
working on EVM-SK board.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
---
 arch/arm/boot/dts/am335x-evmsk.dts | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b/arch/arm/boot/dts/am335x-evmsk.dts
index 50abe53f6887..486880b74831 100644
--- a/arch/arm/boot/dts/am335x-evmsk.dts
+++ b/arch/arm/boot/dts/am335x-evmsk.dts
@@ -256,6 +256,12 @@
 		>;
 	};
 
+	mmc1_pins: pinmux_mmc1_pins {
+		pinctrl-single,pins = <
+			0x160 (PIN_INPUT | MUX_MODE7) /* spi0_cs1.gpio0_6 */
+		>;
+	};
+
 	mcasp1_pins: mcasp1_pins {
 		pinctrl-single,pins = <
 			0x10c (PIN_INPUT_PULLDOWN | MUX_MODE4) /* mii1_crs.mcasp1_aclkx */
@@ -456,6 +462,9 @@
 	status = "okay";
 	vmmc-supply = <&vmmc_reg>;
 	bus-width = <4>;
+	pinctrl-names = "default";
+	pinctrl-0 = <&mmc1_pins>;
+	cd-gpios = <&gpio0 6 GPIO_ACTIVE_HIGH>;
 };
 
 &sham {
-- 
1.8.5.2

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

* Re: [PATCH 0/2] ARM: DTS: am335x-evmsk: Audio and MMC1 fix (for 3.13?)
  2013-12-23  9:28 ` Peter Ujfalusi
@ 2014-01-07  8:15   ` Peter Ujfalusi
  -1 siblings, 0 replies; 10+ messages in thread
From: Peter Ujfalusi @ 2014-01-07  8:15 UTC (permalink / raw)
  To: Benoit Cousson, Tony Lindgren
  Cc: linux-omap, linux-arm-kernel, devicetree, rogerq, balbi

Hi Benoit,

On 12/23/2013 11:28 AM, Peter Ujfalusi wrote:
> Hi,
> 
> The audio frequency has been incorrectly set in the DTS file which results
> incorrect playback frequency on EVM-SK.
> 
> The SD card can not be used without the second patch on 3.13-rc5.

Can you take a look at these and if it is possible send it for 3.13?

> 
> Regards,
> Peter
> ---
> Peter Ujfalusi (2):
>   ARM: DTS: am335x-evmsk: Correct audio clock frequency
>   ARM: dts: am335x-evmsk: Fix mmc1 support
> 
>  arch/arm/boot/dts/am335x-evmsk.dts | 11 ++++++++++-
>  1 file changed, 10 insertions(+), 1 deletion(-)
> 


-- 
Péter
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* [PATCH 0/2] ARM: DTS: am335x-evmsk: Audio and MMC1 fix (for 3.13?)
@ 2014-01-07  8:15   ` Peter Ujfalusi
  0 siblings, 0 replies; 10+ messages in thread
From: Peter Ujfalusi @ 2014-01-07  8:15 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Benoit,

On 12/23/2013 11:28 AM, Peter Ujfalusi wrote:
> Hi,
> 
> The audio frequency has been incorrectly set in the DTS file which results
> incorrect playback frequency on EVM-SK.
> 
> The SD card can not be used without the second patch on 3.13-rc5.

Can you take a look at these and if it is possible send it for 3.13?

> 
> Regards,
> Peter
> ---
> Peter Ujfalusi (2):
>   ARM: DTS: am335x-evmsk: Correct audio clock frequency
>   ARM: dts: am335x-evmsk: Fix mmc1 support
> 
>  arch/arm/boot/dts/am335x-evmsk.dts | 11 ++++++++++-
>  1 file changed, 10 insertions(+), 1 deletion(-)
> 


-- 
P?ter

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

* Re: [PATCH 0/2] ARM: DTS: am335x-evmsk: Audio and MMC1 fix (for 3.13?)
  2014-01-07  8:15   ` Peter Ujfalusi
@ 2014-02-13 22:46     ` Tony Lindgren
  -1 siblings, 0 replies; 10+ messages in thread
From: Tony Lindgren @ 2014-02-13 22:46 UTC (permalink / raw)
  To: Peter Ujfalusi
  Cc: Benoit Cousson, linux-omap, linux-arm-kernel, devicetree, rogerq, balbi

* Peter Ujfalusi <peter.ujfalusi@ti.com> [140107 00:16]:
> Hi Benoit,
> 
> On 12/23/2013 11:28 AM, Peter Ujfalusi wrote:
> > Hi,
> > 
> > The audio frequency has been incorrectly set in the DTS file which results
> > incorrect playback frequency on EVM-SK.
> > 
> > The SD card can not be used without the second patch on 3.13-rc5.
> 
> Can you take a look at these and if it is possible send it for 3.13?

Applying both into omap-for-v3.14/fixes thanks.

Tony

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

* [PATCH 0/2] ARM: DTS: am335x-evmsk: Audio and MMC1 fix (for 3.13?)
@ 2014-02-13 22:46     ` Tony Lindgren
  0 siblings, 0 replies; 10+ messages in thread
From: Tony Lindgren @ 2014-02-13 22:46 UTC (permalink / raw)
  To: linux-arm-kernel

* Peter Ujfalusi <peter.ujfalusi@ti.com> [140107 00:16]:
> Hi Benoit,
> 
> On 12/23/2013 11:28 AM, Peter Ujfalusi wrote:
> > Hi,
> > 
> > The audio frequency has been incorrectly set in the DTS file which results
> > incorrect playback frequency on EVM-SK.
> > 
> > The SD card can not be used without the second patch on 3.13-rc5.
> 
> Can you take a look at these and if it is possible send it for 3.13?

Applying both into omap-for-v3.14/fixes thanks.

Tony

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

end of thread, other threads:[~2014-02-13 22:46 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-23  9:28 [PATCH 0/2] ARM: DTS: am335x-evmsk: Audio and MMC1 fix (for 3.13?) Peter Ujfalusi
2013-12-23  9:28 ` Peter Ujfalusi
2013-12-23  9:28 ` [PATCH 1/2] ARM: DTS: am335x-evmsk: Correct audio clock frequency Peter Ujfalusi
2013-12-23  9:28   ` Peter Ujfalusi
2013-12-23  9:28 ` [PATCH 2/2] ARM: dts: am335x-evmsk: Fix mmc1 support Peter Ujfalusi
2013-12-23  9:28   ` Peter Ujfalusi
2014-01-07  8:15 ` [PATCH 0/2] ARM: DTS: am335x-evmsk: Audio and MMC1 fix (for 3.13?) Peter Ujfalusi
2014-01-07  8:15   ` Peter Ujfalusi
2014-02-13 22:46   ` Tony Lindgren
2014-02-13 22:46     ` Tony Lindgren

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.