[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YaUyDUsyEoaA6nky@robh.at.kernel.org>
Date: Mon, 29 Nov 2021 14:03:25 -0600
From: Rob Herring <robh@...nel.org>
To: conor.dooley@...rochip.com
Cc: linus.walleij@...aro.org, bgolaszewski@...libre.com,
jassisinghbrar@...il.com, paul.walmsley@...ive.com,
palmer@...belt.com, aou@...s.berkeley.edu, a.zummo@...ertech.it,
alexandre.belloni@...tlin.com, broonie@...nel.org,
gregkh@...uxfoundation.org, lewis.hanly@...rochip.com,
daire.mcnamara@...rochip.com, atish.patra@....com,
ivan.griffin@...rochip.com, linux-gpio@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-i2c@...r.kernel.org, linux-riscv@...ts.infradead.org,
linux-crypto@...r.kernel.org, linux-rtc@...r.kernel.org,
linux-spi@...r.kernel.org, linux-usb@...r.kernel.org,
krzysztof.kozlowski@...onical.com, geert@...ux-m68k.org,
bin.meng@...driver.com
Subject: Re: [PATCH 03/13] dt-bindings: soc/microchip: update sys ctrlr
compat string
On Mon, Nov 08, 2021 at 03:05:44PM +0000, conor.dooley@...rochip.com wrote:
> From: Conor Dooley <conor.dooley@...rochip.com>
>
> Update 'compatible' strings for system controller drivers to the
> approved Microchip name.
Why do I care what Microchip approved? You all picked identifiers
(that's all it is) and now get to live with them.
>
> Signed-off-by: Conor Dooley <conor.dooley@...rochip.com>
> ---
> .../bindings/mailbox/microchip,polarfire-soc-mailbox.yaml | 4 +++-
> .../soc/microchip/microchip,polarfire-soc-sys-controller.yaml | 4 +++-
> drivers/mailbox/mailbox-mpfs.c | 1 +
> 3 files changed, 7 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/mailbox/microchip,polarfire-soc-mailbox.yaml b/Documentation/devicetree/bindings/mailbox/microchip,polarfire-soc-mailbox.yaml
> index bbb173ea483c..b08c8a158eea 100644
> --- a/Documentation/devicetree/bindings/mailbox/microchip,polarfire-soc-mailbox.yaml
> +++ b/Documentation/devicetree/bindings/mailbox/microchip,polarfire-soc-mailbox.yaml
> @@ -11,7 +11,9 @@ maintainers:
>
> properties:
> compatible:
> - const: microchip,polarfire-soc-mailbox
> + enum:
> + - microchip,polarfire-soc-mailbox
> + - microchip,mpfs-mailbox
>
> reg:
> items:
> diff --git a/Documentation/devicetree/bindings/soc/microchip/microchip,polarfire-soc-sys-controller.yaml b/Documentation/devicetree/bindings/soc/microchip/microchip,polarfire-soc-sys-controller.yaml
> index 2cd3bc6bd8d6..d6c953cd154b 100644
> --- a/Documentation/devicetree/bindings/soc/microchip/microchip,polarfire-soc-sys-controller.yaml
> +++ b/Documentation/devicetree/bindings/soc/microchip/microchip,polarfire-soc-sys-controller.yaml
> @@ -19,7 +19,9 @@ properties:
> maxItems: 1
>
> compatible:
> - const: microchip,polarfire-soc-sys-controller
> + enum:
> + - microchip,polarfire-soc-sys-controller
> + - microchip,mpfs-sys-controller
>
> required:
> - compatible
> diff --git a/drivers/mailbox/mailbox-mpfs.c b/drivers/mailbox/mailbox-mpfs.c
> index 0d6e2231a2c7..9d5e558a6ee6 100644
> --- a/drivers/mailbox/mailbox-mpfs.c
> +++ b/drivers/mailbox/mailbox-mpfs.c
> @@ -233,6 +233,7 @@ static int mpfs_mbox_probe(struct platform_device *pdev)
>
> static const struct of_device_id mpfs_mbox_of_match[] = {
> {.compatible = "microchip,polarfire-soc-mailbox", },
> + {.compatible = "microchip,mpfs-mailbox", },
> {},
> };
> MODULE_DEVICE_TABLE(of, mpfs_mbox_of_match);
> --
> 2.33.1
>
>
Powered by blists - more mailing lists