From mboxrd@z Thu Jan 1 00:00:00 1970 From: Enric Balletbo i Serra Subject: [PATCH] ARM: dts: igep00x0: Add pinmux configuration for MCBSP2. Date: Fri, 5 Jul 2013 23:38:58 +0200 Message-ID: <1373060338-30273-1-git-send-email-eballetbo@gmail.com> Return-path: Received: from mail-wg0-f46.google.com ([74.125.82.46]:48572 "EHLO mail-wg0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750977Ab3GEVlG (ORCPT ); Fri, 5 Jul 2013 17:41:06 -0400 Received: by mail-wg0-f46.google.com with SMTP id c11so2280835wgh.13 for ; Fri, 05 Jul 2013 14:41:04 -0700 (PDT) Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: =?UTF-8?q?Beno=C3=AEt=20Cousson?= , Tony Lindgren , Javier Martinez Canillas , linux-omap@vger.kernel.org Cc: Enric Balletbo i Serra IGEP Processor Boards based on OMAP3 have the MCBSP2 connected to the TDM interface. The kernel should configure the pinmux for these pins in order to get TWL4030 codec working. Without this, for example, playing a wav file doesn't work. Signed-off-by: Enric Balletbo i Serra --- arch/arm/boot/dts/omap3-igep.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/omap3-igep.dtsi b/arch/arm/boot/dts/omap3-igep.dtsi index bc48b11..2326d11 100644 --- a/arch/arm/boot/dts/omap3-igep.dtsi +++ b/arch/arm/boot/dts/omap3-igep.dtsi @@ -48,6 +48,15 @@ >; }; + mcbsp2_pins: pinmux_mcbsp2_pins { + pinctrl-single,pins = < + 0x10c (PIN_INPUT | MUX_MODE0) /* mcbsp2_fsx.mcbsp2_fsx */ + 0x10e (PIN_INPUT | MUX_MODE0) /* mcbsp2_clkx.mcbsp2_clkx */ + 0x110 (PIN_INPUT | MUX_MODE0) /* mcbsp2_dr.mcbsp2.dr */ + 0x112 (PIN_OUTPUT | MUX_MODE0) /* mcbsp2_dx.mcbsp2_dx */ + >; + }; + mmc1_pins: pinmux_mmc1_pins { pinctrl-single,pins = < 0x114 (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_clk.sdmmc1_clk */ @@ -93,6 +102,11 @@ clock-frequency = <400000>; }; +&mcbsp2 { + pinctrl-names = "default"; + pinctrl-0 = <&mcbsp2_pins>; +}; + &mmc1 { pinctrl-names = "default"; pinctrl-0 = <&mmc1_pins>; -- 1.8.1.2