1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-02 17:22:22 +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 e3e2d64abd
commit ff3f71dead

View File

@@ -55,9 +55,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)
{ {
@@ -65,9 +65,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);
} }