Received: by 2002:a05:7412:8d09:b0:fa:4c10:6cad with SMTP id bj9csp318739rdb; Tue, 16 Jan 2024 00:47:01 -0800 (PST) X-Google-Smtp-Source: AGHT+IGY3f518LVoJXxstmMlrx2FYABUfnUIXxLC6Ws8J38k2PZ/OuVZjlJbe+l7FCmH7Y3XSsph X-Received: by 2002:a17:90b:3ec3:b0:28e:794b:432d with SMTP id rm3-20020a17090b3ec300b0028e794b432dmr272737pjb.67.1705394820930; Tue, 16 Jan 2024 00:47:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705394820; cv=none; d=google.com; s=arc-20160816; b=Pl3hhps08xdSJloDeddrg15E0XqBJ25Mvg7eyUoJW4KASd+UIfyyAlRFWqSe+jWf4h RDdd3losZYRn0vrJ9qRtrPb9pDkuf1dj+0kVVqM5ps0lQkB5fV/h07HG1QDXD9XMQsht hGsS9QgJm3cTBoGunOpMHvkbu+w5hQ92zBusqjiZWtpxFOgHo3JFIMkQaVC3+ZhGXCQw /PIEv+y7fVq1mk4gBoWk6lfssARntmYfI7eaoXqInBaQYumUCVGDR0lutj7hMfoBOE1C 8V9XkVjVTDiARLkYCglQ5oHYyccCJl1wHQe3sAN7shsetU3WtSh76bzxclufKDJUD78i 4VxA== 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-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-27138-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id k20-20020a17090aaa1400b0028dd0ff8c93si10298071pjq.73.2024.01.16.00.47.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jan 2024 00:47:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-27138-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::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-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-27138-linux.lists.archive=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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 9607228548F for ; Tue, 16 Jan 2024 08:47:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BB75112B66; Tue, 16 Jan 2024 08:46:47 +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 Content-Transfer-Encoding: 8bit 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: -- 2.40.1