Received: by 2002:a05:7412:8d09:b0:fa:4c10:6cad with SMTP id bj9csp658457rdb; Tue, 16 Jan 2024 11:37:10 -0800 (PST) X-Google-Smtp-Source: AGHT+IHLcE6umESH23NssxMxONdrKXb4/hp6C+poMdlspv3stiXZFkXLS9x7k0gb+rsL70RzqsC7 X-Received: by 2002:a05:6a20:d49a:b0:19a:bc44:e987 with SMTP id im26-20020a056a20d49a00b0019abc44e987mr3123932pzb.7.1705433829977; Tue, 16 Jan 2024 11:37:09 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705433829; cv=pass; d=google.com; s=arc-20160816; b=dUUXy1+pQNyupLkWCUaQHLlMyzOAerjZSc8z1a8fvxYFPGYnzyXjgQa1oWgh1/VtLN 1FJk32Rha+wUeWHxAYhFhXn5y/DPnZI3+lSRQGvf5ZpJLIAABdganwTSZQsP3M4GTtRm 1mr9V35JuREEAveGdLGyBKQWVybGVtbzmyNuleT7iWpnzsZ6KotPRwwO++/p1fjGHdLB JVxp56azFrrOQi8EJ95Ye9brkc8lljIQj3xGnpguP/4C3fYUebTIAvZ30I94K9QlFPJ0 oo5QJdus5/Ash6cZlc8+HZi4sPYSDHRAALQKFI9/v6gpUVDQcjskD+wSB3aYG0jBU9dt nhqg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=nwc69dKSUj2L7seXmspDhH00kPN7qc0lLADMjTzfZWI=; fh=iZ13XkpwZdBrM0d4kz0c3kA3BvAn00qSoIVKmMFhcFc=; b=X7xJP9jq3dMnYOdLLKNLV113cN012aZWL1ljybynjZ6vGHKcaOzpJJ5ltdEFVVuawk xCkd9iDI0ZPxOnkbkJA7A+sHmYIsqpEQvrfvQjzl1xyb7Oa2wltP0hmPFrSI/tVhjxF4 Krtnm3ckSbRlrg2v11gFfYFqIM+y18Xw2OyCxoEUPDx3LivCijQpZWzqX+IzTqEJjOa1 Zixd34Tx8w2qEFWNEX4p6MXULlqf4qArV53/DAw/nbW+NBJxM+V5VlNroYigVFg1wHqd /Wr07RIzzfkJg3qBfh9W1cFZNz7JWeaZZ5NqcSgEGZlXcf6GLf/pikovVU19TBh+fqWm gj+A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=S0di1nzs; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-27762-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-27762-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id n8-20020a62e508000000b006d9aab1bbd4si11080584pff.77.2024.01.16.11.37.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jan 2024 11:37:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-27762-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=S0di1nzs; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-27762-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-27762-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 7CA5A28637D for ; Tue, 16 Jan 2024 19:37:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4D0551D540; Tue, 16 Jan 2024 19:37:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="S0di1nzs" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 6EF531D52D; Tue, 16 Jan 2024 19:37:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705433824; cv=none; b=ZKodEfBQSPIXhognmBVhHdnGYMOKj8uwEi63N76uBEFP0jEhIjIX8pI+m29ah/8UbFkY3JJ1pI+w18jmCFyt7TTxvBLiFPmiHoYbyC3k0VGEpuYwlafr8DQ8wTFeRp0N3nrCEIXt4At37Mh2v2h4hkbnfeAyy57zfIsujFGkEZU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705433824; c=relaxed/simple; bh=Yqhm26i3ttwzsTuBQPuzExYobWq+0zPxlrgFkTwLhD8=; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition: In-Reply-To; b=ANeqLJKY2MXcNE9FOGw5g2yDTSJC2t+ahjR8i5RyxZB//lqKxyquakbYOKrg7R8h38+0xsAQsJ5oXLoOf1MgGv6yxQMkB9U13PLTPFt+YYajyrNXaKCx+VPLDRKP+5BiK5UPeGsWgwyI9jXdo5TFoRDxrwzkzKPm/4Eo4JFT5M8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=S0di1nzs; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 961F9C433F1; Tue, 16 Jan 2024 19:37:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1705433823; bh=Yqhm26i3ttwzsTuBQPuzExYobWq+0zPxlrgFkTwLhD8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=S0di1nzspkf5zkxcuyMcBuF1jlJO/YeSBoFm106PmraSymsKFeJ8cWwBQiEjc94cr xVEm4k/F6gAPJD01Z7C979z+P3vEZ6z1QW0buB95KdQNZ76wSROUmSKiPUJk6YMQu4 ejN0xOaPEcoqmXUWw9fJikrutJySDIn1volektWZMWtpd9CgZtAIv32pdWJHqDYpcI juhk6xgGl59/TVSMNNOmAoCPldQYQgO0EbUpVp3B04Y2K4hcTLkeEBcN0bRBBkANwP 1NsY7jSDqI0Z1t102lHnLLCwKY/0a7SzLM7umi6CxYn6Zh23O4no0lABUCE9q3yNXb HBq1o76rlX3SA== Date: Tue, 16 Jan 2024 13:37:01 -0600 From: Rob Herring To: Tim Lunn Cc: linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Chris Zhong , Conor Dooley , Heiko Stuebner , Krzysztof Kozlowski , Lee Jones , Zhang Qing , linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/3] dt-bindings: rockchip: Add rk809 support for rk817 audio codec Message-ID: <20240116193701.GA286794-robh@kernel.org> References: <20240116084618.3112410-1-tim@feathertop.org> <20240116084618.3112410-2-tim@feathertop.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240116084618.3112410-2-tim@feathertop.org> On Tue, Jan 16, 2024 at 07:46:16PM +1100, Tim Lunn wrote: > 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. How many clocks? (maxItems: 1) You can drop the description. > + > + clock-names: > + description: > + The clock name for the codec clock. Drop. > + items: > + - const: mclk > + > + '#sound-dai-cells': > + description: > + Needed for the interpretation of sound dais. Common property, don't need the description. > + 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. Why do you need a child node here? Just put the 1 property in the parent node. > + 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 >