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: 188456 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:42cf:b0:101:a8e8:374 with SMTP id q15csp125548dye; Tue, 16 Jan 2024 00:47:09 -0800 (PST) X-Google-Smtp-Source: AGHT+IEJn9RXCyZ+n2EfTijykECi0yJpoqTORWuYAMq0EhCB/w1YWM4mGWQV94kEyvi9QcH9vx1D X-Received: by 2002:a05:622a:3d1:b0:427:80c4:aa2c with SMTP id k17-20020a05622a03d100b0042780c4aa2cmr7634565qtx.50.1705394829144; Tue, 16 Jan 2024 00:47:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705394829; cv=none; d=google.com; s=arc-20160816; b=wznWFTCfoAcqPqqceJ+nRtcasbLwSVj2iRepw2v/IEHTs6hSyuwWpbzW6Blq8h6dHJ VgGvN1b8j/o7jE5Ix89YY8NDOjCYZ3QpngqZdBjAqCpPRfV77xLv6Ck91560MBuITFW5 2H0etotIngb2aEiVxymB0ieIRpxmhAXSRwnfVJPUTerSZv8DUPrjoRMdRrXgJYwMQjth ofL6zqrIVg5u1ixjwcl38OPy4eAuWqNUOf/s3wba9virsdVb5QW2mQ5ATYcaIS+SSq7D uNRNAxBkUYzDD3rGYCb0euwba23wv1s4JBpsZZEYthAV1ioDuRq4P/EH556vwU0cD/44 FR2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:feedback-id:dkim-signature:dkim-signature; bh=+17r0Un58EPuippchMhMs32wnnmhSQrNhZlHlh0KRMI=; fh=Zy1/zZasYn0V9joiZQA7dtW5NRYK4ZkgY6RVFZ+WNVA=; b=i5OiyU/0Kt/W8eOCi5PIgCbZCb85Ln5ko6Q+fy3oHoFQUX0ASHqPYQeHXlKYl73aMx IRj/N77vWzWg6Z4o6AogwsgtX7yR2zSt9FQCS03hpLCM2RC4y6lVxRGtJIrnxI9vLpho 8IUswApA3cDHtEvt3FAsCAJOm5QQMIQNjFj8tMsz7kteQ6gGtvNotWegAifE+UA2Czdc IKftadR7hD/yEo1i5scttToBcmMTUzUnOvK47XrC0v02Yk6qJCWNfmUWjcKhCJ7ADTna px0PbLXkV9eksDVUcif/KO8yAP7990dyPkkGQv5EGq68akxWuRqlMuG9PckBcvQMaTx0 6ZjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@feathertop.org header.s=fm2 header.b="TQ/+wzMA"; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=J5nmHJbs; spf=pass (google.com: domain of linux-kernel+bounces-27138-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-27138-ouuuleilei=gmail.com@vger.kernel.org" Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id 2-20020ac85702000000b0042a00bc4328si1196774qtw.305.2024.01.16.00.47.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jan 2024 00:47:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-27138-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@feathertop.org header.s=fm2 header.b="TQ/+wzMA"; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=J5nmHJbs; spf=pass (google.com: domain of linux-kernel+bounces-27138-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-27138-ouuuleilei=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id E8E891C22AD6 for ; Tue, 16 Jan 2024 08:47:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 52E2C12B88; Tue, 16 Jan 2024 08:46:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=feathertop.org header.i=@feathertop.org header.b="TQ/+wzMA"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="J5nmHJbs" Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 231B5848A; Tue, 16 Jan 2024 08:46:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=feathertop.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=feathertop.org 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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1788236088175763788 X-GMAIL-MSGID: 1788236088175763788 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: 188457 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:42cf:b0:101:a8e8:374 with SMTP id q15csp125686dye; Tue, 16 Jan 2024 00:47:41 -0800 (PST) X-Google-Smtp-Source: AGHT+IFa4U+2dlISi70XXjw1lG88zVn0814LjQOhiaO8GCf9/9c8gX0VZIMm2gxdEsM9HkZJ2T1+ X-Received: by 2002:a05:620a:c53:b0:783:2dc6:a9ea with SMTP id u19-20020a05620a0c5300b007832dc6a9eamr8022556qki.68.1705394861499; Tue, 16 Jan 2024 00:47:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705394861; cv=none; d=google.com; s=arc-20160816; b=kyw6I3d+rxcgO4XJa06hmfYni4wiWFNLJn21unCvMglxjlm7/shJ6ulYGCUx05FxD4 8mxviIjY0T2l+Gu08UV0B4gFibLLtuF5htErQgA3JG849b/SR/+5dSCo8UI7d54RJfj6 uZ5lGungZSQ3x1eB0izTElhcfYbiGFl86cZR1On3cKhI5nBH0pilf1125c7wv2i6hWQ9 +F0NtHuak8fVGCWJlB1R8QOWQ2gILH8rO9l4YF2z2wHSHjstZCECWSL4kuPTFFx0UivD ijtKbcJAaEtc13OOkfPX6cpOV23t8gLlQC2e+QWLB6HiVvb4njM0IOE55mDacjaXXTav X5cw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:feedback-id:dkim-signature:dkim-signature; bh=w1YMVooaDUNQBk1O+CtoMJUHFZppLvEDdMn6ledxCLI=; fh=Zy1/zZasYn0V9joiZQA7dtW5NRYK4ZkgY6RVFZ+WNVA=; b=gT7jMSqBMv0SRyQRtvsqgWX1pR5DIZvw2x9truYAWzgWV8wmplO9nfsmCdXOuHSmeZ Gy2QxDHrTimXGfq66OVKK3kVGZ5UOSrA8f/TxF9rWXRq+munz9lCDdE6ho1wLEiPp/EM b75lppK31xNvdcw40wkIPV0Teu2+dr9NeWtDixCjY2Ecom1bbGzkNmRppRcjTWprHYLW A9iVqHGhTkxRJ0a0QJwBiN8Wg/qAzblUOCDG8KnpnDhxNyO66pd8ENv6Y2EZXLJYb3B+ +o7o9ewTclejjPjJMZkap8Bj+QYOna48zaA2Y6MwGvsB95tojd7dHv6N1vLobhuHEwME k3eQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@feathertop.org header.s=fm2 header.b=gOappuYc; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=fkO3RDEh; spf=pass (google.com: domain of linux-kernel+bounces-27140-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-27140-ouuuleilei=gmail.com@vger.kernel.org" Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id k15-20020a05620a0b8f00b00783636cd0e4si2299430qkh.780.2024.01.16.00.47.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jan 2024 00:47:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-27140-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@feathertop.org header.s=fm2 header.b=gOappuYc; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=fkO3RDEh; spf=pass (google.com: domain of linux-kernel+bounces-27140-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-27140-ouuuleilei=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 3DDC71C22D7D for ; Tue, 16 Jan 2024 08:47:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2D00812B9B; Tue, 16 Jan 2024 08:47:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=feathertop.org header.i=@feathertop.org header.b="gOappuYc"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="fkO3RDEh" Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 34C1112B9D; Tue, 16 Jan 2024 08:46:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=feathertop.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=feathertop.org 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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1788236122334076572 X-GMAIL-MSGID: 1788236122334076572 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: 188458 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:42cf:b0:101:a8e8:374 with SMTP id q15csp125777dye; Tue, 16 Jan 2024 00:47:58 -0800 (PST) X-Google-Smtp-Source: AGHT+IGCtPMu4WBQqtJc4szQfhCThPfesQ+A98HOAsIEVZDSzcGbZL/jQ2JU4ntw3VaVMyl6xEsH X-Received: by 2002:a05:6402:1259:b0:54c:5d36:42e6 with SMTP id l25-20020a056402125900b0054c5d3642e6mr2998466edw.81.1705394878281; Tue, 16 Jan 2024 00:47:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705394878; cv=none; d=google.com; s=arc-20160816; b=CEVqWLH04FjvXu6+KIAxiMOqQ+dMnwWi3EMAATce3Kmq8uyzNV0D9TT1okdBhwmRc8 8ygS31dEtn/VR0UJGeytVe6+LTd7XVYrRLzXnwrhGEXL5h/BRHlu7TzvjZwcy9cx2Hoq 8n07L6QgCoxkTG6oJpQbw3xuFXWrfQ119OblnmxlXGY5n3jcdG0aL0amFnbT5kx3Htv3 x3reVkZcFrgRcwrCUm0+RqVOp2oQxEmFLsOKZhc3E6/47uTGjpiwP4OdYua8Um23w93K bRWSWiWlDjLilsobYhCuSNm8qM2r7KkNsS5lSy7Z1M46PqkskZ2zbkSvVjd+ULC23Fh4 udfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:feedback-id:dkim-signature:dkim-signature; bh=zTC4+rP7zPq87zT19hFSzcCUDOL+iUa2sCx7guwY050=; fh=Zy1/zZasYn0V9joiZQA7dtW5NRYK4ZkgY6RVFZ+WNVA=; b=r96Ad/pLoo9c+5E2g9aPA2k5TW886ech2pxkukWUMeWT7pcFhhkIiR2Iy0GURlmsVh olRahmfA4mHJukDxvFU7JgliFxoqZkipPffTt3hqiMh1CJM+PNCDq/MD0pElRF3R/mHV iNkWtEHxe9reJIeQgsT5wEpwulmOmtnBLIoW87kqtYU9wdTCww55iAk1YbgSCRgmtckG v8rHaV65DFWhpKVb7q6kBCKnvCUyxW5bnG4sqGJpD4ZU43itIt86FSKi7QP+QfAhwkp4 SOUeOq2Us/iUK4QhkmMGhWoddl3QLrms8HHpafV4qqmlMeeeeJOiyXXTnoKx76vfQYv3 Q56g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@feathertop.org header.s=fm2 header.b=BGKAYR0G; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=QGM83qJq; spf=pass (google.com: domain of linux-kernel+bounces-27141-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-27141-ouuuleilei=gmail.com@vger.kernel.org" Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id z20-20020a056402275400b00558dda9791csi3790244edd.645.2024.01.16.00.47.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jan 2024 00:47:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-27141-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@feathertop.org header.s=fm2 header.b=BGKAYR0G; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=QGM83qJq; spf=pass (google.com: domain of linux-kernel+bounces-27141-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-27141-ouuuleilei=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id ACE5A1F2422E for ; Tue, 16 Jan 2024 08:47:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1A262134B7; Tue, 16 Jan 2024 08:47:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=feathertop.org header.i=@feathertop.org header.b="BGKAYR0G"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="QGM83qJq" Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0D220134AB; Tue, 16 Jan 2024 08:47:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=feathertop.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=feathertop.org 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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1788236140073898966 X-GMAIL-MSGID: 1788236140073898966 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; + }; }; };