Lines Matching +full:rt4831 +full:- +full:dsvn
1 // SPDX-License-Identifier: GPL-2.0-only
43 #define VLCM_N_VOLTAGES ((VLCM_MAX_UV - VLCM_MIN_UV) / STEP_UV + 1)
46 #define VPN_N_VOLTAGES ((VPN_MAX_UV - VPN_MIN_UV) / STEP_UV + 1)
134 .name = "DSVN",
136 .of_match = of_match_ptr("DSVN"),
161 regmap = dev_get_regmap(pdev->dev.parent, NULL); in rt4831_regulator_probe()
163 dev_err(&pdev->dev, "Failed to init regmap\n"); in rt4831_regulator_probe()
164 return -ENODEV; in rt4831_regulator_probe()
170 dev_err(&pdev->dev, "Failed to configure dsv mode to normal\n"); in rt4831_regulator_probe()
174 config.dev = pdev->dev.parent; in rt4831_regulator_probe()
178 rdev = devm_regulator_register(&pdev->dev, rt4831_regulator_descs + i, &config); in rt4831_regulator_probe()
180 dev_err(&pdev->dev, "Failed to register %d regulator\n", i); in rt4831_regulator_probe()
189 { "rt4831-regulator", 0 },
196 .name = "rt4831-regulator",
205 MODULE_DESCRIPTION("Richtek RT4831 DSV Regulators driver");