From: Kunihiko Hayashi Date: Mon, 18 Oct 2021 01:30:05 +0000 (+0900) Subject: regulator: uniphier: Add USB-VBUS compatible string for NX1 SoC X-Git-Tag: v6.1-rc5~2407^2~5^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=32e84faa825e8bc6431186a41b68e0fcff857b72;p=platform%2Fkernel%2Flinux-starfive.git regulator: uniphier: Add USB-VBUS compatible string for NX1 SoC 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 Link: https://lore.kernel.org/r/1634520605-16583-3-git-send-email-hayashi.kunihiko@socionext.com Signed-off-by: Mark Brown --- diff --git a/drivers/regulator/uniphier-regulator.c b/drivers/regulator/uniphier-regulator.c index e75b097..39a68b0 100644 --- a/drivers/regulator/uniphier-regulator.c +++ b/drivers/regulator/uniphier-regulator.c @@ -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);