]> git.sur5r.net Git - u-boot/blobdiff - drivers/video/simple_panel.c
Merge git://git.denx.de/u-boot-spi
[u-boot] / drivers / video / simple_panel.c
index 621930009707de1ceca28183c5d1e21f11f0d7a8..c0ce199c6af069ad1f8cc26fc44d127d1bd4ef38 100644 (file)
@@ -25,8 +25,10 @@ static int simple_panel_enable_backlight(struct udevice *dev)
        struct simple_panel_priv *priv = dev_get_priv(dev);
        int ret;
 
+       debug("%s: start, backlight = '%s'\n", __func__, priv->backlight->name);
        dm_gpio_set_value(&priv->enable, 1);
        ret = backlight_enable(priv->backlight);
+       debug("%s: done, ret = %d\n", __func__, ret);
        if (ret)
                return ret;
 
@@ -42,7 +44,7 @@ static int simple_panel_ofdata_to_platdata(struct udevice *dev)
                ret = uclass_get_device_by_phandle(UCLASS_REGULATOR, dev,
                                                   "power-supply", &priv->reg);
                if (ret) {
-                       debug("%s: Warning: cnnot get power supply: ret=%d\n",
+                       debug("%s: Warning: cannot get power supply: ret=%d\n",
                              __func__, ret);
                        if (ret != -ENOENT)
                                return ret;
@@ -88,6 +90,8 @@ static const struct panel_ops simple_panel_ops = {
 static const struct udevice_id simple_panel_ids[] = {
        { .compatible = "simple-panel" },
        { .compatible = "auo,b133xtn01" },
+       { .compatible = "auo,b116xw03" },
+       { .compatible = "auo,b133htn01" },
        { }
 };