[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <033450ab-f14d-4bf7-b7ee-aaffd014820d@lunn.ch>
Date: Fri, 19 Dec 2025 16:49:27 +0100
From: Andrew Lunn <andrew@...n.ch>
To: Marco Felsch <m.felsch@...gutronix.de>
Cc: Krzysztof Kozlowski <krzk@...nel.org>, Liu Ying <victor.liu@....com>,
krzk+dt@...nel.org, Rob Herring <robh@...nel.org>,
Conor Dooley <conor+dt@...nel.org>, Shawn Guo <shawnguo@...nel.org>,
Sascha Hauer <s.hauer@...gutronix.de>,
Pengutronix Kernel Team <kernel@...gutronix.de>,
Fabio Estevam <festevam@...il.com>, Peng Fan <peng.fan@....com>,
Andrzej Hajda <andrzej.hajda@...el.com>,
Neil Armstrong <neil.armstrong@...aro.org>,
Robert Foss <rfoss@...nel.org>,
Laurent Pinchart <Laurent.pinchart@...asonboard.com>,
Jonas Karlman <jonas@...boo.se>,
Jernej Skrabec <jernej.skrabec@...il.com>,
Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>,
Maxime Ripard <mripard@...nel.org>,
Thomas Zimmermann <tzimmermann@...e.de>,
David Airlie <airlied@...il.com>, Simona Vetter <simona@...ll.ch>,
devicetree@...r.kernel.org, imx@...ts.linux.dev,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
dri-devel@...ts.freedesktop.org
Subject: Re: [PATCH v7 1/3] dt-bindings: soc: imx93-media-blk-ctrl: Add PDFC
subnode to schema and example
> We discussed the ranges/reg usage internally as well with the following
> outcome:
>
> - Situation
>
> With i.MX8M SoCs NXP introduced MIX domains. Each domain has a so
> called BLK-CTRL IP. There is no common register layout for the
> BLK-CTRL IPs. In addition to this, the register fields within one
> register may not related to the same IP. Please see my below example:
>
> The DISP_MUX register configures the DPI output routed to physical
> SoC pads as well as the internal MIPI-DSI DPI behavior. This PDFC
> bridge binding is only interested in the first part, not the 2nd.
>
> In other words, the BLK-CTRL IP can be seen as a bunch of loose
> register fields.
Why do hardware engineers keep on insisting on doing this. And why
don't software engineers when asked to review the proposed registers
push back and say No?
I know this is out of you hands, but it is something we should
encourage software engineers at SoC vendors to do. Otherwise we will
have to continually live with such a mess.
Andrew
Powered by blists - more mailing lists