1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 08:42:12 +02:00

video: rockchip: rk3399-vop: Don't enable hardcoded regulator

This commit is contained in:
Ondrej Jirman
2023-05-21 20:36:13 +02:00
parent a259c15d4d
commit bdb40f1567

View File

@@ -54,9 +54,9 @@ static void rk3399_set_pin_polarity(struct udevice *dev,
* Try some common regulators. We should really get these from the * Try some common regulators. We should really get these from the
* device tree somehow. * device tree somehow.
*/ */
static const char * const rk3399_regulator_names[] = { //static const char * const rk3399_regulator_names[] = {
"vcc33_lcd" // "vcc33_lcd"
}; //};
static int rk3399_vop_probe(struct udevice *dev) static int rk3399_vop_probe(struct udevice *dev)
{ {
@@ -64,9 +64,9 @@ static int rk3399_vop_probe(struct udevice *dev)
if (!(gd->flags & GD_FLG_RELOC)) if (!(gd->flags & GD_FLG_RELOC))
return 0; return 0;
/* Probe regulators required for the RK3399 VOP */ // /* Probe regulators required for the RK3399 VOP */
rk_vop_probe_regulators(dev, rk3399_regulator_names, // rk_vop_probe_regulators(dev, rk3399_regulator_names,
ARRAY_SIZE(rk3399_regulator_names)); // ARRAY_SIZE(rk3399_regulator_names));
return rk_vop_probe(dev); return rk_vop_probe(dev);
} }