Skip to contentSkip to conversation

ARM: dts: imx27-phytec-phycore-som: Add simple-card support for PMIC

PATCH New Alexander Shiyan 1 participant 2 messages Jun 18, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 ARM: dts: imx27-phytec-phycore-som: Add simple-card support for PMIC

This patch adds simple-card support for the MC13783 PMIC.

---
 arch/arm/boot/dts/imx27-phytec-phycore-som.dtsi | 1 +
 1 file changed, 1 insertion(+)
arch/arm/boot/dts/imx27-phytec-phycore-som.dtsi +1 -0
index b4e955e..9908b42 100644
@@ -80,6 +80,7 @@
 	status = "okay";
 
 	pmic: mc13783 at 0 {
+		#sound-dai-cells = <0>;
 		compatible = "fsl,mc13783";
 		pinctrl-names = "default";
 		pinctrl-0 = <&pinctrl_pmic>;
Signature · 1 line
2.4.9
#1 lore raw

PATCH 2/2 ARM: dts: imx27-phytec-phycore-som: Move AUDMUX pins under AUDMUX node

AUDMUX node should be used for the AUDMUX corresponding pins.

---
 arch/arm/boot/dts/imx27-phytec-phycore-som.dtsi | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)
arch/arm/boot/dts/imx27-phytec-phycore-som.dtsi +11 -11
index 9908b42..f19d1f5b 100644
@@ -58,6 +58,8 @@
 };
 
 &audmux {
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_audmux>;
 	status = "okay";
 
 	/* SSI0 <=> PINS_4 (MC13783 Audio) */
@@ -213,6 +215,15 @@
 
 &iomuxc {
 	imx27_phycore_som {
+		pinctrl_audmux: audmuxgrp {
+			fsl,pins = <
+				MX27_PAD_SSI1_FS__SSI1_FS		0x0
+				MX27_PAD_SSI1_RXDAT__SSI1_RXDAT		0x0
+				MX27_PAD_SSI1_TXDAT__SSI1_TXDAT		0x0
+				MX27_PAD_SSI1_CLK__SSI1_CLK		0x0
+			>;
+		};
+
 		pinctrl_cspi1: cspi1grp {
 			fsl,pins = <
 				MX27_PAD_CSPI1_MISO__CSPI1_MISO 0x0
@@ -271,15 +282,6 @@
 			>;
 		};
 
-		pinctrl_ssi1: ssi1grp {
-			fsl,pins = <
-				MX27_PAD_SSI1_FS__SSI1_FS 0x0
-				MX27_PAD_SSI1_RXDAT__SSI1_RXDAT 0x0
-				MX27_PAD_SSI1_TXDAT__SSI1_TXDAT 0x0
-				MX27_PAD_SSI1_CLK__SSI1_CLK 0x0
-			>;
-		};
-
 		pinctrl_usbotg: usbotggrp {
 			fsl,pins = <
 				MX27_PAD_USBOTG_CLK__USBOTG_CLK 0x0
@@ -309,8 +311,6 @@
 };
 
 &ssi1 {
-	pinctrl-names = "default";
-	pinctrl-0 = <&pinctrl_ssi1>;
 	status = "okay";
 };
 
Signature · 1 line
2.4.9