Message ID | 20240725121609.13101-2-pierre-henry.moussay@microchip.com |
---|---|
State | Changes Requested |
Headers | show |
Series | [01/17] dt-bindings: can: mpfs: add PIC64GX CAN compatibility | expand |
Context | Check | Description |
---|---|---|
robh/checkpatch | success | |
robh/patch-applied | success | |
robh/dtbs-check | warning | build log |
robh/dt-meta-schema | success |
On 25.07.2024 13:15:53, pierre-henry.moussay@microchip.com wrote: > From: Pierre-Henry Moussay <pierre-henry.moussay@microchip.com> > > PIC64GX CAN is compatible with the MPFS CAN driver, so we just update > bindings As Conor already pointed out, you should point out that the CAN hardware/IP core on the pic64gx is compatible with the one on the mpfs. regards, Marc > > Signed-off-by: Pierre-Henry Moussay <pierre-henry.moussay@microchip.com> > --- > .../devicetree/bindings/net/can/microchip,mpfs-can.yaml | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/net/can/microchip,mpfs-can.yaml b/Documentation/devicetree/bindings/net/can/microchip,mpfs-can.yaml > index 01e4d4a54df6..1219c5cb601f 100644 > --- a/Documentation/devicetree/bindings/net/can/microchip,mpfs-can.yaml > +++ b/Documentation/devicetree/bindings/net/can/microchip,mpfs-can.yaml > @@ -15,7 +15,11 @@ allOf: > > properties: > compatible: > - const: microchip,mpfs-can > + oneOf: > + - items: > + - const: microchip,pic64gx-can > + - const: microchip,mpfs-can > + - const: microchip,mpfs-can > > reg: > maxItems: 1 > -- > 2.30.2 >
diff --git a/Documentation/devicetree/bindings/net/can/microchip,mpfs-can.yaml b/Documentation/devicetree/bindings/net/can/microchip,mpfs-can.yaml index 01e4d4a54df6..1219c5cb601f 100644 --- a/Documentation/devicetree/bindings/net/can/microchip,mpfs-can.yaml +++ b/Documentation/devicetree/bindings/net/can/microchip,mpfs-can.yaml @@ -15,7 +15,11 @@ allOf: properties: compatible: - const: microchip,mpfs-can + oneOf: + - items: + - const: microchip,pic64gx-can + - const: microchip,mpfs-can + - const: microchip,mpfs-can reg: maxItems: 1