ARM: DTS: am335x-evmsk: Audio and MMC1 fix (for 3.13?)
cover ARM: DTS: am335x-evmsk: Audio and MMC1 fix (for 3.13?)
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(-)
Signature · 1 line
1.8.5.2
PATCH 1/2 ARM: DTS: am335x-evmsk: Correct audio clock frequency
The clock for audio is sourced from virt_24000000_ck, so the correct frequency is 24000000.
--- arch/arm/boot/dts/am335x-evmsk.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/am335x-evmsk.dts +1 -1
@@ -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";
Signature · 1 line
1.8.5.2
PATCH 2/2 ARM: dts: am335x-evmsk: Fix mmc1 support
In reply to Peter UjfalusiAdd pinctrl section and cd-gpio to mmc1. Without these the SD card is not working on EVM-SK board.
--- arch/arm/boot/dts/am335x-evmsk.dts | 9 +++++++++ 1 file changed, 9 insertions(+)
arch/arm/boot/dts/am335x-evmsk.dts +9 -0
@@ -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 {
Signature · 1 line
1.8.5.2
cover ARM: DTS: am335x-evmsk: Audio and MMC1 fix (for 3.13?)
In reply to Peter UjfalusiHi Benoit,
Quoted 6 lines · Peter Ujfalusi
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?
Quoted 11 lines
Regards,
Peter
---
Peter Ujfalusi (2):
ARM: DTS: am335x-evmsk: Correct audio clock frequency
ARM: dts: am335x-evmsk: Fix mmc1 supportarch/arm/boot/dts/am335x-evmsk.dts | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-)
Signature · 1 line
P?ter
cover ARM: DTS: am335x-evmsk: Audio and MMC1 fix (for 3.13?)
Quoted 11 lines · Peter Ujfalusi
Hi Benoit,
Quoted 6 lines · Peter Ujfalusi
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