From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B831AFEE4E2 for ; Sat, 28 Feb 2026 09:58:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:In-Reply-To:References:Cc:To:From:Subject:MIME-Version:Date: Message-ID:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=nPqybairoqCj3U0Qn9GiaAysoqZ9ot/+xayXP3cEwhI=; b=czwN9X2Nx1cNobOjdnvrfSWlU8 ORqpxYNwNChh+4tknKP79wrw1XURE9A4noVtphWxcIMwaaUB+y8lzvg73CaWuOGIMaQrs6JxKVvi2 1cdzBM94LJKrsxk3DGSWTLfeK4hqunAznZ7hvHLYRhWulGqThn4JwuHEdo2cB6fSl/v5+lDQOMlpD GBXVR3OdQS+8UrA+M7775QnI2aitaboSTP1AJkoKjbVEc9ytbNPN3K5achbT4MBBX9v74aUDcxvYX nJ8zh/Q4z36IF0oPmqA/M4kbAz294z6z0nZQYZBhl1eFQuOK8XGUD0nSCPdbvdlkh8bLEo1hwKbq+ efaSmlsw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1vwH5w-00000009i4P-2uo6; Sat, 28 Feb 2026 09:58:44 +0000 Received: from sea.source.kernel.org ([2600:3c0a:e001:78e:0:1991:8:25]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1vwH5u-00000009i3h-1lYO; Sat, 28 Feb 2026 09:58:43 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sea.source.kernel.org (Postfix) with ESMTP id 3574D41959; Sat, 28 Feb 2026 09:58:40 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6576DC116D0; Sat, 28 Feb 2026 09:58:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1772272720; bh=M1ZVXAgdI+k2ver4Oogh4cCDb9JUYzaaPcG1HU2vtUU=; h=Date:Subject:From:To:Cc:References:In-Reply-To:From; b=T3Dp89SJj0XANR2+ltQcNAKjCca/I83gUhAUzfSr+JGlTWrsuJ1H3pdbKWueDJiWK rkc3keGVQFygcL4LNmcUN02q4M/qNtgPTUmPxDfmLFwmpobNV2jNnFudMToJgz6U6J YgEov3D2Ar4L56aVbPPzyK0Zyn3LodINo2uvWbJGwHx1Npcu3xpzwjw8rkx3Nmv8KW KCMFBpeBPjpmDoj8P/nQgjpdXd+p4MjL57I2SVimUfQLCItVKtfBFT+PQE686GTAc0 4zw96YkelQWqkOrvXbvr3fxFkOLelPhlQRqBzI01XvoYo/OHMmWlKf+tEY6So+ycY6 rbf7YyLDJctpQ== Message-ID: <59b442c8-da2a-40a8-b9db-1609a8eee744@kernel.org> Date: Sat, 28 Feb 2026 10:58:34 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v4 1/3] media: dt-bindings: rockchip,vdec: Add alternative reg-names order for RK35{76,88} From: Krzysztof Kozlowski To: Cristian Ciocaltea , Conor Dooley Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Detlev Casanova , Ezequiel Garcia , Mauro Carvalho Chehab , Nicolas Dufresne , Hans Verkuil , kernel@collabora.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Conor Dooley , linux-media@vger.kernel.org References: <20260226-vdec-reg-order-rk3576-v4-0-b8d72dc75250@collabora.com> <20260226-vdec-reg-order-rk3576-v4-1-b8d72dc75250@collabora.com> <20260227-observant-roaring-ara-ef7eb0@quoll> <20260227-omission-stoic-417d7109ad4d@spud> <3ab4f91e-37d0-4950-af88-01920705d31a@collabora.com> <1fe5529f-cd9f-4960-b6dd-96a2d02b8d86@kernel.org> Content-Language: en-US Autocrypt: addr=krzk@kernel.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 TNeBxJu5Ex0Izf1NV9CzC3nNaFUYOY8KfN01X5SExAoVTr09ewARAQABzSVLcnp5c3p0b2Yg S296bG93c2tpIDxrcnprQGtlcm5lbC5vcmc+wsGVBBMBCgA/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zHjUqd0t4njD/UOsuIMOQn4Ig0SdivYPfZukb5cdasKJukG1NOpbW7yRNivaCnfZz6dTawXw XRIV/KDsHQiyVxKvN73bThKhONkcX2LWuD928tAR6XMM2G5ovxLe09vuOzzfTWQDsm++9UKF a/A= In-Reply-To: <1fe5529f-cd9f-4960-b6dd-96a2d02b8d86@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260228_015842_536588_9ECFF397 X-CRM114-Status: GOOD ( 20.52 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 28/02/2026 10:54, Krzysztof Kozlowski wrote: > On 27/02/2026 18:42, Cristian Ciocaltea wrote: >> On 2/27/26 7:13 PM, Conor Dooley wrote: >>> On Fri, Feb 27, 2026 at 01:37:17PM +0200, Cristian Ciocaltea wrote: >>>> Hi Krzysztof, Conor, >>>> >>>> On 2/27/26 9:46 AM, Krzysztof Kozlowski wrote: >>>>> On Thu, Feb 26, 2026 at 12:46:53PM +0200, Cristian Ciocaltea wrote: >>>>>> With the introduction of the RK3588 SoC, and RK3576 afterwards, two more >>>>>> register blocks have been provided for the video decoder unit. >>>>>> >>>>>> However, the binding does not properly describe the new hardware layout, >>>>> >>>>> As you shown me last time with excerpt of address spaces from >>>>> datasheet/manual, the binding correctly describes the hardware and above >>>>> sentence is not true. >>>>> >>>>>> as it breaks the convention expecting the unit address to indicate the >>>>>> start of the first register range, i.e. 'function' block is listed >>>>> >>>>> Imprecise wording. "start of the main or primary register range" >>>>> >>>>> (if you have 0x1000 with one reg and 0x20000000 with everything, the >>>>> unit address will be 0x20000000). >>>>> >>>>>> before 'link' instead of the opposite. >>>>>> >>>>>> Since the binding changes have been already released and a fix would >>>>>> bring up an ABI break, mark the current 'reg-names' ordering as >>>>>> deprecated and introduce an alternative 'link,function,cache' listing >>>>>> which follows the address-based ordering according to the TRM. >>>>>> >>>>>> Additionally, drop the 'reg' description items as the order is not fixed >>>>>> anymore, while the information they offer is not very relevant anyway. >>>>> >>>>> This is fine for me. >>>> >>>> Thanks for the additional feedback! >>>> >>>> If I'm not mistaken (please correct me), the only remaining (hard) >>>> blocker for the series would be to improve this commit message. >>> >>> No, you also need to fix the problem I pointed out about reg-names being >>> optional on the devices you're relying on reg-names for. >> >> My only concern is that by marking reg-names as required we would break the ABI, > > You are ALREADY BREAKING the ABI. Really, for absolutely non-important > cosmetic change in unit address, where I asked you repeatedly to fix the > unit address, you change the ABI affecting kernel and DTS users. > > This is barely acceptable, but I am just annoyed already explain it to > you multiple times. > > But now you claim, you can break ABI for cosmetic unimportant change, > but actually doing something meaningful is a no-go? > > At least use correct arguments if you want to discuss. And I double checked now with Conor - your binding and drivers are broken here and THIS you must fix. Not the unit address you are so focused about. Best regards, Krzysztof