From patchwork Sun May 20 15:22:48 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 10413483 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 64C1B6032C for ; Sun, 20 May 2018 15:42:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 509EB286F1 for ; Sun, 20 May 2018 15:42:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 42A3028722; Sun, 20 May 2018 15:42:26 +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=-2.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5DBCE286F1 for ; Sun, 20 May 2018 15:42:25 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 4457226737B; Sun, 20 May 2018 17:22:57 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id B17DE267380; Sun, 20 May 2018 17:22:54 +0200 (CEST) Received: from mail-qk0-f195.google.com (mail-qk0-f195.google.com [209.85.220.195]) by alsa0.perex.cz (Postfix) with ESMTP id 5B0F12671D2 for ; Sun, 20 May 2018 17:22:52 +0200 (CEST) Received: by mail-qk0-f195.google.com with SMTP id s70-v6so10050585qks.13 for ; Sun, 20 May 2018 08:22:51 -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; bh=DFIjs69PP0diqdIncbnE+Bs7Ot/aitcxoAIBGLI0Kqo=; b=aKilrCv0ROD8i2oKOQW/Usx9hxrALbNzJmshPojG1OUsJgt480rRp9yspImvHRnjuq 6p2nIxn6FqsqvonuJO5Bdpv7sk6FPjV9uD57DDrmxE/HiS/EGRiqbgM2AUzM/O490Nqo N2ycqtBkSeynkCYCH3TumNhckCWGxh34XfhdSgQNhpZQ07HWqZ8HsnGmfABQP3f4oSEc n6X8yTQAQGQDNLlVUhn/iAIiyFpCgzrDbUja0l37dldMJc9uUMY2jGafVXChxvB6Xqer QgnxleWlTl3sAcF83L6btlEpfe5JA5e06Uphjmcytv7vXhXU6HpPj7meg5vdS22lP2sS kv3g== 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; bh=DFIjs69PP0diqdIncbnE+Bs7Ot/aitcxoAIBGLI0Kqo=; b=VwGcc0eVepkJwrBzf/HUepPFhwqXsNGv0Cj/OJFcYO8qgTUEDD7pHf/0QiRFjzLo4S s2VV/B44LUzEG3yZorTpxxlWg1el6kyKhLklAo9oBsL26FuOhgpircu4vSPOQfslRTId HBVurE8mmgTmrGalgBYfySLXpMG5uTC8QrWsqOsTikEN2HpgPOpOkWNNVHFZsMKe14QZ WO4IIcNj093DoqKBYzK1uOi/cKjq3YK/O3DROzfTnhWUdQDftfmpPh9QakOYguJo5SJa Ef00nvnWCnQYOyGFaFwY27kzq3NjRx4/VopRNysOBaZAMspIgj68pTdRqNhQxEJYowIS 6jtg== X-Gm-Message-State: ALKqPwehaOGBsbJw22t2kRkSrMauFW6w5GUOcYc/CDbX1AIPA2y5ugnb ug0GCDVT3ZWIO6xIAn/gB/k= X-Google-Smtp-Source: AB8JxZrvXAaqWijo9H6sT/0zHRtrsbR6Ny+Mvxq2rujfNUbTEIpD8LQx+26Zca1FJOMMPYbGnwSdTw== X-Received: by 2002:a37:4b03:: with SMTP id y3-v6mr13887172qka.98.1526829770908; Sun, 20 May 2018 08:22:50 -0700 (PDT) Received: from localhost.localdomain ([2804:14d:90ae:4c9c:4103:c8d5:a203:30d0]) by smtp.gmail.com with ESMTPSA id k50-v6sm9276942qtb.31.2018.05.20.08.22.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 20 May 2018 08:22:50 -0700 (PDT) From: Fabio Estevam To: broonie@kernel.org Date: Sun, 20 May 2018 12:22:48 -0300 Message-Id: <1526829768-15001-1-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 2.7.4 Cc: Fabio Estevam , devicetree@vger.kernel.org, alsa-devel@alsa-project.org, robh+dt@kernel.org Subject: [alsa-devel] [PATCH] ASoC: codec: realtek: Make the node name generic X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP From: Fabio Estevam "The name of a node should be somewhat generic, reflecting the function of the device and not its precise programming model." Do as suggested in the bindings examples. Signed-off-by: Fabio Estevam --- Documentation/devicetree/bindings/sound/rt274.txt | 2 +- Documentation/devicetree/bindings/sound/rt5514.txt | 2 +- Documentation/devicetree/bindings/sound/rt5616.txt | 2 +- Documentation/devicetree/bindings/sound/rt5645.txt | 2 +- Documentation/devicetree/bindings/sound/rt5651.txt | 2 +- Documentation/devicetree/bindings/sound/rt5663.txt | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Documentation/devicetree/bindings/sound/rt274.txt b/Documentation/devicetree/bindings/sound/rt274.txt index e9a6178..791a1bd 100644 --- a/Documentation/devicetree/bindings/sound/rt274.txt +++ b/Documentation/devicetree/bindings/sound/rt274.txt @@ -26,7 +26,7 @@ Pins on the device (for linking into audio routes) for RT274: Example: -codec: rt274@1c { +rt274: codec@1c { compatible = "realtek,rt274"; reg = <0x1c>; interrupts = <7 IRQ_TYPE_EDGE_FALLING>; diff --git a/Documentation/devicetree/bindings/sound/rt5514.txt b/Documentation/devicetree/bindings/sound/rt5514.txt index 4f33b0d..b25ed08 100644 --- a/Documentation/devicetree/bindings/sound/rt5514.txt +++ b/Documentation/devicetree/bindings/sound/rt5514.txt @@ -32,7 +32,7 @@ Pins on the device (for linking into audio routes) for I2C: Example: -codec: rt5514@57 { +rt5514: codec@57 { compatible = "realtek,rt5514"; reg = <0x57>; }; diff --git a/Documentation/devicetree/bindings/sound/rt5616.txt b/Documentation/devicetree/bindings/sound/rt5616.txt index e410858..540a4bf 100644 --- a/Documentation/devicetree/bindings/sound/rt5616.txt +++ b/Documentation/devicetree/bindings/sound/rt5616.txt @@ -26,7 +26,7 @@ Pins on the device (for linking into audio routes) for RT5616: Example: -codec: rt5616@1b { +rt5616: codec@1b { compatible = "realtek,rt5616"; reg = <0x1b>; }; diff --git a/Documentation/devicetree/bindings/sound/rt5645.txt b/Documentation/devicetree/bindings/sound/rt5645.txt index 7cee1f51..a03f9a8 100644 --- a/Documentation/devicetree/bindings/sound/rt5645.txt +++ b/Documentation/devicetree/bindings/sound/rt5645.txt @@ -69,4 +69,4 @@ codec: rt5650@1a { realtek,dmic-en = "true"; realtek,en-jd-func = "true"; realtek,jd-mode = <3>; -}; \ No newline at end of file +}; diff --git a/Documentation/devicetree/bindings/sound/rt5651.txt b/Documentation/devicetree/bindings/sound/rt5651.txt index b852218..a41199a 100644 --- a/Documentation/devicetree/bindings/sound/rt5651.txt +++ b/Documentation/devicetree/bindings/sound/rt5651.txt @@ -50,7 +50,7 @@ Pins on the device (for linking into audio routes) for RT5651: Example: -codec: rt5651@1a { +rt5651: codec@1a { compatible = "realtek,rt5651"; reg = <0x1a>; realtek,dmic-en = "true"; diff --git a/Documentation/devicetree/bindings/sound/rt5663.txt b/Documentation/devicetree/bindings/sound/rt5663.txt index 497bcfc..2338644 100644 --- a/Documentation/devicetree/bindings/sound/rt5663.txt +++ b/Documentation/devicetree/bindings/sound/rt5663.txt @@ -47,7 +47,7 @@ Pins on the device (for linking into audio routes) for RT5663: Example: -codec: rt5663@12 { +rt5663: codec@12 { compatible = "realtek,rt5663"; reg = <0x12>; interrupts = <7 IRQ_TYPE_EDGE_FALLING>;