public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] spi: dt-bindings: mpfs-spi: permit resets
@ 2026-03-03 16:41 Conor Dooley
  2026-03-03 16:41 ` [PATCH 2/2] spi: dt-bindings: mpfs-spi: remove clock-names Conor Dooley
  2026-03-03 19:19 ` [PATCH 1/2] spi: dt-bindings: mpfs-spi: permit resets Mark Brown
  0 siblings, 2 replies; 3+ messages in thread
From: Conor Dooley @ 2026-03-03 16:41 UTC (permalink / raw)
  To: linux-spi
  Cc: conor, Conor Dooley, Daire McNamara, Mark Brown, Rob Herring,
	Krzysztof Kozlowski, linux-riscv, devicetree, linux-kernel

From: Conor Dooley <conor.dooley@microchip.com>

CoreSPI, CoreQSPI and the hardened versions of them on mpfs and
pic64gx have a reset pin. For the first two, usually this is wired to
a common fabric reset not managed by software and for the latter two
the platform firmware takes them out of reset on first-party boards
(or those using modified versions of the vendor firmware), but not all
boards may take this approach. Permit providing a reset in devicetree
for Linux, or other devicetree-consuming software, to use.

Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
---
CC: Conor Dooley <conor.dooley@microchip.com>
CC: Daire McNamara <daire.mcnamara@microchip.com>
CC: Mark Brown <broonie@kernel.org>
CC: Rob Herring <robh@kernel.org>
CC: Krzysztof Kozlowski <krzk+dt@kernel.org>
CC: linux-riscv@lists.infradead.org
CC: linux-spi@vger.kernel.org
CC: devicetree@vger.kernel.org
CC: linux-kernel@vger.kernel.org
---
 Documentation/devicetree/bindings/spi/microchip,mpfs-spi.yaml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/spi/microchip,mpfs-spi.yaml b/Documentation/devicetree/bindings/spi/microchip,mpfs-spi.yaml
index 636338d24bdfb..b7d8acc924be4 100644
--- a/Documentation/devicetree/bindings/spi/microchip,mpfs-spi.yaml
+++ b/Documentation/devicetree/bindings/spi/microchip,mpfs-spi.yaml
@@ -41,6 +41,9 @@ properties:
   clocks:
     maxItems: 1
 
+  resets:
+    maxItems: 1
+
   microchip,apb-datawidth:
     description: APB bus data width in bits.
     $ref: /schemas/types.yaml#/definitions/uint32
-- 
2.51.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 2/2] spi: dt-bindings: mpfs-spi: remove clock-names
  2026-03-03 16:41 [PATCH 1/2] spi: dt-bindings: mpfs-spi: permit resets Conor Dooley
@ 2026-03-03 16:41 ` Conor Dooley
  2026-03-03 19:19 ` [PATCH 1/2] spi: dt-bindings: mpfs-spi: permit resets Mark Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Conor Dooley @ 2026-03-03 16:41 UTC (permalink / raw)
  To: linux-spi
  Cc: conor, Conor Dooley, Daire McNamara, Mark Brown, Rob Herring,
	Krzysztof Kozlowski, linux-riscv, devicetree, linux-kernel

From: Conor Dooley <conor.dooley@microchip.com>

This binding documented clock-names, but never bothered to document what
the name should be, rendering the property useless to software. It's not
a required property, so it can just be removed without harming any
software that conjured up it's own name for the clock, as they could not
rely on it being there to begin with.

Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
---
CC: Conor Dooley <conor.dooley@microchip.com>
CC: Daire McNamara <daire.mcnamara@microchip.com>
CC: Mark Brown <broonie@kernel.org>
CC: Rob Herring <robh@kernel.org>
CC: Krzysztof Kozlowski <krzk+dt@kernel.org>
CC: linux-riscv@lists.infradead.org
CC: linux-spi@vger.kernel.org
CC: devicetree@vger.kernel.org
CC: linux-kernel@vger.kernel.org
---
 Documentation/devicetree/bindings/spi/microchip,mpfs-spi.yaml | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/Documentation/devicetree/bindings/spi/microchip,mpfs-spi.yaml b/Documentation/devicetree/bindings/spi/microchip,mpfs-spi.yaml
index b7d8acc924be4..8ff50dfcf5855 100644
--- a/Documentation/devicetree/bindings/spi/microchip,mpfs-spi.yaml
+++ b/Documentation/devicetree/bindings/spi/microchip,mpfs-spi.yaml
@@ -35,9 +35,6 @@ properties:
   interrupts:
     maxItems: 1
 
-  clock-names:
-    maxItems: 1
-
   clocks:
     maxItems: 1
 
-- 
2.51.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/2] spi: dt-bindings: mpfs-spi: permit resets
  2026-03-03 16:41 [PATCH 1/2] spi: dt-bindings: mpfs-spi: permit resets Conor Dooley
  2026-03-03 16:41 ` [PATCH 2/2] spi: dt-bindings: mpfs-spi: remove clock-names Conor Dooley
@ 2026-03-03 19:19 ` Mark Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2026-03-03 19:19 UTC (permalink / raw)
  To: linux-spi, Conor Dooley
  Cc: Conor Dooley, Daire McNamara, Rob Herring, Krzysztof Kozlowski,
	linux-riscv, devicetree, linux-kernel

On Tue, 03 Mar 2026 16:41:50 +0000, Conor Dooley wrote:
> CoreSPI, CoreQSPI and the hardened versions of them on mpfs and
> pic64gx have a reset pin. For the first two, usually this is wired to
> a common fabric reset not managed by software and for the latter two
> the platform firmware takes them out of reset on first-party boards
> (or those using modified versions of the vendor firmware), but not all
> boards may take this approach. Permit providing a reset in devicetree
> for Linux, or other devicetree-consuming software, to use.
> 
> [...]

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next

Thanks!

[1/2] spi: dt-bindings: mpfs-spi: permit resets
      commit: f5d09914d473059e4e851c6a3bfa9f0e848c63e4
[2/2] spi: dt-bindings: mpfs-spi: remove clock-names
      commit: 96f06d055ca03d1dfb5830fd07ff6eadbd66264c

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-03-03 19:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-03 16:41 [PATCH 1/2] spi: dt-bindings: mpfs-spi: permit resets Conor Dooley
2026-03-03 16:41 ` [PATCH 2/2] spi: dt-bindings: mpfs-spi: remove clock-names Conor Dooley
2026-03-03 19:19 ` [PATCH 1/2] spi: dt-bindings: mpfs-spi: permit resets Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox