Received: by 2002:a05:7412:8d1c:b0:fa:4c10:6cad with SMTP id bj28csp308806rdb; Wed, 17 Jan 2024 02:39:02 -0800 (PST) X-Google-Smtp-Source: AGHT+IFAPs0FjTD6S+DRQn1Z6oGVvpPbZfF21d8a18zGSWOICiCTSJ6FRPXo8piDwMxhuTx82asy X-Received: by 2002:a05:620a:1211:b0:77f:dc33:e522 with SMTP id u17-20020a05620a121100b0077fdc33e522mr7678993qkj.37.1705487942049; Wed, 17 Jan 2024 02:39:02 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705487942; cv=pass; d=google.com; s=arc-20160816; b=hShQp58RIq35vudkg8xeu/I4sanB6rPaSZT3v0pPV+uIlCPwgayW84noKgqaQwUZ9b OxMEsUXsyZUn6MmDPmL7gmePtNBfExAAlY2N481K7UjvgYK/3wlMGy36RIwoAkkvHSrR tFqXQAOB3JcM5kHCS+v9rE1lrYZEgfte9nveFGRzaIlxWgPpcx2CtR4QeBjGaZ06T+tB PQO+Pww4hwx6YRmUZMO8aF+Uf7wvqX6VmUfeC5lFnmD59uLJzS3LwkKyvjjFNAf+AUm2 lzfOUYKEh4OAVyFbZDkEqIvBGOdO5luxhPQi3Fnn5e3WpCxt6GpKLyrp9lAgLlA6rR7+ fKSg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:feedback-id :dkim-signature:dkim-signature; bh=uolH2UdRL07ElTMV+uuSFDyj48n5KuNIMWZAR7W0Hxk=; fh=EYTZtnmgVkyZtnu3p/CVDPi3UG00LOqHXYpx/b9wWLo=; b=00k503TeaLbsaUh/kRT7ddCd+BkNM3gYZg9wXORGS43qn8f7Bp5uYWSyWUXvLL5kKy c6cKd8roIc8uGZJ76mrgRSi5Ld6wzkX+PpZBuJQma96Dr+RxgT6SK+LryrhSvWEH02x0 cm+yHmQuQcb12nrk0OcAwucBJDzHLrQMrHwrnDeUY4VaqgJ8ejHB3xPURLybIf6MUSik dYq16VcYG1c/B4RYhsnTwHycV3iig1Ri8iFR3EWnPtFQKNaBWa+rR/7MLrTiuDp9NV37 kA2JW0ELHf8vh3b22Uy0pbn1GouLrtb8QLF016e2p6qQG87sE4AGMWjWW4MeabbUNBR5 DJqQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@feathertop.org header.s=fm2 header.b=faEJulbl; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=tC9vERqN; arc=pass (i=1 spf=pass spfdomain=feathertop.org dkim=pass dkdomain=feathertop.org dkim=pass dkdomain=messagingengine.com); spf=pass (google.com: domain of linux-kernel+bounces-28850-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-28850-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id x12-20020a05620a098c00b007830ce6519fsi11230185qkx.649.2024.01.17.02.39.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Jan 2024 02:39:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-28850-linux.lists.archive=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=faEJulbl; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=tC9vERqN; arc=pass (i=1 spf=pass spfdomain=feathertop.org dkim=pass dkdomain=feathertop.org dkim=pass dkdomain=messagingengine.com); spf=pass (google.com: domain of linux-kernel+bounces-28850-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-28850-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 961EE1C24823 for ; Wed, 17 Jan 2024 10:39:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DE9031C688; Wed, 17 Jan 2024 10:38:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=feathertop.org header.i=@feathertop.org header.b="faEJulbl"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="tC9vERqN" Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (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 DB6451401E; Wed, 17 Jan 2024 10:38:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=66.111.4.29 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705487935; cv=none; b=fk5VZa9mapGmhLCHKFg4vs6SIXNrpjt52MO4d+oTFE7d8BYnl1s2OHZPnsSKuSG5KoUr5ju3sRj7wf9SsIYm6uYO0BakUQd1oH3l08f2xUIq5ThpzsU3XqCWuc2AZnwMI2AVazXpcNlUVHJDD5pBDUruFDmN7eyKvFBMHr1iaU4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705487935; c=relaxed/simple; bh=mf/LgDzPmmMMtNNh/VBYDY3PGPoYy0VK5gqECakKYjg=; h=Received:Received:DKIM-Signature:DKIM-Signature:X-ME-Sender: X-ME-Received:X-ME-Proxy-Cause:X-ME-Proxy:Feedback-ID:Received: Message-ID:Date:MIME-Version:User-Agent:Subject:Content-Language: To:Cc:References:From:In-Reply-To:Content-Type: Content-Transfer-Encoding; b=aQNxN30liFoQwVekOiJSndVOGgYg5d/HZ9wQb9iD9wOGwbTrwNEbXogWZk4edrtrfJfgu8BslORHYOXHl6giF80jjfuDJBZQFaK2xHE9G1NT0EiSGRT+5TtsPdrZWVfvy6xVW00mVq3iMe3G6kzVbIdcekY6lBmVQhR3I3292ZI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=feathertop.org; spf=pass smtp.mailfrom=feathertop.org; dkim=pass (2048-bit key) header.d=feathertop.org header.i=@feathertop.org header.b=faEJulbl; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=tC9vERqN; arc=none smtp.client-ip=66.111.4.29 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 compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id A98EB5C00ED; Wed, 17 Jan 2024 05:38:50 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Wed, 17 Jan 2024 05:38:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=feathertop.org; h=cc:cc:content-transfer-encoding:content-type: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=1705487930; x=1705574330; bh=uolH2UdRL07ElTMV+uuSFDyj48n5KuNI MWZAR7W0Hxk=; b=faEJulbl67/3OnEjloNCbjp0YStn1XYqpVDgdnt28vyc9tiy wc9hQygC5k2CHFF7+LCLniCJ2fvX9nghb8VxDJPLtMJXi9m+j3tf7dlSCyNfuXgh +5Ke+fUR4dYaoYIGRoJo4cPP9Uj+eP3LTN1ocW/kAqVfOy4Wx2f6JzUClNWFcFci JbPFWa/ZY/B6bxPOg+jK11Z8e1NQisXLqFLUkQvMnMXVsNB0yQjrIpZRvFuyLjO7 Tz5UyUo4082D8c0cO/fLFMYFCK3+QdoZ6LfhkHFe/u6KU+1HUCXTkJGjCKT7iFaJ cpx+07Do55AWgODtilqprPBPnGxDPD1KUD8oFA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type: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=1705487930; x= 1705574330; bh=uolH2UdRL07ElTMV+uuSFDyj48n5KuNIMWZAR7W0Hxk=; b=t C9vERqN5XufAnBn9DxrHpwt0P8R+puxtcJvAwb5zab0AE+9YDvzG8T3TxYANVEmj aFmhKsKicdx0MBxkF/eQNh8tA1v669Btf7vzeUDUvGu21SUoswbD2isyELvoCK1E FBv3/Ln2bsipndxyWeLpQXhmk993TUJiex1/X9g8+/Rc91H3msLHj2WVNj1VPkPJ 8H36WEK3cH0ua0RvOG8TjhBlqURbu8NgMJ3s4JwXwvStRu7WOzdygadt6PcvdzlE n/RPG/4GWcinMaYci4qd9+VgQ/xr+0OWShB6QW1LfCjx9W7JJhM/kLd7MfYDzXoz kiSaBecDa/kq+WfR6u6Tw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvdejhedgudeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtkeertddtvdejnecuhfhrohhmpefvihhm ucfnuhhnnhcuoehtihhmsehfvggrthhhvghrthhophdrohhrgheqnecuggftrfgrthhtvg hrnhepueegfefgveeuiedtheffgfefveejkeetiefhhfdvjeevlefhueekudeuleeghfek necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthhimh esfhgvrghthhgvrhhtohhprdhorhhg X-ME-Proxy: Feedback-ID: i1f8241ce:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 17 Jan 2024 05:38:45 -0500 (EST) Message-ID: <6d828e2d-a25b-4784-9905-4a264b7d78fe@feathertop.org> Date: Wed, 17 Jan 2024 21:38:42 +1100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/3] dt-bindings: rockchip: Add rk809 support for rk817 audio codec Content-Language: en-US To: Krzysztof Kozlowski , Rob Herring 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 References: <20240116084618.3112410-1-tim@feathertop.org> <20240116084618.3112410-2-tim@feathertop.org> <20240116193701.GA286794-robh@kernel.org> <64bce36c-468a-43b6-9d8d-0c20fbd53939@feathertop.org> <71413ca3-1a14-4eda-ad29-dc5fcbe5afb3@linaro.org> From: Tim Lunn In-Reply-To: <71413ca3-1a14-4eda-ad29-dc5fcbe5afb3@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 1/17/24 21:12, Krzysztof Kozlowski wrote: > On 17/01/2024 10:37, Tim Lunn wrote: >>> You can drop the description. >> Yes just 1 clock, i will fix this. >>>> + >>>> + clock-names: >>>> + description: >>>> + The clock name for the codec clock. >>> Drop. >> Just drop the description? I dont think can drop the clock names as the >> driver use the name to lookup clock: > Description. But anyway the problem is that adding clocks should be > separate patch with its own explanation. > Right, but I am not actually adding any clocks, just documenting what is already there. There are already boards using this codec with rk809 in dts files and is working fine from driver side. > > >> devm_clk_get(pdev->dev.parent, "mclk"); >>>> + items: >>>> + - const: mclk >>>> + >>>> + '#sound-dai-cells': >>>> + description: >>>> + Needed for the interpretation of sound dais. >>> Common property, don't need the description. >> Ok >>>> + 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. >> This is how the existing rk817 codec driver was setup. I suppose it was >> copied from downstream, where there are more properties than just the >> one. I don't know if there was any intention (or need) to implement >> those other properties. > You need to clearly express ABI requirements in the commit msg. > Otherwise you will get a review like for new bindings. Got it, I will clarify this and future commit messages Regards    Tim > > Best regards, > Krzysztof >