Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp250540rdb; Mon, 22 Jan 2024 20:10:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IGzBhtLKrHl1S3cfzdNwj5euyky/ldZwzPCyMSWJ44h+Gh1rSyrIlIeUWM62MkYt5R2/8X/ X-Received: by 2002:a05:620a:b0a:b0:783:5c3f:a47f with SMTP id t10-20020a05620a0b0a00b007835c3fa47fmr5709699qkg.92.1705983056797; Mon, 22 Jan 2024 20:10:56 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705983056; cv=pass; d=google.com; s=arc-20160816; b=kIjI7z7q/A7ocw3gdBKc8zBA9VQ9m9tv3TISd7NDnpscPf7wTfreyFtsRYtxdRrXsF CTd64yXO6LinjTi3KEi0oKMmVEb0veqes5bvp3OapQkaMW6lo21YnZeB4YeRuupQijb0 c1COMjmwTv1cPZ9Y1oh9CNbn8slY/Jc35JqUPrEWLfWskJ5Lyns5zSdBD9yiWbBSr6GC GgTDGhhTK7/0rBXM7y3iWVTJhV/GnwFhwATP2aUMUy9Ll+pJChTeRU/JyyC1EmQI4VtO 41bEuAucjR/I4U1XS+rDWT9t9oQb5DCs+bg/Fzk8xtwzHwtshacbDE0JFuQFpNl+1TP3 onrg== 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=X1AxwnZE1mN7IbTs9hN/G30XDwpnHhRiKWHtMsjJUm0=; fh=gkUASQyEtNlG4D/tBe68tqR8rNG+jza/6pzNnLQTpVQ=; b=gyv7uH6l/JhYlzPdRHHBmOPCkumlFBcs2va1eWOLiXTJlcfrNuF/8D5hrAcIAkKysa Z0RF0Te0lFqWTfj7+2QWQCBdf/wty813FfeS14yUxJ7s1sSn6XbjxjfpMuwaUw68Idet wUOLMKdt0Ha/shO0lWX586l6AflHEFMx5GZ0kG1urz70WtMYm0y48felDOQP/letm1oQ 0Sgr0t+/Ahok5heFvqG2STYMoMPVdT4vu8FA6nBdySKPiUUOs5bsHB1MJRtb0HORAjDw 1en9D7I2pPby3uLgPSjV3y/lYgsNE2+oGp8/HYdfyghoxlMbix0cK78D39CbgMV8zHGL q37g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@feathertop.org header.s=fm2 header.b=aEqI77XQ; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=QfHAgxVb; 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-34698-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-34698-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 wa22-20020a05620a4d1600b00781e452b5f2si7189959qkn.64.2024.01.22.20.10.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jan 2024 20:10:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-34698-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=aEqI77XQ; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=QfHAgxVb; 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-34698-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-34698-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 8F0141C250DD for ; Tue, 23 Jan 2024 04:10:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D452B1C33; Tue, 23 Jan 2024 04:10:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=feathertop.org header.i=@feathertop.org header.b="aEqI77XQ"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="QfHAgxVb" Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) (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 705E61848; Tue, 23 Jan 2024 04:10:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=66.111.4.26 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705983048; cv=none; b=SCUb495OxRSl61ylaMw2nZiiu53+6ZRhNkPXf+YzRQ2YJBmDghuj7R7JIs8xvE8vfMasEGuqu+vbn2wis6sBjt6re7jCw4XLC6w/5b2GU+EzJtOU7nk0kTn0PtSRfZ49EAln+07PoK6BQA1Gc511iE4UaNjt0+jJaxvLvc1IEnA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705983048; c=relaxed/simple; bh=e1iANXCHAFFGWI13ZwKAwHSge9np6yGnnnIPoEx3lBo=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=kZy/j0b/EqPtEibfg6YauNquEUkBCH4o9Pgi3pD3Od7N1FnzautFTftBNsQ+WBBcT5AShgpHE71gP+l3izRRZ1MXfykPSC7HOHiKhnRx8tj4UiBVRaf7vq1xUgmnskibAoeXD6GgRXMcDLnbjpKDePU8LlqYqv4xHTknXj9TB2M= 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=aEqI77XQ; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=QfHAgxVb; arc=none smtp.client-ip=66.111.4.26 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.nyi.internal (Postfix) with ESMTP id 52A0E5C02FF; Mon, 22 Jan 2024 23:10:45 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Mon, 22 Jan 2024 23:10:45 -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=1705983044; x=1706069444; bh=X1AxwnZE1mN7IbTs9hN/G30XDwpnHhRi KWHtMsjJUm0=; b=aEqI77XQJ4u07KvVtt6AD42ntSY7SPwR7QWMDRv/EFaSGfbd Dtk1PhZ+JxLzzsw809IdtRzqNM4BTLeZLaNxRDQGfS7SwMe5Pi2lTapAYet7P0SX DHYpMQbwe7kr7oosX+5hY5409EO+7Ue6W5jCxBFvOb3MJBt5NEGlt6neUKOcxfgb zYt8/ysAbh3mkirJ0acAZhpXgI/1M2DjJpXU1l/l5ktSyH8y3lI6xB4PDXSfuHbe ivzfyZsZyoSVukzOpLmXezsaaiBjmJTv7DZpnDR8TH6evmj06usThJDjaQh2IFqi yv1f49ILCXV6vsPjRWLU/4U+gxTtHDIfj1DZQA== 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=1705983044; x= 1706069444; bh=X1AxwnZE1mN7IbTs9hN/G30XDwpnHhRiKWHtMsjJUm0=; b=Q fHAgxVbCVfHB8lh5RXJqESKdEPFJzwdgtykuZLFvo2eSgc07a8tXMKYM25PBzvw9 ksL1+MnLbNauyYa/E6pmv3hUIICLycJ8M7Uxfh1f5WM8OQuA6mGIspL4sD74upcJ D4adpI4r6/1iC7E4NUWB0BOCEGY+rj7L6WeZPa81NcK97JExSpP+7M94uPHKCuGL Hb1Tg9g07jEFmUbOU2o0VKWc+ZTdiSZtKXXMh32rLcCoE2M96gev3/I29LYnQG1x OtglSD2mZ6xoaIpQPIj2yovrY7TzbNIEC5Q/WEmU/84A5PVCgMP/TiuLEzdGLZZx XocCV4fr5OaqQN6Ktcotw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvdekjedgieeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtkeertddtvdejnecuhfhrohhmpefvihhm ucfnuhhnnhcuoehtihhmsehfvggrthhhvghrthhophdrohhrgheqnecuggftrfgrthhtvg hrnhepueegfefgveeuiedtheffgfefveejkeetiefhhfdvjeevlefhueekudeuleeghfek necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthhimh esfhgvrghthhgvrhhtohhprdhorhhg X-ME-Proxy: Feedback-ID: i1f8241ce:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 22 Jan 2024 23:10:38 -0500 (EST) Message-ID: <93d775df-af84-44ff-870e-f720a33ddf34@feathertop.org> Date: Tue, 23 Jan 2024 15:10:35 +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 v3 2/3] dt-bindings: rockchip: rk809: Document audio codec properties Content-Language: en-US To: Krzysztof Kozlowski , linux-rockchip@lists.infradead.org, conor.dooley@microchip.com, robh+dt@kernel.org, devicetree@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Chris Zhong , Conor Dooley , Heiko Stuebner , Krzysztof Kozlowski , Lee Jones , Zhang Qing , linux-kernel@vger.kernel.org References: <20240120135529.899403-1-tim@feathertop.org> <20240120135529.899403-3-tim@feathertop.org> <04ccf5f5-1f02-42f9-b1fc-b781c54d7ae9@linaro.org> From: Tim Lunn In-Reply-To: <04ccf5f5-1f02-42f9-b1fc-b781c54d7ae9@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 1/22/24 19:14, Krzysztof Kozlowski wrote: > On 20/01/2024 14:55, Tim Lunn wrote: >> Rockchip RK809 shares the same audio codec block as the rk817 mfd, and >> is compatible with the existing rk817_codec driver. > Please use subject prefixes matching the subsystem. You can get them for > example with `git log --oneline -- DIRECTORY_OR_FILE` on the directory > your patch is touching. Ok I will check this. > >> This patch introduces to the binding the standard property #sound-dai-cells >> and also an optional codec child node to hold codec specific properties. >> Currently there is only one property in this node however the downstream >> driver shows a number of other properties that are supported by the codec >> hardware, that could be implemented in the future. This maintains the >> existing driver ABI and keeps consistency with the rk817 bindings. > So you are adding a new node? Just for one property? No, just put it > into parent node. The existing upstream codec driver parses the property from the "codec" sub-node, if I move it to the parent node here, I will need to patch the codec driver to search in both locations, so as to not break the rk817 bindings.  If that is preferred, I can do it that way. > > Downstream driver does not matter at all in that aspect. > The codec hardware supports additional properties but they are not implemented currently in upstream driver. > > Best regards, > Krzysztof >