regulator: uniphier: Add USB-VBUS compatible string for NX1 SoC
authorKunihiko Hayashi <hayashi.kunihiko@socionext.com>
Mon, 18 Oct 2021 01:30:05 +0000 (10:30 +0900)
committerMark Brown <broonie@kernel.org>
Thu, 21 Oct 2021 15:08:07 +0000 (16:08 +0100)
Add basic support for UniPhier NX1 SoC. This includes a compatible string
and the same SoC-dependent data as PXs2 SoC.

Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Link: https://lore.kernel.org/r/1634520605-16583-3-git-send-email-hayashi.kunihiko@socionext.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/uniphier-regulator.c

index e75b097..39a68b0 100644 (file)
@@ -199,6 +199,10 @@ static const struct of_device_id uniphier_regulator_match[] = {
                .compatible = "socionext,uniphier-pxs3-usb3-regulator",
                .data = &uniphier_pxs2_usb3_data,
        },
+       {
+               .compatible = "socionext,uniphier-nx1-usb3-regulator",
+               .data = &uniphier_pxs2_usb3_data,
+       },
        { /* Sentinel */ },
 };
 MODULE_DEVICE_TABLE(of, uniphier_regulator_match);