From patchwork Wed Mar 22 17:48:13 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 9639727 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 6857F601E9 for ; Wed, 22 Mar 2017 17:52:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4B36A28487 for ; Wed, 22 Mar 2017 17:52:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3FE0C28498; Wed, 22 Mar 2017 17:52:28 +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=0.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, RCVD_IN_SORBS_SPAM, RCVD_IN_SORBS_WEB 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 CD4CB28491 for ; Wed, 22 Mar 2017 17:52:27 +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=AQt3KrPvEPPGt7H5IBTGT1kqKrggF1EcznOG5Xl/ixI=; b=YbOhNR28/SN+7vwiscnK9+jia/ EbWX23+gDWee1qzgNvU8hnPOcECOmevea9wdSOBwb0lRBlshNKmOg4n48EJHpRqJk7YbMCS3DTQjS IGnOooCVXv6QZSUJLPZkFkI8hBrvRYKc47j9bm27AJLSZpZet9meXE7+Ii1sNKKe8QmZYKaoDrvtT RwNUlavv3mce4WCLWRaidG8KpFzmwB2ohECNwxd0n2YhJs7W9/Ky/IEc+8ckvX9r1vsMcMwXMBwph 3RUfgRutJz8cIhto2+flWkRF5DP0ObdmQJVIYvZOodkTj7ISPAR0JoT6RdCfMJjSqqdcu5/p+ogEJ hwHi4x2w==; 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 1cqkQp-00082w-ME; Wed, 22 Mar 2017 17:52:23 +0000 Received: from mail-pg0-f68.google.com ([74.125.83.68]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cqkPr-0006dW-1j for linux-arm-kernel@lists.infradead.org; Wed, 22 Mar 2017 17:51:32 +0000 Received: by mail-pg0-f68.google.com with SMTP id 79so23064765pgf.0 for ; Wed, 22 Mar 2017 10:51:03 -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=tWwihh/W8c3FWC0zyqST2UnF1HIGwpG9uGpj0wa63SQ=; b=ebPMS3Os2CBzKHw5nmvgy6zcztZ9Qyr3SogzJe2d7jz0T/DQnk4VFiDepRjB5h5xq1 cLEgiH5IfTBB2JAmaa+RFZW41SSHr1B86/lMO1qhPWWaD4Y2Gq3Bb52FxozlQsyID8kK Gz023CA+5c96f1X/inFVpk/C3vH3uECWJpB51fLmXU2DNNcvCM8ZcYZCke4/b5a2pLbX v/1TQUZPf+Nn6NqnZlJtmgBV77YdyNds52vSD1CPSMARpx0SK93DV/Rkg3j0xV99hDLZ derEOaB9oTNbenG5bciOXWuvmumU5ji0+xteXsKskv2xCrPNrda4RXHPUXVJJvY+PyzX AhxA== X-Gm-Message-State: AFeK/H35ggDDyAiBMMOvoz3GpruZ6xd1CRLlmzNA8bN3sfBGhCp0YAnLv2Hjg4UmYPTqCg== X-Received: by 10.99.216.85 with SMTP id k21mr44365373pgj.10.1490205062950; Wed, 22 Mar 2017 10:51:02 -0700 (PDT) Received: from localhost.localdomain ([59.95.76.36]) by smtp.gmail.com with ESMTPSA id o194sm5234892pfg.66.2017.03.22.10.50.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 22 Mar 2017 10:51:01 -0700 (PDT) From: Jagan Teki To: Shawn Guo 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170322_105123_731472_74392074 X-CRM114-Status: UNSURE ( 9.73 ) X-CRM114-Notice: Please train this message. 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 , 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 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 {