mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: gpio: mpfs-gpio: Add pic64gx GPIO compatibility
@ 2025-11-17 15:59 Conor Dooley
  2025-11-17 22:37 ` Rob Herring (Arm)
  2025-11-18 12:27 ` Bartosz Golaszewski
  0 siblings, 2 replies; 3+ messages in thread
From: Conor Dooley @ 2025-11-17 15:59 UTC (permalink / raw)
  To: linux-kernel
  Cc: conor, Pierre-Henry Moussay, Conor Dooley, Daire McNamara,
	Linus Walleij, Bartosz Golaszewski, Rob Herring,
	Krzysztof Kozlowski, linux-riscv, linux-gpio, devicetree

From: Pierre-Henry Moussay <pierre-henry.moussay@microchip.com>

pic64gx GPIO is compatible with mpfs-gpio controller, add it with a
fallback.

Signed-off-by: Pierre-Henry Moussay <pierre-henry.moussay@microchip.com>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
---

The diff here is kinda scuffed, because for some reason this binding had
an "items: - enum" construct to begin with.

CC: Conor Dooley <conor.dooley@microchip.com>
CC: Daire McNamara <daire.mcnamara@microchip.com>
CC: Linus Walleij <linus.walleij@linaro.org>
CC: Bartosz Golaszewski <brgl@bgdev.pl>
CC: Rob Herring <robh@kernel.org>
CC: Krzysztof Kozlowski <krzk+dt@kernel.org>
CC: linux-riscv@lists.infradead.org
CC: linux-gpio@vger.kernel.org
CC: devicetree@vger.kernel.org
CC: linux-kernel@vger.kernel.org
 .../devicetree/bindings/gpio/microchip,mpfs-gpio.yaml        | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/gpio/microchip,mpfs-gpio.yaml b/Documentation/devicetree/bindings/gpio/microchip,mpfs-gpio.yaml
index d78da7dd2a56..184432d24ea1 100644
--- a/Documentation/devicetree/bindings/gpio/microchip,mpfs-gpio.yaml
+++ b/Documentation/devicetree/bindings/gpio/microchip,mpfs-gpio.yaml
@@ -11,7 +11,10 @@ maintainers:
 
 properties:
   compatible:
-    items:
+    oneOf:
+      - items:
+          - const: microchip,pic64gx-gpio
+          - const: microchip,mpfs-gpio
       - enum:
           - microchip,mpfs-gpio
           - microchip,coregpio-rtl-v3
-- 
2.51.0


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

* Re: [PATCH] dt-bindings: gpio: mpfs-gpio: Add pic64gx GPIO compatibility
  2025-11-17 15:59 [PATCH] dt-bindings: gpio: mpfs-gpio: Add pic64gx GPIO compatibility Conor Dooley
@ 2025-11-17 22:37 ` Rob Herring (Arm)
  2025-11-18 12:27 ` Bartosz Golaszewski
  1 sibling, 0 replies; 3+ messages in thread
From: Rob Herring (Arm) @ 2025-11-17 22:37 UTC (permalink / raw)
  To: Conor Dooley
  Cc: linux-kernel, linux-riscv, linux-gpio, Daire McNamara,
	Krzysztof Kozlowski, Bartosz Golaszewski, devicetree,
	Linus Walleij, Pierre-Henry Moussay, Conor Dooley


On Mon, 17 Nov 2025 15:59:18 +0000, Conor Dooley wrote:
> From: Pierre-Henry Moussay <pierre-henry.moussay@microchip.com>
> 
> pic64gx GPIO is compatible with mpfs-gpio controller, add it with a
> fallback.
> 
> Signed-off-by: Pierre-Henry Moussay <pierre-henry.moussay@microchip.com>
> Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
> ---
> 
> The diff here is kinda scuffed, because for some reason this binding had
> an "items: - enum" construct to begin with.
> 
> CC: Conor Dooley <conor.dooley@microchip.com>
> CC: Daire McNamara <daire.mcnamara@microchip.com>
> CC: Linus Walleij <linus.walleij@linaro.org>
> CC: Bartosz Golaszewski <brgl@bgdev.pl>
> CC: Rob Herring <robh@kernel.org>
> CC: Krzysztof Kozlowski <krzk+dt@kernel.org>
> CC: linux-riscv@lists.infradead.org
> CC: linux-gpio@vger.kernel.org
> CC: devicetree@vger.kernel.org
> CC: linux-kernel@vger.kernel.org
>  .../devicetree/bindings/gpio/microchip,mpfs-gpio.yaml        | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 

Acked-by: Rob Herring (Arm) <robh@kernel.org>


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

* Re: [PATCH] dt-bindings: gpio: mpfs-gpio: Add pic64gx GPIO compatibility
  2025-11-17 15:59 [PATCH] dt-bindings: gpio: mpfs-gpio: Add pic64gx GPIO compatibility Conor Dooley
  2025-11-17 22:37 ` Rob Herring (Arm)
@ 2025-11-18 12:27 ` Bartosz Golaszewski
  1 sibling, 0 replies; 3+ messages in thread
From: Bartosz Golaszewski @ 2025-11-18 12:27 UTC (permalink / raw)
  To: linux-kernel, Conor Dooley
  Cc: Bartosz Golaszewski, Pierre-Henry Moussay, Conor Dooley,
	Daire McNamara, Linus Walleij, Bartosz Golaszewski, Rob Herring,
	Krzysztof Kozlowski, linux-riscv, linux-gpio, devicetree

From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>


On Mon, 17 Nov 2025 15:59:18 +0000, Conor Dooley wrote:
> pic64gx GPIO is compatible with mpfs-gpio controller, add it with a
> fallback.
> 
> 

Applied, thanks!

[1/1] dt-bindings: gpio: mpfs-gpio: Add pic64gx GPIO compatibility
      https://git.kernel.org/brgl/linux/c/bb7c963d0008f6d652ca7c7aa1aedae3d03425c7

Best regards,
-- 
Bartosz Golaszewski <bartosz.golaszewski@linaro.org>

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

end of thread, other threads:[~2025-11-18 12:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-11-17 15:59 [PATCH] dt-bindings: gpio: mpfs-gpio: Add pic64gx GPIO compatibility Conor Dooley
2025-11-17 22:37 ` Rob Herring (Arm)
2025-11-18 12:27 ` Bartosz Golaszewski

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®