From patchwork Tue Jun 23 12:47:34 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Katsuhiro Suzuki X-Patchwork-Id: 11620663 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6B0D1161F for ; Tue, 23 Jun 2020 12:48:26 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 446E72072E for ; Tue, 23 Jun 2020 12:48:26 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="MtCecDxo"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="Rp9QWN9I" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 446E72072E Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=katsuster.net Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version: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=hXZIwBcZ9z41TNN/kWY2mXf3bA8FZjgsJ8BbO/+SGJc=; b=MtCecDxoYvDOZcka4FW2Z08U4 /MZDCZjsXoMT5razmpohIcylctBTy24FCPF2jr+/pC38L6fv2Ui0gkm8qsx21Krt0i+QZk9cK28B0 4SerkHRdfDu0IDBsWCrqjoGG3+A8R8ig1144xriw6QEIWrUGd/SXKhOiFAYiuNvqvbbC+AHfh2Jcw hr3RVAiJQ+sZgw0v9uMdp6HYUYs/zK6mkL5HUXvO0qX9N1PL/7ApSnl3TKNnVLt/AlbAL93NZvVUK 8Hekc8/lEE+vl2rW9USZ3AP2H8LaQFtTu1lVzq7UU3pWgMUmSGtdX219NvwlvfjJvvb+8f+X60bMS 60sqboFMQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jniLg-0004Z7-5E; Tue, 23 Jun 2020 12:48:24 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jniLe-0004YT-LK for linux-rockchip@merlin.infradead.org; Tue, 23 Jun 2020 12:48:22 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=mphvTbM8bT1ZQqs4vMzJoO57GiIU4/zz10Q2QSb/pNg=; b=Rp9QWN9Ihl6jRhg5p+N6rDX9ei WcZOWRBL0MHciaRxsx1OpLyG4InWmAAdHxywvhj2PcSiNJqiJ0uKUqNBuKLc7D+JfIuZ//W9PpD6y I338eVIc0ZI0yVqwguPbHkrsA0ni/I0lbGk8Ns4O/KXaKazpm85LBBKl6jzHyRBWF0p6uxH9mne3F gSGDeCJuBfLuOhKj2EXKfaDutXOdS5YoLV/M4un21YcgprmxDRJyugSRw3mHvIZnAW+Xx95nSxXXl 8HiY0sDDiVqYfPUCWnCWWOCYxpiZ2Fj8hZZYCuJEu358fAdTeXyv8AOBSjKwhGfdr9cP4zZ/OhQwA Cj7+zqAA==; Received: from www1102.sakura.ne.jp ([219.94.129.142]) by casper.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jniLb-0002Vf-HF for linux-rockchip@lists.infradead.org; Tue, 23 Jun 2020 12:48:21 +0000 Received: from fsav107.sakura.ne.jp (fsav107.sakura.ne.jp [27.133.134.234]) by www1102.sakura.ne.jp (8.15.2/8.15.2) with ESMTP id 05NClfui068788; Tue, 23 Jun 2020 21:47:41 +0900 (JST) (envelope-from katsuhiro@katsuster.net) Received: from www1102.sakura.ne.jp (219.94.129.142) by fsav107.sakura.ne.jp (F-Secure/fsigk_smtp/550/fsav107.sakura.ne.jp); Tue, 23 Jun 2020 21:47:41 +0900 (JST) X-Virus-Status: clean(F-Secure/fsigk_smtp/550/fsav107.sakura.ne.jp) Received: from localhost.localdomain (121.252.232.153.ap.dti.ne.jp [153.232.252.121]) (authenticated bits=0) by www1102.sakura.ne.jp (8.15.2/8.15.2) with ESMTPSA id 05NClbP6068743 (version=TLSv1.2 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 23 Jun 2020 21:47:41 +0900 (JST) (envelope-from katsuhiro@katsuster.net) From: Katsuhiro Suzuki To: Rob Herring , devicetree@vger.kernel.org Subject: [PATCH 2/2] dt-bindings: sound: add missing clock description of rk3328 DT schema Date: Tue, 23 Jun 2020 21:47:34 +0900 Message-Id: <20200623124734.1736470-2-katsuhiro@katsuster.net> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200623124734.1736470-1-katsuhiro@katsuster.net> References: <20200623124734.1736470-1-katsuhiro@katsuster.net> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200623_134820_159734_1ED92039 X-CRM114-Status: GOOD ( 11.01 ) X-Spam-Score: -1.9 (-) X-Spam-Report: SpamAssassin version 3.4.4 on casper.infradead.org summary: Content analysis details: (-1.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.0 SPF_NONE SPF: sender does not publish an SPF Record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Katsuhiro Suzuki , linux-rockchip@lists.infradead.org, alsa-devel@alsa-project.org, Heiko Stuebner , linux-arm-kernel@lists.infradead.org Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org This patch adds description about "mclk" clock and fixes some errors which are dt_binding_check reported. Signed-off-by: Katsuhiro Suzuki --- .../bindings/sound/rockchip,rk3328-codec.yaml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/sound/rockchip,rk3328-codec.yaml b/Documentation/devicetree/bindings/sound/rockchip,rk3328-codec.yaml index 08a74e28e483..525b48c2f5de 100644 --- a/Documentation/devicetree/bindings/sound/rockchip,rk3328-codec.yaml +++ b/Documentation/devicetree/bindings/sound/rockchip,rk3328-codec.yaml @@ -19,10 +19,12 @@ properties: clocks: items: - description: clock for audio codec + - description: clock for I2S master clock clock-names: items: - const: pclk + - const: mclk rockchip,grf: $ref: /schemas/types.yaml#/definitions/phandle @@ -41,21 +43,28 @@ properties: GPIO specifier for external line driver control (typically the dedicated GPIO_MUTE pin) + "#sound-dai-cells": + const: 0 + required: - compatible - reg - clocks - clock-names - rockchip,grf + - "#sound-dai-cells" examples: - | + #include + #include codec: codec@ff410000 { compatible = "rockchip,rk3328-codec"; reg = <0xff410000 0x1000>; - clocks = <&cru PCLK_ACODEC>; - clock-names = "pclk"; + clocks = <&cru PCLK_ACODECPHY>, <&cru SCLK_I2S1>; + clock-names = "pclk", "mclk"; rockchip,grf = <&grf>; mute-gpios = <&grf_gpio 0 GPIO_ACTIVE_LOW>; - spk-depop-time-ms = 100; + spk-depop-time-ms = <100>; + #sound-dai-cells = <0>; };