Devicetree
 help / color / mirror / Atom feed
From: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
To: Andrew Davis <afd@ti.com>
Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org, Nishanth Menon <nm@ti.com>,
	Vignesh Raghavendra <vigneshr@ti.com>,
	Tero Kristo <kristo@kernel.org>, Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>, Abraham I <kishon@kernel.org>,
	Roger Quadros <rogerq@kernel.org>,
	Devarsh Thakkar <devarsht@ti.com>, Swamil Jain <s-jain1@ti.com>
Subject: Re: [PATCH 0/6] arm64: ti: Use syscon for the Control Module
Date: Fri, 12 Jun 2026 13:06:03 +0300	[thread overview]
Message-ID: <059f2866-b39d-4c26-8889-b5acff5372ad@ideasonboard.com> (raw)
In-Reply-To: <29c9bd27-df32-4c56-8df2-987722d02b9a@ti.com>

Hi Andrew,

On 29/05/2026 01:59, Andrew Davis wrote:
> On 5/28/26 7:53 AM, Tomi Valkeinen wrote:
>> I have been trying to get BeagleY-AI display support to upstream:
>>
>> 20260513-beagley-ai-display-v2-0-9e9bcefde6bc@ideasonboard.com
>>
>> One difficulty has been the handling of the Control Module region, as
>> we need access to a single in that region, surrounded by registers for
>> other subsystems. In my series I made the related node a syscon, thus
>> allowing versatile access to the registers:
>>
>> https://lore.kernel.org/all/20260513-beagley-ai-display- 
>> v2-14-9e9bcefde6bc@ideasonboard.com/
>>
>> However, that's not a correct way to handle it. I realized we already
>> have ti,j721e-system-controller.yaml binding for older SoCs, which has
>> syscon but it's not used for the newer TI SoCs. This series takes the
>> same binding into use for the newer SoCs.
>>
> 
> We moved away from this system-controller thing because it was always
> a hack to allow us to poke into random control registers from nodes
> throughout the DT. This was a mess and also caused issues with multiple
> mappings to the same registers (some sub nodes inside the control space
> also make their own mappings). If you need access to registers then make
> a node with those registers in the `reg` property.

Like in this patch (dss_dpi0_clk_ctrl)?

https://lore.kernel.org/all/20260420-beagley-ai-display-v1-14-f628543dfd14%40ideasonboard.com/

My understanding is that that's NACKed, as we end up adding new syscon 
compats and syscon nodes for (possibly many) single register blocks.

  Tomi


  reply	other threads:[~2026-06-12 10:06 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-28 12:53 [PATCH 0/6] arm64: ti: Use syscon for the Control Module Tomi Valkeinen
2026-05-28 12:53 ` [PATCH 1/6] arm64: dts: ti: j784s4/j742s2: Rename pcieN-ctrl nodes to pcie-ctrl Tomi Valkeinen
2026-05-28 12:53 ` [PATCH 2/6] arm64: dts: ti: k3-am62*: Rename 'clock-controller' to 'clock' Tomi Valkeinen
2026-05-28 12:53 ` [PATCH 3/6] arm64: dts: ti: k3-am62-main: Rename 'oldi-io-controller' to 'dss-oldi-io-ctrl' Tomi Valkeinen
2026-05-28 12:53 ` [PATCH 4/6] dt-bindings: soc: ti: ti,j721e-system-controller: Relax the bindings Tomi Valkeinen
2026-05-30 11:40   ` Krzysztof Kozlowski
2026-05-28 12:53 ` [PATCH 5/6] dt-bindings: soc: ti: ti,j721e-system-controller: Add more compatibles Tomi Valkeinen
2026-05-30 11:39   ` Krzysztof Kozlowski
2026-05-28 12:53 ` [PATCH 6/6] arm64: dts: ti: Use syscon and simple-mfd for the main conf region Tomi Valkeinen
2026-05-28 22:59 ` [PATCH 0/6] arm64: ti: Use syscon for the Control Module Andrew Davis
2026-06-12 10:06   ` Tomi Valkeinen [this message]
2026-06-26 11:42   ` Tomi Valkeinen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=059f2866-b39d-4c26-8889-b5acff5372ad@ideasonboard.com \
    --to=tomi.valkeinen@ideasonboard.com \
    --cc=afd@ti.com \
    --cc=conor+dt@kernel.org \
    --cc=devarsht@ti.com \
    --cc=devicetree@vger.kernel.org \
    --cc=kishon@kernel.org \
    --cc=kristo@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nm@ti.com \
    --cc=robh@kernel.org \
    --cc=rogerq@kernel.org \
    --cc=s-jain1@ti.com \
    --cc=vigneshr@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox