From patchwork Mon Sep 11 09:12:22 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 9946967 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 A9887602C9 for ; Mon, 11 Sep 2017 09:19:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 97FCA28B55 for ; Mon, 11 Sep 2017 09:19:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8C68D28B67; Mon, 11 Sep 2017 09:19:16 +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=-4.2 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, RCVD_IN_DNSWL_MED autolearn=ham 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 1435C28B55 for ; Mon, 11 Sep 2017 09:19:16 +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=ELlOhdFWef5DPTvpHg8pBwb9R6VimWOfwB2Zaxk5Nqw=; b=L1x6t/S5VxevUbQoEsf3wkuAfO kPVovJFG3Pq0XbOiD06szPQSEVnnAZLk9JlCrl3HpHVzv0u1Y6EePXWfDBbrRZu5FSw/9pVxAx6/C tayZWDhIWwXBgv9VSq6smFlRouJ5/BaLo1xvFFrj+VZKW+DwM7xMcJ1keb3wjBF+ce7TF1CQqkti2 DaD4W6wq1Lh46V0qCDxnOVeDWsiG8f9GnE6BvAhWUhTairZTmq6iqmY680nEeNWutHZdAJkZz7sFA 9kPdsKuim36ND4T61l91VB0kwEuRkj9HKNqR3Df1SVj9OYWutHnCzt+uk7LEbyPf95PaQU4r+IMtv SxcSFB9Q==; 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 1drKs2-0004kh-U9; Mon, 11 Sep 2017 09:19:10 +0000 Received: from mail-pg0-x242.google.com ([2607:f8b0:400e:c05::242]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1drKrV-0003zV-A0 for linux-arm-kernel@lists.infradead.org; Mon, 11 Sep 2017 09:18:45 +0000 Received: by mail-pg0-x242.google.com with SMTP id j16so1278714pga.2 for ; Mon, 11 Sep 2017 02:18:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=hPOALYf4jj3UB+jZag6ogID164ezOn5L7rkjjNJPOdo=; b=t06c8WAGDTvHqCgQEVuwdHf1fK2nVNXamA/OsWhoXHFcJf1bU/5YNSoROFPRl/JBJd 93LYDG6XwfMhF4HDK4TWxPnRd9KpiUq3EIa6qgPvIyV9fvl/8F/FgpNUdWL5blrctiRy wzRsfdyWfMbe0UfcNbeUgXpHdRCf2hmCAfrYUoJKJg6wYUWdNYCb6mXUrWcjfz/AdkXE 3Ld31+AC2hwVxzRSrZk7lho1+MBeeslUFgMW+zljrqVypvXv3pugUmbCNFOlrruuCzCX DzL9tCnmIX1lUm+6mlZI7tZ65XqT4114t4+r3GygshKNX3bFmMcXisqyNqMFyvQy0Elm 9KaA== 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=hPOALYf4jj3UB+jZag6ogID164ezOn5L7rkjjNJPOdo=; b=VAd+T9g3b13pnOWsLTSjwQaRLTZKiY5RiJQ17q6DEayMoz7Afaj9f5yhXoTq7nxG0E M4ay2fJA7p4TQpYSqIrk9RYzpF46GdwiyNJiqf7z6oy6Z846aqBncq+ibv124bJ+f8HI 9rd+tHCWGdkXH+DtFNkvVzkYdLFJbyD4N9CdHNYQjpeuokPPEc08qhUhdCTjIG1UIndj SmNesyv5IEsY2pihcpjgcVulg9d02ACQeLtXnt8TZhToD5g3YK2zkS5wi5UQsqfw76+H CNYuK8faz/N0hbt2vYTU2TcbQABDqflFE2KHa6GHQp83ALY6brYXCM+syh38mLF7Xk4f htVw== X-Gm-Message-State: AHPjjUhKhNuRfHQXlobpMMI/yIV+FmIz8TY3JjPqtxK5JSmLb0sl6S6a 2fQL5drgwln6EA== X-Google-Smtp-Source: ADKCNb6rYWmFgG1l4p0O9CWL2dqBjSniXAEX8pAUdN+IqqpblAeEZqMfuKeF06wb9ugzl/WyH4z+gg== X-Received: by 10.99.123.91 with SMTP id k27mr11362917pgn.23.1505121496764; Mon, 11 Sep 2017 02:18:16 -0700 (PDT) Received: from localhost.localdomain ([115.97.191.18]) by smtp.gmail.com with ESMTPSA id a78sm16550835pfl.39.2017.09.11.02.18.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 11 Sep 2017 02:18:15 -0700 (PDT) From: Jagan Teki X-Google-Original-From: Jagan Teki To: Shawn Guo Subject: [PATCH v4 3/6] ARM: dts: imx6qdl-icore-rqs: Replace to use simple-audio-card Date: Mon, 11 Sep 2017 14:42:22 +0530 Message-Id: <1505121145-9507-3-git-send-email-jteki@openedev.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1505121145-9507-1-git-send-email-jteki@openedev.com> References: <1505121145-9507-1-git-send-email-jteki@openedev.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170911_021837_945152_B1B941E7 X-CRM114-Status: GOOD ( 10.41 ) 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 v4: - None Changes for v3: - Newly added 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 e196d1b..6bb722a 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>; + }; }; };