From: Fil Dunsky via B4 Relay <devnull+filipp.dunsky.gmail.com@kernel.org>
To: Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Philipp Zabel <p.zabel@pengutronix.de>,
Stephen Boyd <sboyd@kernel.org>,
Brian Masney <bmasney+clk@redhat.com>,
Jerome Brunet <jbrunet+clk@baylibre.com>,
Linus Walleij <linusw@kernel.org>,
Bartosz Golaszewski <brgl@kernel.org>,
Fil Dunsky <filipp.dunsky@gmail.com>
Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org,
linux-gpio@vger.kernel.org
Subject: [PATCH v6 0/6] soc: cortina: Add CS7542 global clocks, reset controller and pinctrl
Date: Sun, 29 Nov 2026 15:00:49 +0300 [thread overview]
Message-ID: <20261129-cs7542-syscon-v6-0-553dc4c01460@gmail.com> (raw)
The CS7542 global register block selects the CPU and bus clocks, gates
the three PCIe ports and provides the PCIe and network reset lines. Its
pinctrl child selects GPIO or peripheral functions on the same pads.
This series includes the clock changes previously posted in the global
controls series together with the original clock and pinctrl patches.
The early clock provider supplies timer clocks before platform devices
probe. A separate platform driver in drivers/reset/ uses the same
syscon regmap. The PCIe and Ethernet consumers control the timing and
ordering of their own resets.
The global reset provider also exposes the separate flash reset at
RESET bit 14, for NAND consumers to acquire without asserting a pulse.
Validated each binding and the complete parent example. Compiled the
reset driver as ARM built-in and module objects with warnings as errors.
Recompiled the published Almond+ DTS v2 with the new reset specifiers.
Changes in v6:
- Define the pinctrl child schema before the global-control binding.
- Put the complete parent and pinctrl example in the global schema.
- Require clock, reset and pinctrl properties on the global node.
- Drop the unpublished composite reset ID and use contiguous IDs.
- Link to v5: https://patch.msgid.link/20261127-cs7542-syscon-v5-0-d5a373c72b05@gmail.com
Changes in v5:
- Treat failed regmap reads as unprepared in the PCIe gate state callback.
- Use devm_kzalloc_obj() for the native reset controller allocation.
- Describe the separate flash reset and add its reset identifier.
- Retain Linus Walleij's Reviewed-by on the unchanged pinctrl driver.
- Link to v4: https://patch.msgid.link/20261125-cs7542-syscon-v4-0-3337bb0d3b48@gmail.com
Changes in v4:
- Combine the strap-selected clocks and PCIe gates in one clock driver.
- Move reset registration to a separate driver in drivers/reset/.
- Expose the seven network-engine reset lines individually. Leave the
PCIe reset pulse timing to the PCIe driver.
- Fold in the global-controls binding and its clock and reset IDs.
- Global-controls v1: https://lore.kernel.org/all/20261124-b4-cs7542-global-controls-v1-0-12548785df2c@gmail.com/
- Link to v3: https://lore.kernel.org/all/20261123-cs7542-syscon-v3-0-f1c07a1703f8@gmail.com/
Changes in v3:
- Introduce the parent pinctrl property and schema reference together with
the pinctrl binding in patch 2, so patch 1 validates independently.
- Re-run dt_binding_check and examples at both binding commits. The final
source tree and driver code are unchanged from v2.
- Link to v2: https://patch.msgid.link/20261123-cs7542-syscon-v2-0-1cd74b2522f9@gmail.com
Changes in v2:
- Identify GPIO mux functions with function_is_gpio so strict ownership
allows a GPIO consumer after the default GPIO state; UART stays exclusive.
- Link to v1: https://patch.msgid.link/20261123-cs7542-syscon-v1-0-49858e631449@gmail.com
---
Fil Dunsky (6):
dt-bindings: pinctrl: Add Cortina Systems CS7542 pin mux
dt-bindings: soc: Add Cortina Systems CS7542 global controls
clk: Add Cortina Systems CS7542 clocks
reset: Add Cortina Systems CS7542 global reset controller
pinctrl: Add Cortina Systems CS7542 pin multiplexer
MAINTAINERS: Add CS7542 global control support
.../bindings/pinctrl/cortina,cs7542-pinctrl.yaml | 61 +++++++
.../soc/cortina/cortina,cs7542-syscon.yaml | 76 ++++++++
MAINTAINERS | 12 ++
drivers/clk/Kconfig | 9 +
drivers/clk/Makefile | 1 +
drivers/clk/clk-cs7542.c | 161 +++++++++++++++++
drivers/pinctrl/Kconfig | 13 ++
drivers/pinctrl/Makefile | 1 +
drivers/pinctrl/pinctrl-cs7542.c | 195 +++++++++++++++++++++
drivers/reset/Kconfig | 10 ++
drivers/reset/Makefile | 1 +
drivers/reset/reset-cs7542.c | 118 +++++++++++++
include/dt-bindings/clock/cortina,cs7542-clock.h | 13 ++
include/dt-bindings/reset/cortina,cs7542-reset.h | 18 ++
14 files changed, 689 insertions(+)
---
base-commit: b6a9fa34ce4187cb69d3c588a4bbffc31ce5db8f
change-id: 20261123-cs7542-syscon-273d545c7af2
Best regards,
--
Fil Dunsky <filipp.dunsky@gmail.com>
next reply other threads:[~2026-11-29 12:01 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-29 12:00 Fil Dunsky via B4 Relay [this message]
2026-11-29 12:00 ` [PATCH v6 1/6] dt-bindings: pinctrl: Add Cortina Systems CS7542 pin mux Fil Dunsky via B4 Relay
2026-11-29 12:00 ` [PATCH v6 2/6] dt-bindings: soc: Add Cortina Systems CS7542 global controls Fil Dunsky via B4 Relay
2026-11-29 12:00 ` [PATCH v6 3/6] clk: Add Cortina Systems CS7542 clocks Fil Dunsky via B4 Relay
2026-11-29 12:00 ` [PATCH v6 4/6] reset: Add Cortina Systems CS7542 global reset controller Fil Dunsky via B4 Relay
2026-11-29 12:00 ` [PATCH v6 5/6] pinctrl: Add Cortina Systems CS7542 pin multiplexer Fil Dunsky via B4 Relay
2026-11-29 12:00 ` [PATCH v6 6/6] MAINTAINERS: Add CS7542 global control support Fil Dunsky via B4 Relay
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=20261129-cs7542-syscon-v6-0-553dc4c01460@gmail.com \
--to=devnull+filipp.dunsky.gmail.com@kernel.org \
--cc=bmasney+clk@redhat.com \
--cc=brgl@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=filipp.dunsky@gmail.com \
--cc=jbrunet+clk@baylibre.com \
--cc=krzk+dt@kernel.org \
--cc=linusw@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=p.zabel@pengutronix.de \
--cc=robh@kernel.org \
--cc=sboyd@kernel.org \
/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®