Message ID | 20240725121609.13101-6-pierre-henry.moussay@microchip.com (mailing list archive) |
---|---|
State | Changes Requested |
Headers | show |
Series | Add support for Microchip PIC64GX Curiosity Kit | expand |
On Thu, Jul 25, 2024 at 01:15:57PM +0100, pierre-henry.moussay@microchip.com wrote: > From: Pierre-Henry Moussay <pierre-henry.moussay@microchip.com> > > PIC64GX GPIO is compatible with mpfs-gpio driver > > Signed-off-by: Pierre-Henry Moussay <pierre-henry.moussay@microchip.com> > --- > .../bindings/gpio/microchip,mpfs-gpio.yaml | 16 +++++++++++----- > 1 file changed, 11 insertions(+), 5 deletions(-) > > diff --git a/Documentation/devicetree/bindings/gpio/microchip,mpfs-gpio.yaml b/Documentation/devicetree/bindings/gpio/microchip,mpfs-gpio.yaml > index d61569b3f15b..fdce88374a91 100644 > --- a/Documentation/devicetree/bindings/gpio/microchip,mpfs-gpio.yaml > +++ b/Documentation/devicetree/bindings/gpio/microchip,mpfs-gpio.yaml > @@ -11,10 +11,14 @@ maintainers: > > properties: > compatible: > - items: > - - enum: > - - microchip,mpfs-gpio > - - microchip,coregpio-rtl-v3 > + oneOf: > + - items: > + - const: microchip,pic64gx-gpio > + - const: microchip,mpfs-gpio > + - items: > + - enum: > + - microchip,mpfs-gpio > + - microchip,coregpio-rtl-v3 > > reg: > maxItems: 1 > @@ -69,7 +73,9 @@ allOf: > properties: > compatible: > contains: > - const: microchip,mpfs-gpio > + enum: > + - microchip,mpfs-gpio > + - microchip,pic64gx-gpio This hunk should not be needed, given you have an mpfs-gpio fallback. Thanks, Conor. > then: > required: > - interrupts > -- > 2.30.2 > >
diff --git a/Documentation/devicetree/bindings/gpio/microchip,mpfs-gpio.yaml b/Documentation/devicetree/bindings/gpio/microchip,mpfs-gpio.yaml index d61569b3f15b..fdce88374a91 100644 --- a/Documentation/devicetree/bindings/gpio/microchip,mpfs-gpio.yaml +++ b/Documentation/devicetree/bindings/gpio/microchip,mpfs-gpio.yaml @@ -11,10 +11,14 @@ maintainers: properties: compatible: - items: - - enum: - - microchip,mpfs-gpio - - microchip,coregpio-rtl-v3 + oneOf: + - items: + - const: microchip,pic64gx-gpio + - const: microchip,mpfs-gpio + - items: + - enum: + - microchip,mpfs-gpio + - microchip,coregpio-rtl-v3 reg: maxItems: 1 @@ -69,7 +73,9 @@ allOf: properties: compatible: contains: - const: microchip,mpfs-gpio + enum: + - microchip,mpfs-gpio + - microchip,pic64gx-gpio then: required: - interrupts