From patchwork Thu Apr 6 18:02:11 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 9668001 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 6EB646021C for ; Thu, 6 Apr 2017 18:04:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9457C285BC for ; Thu, 6 Apr 2017 18:04:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 88D10285BF; Thu, 6 Apr 2017 18:04:33 +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 17B46285BC for ; Thu, 6 Apr 2017 18:04:32 +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=0zNFDmnjyAo0IeOEFEO6PpVC3N+3zasGd5HMaLf+XOI=; b=kbD3LU/+2EqhBmJQvSxugB+g/O zKd9w4hkKRkmfGE9GvHs4ykFCAsATSzfVVZdkMHmkTT80XaouNpt8VulMyNmDd3lo3UhG7mZ9USlK +lmqOQ+PCYecpD1wHdwSFDlrAVJJ6MwPvz9wrEla9pJrCU+vUY+ZC+dhPsiDzAsihDgAd6mqxpOxy v8zWjiR9NFmrYyt9Tmm0pZIOP+aa8STNfOPspI+ObzJWO2WZcJa/nuBa344HFM1Hqs2QxZoGQsBVy 5N5RiHHhY83Wsu2m7as7YgYyIQu4JIwBCYSixc6VmIpZ92ea16Zs+MZ8wkqiVDSd4ctdBnaMB6PdP 4+NyFrwA==; 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 1cwBlf-0005tw-CM; Thu, 06 Apr 2017 18:04:23 +0000 Received: from mail-pg0-f67.google.com ([74.125.83.67]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cwBl4-0004sG-2W for linux-arm-kernel@lists.infradead.org; Thu, 06 Apr 2017 18:03:52 +0000 Received: by mail-pg0-f67.google.com with SMTP id g2so9876659pge.2 for ; Thu, 06 Apr 2017 11:03:29 -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=Lr4hSYOFWlNBBjZZAS9q24UvzUx8/uaV5C1hJKaKdSA=; b=MG2SB2DxiayLfnS7vqKQk++ih1mJrzYZad4yHs0T1Zn1OZvW+p3ExgzeDLhItAtEJw e3amjhBPSpQthb7hoHoguDmaQM5wTXZhGpbll6U+KMntr3WfQd8Zpp6Avz2i9rJ2AHGz r3tqXyOS5+jOkivLUUsiJYFDS5iHBvwPtpO3vX/yQhYjTeotJqNZbjHRsvKflwEbxr3n iGmq8/CmFqJwWbDVRn3lqvYMunlKqpGJm6hrGgexe47UhxiU3zFLUYWMix775S3H0vVD WIgjFUO4bjIxbMkKi363AUvmM7mZbh57HCdayiOU245/bmhhAnE0GKLawdgsiPobV4w5 lMfA== X-Gm-Message-State: AFeK/H1PaXqbnXZyOqT3Ryb9pGtEqaPkHRm+gqQOVyNJU7IC/zd22lnAvUH4P05RRxRV/g== X-Received: by 10.98.102.147 with SMTP id s19mr35847344pfj.202.1491501808835; Thu, 06 Apr 2017 11:03:28 -0700 (PDT) Received: from localhost.localdomain ([117.254.77.17]) by smtp.gmail.com with ESMTPSA id i124sm5022719pgd.66.2017.04.06.11.03.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 06 Apr 2017 11:03:27 -0700 (PDT) From: Jagan Teki To: Shawn Guo Subject: [PATCH v3 5/9] ARM: dts: imx6qdl-icore-rqs: Replace to use simple-audio-card Date: Thu, 6 Apr 2017 23:32:11 +0530 Message-Id: <1491501735-1649-6-git-send-email-jagan@openedev.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1491501735-1649-1-git-send-email-jagan@openedev.com> References: <1491501735-1649-1-git-send-email-jagan@openedev.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170406_110346_712872_5B6D0B7B X-CRM114-Status: GOOD ( 11.40 ) 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 This patch replace fsl,imx-audio-sgtl5000 and use simple-audio-card for Engicam i.CoreM6 RQS QDL platform boards. Cc: Shawn Guo Cc: Matteo Lisi Cc: Michael Trimarchi Signed-off-by: Jagan Teki --- Changes for v3: - Newly added patch arch/arm/boot/dts/imx6qdl-icore-rqs.dtsi | 26 +++++++++++++++++++------- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/arch/arm/boot/dts/imx6qdl-icore-rqs.dtsi b/arch/arm/boot/dts/imx6qdl-icore-rqs.dtsi index d24e531..0e79a5b 100644 --- a/arch/arm/boot/dts/imx6qdl-icore-rqs.dtsi +++ b/arch/arm/boot/dts/imx6qdl-icore-rqs.dtsi @@ -120,16 +120,28 @@ }; sound { - compatible = "fsl,imx-audio-sgtl5000"; - model = "imx-audio-sgtl5000"; - ssi-controller = <&ssi1>; - audio-codec = <&sgtl5000>; - audio-routing = + compatible = "simple-audio-card"; + simple-audio-card,name = "imx6qdl-icore-sgtl5000"; + simple-audio-card,format = "i2s"; + simple-audio-card,bitclock-master = <&dailink_master>; + simple-audio-card,frame-master = <&dailink_master>; + simple-audio-card,widgets = + "Microphone", "Mic Jack", + "Line", "Line In", + "Line", "Line Out", + "Headphone", "Headphone Jack"; + simple-audio-card,routing = "MIC_IN", "Mic Jack", "Mic Jack", "Mic Bias", "Headphone Jack", "HP_OUT"; - mux-int-port = <1>; - mux-ext-port = <4>; + + simple-audio-card,cpu { + sound-dai = <&ssi1>; + }; + + dailink_master: simple-audio-card,codec { + sound-dai = <&sgtl5000>; + }; }; };