All of lore.kernel.org
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzk@kernel.org>
To: Bryan Brattlof <bb@ti.com>
Cc: 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>,
	linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH v4 2/3] arm64: dts: ti: k3-am62l: add initial infrastructure
Date: Sat, 12 Apr 2025 12:04:33 +0200	[thread overview]
Message-ID: <859a4fc2-45f5-4d72-9727-7979e4c15bd5@kernel.org> (raw)
In-Reply-To: <20250411182608.cpxr357humjq6ln7@bryanbrattlof.com>

On 11/04/2025 20:26, Bryan Brattlof wrote:
>>> +
>>> +		usb0_phy_ctrl: syscon@45000 {
>>> +			compatible = "ti,am62-usb-phy-ctrl", "syscon";
>>> +			reg = <0x45000 0x4>;
>>> +			bootph-all;
>>> +		};
>>> +
>>> +		usb1_phy_ctrl: syscon@45004 {
>>> +			compatible = "ti,am62-usb-phy-ctrl", "syscon";
>>> +			reg = <0x45004 0x4>;
>>
>> No, you do not get syscon per register. The entire point of syscon is to
>> collect ALL registers. Your device is the syscon, not a register.
>>
> 
> My understanding from [0] was that we would need to break this up into 
> smaller syscon nodes because the alternative would be to mark the entire 
> region as a syscon and every other node using it would need to use it's 
> base + offset which was kinda undesirable especially for the small 
> number of drivers that need data from this region.
> 
>     a-device {
>         clocks = <&epwm_tbclk 0>;


Hm? That's how you use the syscon, so how it can be undesirable?

Anyway, one register is not a device, so no device node per register.

In the link you provided I was repeating the same, so you got same
review in multiple places.

Best regards,
Krzysztof


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

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-07 15:34 [PATCH v4 0/3] arm64: dts: ti: introduce basic support for the AM62L Bryan Brattlof
2025-04-07 15:34 ` [PATCH v4 1/3] dt-bindings: arm: ti: Add binding for AM62L SoCs Bryan Brattlof
2025-04-07 15:34 ` [PATCH v4 2/3] arm64: dts: ti: k3-am62l: add initial infrastructure Bryan Brattlof
2025-04-07 17:46   ` Nishanth Menon
2025-04-07 21:34     ` Bryan Brattlof
2025-04-07 18:09   ` Andrew Davis
2025-04-07 21:35     ` Bryan Brattlof
2025-04-09  7:17   ` krzk
2025-04-11 18:26     ` Bryan Brattlof
2025-04-12 10:04       ` Krzysztof Kozlowski [this message]
2025-04-16 14:42         ` Bryan Brattlof
2025-04-17  5:39           ` Krzysztof Kozlowski
2025-04-07 15:34 ` [PATCH v4 3/3] arm64: dts: ti: k3-am62l: add initial reference board file Bryan Brattlof
2025-04-08  1:47 ` [PATCH v4 0/3] arm64: dts: ti: introduce basic support for the AM62L Rob Herring (Arm)

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=859a4fc2-45f5-4d72-9727-7979e4c15bd5@kernel.org \
    --to=krzk@kernel.org \
    --cc=bb@ti.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.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=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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.