1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Copyright (c) 2016 Google, Inc
4 * Written by Simon Glass <sjg@chromium.org>
12 * enable_backlight() - Enable the panel backlight
14 * @dev: Panel device containing the backlight to enable
15 * @return 0 if OK, -ve on error
17 int (*enable_backlight)(struct udevice *dev);
20 #define panel_get_ops(dev) ((struct panel_ops *)(dev)->driver->ops)
23 * panel_enable_backlight() - Enable the panel backlight
25 * @dev: Panel device containing the backlight to enable
26 * @return 0 if OK, -ve on error
28 int panel_enable_backlight(struct udevice *dev);