From patchwork Tue Jan 16 08:46:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Lunn X-Patchwork-Id: 13520588 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C90DCC47077 for ; Tue, 16 Jan 2024 08:47:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=/wPVGfzjKlQlU2XMNkyPY80ZlYU6graSb5eti/e6MgM=; b=ihck8vOQMihmkZ Q0HwZHdvD+AIqxblNByHKHyymfY/SsAL7KkjnfFspcH2arm3kAck2xz2yAbFgT8WF3F1eXGOoiKdY EZHi/9Gntr2/s+/XCzjcyGeOUgR1jaRTZ5y9EMGjoEsDhz5L5CWpLXqop/5efYhYnAfbV/cjP3+aL vZLc0R4bHZF8mr80O6ZVguqbnbnXZf1RKIwY1ug+YXYR88Q7Jq+36h2Ii7V8yfC15t1o1QAPH+pse d9f7T5nelqSk+Nn2iVBLYZWyOFflLjn4wdVwiIhfIRRldiJ80WFisMuFvmog+QfqpJWCMRAAEjTtC QaGo15mNpok/3AXgwqrA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rPf5r-00BSTX-0o; Tue, 16 Jan 2024 08:46:47 +0000 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rPf5o-00BSSN-3C; Tue, 16 Jan 2024 08:46:46 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 717543200B22; Tue, 16 Jan 2024 03:46:43 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Tue, 16 Jan 2024 03:46:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=feathertop.org; h=cc:cc:content-transfer-encoding:content-type:date:date:from :from:in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm2; t=1705394802; x= 1705481202; bh=+17r0Un58EPuippchMhMs32wnnmhSQrNhZlHlh0KRMI=; b=T Q/+wzMAE6deHpwr6N169FX6P3XJHxAqjXlEmgFgTe6rJfrmaRPp0uhjpCEF0/xv6 AaZ1xlfDI7APdj6Z2xlVOG2Gd7VruQAnrOfKvscdt1CyTo+DVPJzeoodxX0A6adB vwlnD6JMUcYgmaY54WVBMbCXzVaE5SnCcdg8ovUBF8gWb1skpb3IZEeiyGWDiP4r IvEpE4AYwxtMiZw4CiNTxsM9Cr/sQM2gOibUUIQfVyJviJasGY5uBiLqtLXCcLtn BGA916sA0aGU5ioeeLs45Uv387l/cmCKq/Ml/qpVQoLyjfkb74x+BlYg+HU7Vac9 nL3R09tXW+FCkkZz1xTGQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1705394802; x= 1705481202; bh=+17r0Un58EPuippchMhMs32wnnmhSQrNhZlHlh0KRMI=; b=J 5nmHJbsF2iIGP+KbMUgcKV+w+hZh9y5UKVq8ZYBd5ALQmuDU8DIK37C248q/3oFE o1ygASbFK5AGdOojNzW84WloAiBHpRCbqSmGAPqIl84MIg6OITv+dfkI/9HifZEH j+AB3mI3EPg4HzI8Mw7Q31jB7aR4/gp0ZIbAfpIaXGXYOnugLytbYuLOZ5YwH1V1 adoEpkK3JzyRmbBgTNkyvbmSHbgrdFfpbzdm1ol1xL8N/yF49rHdtl6eZFEQh0Vb jam9jFyzwTFiZMqfayDgXayCD2FaFYzS48T2IruaNzyp/tjT6k6ltW+WvPXx18lq s6xZWhd7eMJfBmVAfAIJw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvdejvddguddvhecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefvihhm ucfnuhhnnhcuoehtihhmsehfvggrthhhvghrthhophdrohhrgheqnecuggftrfgrthhtvg hrnhepfeffuefhteegieekjeevgfdtfeethefgvdfhteefueffuefhhfefkefgkeegheei necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthhimh esfhgvrghthhgvrhhtohhprdhorhhg X-ME-Proxy: Feedback-ID: i1f8241ce:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 16 Jan 2024 03:46:37 -0500 (EST) Received: by feathertop.org (sSMTP sendmail emulation); Tue, 16 Jan 2024 19:46:34 +1100 From: Tim Lunn To: linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org Cc: Tim Lunn , linux-arm-kernel@lists.infradead.org, Chris Zhong , Conor Dooley , Heiko Stuebner , Krzysztof Kozlowski , Lee Jones , Rob Herring , Zhang Qing , linux-kernel@vger.kernel.org Subject: [PATCH 1/3] dt-bindings: rockchip: Add rk809 support for rk817 audio codec Date: Tue, 16 Jan 2024 19:46:16 +1100 Message-Id: <20240116084618.3112410-2-tim@feathertop.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240116084618.3112410-1-tim@feathertop.org> References: <20240116084618.3112410-1-tim@feathertop.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240116_004645_062964_4B87DEA2 X-CRM114-Status: GOOD ( 15.12 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Rockchip RK809 shares the same audio codec as the rk817 mfd, it is also using the same rk817_codec driver. However it is missing from the bindings. Update dt-binding documentation for rk809 to include the audio codec properties. This fixes the following warning from dtb check: pmic@20: '#sound-dai-cells', 'assigned-clock-parents', 'assigned-clocks', 'clock-names', 'clocks', 'codec' do not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by: Tim Lunn --- .../bindings/mfd/rockchip,rk809.yaml | 30 ++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mfd/rockchip,rk809.yaml b/Documentation/devicetree/bindings/mfd/rockchip,rk809.yaml index 839c0521f1e5..bac2e751e2f2 100644 --- a/Documentation/devicetree/bindings/mfd/rockchip,rk809.yaml +++ b/Documentation/devicetree/bindings/mfd/rockchip,rk809.yaml @@ -12,7 +12,7 @@ maintainers: description: | Rockchip RK809 series PMIC. This device consists of an i2c controlled MFD - that includes regulators, an RTC, and power button. + that includes regulators, an RTC, a power button, and an audio codec. properties: compatible: @@ -93,6 +93,34 @@ properties: unevaluatedProperties: false unevaluatedProperties: false + clocks: + description: + The input clock for the audio codec. + + clock-names: + description: + The clock name for the codec clock. + items: + - const: mclk + + '#sound-dai-cells': + description: + Needed for the interpretation of sound dais. + const: 0 + + codec: + description: | + The child node for the codec to hold additional properties. If no + additional properties are required for the codec, this node can be + omitted. + type: object + additionalProperties: false + properties: + rockchip,mic-in-differential: + type: boolean + description: + Describes if the microphone uses differential mode. + allOf: - if: properties: From patchwork Tue Jan 16 08:46:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Lunn X-Patchwork-Id: 13520589 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B895FC47077 for ; Tue, 16 Jan 2024 08:47:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=NbylSMQ6ARa/MftLooak7uSpnzGWpwL8ZQhR6kS1CMk=; b=WbYBix4Lt+DEZ5 ttAozQanS14HBf50SqjeJ7Zfx9gJ1IGrbo9be26TO31H/SvGHQNVHLcdv3UVhIJIFxZlXR3jxRDAD ujeUzSOLp+1b3JnLcmmubnVRqbhfJX+iYX+R9XMV8zScsDcrSB8dkep6jEW7xW2p5AD3bNhZPWwOU M7Jlrr58XeYhGtERlpLwf/0FLj61gMc2VjPmkwtODU+DU3I90EfOK2zt0uCePbSUS/qiYjcs+KyEm vYH4odZRV6tI4GHJ3stbUVYB1VFej1Obgz+dZkw1UMWUWjLePHAHXOptgq15UFDipuhgz/db3GxQO BxtmqZMEmsmoPOCe8VQA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rPf63-00BSa9-2c; Tue, 16 Jan 2024 08:46:59 +0000 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rPf60-00BSXe-0F; Tue, 16 Jan 2024 08:46:57 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 80EBA3200035; Tue, 16 Jan 2024 03:46:54 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Tue, 16 Jan 2024 03:46:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=feathertop.org; h=cc:cc:content-transfer-encoding:content-type:date:date:from :from:in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm2; t=1705394814; x= 1705481214; bh=w1YMVooaDUNQBk1O+CtoMJUHFZppLvEDdMn6ledxCLI=; b=g OappuYc+T/Ab5VSbVosyZk0ljpLGV1ZTWXhRU2wsCGJlHCj3o+9buMrPwVUoT5Sx op83I2pFHsiIh7OPdJWwzzLHTnCfM20AqMwQRGgAh1JwltxE7CMAJjXKpkQ6iltU k2hMoP4TCApk4vSVpBn+s5S/A1G0OCWnRcUsPQn1MEW3IlVvcHJS43cbjX1u9PRa ND9M0P6AV5Vp+0xvU2uiNnYfzcpIzZ2PgLtUmkxGCWNzmaH+v1XjNxADh2LkXdx4 TSuHSmrdkzqlTYrpDVJ+UE5xHFtbqfoNwsbI8fnNIAVd5+k9E0qVjM3+pMXifUPu 0sw11IrmExeVADyJC+5kw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1705394814; x= 1705481214; bh=w1YMVooaDUNQBk1O+CtoMJUHFZppLvEDdMn6ledxCLI=; b=f kO3RDEhM+8fs2kJ3J8jvNyylu6NQJbpO7DrR3TUH1vP3CzNgv7rfpqQSz8gZLehj 1NdJRGQwDvdMRnneDcnneCWmy4u/yyOBhBOFuSX9H1V2rZkWBMWhJiZc6UmiNuMP /PN30NX9yFeoylHZBTsVZjP7iEJsa/GWpRcMETh5QTieCmKUeABRe7J0Ir8h/3Pg EVODsCOmlUQvTkCODXsOJknRUu7pS0ejVujQz/1lzxoq9PdsXguK2tvp88+JVtJv 7s8pSSYYLfh0rJyUGtH7bXRj9yNBCnpCBv2Ypu2XVPWn4+jlEHDu5/PPTSDdEq/G xWg5bttp7h3s3o14xH5lg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvdejvddguddvhecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefvihhm ucfnuhhnnhcuoehtihhmsehfvggrthhhvghrthhophdrohhrgheqnecuggftrfgrthhtvg hrnhepfeffuefhteegieekjeevgfdtfeethefgvdfhteefueffuefhhfefkefgkeegheei necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthhimh esfhgvrghthhgvrhhtohhprdhorhhg X-ME-Proxy: Feedback-ID: i1f8241ce:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 16 Jan 2024 03:46:48 -0500 (EST) Received: by feathertop.org (sSMTP sendmail emulation); Tue, 16 Jan 2024 19:46:45 +1100 From: Tim Lunn To: linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org Cc: Tim Lunn , linux-arm-kernel@lists.infradead.org, Chris Zhong , Conor Dooley , Heiko Stuebner , Krzysztof Kozlowski , Lee Jones , Rob Herring , Zhang Qing , linux-kernel@vger.kernel.org Subject: [PATCH 2/3] dt-bindings: rockchip: rk809 fix compatible string in examples Date: Tue, 16 Jan 2024 19:46:17 +1100 Message-Id: <20240116084618.3112410-3-tim@feathertop.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240116084618.3112410-1-tim@feathertop.org> References: <20240116084618.3112410-1-tim@feathertop.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240116_004656_145050_F8B0D2B5 X-CRM114-Status: GOOD ( 11.53 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Fix typo in the example specifying wrong compatible string Signed-off-by: Tim Lunn Acked-by: Rob Herring --- Documentation/devicetree/bindings/mfd/rockchip,rk809.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/mfd/rockchip,rk809.yaml b/Documentation/devicetree/bindings/mfd/rockchip,rk809.yaml index bac2e751e2f2..3f31478932c2 100644 --- a/Documentation/devicetree/bindings/mfd/rockchip,rk809.yaml +++ b/Documentation/devicetree/bindings/mfd/rockchip,rk809.yaml @@ -154,8 +154,8 @@ examples: #address-cells = <1>; #size-cells = <0>; - rk808: pmic@1b { - compatible = "rockchip,rk808"; + rk809: pmic@1b { + compatible = "rockchip,rk809"; reg = <0x1b>; #clock-cells = <1>; clock-output-names = "xin32k", "rk808-clkout2"; From patchwork Tue Jan 16 08:46:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Lunn X-Patchwork-Id: 13520590 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5E6E3C47077 for ; Tue, 16 Jan 2024 08:47:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=xOZarhmQRxXUYnc+HDwoVtqFA+y3vxeFalWHX7eo/Gg=; b=rtTGvS+oEdmNnb 2ObS/SOoPcRkaZZxMys80XEprJnQgm52cjYvoFXEv8+vaJ2kSxN6BonJRyHnsODyvv+BBrjyTFsB4 pYZK2Mu00z6QyCL/D+S7nqzWumoySbo4Dc0AQx4LlxkplGzVB8qx4476VRkeor+2UiIYxbJ0VdRXD fIHQEgMluelXuu/JE9yYkjq1y/EJnhAzcoySK6f0Qn/6De56BrTwD+mm452UgcDTZDsF7/UcD6UOg RSUjFt3lPEoPNzL3D/WhQCj9iuUIqbm65Ou27UiS9oLPiwDStHtC52F5wo67EnvRsH3OQe98Hn0CB kZTc4BO+3ufyVa8n+Ehw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rPf6E-00BSgz-0q; Tue, 16 Jan 2024 08:47:10 +0000 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rPf6A-00BSdz-3D; Tue, 16 Jan 2024 08:47:09 +0000 Received: from compute7.internal (compute7.nyi.internal [10.202.2.48]) by mailout.west.internal (Postfix) with ESMTP id 43AC53200AFB; Tue, 16 Jan 2024 03:47:05 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Tue, 16 Jan 2024 03:47:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=feathertop.org; h=cc:cc:content-transfer-encoding:content-type:date:date:from :from:in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm2; t=1705394824; x= 1705481224; bh=zTC4+rP7zPq87zT19hFSzcCUDOL+iUa2sCx7guwY050=; b=B GKAYR0GAy41IxWYnUGegfQpTZeNVJbSFfQ3ko0q2GWfg6+aQfurUIxmLduogVfQ+ 5wBHN5kO39dEYoqsIsZH/ncN0fLJT6haFK2FaxSku1f6GMdD8e41NSx/KCt3xRZM E2PmJTRFbFfZwgfyhdkEtkRZw6i5C5+TDxNZEX0curBVWnAwVnk43BAlbolqVooB rQhlDNVn68emfebV3MtLLjUfgX3/2Or0YkUfsfuwMWdgQfaB8quBstUVr7ySNuh4 B5fMfiwwwoUUnxn561/wXzxhF8a2tz2ODbKefpGh7uGNQ617wlooAaq0akzv3U9W xAFdUPst3AvUXV51HPdpw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1705394824; x= 1705481224; bh=zTC4+rP7zPq87zT19hFSzcCUDOL+iUa2sCx7guwY050=; b=Q GM83qJqt5O2zD8hG4Pt1djzhrzjKqhCzfLYZPt0rUTkSGlApXxNmB5KtXQ4mnV40 Wii849W3dIVMVKWZpVknXogGMRFKwG7fuIMLXLjtFCPe4jP7Mm1bWYUZm/ce7Kpt SKTi4Mqdxl1Nn4WxUABXvPDuQvC7cB/Lr60xCySoqkNdmI6qYodCXI1I/ZmSRPUI 2OHQCYGormjyxKAJmMrkWpSsKFkKmDem8PCsfiUbHzMXLILgRa8HkccQo/jgh9oM dO9qfh/i9v7A86WZSrzjlbJP4NyrIp0oCyRDaqUTz3bOZcsBnf0y91/XcvpcbcmB kWXfbt+eJTtXzYT9Mff4A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvdejvddguddvhecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefvihhm ucfnuhhnnhcuoehtihhmsehfvggrthhhvghrthhophdrohhrgheqnecuggftrfgrthhtvg hrnhepfeffuefhteegieekjeevgfdtfeethefgvdfhteefueffuefhhfefkefgkeegheei necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthhimh esfhgvrghthhgvrhhtohhprdhorhhg X-ME-Proxy: Feedback-ID: i1f8241ce:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 16 Jan 2024 03:46:59 -0500 (EST) Received: by feathertop.org (sSMTP sendmail emulation); Tue, 16 Jan 2024 19:46:56 +1100 From: Tim Lunn To: linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org Cc: Tim Lunn , linux-arm-kernel@lists.infradead.org, Chris Zhong , Conor Dooley , Heiko Stuebner , Krzysztof Kozlowski , Lee Jones , Rob Herring , Zhang Qing , linux-kernel@vger.kernel.org Subject: [PATCH 3/3] dt-bindings: rockchip: Update rk809 example with audio codec properties Date: Tue, 16 Jan 2024 19:46:18 +1100 Message-Id: <20240116084618.3112410-4-tim@feathertop.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240116084618.3112410-1-tim@feathertop.org> References: <20240116084618.3112410-1-tim@feathertop.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240116_004707_065017_9D48618F X-CRM114-Status: UNSURE ( 9.59 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Update the example provided to include the properties for using rk817 audio codec. Signed-off-by: Tim Lunn --- Documentation/devicetree/bindings/mfd/rockchip,rk809.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/mfd/rockchip,rk809.yaml b/Documentation/devicetree/bindings/mfd/rockchip,rk809.yaml index 3f31478932c2..c9c676d0922d 100644 --- a/Documentation/devicetree/bindings/mfd/rockchip,rk809.yaml +++ b/Documentation/devicetree/bindings/mfd/rockchip,rk809.yaml @@ -161,10 +161,13 @@ examples: clock-output-names = "xin32k", "rk808-clkout2"; interrupt-parent = <&gpio3>; interrupts = <10 IRQ_TYPE_LEVEL_LOW>; + clock-names = "mclk"; + clocks = <&cru SCLK_I2S1_OUT>; pinctrl-names = "default"; pinctrl-0 = <&pmic_int_l_pin>; rockchip,system-power-controller; wakeup-source; + #sound-dai-cells = <0>; vcc1-supply = <&vcc_sysin>; vcc2-supply = <&vcc_sysin>; @@ -312,5 +315,8 @@ examples: }; }; }; + rk817_codec: codec { + rockchip,mic-in-differential; + }; }; };