xref: /freebsd-src/sys/contrib/device-tree/include/dt-bindings/mfd/cros_ec.h (revision d5b0e70f7e04d971691517ce1304d86a1e367e2e)
1*d5b0e70fSEmmanuel Vadot /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
2*d5b0e70fSEmmanuel Vadot /*
3*d5b0e70fSEmmanuel Vadot  * DTS binding definitions used for the Chromium OS Embedded Controller.
4*d5b0e70fSEmmanuel Vadot  *
5*d5b0e70fSEmmanuel Vadot  * Copyright (c) 2022 The Chromium OS Authors. All rights reserved.
6*d5b0e70fSEmmanuel Vadot  */
7*d5b0e70fSEmmanuel Vadot 
8*d5b0e70fSEmmanuel Vadot #ifndef _DT_BINDINGS_MFD_CROS_EC_H
9*d5b0e70fSEmmanuel Vadot #define _DT_BINDINGS_MFD_CROS_EC_H
10*d5b0e70fSEmmanuel Vadot 
11*d5b0e70fSEmmanuel Vadot /* Typed channel for keyboard backlight. */
12*d5b0e70fSEmmanuel Vadot #define CROS_EC_PWM_DT_KB_LIGHT		0
13*d5b0e70fSEmmanuel Vadot /* Typed channel for display backlight. */
14*d5b0e70fSEmmanuel Vadot #define CROS_EC_PWM_DT_DISPLAY_LIGHT	1
15*d5b0e70fSEmmanuel Vadot /* Number of typed channels. */
16*d5b0e70fSEmmanuel Vadot #define CROS_EC_PWM_DT_COUNT		2
17*d5b0e70fSEmmanuel Vadot 
18*d5b0e70fSEmmanuel Vadot #endif
19