Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935707AbdCVRvX (ORCPT ); Wed, 22 Mar 2017 13:51:23 -0400 Received: from mail-pg0-f66.google.com ([74.125.83.66]:33023 "EHLO mail-pg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935629AbdCVRvJ (ORCPT ); Wed, 22 Mar 2017 13:51:09 -0400 From: Jagan Teki To: Shawn Guo Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Matteo Lisi , Michael Trimarchi , Jagan Teki Subject: [PATCH 08/12] ARM: dts: imx6ul-geam: Add Sound card with codec node Date: Wed, 22 Mar 2017 23:18:13 +0530 Message-Id: <1490204897-14525-9-git-send-email-jagan@openedev.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1490204897-14525-1-git-send-email-jagan@openedev.com> References: <1490204897-14525-1-git-send-email-jagan@openedev.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1620 Lines: 63 From: Jagan Teki Add support for Sound card and related codec(via i2c1) nodes on Engicam GEAM6UL variant module boards. Cc: Shawn Guo Cc: Matteo Lisi Cc: Michael Trimarchi Signed-off-by: Jagan Teki --- arch/arm/boot/dts/imx6ul-geam-kit.dts | 13 +++++++++++++ arch/arm/boot/dts/imx6ul-geam.dtsi | 12 ++++++++++++ 2 files changed, 25 insertions(+) diff --git a/arch/arm/boot/dts/imx6ul-geam-kit.dts b/arch/arm/boot/dts/imx6ul-geam-kit.dts index 142e60c..93c9586 100644 --- a/arch/arm/boot/dts/imx6ul-geam-kit.dts +++ b/arch/arm/boot/dts/imx6ul-geam-kit.dts @@ -58,6 +58,19 @@ status = "okay"; }; +&i2c1 { + codec: sgtl5000@0a { + compatible = "fsl,sgtl5000"; + reg = <0x0a>; + clocks = <&clks IMX6UL_CLK_OSC>; + clock-names = "mclk"; + wlf,shared-lrclk; + VDDA-supply = <®_3p3v>; + VDDIO-supply = <®_3p3v>; + VDDD-supply = <®_1p8v>; + }; +}; + &lcdif { display = <&display0>; status = "okay"; diff --git a/arch/arm/boot/dts/imx6ul-geam.dtsi b/arch/arm/boot/dts/imx6ul-geam.dtsi index eb94d95..c405e55 100644 --- a/arch/arm/boot/dts/imx6ul-geam.dtsi +++ b/arch/arm/boot/dts/imx6ul-geam.dtsi @@ -87,6 +87,18 @@ regulator-always-on; regulator-boot-on; }; + + sound { + compatible = "fsl,imx-audio-sgtl5000"; + model = "imx6q-geam-sgtl5000"; + cpu-dai = <&sai2>; + audio-codec = <&codec>; + gpr = <&gpr>; + audio-routing = + "MIC_IN", "Mic Jack", + "Mic Jack", "Mic Bias", + "Headphone Jack", "HP_OUT"; + }; }; &can1 { -- 1.9.1