From patchwork Fri Mar 24 16:18:46 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 9643281 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 60F58601E9 for ; Fri, 24 Mar 2017 16:24:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 52330200E9 for ; Fri, 24 Mar 2017 16:24:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4704820453; Fri, 24 Mar 2017 16:24:38 +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.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=unavailable 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 CFFB7200E9 for ; Fri, 24 Mar 2017 16:24:37 +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=F5iNHzJ0Mn0h7g6NNp3fNwlErmLh6bow4Lj9SNodvvI=; b=dllZs7z0o02wfLJeubvWTrUyKP 7tw07pnxsnQPVcJHX5bek7uUM1gKLky2BhW3jvX+dT+8JOb8rbBYd+SwXqXZPW0UKbtAzpRWEKrc7 V+xAZXkT59iWV3/G4IAwm3rSb5Ys+sOolu9vniFCMWJUONetvvTQzUI4GWq9jhuMQ+KNGEh3gwoC1 4lsqdoz1OXCbuTWMZbAgooFrfnYr8M3ZLmkI3tOYxDQUhHtOh1K5wKPYMV4gtS01n+0kDiLjiYO1p 11XfmUD7tHyGAao/9Lfg7kfr9DUmUaQ0H2/BSVlw9Dq3gSsmkaWmoapKmBFb58QqRQTCB/0FqPTwj SHgdqI1A==; 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 1crS0s-0005vR-7Q; Fri, 24 Mar 2017 16:24:30 +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 1crRyl-0003TF-P0 for linux-arm-kernel@lists.infradead.org; Fri, 24 Mar 2017 16:23:02 +0000 Received: by mail-pg0-f67.google.com with SMTP id 79so1369391pgf.0 for ; Fri, 24 Mar 2017 09:22:01 -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=F/+cjcPfsoPtRXlJlMk9Ou4RuKiSmkSR/JJM4lOcWTE=; b=hb+iTum3wbW57QVEi84lz19Y7Psmpk6p2X9UUDAxiBXqZUEqihauIUYYUK7wHlrNJc cwU4QkPIq2dX/jPSsT+r7fpnKQFxKRjaUTm2bxEwVmRAdshwGGgWPgJ538L2EfMESyOE pVdoBfGbP7C41NlTexOkygX/ZmHZfC6duDvKAF2QBrUX7h3OFHdCM1zK07xNZdtTYW/p +DxRU4IrqbQ5OduHplOJWKYaQFaoPiPPLQXRyyjDK4Xej2wlvuXSbBXwKS7Th56Qkdxx C6vbs1LrlUqi/Nb0biyiODQTj7qy0i4SPjfcN183jmtHd6Fwwz2nNTvghm51NV8pRzVb N9JA== X-Gm-Message-State: AFeK/H0+Nrz+rlAqamoqDCGkCGpuEFrK9TXcPe/qejWlOPtm4SpQbBZ2+iNOTV3LathugQ== X-Received: by 10.98.150.75 with SMTP id c72mr10110264pfe.106.1490372520771; Fri, 24 Mar 2017 09:22:00 -0700 (PDT) Received: from localhost.localdomain ([59.95.76.64]) by smtp.gmail.com with ESMTPSA id t133sm5645519pgc.24.2017.03.24.09.21.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 24 Mar 2017 09:21:59 -0700 (PDT) From: Jagan Teki To: Shawn Guo Subject: [PATCH v2 11/15] ARM: dts: imx6qdl-icore-rqs: Replace codec 'lable: node@addr' Date: Fri, 24 Mar 2017 21:48:46 +0530 Message-Id: <1490372330-5611-12-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_092220_691377_2541215C X-CRM114-Status: GOOD ( 11.29 ) 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 According to devicetree specification from ePAPER v1.1 [label:] node-name[@unit-address] { }; label: should be human readable string describing a device. node-name: The name of a node should be somewhat generic, reflecting the function of the device and not its unit-address: match the first address specified in the reg property of the node and shouldn't have leading zeros. So replaced codec: sgtl5000@0a => sgtl5000: codec@a 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 | 2 +- arch/arm/boot/dts/imx6q-icore-rqs.dts | 2 +- arch/arm/boot/dts/imx6qdl-icore-rqs.dtsi | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/imx6dl-icore-rqs.dts b/arch/arm/boot/dts/imx6dl-icore-rqs.dts index 5b4c14c..053e7cb 100644 --- a/arch/arm/boot/dts/imx6dl-icore-rqs.dts +++ b/arch/arm/boot/dts/imx6dl-icore-rqs.dts @@ -51,7 +51,7 @@ }; &i2c3 { - codec: sgtl5000@0a { + sgtl5000: codec@a { compatible = "fsl,sgtl5000"; reg = <0x0a>; clocks = <&clks IMX6QDL_CLK_CKO>; diff --git a/arch/arm/boot/dts/imx6q-icore-rqs.dts b/arch/arm/boot/dts/imx6q-icore-rqs.dts index 441a28e5..d45e4f5 100644 --- a/arch/arm/boot/dts/imx6q-icore-rqs.dts +++ b/arch/arm/boot/dts/imx6q-icore-rqs.dts @@ -50,7 +50,7 @@ }; &i2c3 { - codec: sgtl5000@0a { + sgtl5000: codec@a { compatible = "fsl,sgtl5000"; reg = <0x0a>; clocks = <&clks IMX6QDL_CLK_CKO>; diff --git a/arch/arm/boot/dts/imx6qdl-icore-rqs.dtsi b/arch/arm/boot/dts/imx6qdl-icore-rqs.dtsi index 4032d38..d24e531 100644 --- a/arch/arm/boot/dts/imx6qdl-icore-rqs.dtsi +++ b/arch/arm/boot/dts/imx6qdl-icore-rqs.dtsi @@ -123,7 +123,7 @@ compatible = "fsl,imx-audio-sgtl5000"; model = "imx-audio-sgtl5000"; ssi-controller = <&ssi1>; - audio-codec = <&codec>; + audio-codec = <&sgtl5000>; audio-routing = "MIC_IN", "Mic Jack", "Mic Jack", "Mic Bias",