blob: bb45a17f305560dc2a6172dac0613cc6f027c657 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
/* Copyright 2018 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*
* O2 Micro OZ554 LED driver.
*/
#ifndef __CROS_EC_OZ554_H
#define __CROS_EC_OZ554_H
#include "gpio.h"
void oz554_board_init(void) __attribute__((weak));
/**
* Update oz554 configuration array (oz554_conf).
*
* @param offset: Offset of the register to be set.
* @param data: Value to be set.
* @return EC_SUCCESS or EC_ERROR_* for errors.
*/
int oz554_set_config(int offset, int data);
void backlight_enable_interrupt(enum gpio_signal signal);
#endif
|