mirror of
https://github.com/torvalds/linux.git
synced 2026-05-12 16:18:45 +02:00
regulator: cros-ec: Add regulator supply
Even a regulator remotely controlled by the EC will have a power supply input. Add the supply property name from the device tree binding to the regulator description. Signed-off-by: Chen-Yu Tsai <wenst@chromium.org> Link: https://patch.msgid.link/20260320083135.2455444-3-wenst@chromium.org Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
56b7c08a8b
commit
411eb30f13
|
|
@ -183,6 +183,7 @@ static int cros_ec_regulator_probe(struct platform_device *pdev)
|
|||
desc->owner = THIS_MODULE;
|
||||
desc->type = REGULATOR_VOLTAGE;
|
||||
desc->ops = &cros_ec_regulator_voltage_ops;
|
||||
desc->supply_name = "vin";
|
||||
|
||||
ret = cros_ec_regulator_init_info(dev, drvdata);
|
||||
if (ret < 0)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user