From patchwork Fri Mar 24 16:18:45 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 9643277 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id C89A2601E9 for ; Fri, 24 Mar 2017 16:24:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B83EF200E9 for ; Fri, 24 Mar 2017 16:24:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AD10B20453; Fri, 24 Mar 2017 16:24:19 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.4 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_SORBS_SPAM autolearn=no version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 370F7200E9 for ; Fri, 24 Mar 2017 16:24:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=xpP+/gReq+gUfwO9rHTAkdsmbT2yIiT/7ku6qjNifd0=; b=F4EmS6PRurnFPD9MAPRPGio6I8 gzO4f3QMJkCWpZMwzSJPXj9bAwNR4RH1Q/75hIqShiFDv04KGhLxYHl+VhSTH8EZ8tR4ESjGUq0bX 6elSFP2+BtButtr+50fpOQzfvnN6hJpli6gmuW79/HEGB7fV7IO6GveZavlND7yDOtJAoSd+KsFk1 rof2rqF4RNTXkng9OvQeJwhclQ9AzS9AkG5LaBYrNXCrXovxaHXnTQkQl0dtmxB892ZX+LlnjDxDg CUAhHJpGQYKbIS4CBky2Cw+FrGaTCN6YF+Ol0TJ6r+0pQXEnacVnBhlNrjMqq1p7im2hV8oWQcf7I eAzmtXEA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1crS0d-0005f5-RF; Fri, 24 Mar 2017 16:24:15 +0000 Received: from mail-pg0-f65.google.com ([74.125.83.65]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1crRyj-0003Re-UA for linux-arm-kernel@lists.infradead.org; Fri, 24 Mar 2017 16:23:00 +0000 Received: by mail-pg0-f65.google.com with SMTP id 81so1345768pgh.3 for ; Fri, 24 Mar 2017 09:21:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=mNeeeuWDlhOJco1G5eeCwpIeabWV62czgiIRiqAPaGw=; b=NF2IXIbGYYsB6OSSlF97J5cdxBDHlNs2Wsu9l4sLOvSTExm4JRI7/7OSz1vAW6Fn+I /xabsv3kIJBWMqHxTDam+DQFSumBjq2NzERzAm58J4AQhK83MMwO1S+oyqIg8QALszFy 6FPgaH/7+FGvZ1cP6hFH6R57qQFzrFtr2zabBkgX3JsrpQMUasbbN6xJCxfeDZxKRvrN moG/SBjyGld1WE2HbMcad28EfYVeR2wy90g7B1Y8v4DE9C2O0BKBSz6YTr5/RK8+0Cno wYd0kHkp/QVkiFvEbLu0oTg2GdI4Ln8CW7RCPd4ONytnRG5gT7awrDIDsCfFHD+Apeq8 ovLg== X-Gm-Message-State: AFeK/H0aYDoc/vZU6BhfmEeB0yEANYtdGbcGt2CmwOylqryxZSTAWnF5g2xZitu5SH1vAg== X-Received: by 10.99.23.102 with SMTP id 38mr9795394pgx.188.1490372516985; Fri, 24 Mar 2017 09:21:56 -0700 (PDT) Received: from localhost.localdomain ([59.95.76.64]) by smtp.gmail.com with ESMTPSA id t133sm5645519pgc.24.2017.03.24.09.21.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 24 Mar 2017 09:21:55 -0700 (PDT) From: Jagan Teki To: Shawn Guo Subject: [PATCH v2 10/15] ARM: dts: imx6dl-icore-rqs: Add sgtl5000 codec node Date: Fri, 24 Mar 2017 21:48:45 +0530 Message-Id: <1490372330-5611-11-git-send-email-jagan@openedev.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1490372330-5611-1-git-send-email-jagan@openedev.com> References: <1490372330-5611-1-git-send-email-jagan@openedev.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170324_092219_040896_8A44B796 X-CRM114-Status: GOOD ( 10.83 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Matteo Lisi , linux-kernel@vger.kernel.org, Jagan Teki , Sascha Hauer , Fabio Estevam , Michael Trimarchi , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Jagan Teki - Moved sound card node on imx6qdl-icore-rqs.dtsi - Added codec node in imx6dl-icore-rqs from imx6q-icore-rqs Cc: Shawn Guo Cc: Matteo Lisi Cc: Michael Trimarchi Signed-off-by: Jagan Teki --- Changes for v2: - Newly added patch arch/arm/boot/dts/imx6dl-icore-rqs.dts | 11 +++++++++++ arch/arm/boot/dts/imx6q-icore-rqs.dts | 13 ------------- arch/arm/boot/dts/imx6qdl-icore-rqs.dtsi | 13 +++++++++++++ 3 files changed, 24 insertions(+), 13 deletions(-) diff --git a/arch/arm/boot/dts/imx6dl-icore-rqs.dts b/arch/arm/boot/dts/imx6dl-icore-rqs.dts index cf42c2f..5b4c14c 100644 --- a/arch/arm/boot/dts/imx6dl-icore-rqs.dts +++ b/arch/arm/boot/dts/imx6dl-icore-rqs.dts @@ -49,3 +49,14 @@ model = "Engicam i.CoreM6 DualLite/Solo RQS Starter Kit"; compatible = "engicam,imx6-icore-rqs", "fsl,imx6dl"; }; + +&i2c3 { + codec: sgtl5000@0a { + compatible = "fsl,sgtl5000"; + reg = <0x0a>; + clocks = <&clks IMX6QDL_CLK_CKO>; + VDDA-supply = <®_2p5v>; + VDDIO-supply = <®_3p3v>; + VDDD-supply = <®_1p8v>; + }; +}; diff --git a/arch/arm/boot/dts/imx6q-icore-rqs.dts b/arch/arm/boot/dts/imx6q-icore-rqs.dts index e451b4c..441a28e5 100644 --- a/arch/arm/boot/dts/imx6q-icore-rqs.dts +++ b/arch/arm/boot/dts/imx6q-icore-rqs.dts @@ -47,19 +47,6 @@ / { model = "Engicam i.CoreM6 Quad/Dual RQS Starter Kit"; compatible = "engicam,imx6-icore-rqs", "fsl,imx6q"; - - sound { - compatible = "fsl,imx-audio-sgtl5000"; - model = "imx-audio-sgtl5000"; - ssi-controller = <&ssi1>; - audio-codec = <&codec>; - audio-routing = - "MIC_IN", "Mic Jack", - "Mic Jack", "Mic Bias", - "Headphone Jack", "HP_OUT"; - mux-int-port = <1>; - mux-ext-port = <4>; - }; }; &i2c3 { diff --git a/arch/arm/boot/dts/imx6qdl-icore-rqs.dtsi b/arch/arm/boot/dts/imx6qdl-icore-rqs.dtsi index 5fab5be..4032d38 100644 --- a/arch/arm/boot/dts/imx6qdl-icore-rqs.dtsi +++ b/arch/arm/boot/dts/imx6qdl-icore-rqs.dtsi @@ -118,6 +118,19 @@ clocks = <&clks IMX6QDL_CLK_LVDS2_GATE>; clock-names = "refclk"; }; + + sound { + compatible = "fsl,imx-audio-sgtl5000"; + model = "imx-audio-sgtl5000"; + ssi-controller = <&ssi1>; + audio-codec = <&codec>; + audio-routing = + "MIC_IN", "Mic Jack", + "Mic Jack", "Mic Bias", + "Headphone Jack", "HP_OUT"; + mux-int-port = <1>; + mux-ext-port = <4>; + }; }; &clks {