From: David Lechner <dlechner@baylibre.com>
To: Andrew Davis <afd@ti.com>,
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>,
Markus Schneider-Pargmann <msp@baylibre.com>
Cc: Lee Jones <lee@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Siddharth Vadapalli <s-vadapalli@ti.com>,
Nishanth Menon <nm@ti.com>, Vignesh Raghavendra <vigneshr@ti.com>,
Tero Kristo <kristo@kernel.org>,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 2/5] dt-bindings: mfd: syscon: Add ti,am62-ddr-pmctrl
Date: Tue, 22 Apr 2025 11:12:47 -0500 [thread overview]
Message-ID: <8fe546e7-4fbc-4c63-ad0f-576ffb117508@baylibre.com> (raw)
In-Reply-To: <6241ff00-27e6-45ab-808e-f04e39854753@ti.com>
On 4/21/25 12:03 PM, Andrew Davis wrote:
...
> Which parent device? That is my point, if the top level node for the
> whole CTRL_MMR region is made into one big syscon, then a big regmap
> is made that covers the whole region. All the child devices also make
> regmaps covering their device range. Now these registers under the child
> device belong to two different regmaps. No synchronization is done as
> these are not the same regmap, regmap only handles this for multiple
> access to registers within the same regmap.
>
Why does the child device have to create a new/separate regmap? Can it not use
something like syscon_regmap_lookup_by_phandle_args() to get the regmap from
the "syscon" node along with 1 or more args specifying the one or few registers
out of the full range that are assigned to that specific child node? This way,
all child nodes would be using the same shared regmap.
(And yes, I know technically they don't need to be child nodes - just using that
terminology to be consistent with the previous discussion.)
next prev parent reply other threads:[~2025-04-22 16:12 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-22 10:24 [PATCH 0/5] arm64: dts: ti: k3-am62a/p: Add ddr-pmctrl, canuart-wake Markus Schneider-Pargmann
2025-01-22 10:24 ` [PATCH 1/5] dt-bindings: mfd: syscon: Add ti,j784s4-acspcie-proxy-ctrl to second list Markus Schneider-Pargmann
2025-01-22 10:34 ` Siddharth Vadapalli
2025-01-22 10:24 ` [PATCH 2/5] dt-bindings: mfd: syscon: Add ti,am62-ddr-pmctrl Markus Schneider-Pargmann
2025-01-24 8:19 ` Krzysztof Kozlowski
2025-01-24 8:22 ` Krzysztof Kozlowski
2025-01-24 16:05 ` Markus Schneider-Pargmann
2025-01-24 16:48 ` Krzysztof Kozlowski
2025-01-24 22:35 ` Andrew Davis
2025-01-27 12:09 ` Krzysztof Kozlowski
2025-02-07 14:40 ` Markus Schneider-Pargmann
2025-02-09 12:21 ` Krzysztof Kozlowski
2025-02-10 10:35 ` Markus Schneider-Pargmann
2025-02-12 19:35 ` Krzysztof Kozlowski
2025-04-09 17:39 ` Andrew Davis
2025-04-15 5:17 ` Krzysztof Kozlowski
2025-04-21 17:03 ` Andrew Davis
2025-04-22 16:12 ` David Lechner [this message]
2025-04-22 16:45 ` Andrew Davis
2025-04-23 12:07 ` Krzysztof Kozlowski
2025-04-23 14:30 ` Andrew Davis
2025-01-22 10:24 ` [PATCH 3/5] dt-bindings: mfd: syscon: Add ti,am62-canuart-wake compatible Markus Schneider-Pargmann
2025-01-24 8:21 ` Krzysztof Kozlowski
2025-01-22 10:24 ` [PATCH 4/5] arm64: dts: ti: k3-am62a-wakeup: Add ddr-pmctrl, canuart-wake Markus Schneider-Pargmann
2025-01-24 8:20 ` Krzysztof Kozlowski
2025-01-22 10:24 ` [PATCH 5/5] arm64: dts: ti: k3-am62p-j722s-common-wakeup: " Markus Schneider-Pargmann
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=8fe546e7-4fbc-4c63-ad0f-576ffb117508@baylibre.com \
--to=dlechner@baylibre.com \
--cc=afd@ti.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=kristo@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=krzysztof.kozlowski@linaro.org \
--cc=lee@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=msp@baylibre.com \
--cc=nm@ti.com \
--cc=robh@kernel.org \
--cc=s-vadapalli@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
all inboxes | Powered by JetHome®