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 C96B4C7EE32 for ; Sat, 28 Jun 2025 08:58:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:References:To:From:Subject:Cc:Message-Id:Date:Mime-Version: Reply-To:Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=OhAc0JPzZMzdAP4cXznESCpC0Kf58q/cAV3dVqoOgDw=; b=M5+MTX2yrF2GHLZxFhP3mNPbro n5cFjnCClGb3LYiqyIgpcVkzHr0zVaWJxos6FIN0E6edKIrkZwXOHrkNn7duAIwy4L1PkCI+Zj67c nEk7Bl8wCEhi/rWyNTPW0MlTh8iXOcCvjdv5DH0vCrEnKs4Taf35i5NkC3qLGg3C9oAEhaLpcN4zL DUkT56qr+Q9mkwl9PNvEZV4SpTOzVEN96CM+JDQHSQiuzEfuiFSFfXzH+fKd9wY8ukIf+yFu1rrtw ZlzXe6+rK2qaApXDC1i4wKonhO59X8F/V7L5YyxXDcp6buaAkaQb1iQq6Y3I2abBmv/t6O3DB8beV YWqu/Xvw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1uVRNk-0000000GaCG-2YGX; Sat, 28 Jun 2025 08:57:56 +0000 Received: from out-186.mta1.migadu.com ([2001:41d0:203:375::ba]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1uVRNh-0000000GaBu-3T4j for linux-rockchip@lists.infradead.org; Sat, 28 Jun 2025 08:57:55 +0000 Mime-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cknow.org; s=key1; t=1751101070; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ybqsyqEQtaTyGQvk+BFdCF7y271RgdQMonWszxYB88c=; b=ROENJZTIjZyoCI9g2NPJUEtCzQMHCjP4pthou6YG3P6yiZ2a1ek19Xv1QSzBHZzkaWgQAm 3xmFVpxPyobZosVJygZtNI5iEPcIz/nFt5Mi1Gc0t8WkooJHZ4VZCjxfnlm2XBe0aAKk6J 4umnJnAB61UfIauxFGLuU7SsDfGL6YYM6ROHv/9Ge7Gvz1h2GptoLGsLO7TiXmULdPMdsC d9ksbrHAIcJaOT53g1FN6EWXLzMCU+ziHi9IXhoOw7M1fBsJ33315yDrQI5J8nUc+uOQI0 2HVtYevIo0/JXHjMDXN9et/v3aON1lm6QZ90GzwsA4oYmvanj77wP183v7Bpkw== Date: Sat, 28 Jun 2025 10:57:29 +0200 Message-Id: Cc: "Dragan Simic" , "Johan Jonker" , , , , Subject: Re: [PATCH 2/8] arm64: dts: rockchip: Refactor DSI nodes on rk3399 boards X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: "Diederik de Haas" To: =?utf-8?q?Heiko_St=C3=BCbner?= , "Quentin Schulz" , "Rob Herring" , "Krzysztof Kozlowski" , "Conor Dooley" References: <20250627152645.740981-1-didi.debian@cknow.org> <5121698.88bMQJbFj6@diego> In-Reply-To: <5121698.88bMQJbFj6@diego> X-Migadu-Flow: FLOW_OUT X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250628_015754_575338_C4BC6B01 X-CRM114-Status: GOOD ( 24.87 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============4057279385965445388==" Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org --===============4057279385965445388== Content-Type: multipart/signed; boundary=45ff3aaff99b43270ac8aa38352e1e585a3b95bead335ff4d3af9d1accaf; micalg=pgp-sha512; protocol="application/pgp-signature" --45ff3aaff99b43270ac8aa38352e1e585a3b95bead335ff4d3af9d1accaf Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Hi Heiko & Quentin, On Fri Jun 27, 2025 at 8:25 PM CEST, Heiko St=C3=BCbner wrote: > Am Freitag, 27. Juni 2025, 18:52:08 Mitteleurop=C3=A4ische Sommerzeit sch= rieb Diederik de Haas: >> On Fri Jun 27, 2025 at 6:10 PM CEST, Quentin Schulz wrote: >> > On 6/27/25 5:16 PM, Diederik de Haas wrote: >> >> The #address-cells and #size-cells properties are not useful on the D= SI >> >> controller nodes; they are only useful/required on ports and panel(s)= . >> >> So remove them from the controller node and add them where actually >> >> needed on the various rk3399 based boards. >> >>=20 >> >> Next to that, there were several (exact) redefinitions of nodes which >> >> are already present in rk3399-base.dtsi to add a mipi_out endpoint. >> >> Simplify that by referencing the mipi_out phandle and add the endpoin= t >> >> to that, which allows the removeal of the ports redefinition. >> >>=20 >> >> And fix 1 instance where the mipi_out referenced node was not sorted >> >> correctly. >> >>=20 >> >> This fixes the following DTB validation warnings: >> >>=20 >> >> unnecessary #address-cells/#size-cells without "ranges", >> >> "dma-ranges" or child "reg" property >> >>=20 >> > >> > Too many unrelated changes in this commit, please split into multiple= =20 >> > commits. >> > >> > I could identify: >> > >> > - moving address-cells/size-cells from SoC.dtsi to board dts(i)s, >> > - reordering properties to better match DT coding style=20 >> > https://www.kernel.org/doc/html/latest/devicetree/bindings/dts-coding-= style.html#order-of-properties-in-device-node >> > - use phandle to directly access ports, >> > - reorder DT node to better match DT coding style=20 >> > https://www.kernel.org/doc/html/latest/devicetree/bindings/dts-coding-= style.html#order-of-nodes >>=20 >> I initially had it as several commits, but that resulted in (f.e.) 1 >> issue being fixed, but 1 (or more) others would pop up. >> Those were then fixed in follow-up commits, but I assumed I'd get Rob's >> bot screaming at me for introducing new warnings (first). >>=20 >> And as they all relate(d) to fixing the dsi node, I then choose to >> combine them (but still separated by SoC). >> IMO there are several ways to organize the commits and each would have >> their pros and cons, so I 'settled' for this arrangement. >>=20 >> So I prefer to wait for other people's opinion first before reorganizing >> the commits again (if there's a different consensus). > > personally, I can live with the current setup here, because as you said > it's all DSI related, and also not a functional change ;-) . > > I guess you _could_ move the clock-master + status moves into a separate > patch, as that should not trigger any warnings. After having thought a bit more about it, I actually agree that the moving of address/size-cells from SoC to board dts[i] should be separate from extracting the ports/endpoints into a node with a phandle reference. This patch set is actually from 2 branches: - dtb-fixes-dsi - dtb-fixes-ports-endpoints (although I now use 'dtb-fixes-fruit') ports-endpoints is on top of dsi and came forth as it made sense to do the ports/endpoints extraction in more places. I'll then also put the DT node movement in a separate patch. I'm not a fan of putting clock-master + status property move into a separate patch as then the address/size patch would look weird (to me) as you'd see how those properties were inconsistently sorted ... just so that can be fixed in a separate patch. Cheers, Diederik --45ff3aaff99b43270ac8aa38352e1e585a3b95bead335ff4d3af9d1accaf Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQT1sUPBYsyGmi4usy/XblvOeH7bbgUCaF+ufwAKCRDXblvOeH7b biZgAQCME6QUUiJaphH6VGnwcT9ww6WdV692xu7Owyds/SRnrQD/dSITCnYbGopt SHRh40ahmolnhZl8p4Azfb0upjxs9gs= =rbBp -----END PGP SIGNATURE----- --45ff3aaff99b43270ac8aa38352e1e585a3b95bead335ff4d3af9d1accaf-- --===============4057279385965445388== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Linux-rockchip mailing list Linux-rockchip@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-rockchip --===============4057279385965445388==--