Re: [PATCH v4 0/4] clk: tc9564: introduce clock and reset drivers
From: Alex Elder
Date: Thu Dec 03 2026 - 10:59:49 EST
On 12/3/26 7:52 AM, Jerome Brunet wrote:
This series introduces a devicetree binding for a clock and reset
controller, along with a clock driver and an auxiliary reset driver,
to support the clock and reset components present within the Toshiba
TC9564 chip.
The Toshiba TC9564 is an SoC that attaches to a host system via PCIe.
It includes a PCIe switch with three downstream ports. To one of
these ports an embedded PCIe endpoint is attached, and that implements
two PCI functions. BAR 4 for both PCI functions provides access to
registers controlling blocks within the SoC, including the clock and
reset controllers supported by this series.
This version of the series addresses feedback received on version 3.
It includes adding an "imply" statement in the Kconfig for the PCI
driver (located under drivers/misc).
-Alex
Version 3 is available here:
https://lore.kernel.org/all/20261125202141.1288493-1-elder@xxxxxxxxxxxx/
Between version 3 and version 4:
- The reset driver functionality has been separated from the clock
platform driver source code, into its own auxiliary device driver.
- The clock driver now creates an auxiliary device representing the
reset controller.
- A few definitions are placed in an existing common header file,
to define the interface between the clock and reset drivers.
- Reset IDs are defined in a header file separate from the clock IDs.
- The three clock types implemented by the clock driver (PLL, fixed
rate, and gate) now have distinct zero-based identifiers, and are
no longer represented within a single clk_hw_onecell_data->clk_hw[]
array.
- Clock and reset ID symbols now have a "TC9564_" prefix.
- The function that formats clock names using kasprintf() now has the
suffix "_alloc", to make it more obvious the caller must free the
returned pointer.
- The clock driver no longer *depends on* the TC9564_PCI config option
(for the TC9564 PCI driver). Instead, the PCI driver *implies* the
clock driver config option.
- The clock driver no longer specifies that it prefers asynchronous
probing.
- The reset and clock drivers have separate Kconfig options, and the
reset driver config option is *implied* by the clock driver.
It needs to come before the clock patch is the series then, for the Kconfig
symbol to exist before you reference it
Yes, I agree, and I'll reorder them. Thank you very much for
the review.
-Alex