Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp315762rdb; Mon, 22 Jan 2024 23:46:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IF77sq9xJo5NymYql2L6nYDYarc9FAWk6YeJacBg7gGBIKHJCzIJHefst22VMVMoC5aG9xO X-Received: by 2002:a17:906:52d8:b0:a30:d297:1a1c with SMTP id w24-20020a17090652d800b00a30d2971a1cmr79974ejn.227.1705995993357; Mon, 22 Jan 2024 23:46:33 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705995993; cv=pass; d=google.com; s=arc-20160816; b=JWpZ87KH2MwJGIK36zjN/7WzuXzrsL2SOQubJ3LOgZLM7R/X2h81SRHE2sPHmqKyad IDAuzOXHpy71ck2ugGzjM1SY2TzOO2rtnEz6ZK8R/xWQ8JPbvGAZB8EudWHojJFpwXEo EJ2ejZBmJRktSWqtFjK+ZBUwDc14GEgsNdZ9Trp+ESFlyZRdMxP+iM1GwVSbcZHhm6NG HR14JTFfpfEm8Ah5B8ZBSOy6+XYPGUIboNcubd9CX4S2iUVQvKKZn+YSOTa2e8K8zEQT vkSHvdj/i+rqcvRpKWPJJbYBpG9Hjqfh9mVSBFfdh8g537f/EXPlYVDt+KlC56hNPW+1 UEHQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=u+FF5OsJQz/H/Si0+E1+MCz2gWZ2lfyn+V2mF5Wn6F8=; fh=/moegE6PnPhP4pZyi/SoZAWQZQLbhZX/CXDqo5EfEf4=; b=0coLPG1FauxW6m5Ud7gQIOEKaS1ogZ5HktvXx/SoyJQ6mPnTenm+iQ0ZxqKJj3q8kc LLI5brbmNjpps5vq0nTRrW8qCxWeS+KXacayPEdtQD0vNGu82wnnbe+FLNYsHKEsI8FS ce2KpxZlZv293O35o/+aE9rgXVzMyRo2LGRMPC82rDwPdL9xO9FpMyTb7LmpSsk/0cRu KE+jY7fLdxUC/Jvmyi0IU2fzWwHJPjXG9hGtOHRSytV9Zst8IDLpoVK5moYlG2A/ADJo K5gY3WppII6Q0cuOMJqpOrZ+C0AAkFABXBuImbyJl+oNGINbsmqichCWDN8XdrqwlR5i AK7w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZJPikD1o; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-34831-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-34831-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id m9-20020a170906160900b00a28dfe4d864si11561768ejd.924.2024.01.22.23.46.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jan 2024 23:46:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-34831-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZJPikD1o; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-34831-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-34831-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 596541F2730B for ; Tue, 23 Jan 2024 07:38:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 40A27524DD; Tue, 23 Jan 2024 07:38:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="ZJPikD1o" Received: from mail-wm1-f45.google.com (mail-wm1-f45.google.com [209.85.128.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A5695524A9 for ; Tue, 23 Jan 2024 07:37:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705995480; cv=none; b=gWPrvcxnbfBgOfOA4rQXTK0nF1TzBewqv9tQ4fAQajpD4qu33dVvIJ81KjERnlnMNu5pk9q7uMXYYJbbFfXO1epoDoqGSSptzweszlDeOTvj5R/94AhSsw7D40CrBigfibN0Zwxl4Th8WI6uQFKljymeiMg14wqR3SxV/SuPKIM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705995480; c=relaxed/simple; bh=0a7+EHJm55in/lp7pDGGDFICzaZoF0HevGBZ0cILPVA=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=fKMohHnryoJ4ULVIxYXS8G1gKIdiXX6u+i+bvWGOoj5G9l5VHvXBaxkuxctalBZJASLF4UJ2dywyD8QT0lHWPIP0es3E0dw7lTIo9fL5bwmrKUwY22s6B6lC4TymDxkIrybFj5Z+/ClfFqMqN7H8Wevcd0XOz4npRxSNIKfY9KA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=ZJPikD1o; arc=none smtp.client-ip=209.85.128.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-wm1-f45.google.com with SMTP id 5b1f17b1804b1-40e7065b7bdso47521375e9.3 for ; Mon, 22 Jan 2024 23:37:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1705995477; x=1706600277; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=u+FF5OsJQz/H/Si0+E1+MCz2gWZ2lfyn+V2mF5Wn6F8=; b=ZJPikD1oX0ML0D6g+J5UjGUAfbDF03S61R8gi21HKVm8Q08AW9IvxYUKT5XGTPdNkn ZNh9lFrDBKwcLFxyZPh6ryVA5kz99xd0ZxB5vUcJgfd28phaX0YjJWpdDAzxS4/iSits ln8aFJ9kgtfdQk1YY0v+wj1rtBMNmV7SHxQ59vusGQjjN7Qzlu6Q8oqe5SubSXIQ/GSO HUsqA8+Q8ydT+tyxj8sEWi7F7aGqO/pm+zRxhSJH5+dD8ncxGWq6Nt+VbuAnNq54GftH yKM5G+/9Xwj8plnbdLuFRtbjHFos3ZuoUpX1Uj1KTmqh4PHCNukGyjDAWFfXxvbnWxlT +I7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705995477; x=1706600277; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=u+FF5OsJQz/H/Si0+E1+MCz2gWZ2lfyn+V2mF5Wn6F8=; b=O00JogN0WT7BvAEH2/pViNOy8CT/srZumZu5lB/JOTuZPztBQ/iAoWVTkNy2CjRQ1S AmGHu2SZYEuUy+3l6yDEZmEJxczIuouwgl5l5rZGrSU1uNhL9q2Hzj4ggb6tQBshMyt0 4nsE3p97M//F+493N2pdxJCrakQ7WHl5u42l9oZrtCqSqytnRgkcd62uUtde6baaCrUV gxdRY5suGbkeTUXzKGmqa9RtoUKABTNr4QlhQmGoSgruSoUmPIeyqV17NJXqRrOcytuq PINYZTpZfPJAIJJLFM9welBZK1VBPwrX+sdKWBHpguELeHRetECulzJYK65UclPfwqD2 rQuQ== X-Gm-Message-State: AOJu0Yw5Ur1Le+p6JACJU5vJOM0M/ZvhAKFF2JaNrhyRHEaFdHlcM5PF Mx6oBNdIUhYVAIkYAf8Iby3lgo4kuquFQfiDkm8m4YD31sB6mWwBzV12nXTKlwk= X-Received: by 2002:a05:600c:468b:b0:40e:8e2b:3ce8 with SMTP id p11-20020a05600c468b00b0040e8e2b3ce8mr154066wmo.51.1705995476894; Mon, 22 Jan 2024 23:37:56 -0800 (PST) Received: from [192.168.1.20] ([178.197.215.66]) by smtp.gmail.com with ESMTPSA id bg42-20020a05600c3caa00b0040e3733a32bsm44965380wmb.41.2024.01.22.23.37.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 22 Jan 2024 23:37:56 -0800 (PST) Message-ID: <0b0a4c9f-0549-4566-a900-b1d7de5838d5@linaro.org> Date: Tue, 23 Jan 2024 08:37:54 +0100 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: Tim Lunn , 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> <93d775df-af84-44ff-870e-f720a33ddf34@feathertop.org> From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf1NV9CzC3nNaFUYOY8KfN01X5SExAoVTr09ewARAQABzTRLcnp5c3p0b2Yg S296bG93c2tpIDxrcnp5c3p0b2Yua296bG93c2tpQGxpbmFyby5v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aR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <93d775df-af84-44ff-870e-f720a33ddf34@feathertop.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On 23/01/2024 05:10, Tim Lunn wrote: > > 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. Your long commit msg has just very short mention about existing driver and the rest is not helpful. Please rephrase to explain why and what you are doing it. >> >> 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. Again: it does not matter. Bindings are not about drivers. Best regards, Krzysztof