From patchwork Mon Mar 12 21:28:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 10277511 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 E3768601A0 for ; Mon, 12 Mar 2018 21:28:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C521028C46 for ; Mon, 12 Mar 2018 21:28:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B810628DB8; Mon, 12 Mar 2018 21:28:48 +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.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, T_DKIM_INVALID autolearn=no 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 5F68E28C46 for ; Mon, 12 Mar 2018 21:28:46 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id A3A552670F8; Mon, 12 Mar 2018 22:28:39 +0100 (CET) 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 EDE9B2670F9; Mon, 12 Mar 2018 22:28:36 +0100 (CET) Received: from mail-qk0-f193.google.com (mail-qk0-f193.google.com [209.85.220.193]) by alsa0.perex.cz (Postfix) with ESMTP id 5C4DE267048 for ; Mon, 12 Mar 2018 22:28:31 +0100 (CET) Received: by mail-qk0-f193.google.com with SMTP id 132so3249010qkd.5 for ; Mon, 12 Mar 2018 14:28:31 -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=5ZBTKVu0rU7iKnCZQlRFhdJtd9ym0VCEBViTDIJa3N4=; b=t9HLLUjFs2RRMGd2xr6ul9/WPXukCdUKrKnAxSgSnTVi3YV6CenBFEP8qmzHVGqOx9 wLkObX66KwyLMRJe3IARNqd0I/fgBrVJCPLAzGyM+VqT0IUXRMvI2NyAZV14Co6ubADR +OxgOXOuh9QDiKIHKnl/vGSUNcGK8a3mT1tDT+7D0ZQ3jjZk3/2HwD0i13sgbGCXSWKx KzrJ2/Z0B2kLRFX8D5Qc6dyVhSLUm27JsWWGBPCqKeUpFV49ZiKuUfMBqe/1nnK13o9J GoG1McgrW6BjFIwDFy/T8Rwu3L2SvkxWsYkT9NJkyGGXE5jV47L8G4JYuV0E+0t+7Xr+ f5sw== 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=5ZBTKVu0rU7iKnCZQlRFhdJtd9ym0VCEBViTDIJa3N4=; b=MpmoRum+z0nG8eBsaD6xD4s1lFPi4wtF2D6X1tVHucS1cU02kbuEVch1yBIHo7ybrR xR3dj81NUaZ2lisgdfAJNdDqxzxvHHPsp1XvCf247SQA9B3yafW+GRwnPnZX1mSBMG48 GfiAzfzgO5QX+SINolXAZN0c4Zb5Oy0xA+Wm+isxR6FckuX+1/J8uzCmuFml/OY5TWAu 9TfSzbrn++8io1CxhfVa8aT7k2Eu8IykCp2aARzfXi9wFFuVIvSeItSElS2wpDfFI3V0 eQBF6QW8b5BHUWcEu0LyvNjuJVDsEJcuhGh9TBVAYKc3JiPUJniUuW3Go9DXfhfvPva3 yYHw== X-Gm-Message-State: AElRT7HVzsgBN+6UXEKTXdosL9MS661ZIktDxsSu9nc6stoCR+CZW441 zPgPgJYLZG/nRvopUUFHSLs= X-Google-Smtp-Source: AG47ELupr5i6MFULQppQLYzbaeQcbs2J9cxlxZqo1loHbvUmUvi30E1Vq0pakj2dtR8+YtlorO2dsg== X-Received: by 10.55.77.67 with SMTP id a64mr14010791qkb.249.1520890110724; Mon, 12 Mar 2018 14:28:30 -0700 (PDT) Received: from localhost.localdomain ([187.180.183.36]) by smtp.gmail.com with ESMTPSA id y35sm6129067qth.31.2018.03.12.14.28.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 12 Mar 2018 14:28:29 -0700 (PDT) From: Fabio Estevam To: broonie@kernel.org Date: Mon, 12 Mar 2018 18:28:09 -0300 Message-Id: <1520890089-29191-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: sgtl5000: Pass the required '#sound-dai-cells' 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 DTC now warns about missing #sound-dai-cells: arch/arm/boot/dts/imx6ul-geam.dtb: Warning (sound_dai_property): /sound/simple-audio-card,codec: Missing property '#sound-dai-cells' in node /soc/aips-bus@2100000/i2c@21a0000/codec@a or bad phandle (referred from sound-dai[0]) Pass the required '#sound-dai-cells' property to improve the documentation. Signed-off-by: Fabio Estevam --- Documentation/devicetree/bindings/sound/sgtl5000.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/sgtl5000.txt b/Documentation/devicetree/bindings/sound/sgtl5000.txt index 060cb4a..9a36c7e 100644 --- a/Documentation/devicetree/bindings/sound/sgtl5000.txt +++ b/Documentation/devicetree/bindings/sound/sgtl5000.txt @@ -5,6 +5,8 @@ Required properties: - reg : the I2C address of the device +- #sound-dai-cells: must be equal to 0 + - clocks : the clock provider of SYS_MCLK - VDDA-supply : the regulator provider of VDDA @@ -40,6 +42,7 @@ Example: codec: sgtl5000@a { compatible = "fsl,sgtl5000"; reg = <0x0a>; + #sound-dai-cells = <0>; clocks = <&clks 150>; micbias-resistor-k-ohms = <2>; micbias-voltage-m-volts = <2250>;