]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
spi: bcm63xx-hsspi: Add new compatible string support
authorWilliam Zhang <william.zhang@broadcom.com>
Wed, 7 Jun 2023 23:37:03 +0000 (16:37 -0700)
committerJagan Teki <jagan@edgeble.ai>
Thu, 13 Jul 2023 08:29:57 +0000 (13:59 +0530)
New compatible string brcm,bcmbca-hsspi-v1.0 is introduced based on
dts document brcm,bcm63xx-hsspi.yaml. Add it to the driver to support
this new binding.

Port from linux patch:
Link: https://lore.kernel.org/r/20230207065826.285013-6-william.zhang@broadcom.com
Signed-off-by: William Zhang <william.zhang@broadcom.com>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
drivers/spi/bcm63xx_hsspi.c

index ea34da2a3165ce07eb24478d11c1d4545c194ebf..0d12c345b1ddeb00c24221ffd082e8513601eb13 100644 (file)
@@ -313,6 +313,7 @@ static const struct dm_spi_ops bcm63xx_hsspi_ops = {
 
 static const struct udevice_id bcm63xx_hsspi_ids[] = {
        { .compatible = "brcm,bcm6328-hsspi", },
+       { .compatible = "brcm,bcmbca-hsspi-v1.0", },
        { /* sentinel */ }
 };