From a170cc2a96b17a3cf6c5f25857fd0d9aaff245b4 Mon Sep 17 00:00:00 2001 From: Conor Dooley Date: Tue, 3 Mar 2026 16:41:50 +0000 Subject: [PATCH 1/2] spi: dt-bindings: mpfs-spi: permit resets 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 Signed-off-by: Linux RISC-V bot --- 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 636338d24bdfb5..b7d8acc924be48 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 From 81359586744325dbd59a250fb6c3bcab3e75adc9 Mon Sep 17 00:00:00 2001 From: Conor Dooley Date: Tue, 3 Mar 2026 16:41:52 +0000 Subject: [PATCH 2/2] spi: dt-bindings: mpfs-spi: remove clock-names 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 Signed-off-by: Linux RISC-V bot --- 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 b7d8acc924be48..8ff50dfcf58556 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