soc/mediatek/mt8196: Initialize SSPM
[coreboot2.git] / src / drivers / i2c / ww_ring / ww_ring.h
blobb43b9b851b97004954db8598060fe27a131b509b
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #ifndef __SRC_DRIVERS_VIDEO_WW_RING__H__
4 #define __SRC_DRIVERS_VIDEO_WW_RING__H__
6 /*
7 * Different types of display patterns to be shown by the LED ring while
8 * controlled by coreboot.
9 */
10 enum display_pattern {
11 WWR_ALL_OFF, /* Turn the LEDs off. */
12 WWR_RECOVERY_PUSHED, /* Recovery button push detected on start up. */
13 WWR_WIPEOUT_REQUEST, /* Held long enough for wipeout request. */
14 WWR_RECOVERY_REQUEST, /* Held long enough for recovery request. */
15 WWR_NORMAL_BOOT /* No buttons pressed, normal boot sequence. */
18 * ww_ring_display_pattern
20 * Display pattern on the ring LEDs.
22 int ww_ring_display_pattern(unsigned int i2c_bus, enum display_pattern pattern);
24 #endif