[PATCH 14/17] dt-bindings: soc: microchip: mpfs-sys-controller: Add PIC64GX compatibility
Conor Dooley
conor at kernel.org
Thu Jul 25 07:34:01 PDT 2024
On Thu, Jul 25, 2024 at 01:16:06PM +0100, pierre-henry.moussay at microchip.com wrote:
> From: Pierre-Henry Moussay <pierre-henry.moussay at microchip.com>
>
> PIC64GX is compatible with mpfs-sys-controller driver without additional
> feature
Bindings are about hardware, not drivers. Are you sure a fallback is
appropriate here? Does the system controller expose the same features as
it does on PolarFire SoC? For example, FPGA reprogramming: the driver
creates a platform device to which the auto update driver is bound - I
don't think that that is appropriate on a pic64gx.
Thanks,
Conor.
>
> Signed-off-by: Pierre-Henry Moussay <pierre-henry.moussay at microchip.com>
> ---
> .../soc/microchip/microchip,mpfs-sys-controller.yaml | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/soc/microchip/microchip,mpfs-sys-controller.yaml b/Documentation/devicetree/bindings/soc/microchip/microchip,mpfs-sys-controller.yaml
> index a3fa04f3a1bd..af89d5959747 100644
> --- a/Documentation/devicetree/bindings/soc/microchip/microchip,mpfs-sys-controller.yaml
> +++ b/Documentation/devicetree/bindings/soc/microchip/microchip,mpfs-sys-controller.yaml
> @@ -24,7 +24,11 @@ properties:
> maxItems: 1
>
> compatible:
> - const: microchip,mpfs-sys-controller
> + oneOf:
> + - items:
> + - const: microchip,pic64gx-sys-controller
> + - const: microchip,mpfs-sys-controller
> + - const: microchip,mpfs-sys-controller
>
> microchip,bitstream-flash:
> $ref: /schemas/types.yaml#/definitions/phandle
> --
> 2.30.2
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-riscv/attachments/20240725/c41870a5/attachment.sig>
More information about the linux-riscv
mailing list