cros_ec.h 518 B

123456789101112131415161718
  1. /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
  2. /*
  3. * DTS binding definitions used for the Chromium OS Embedded Controller.
  4. *
  5. * Copyright (c) 2022 The Chromium OS Authors. All rights reserved.
  6. */
  7. #ifndef _DT_BINDINGS_MFD_CROS_EC_H
  8. #define _DT_BINDINGS_MFD_CROS_EC_H
  9. /* Typed channel for keyboard backlight. */
  10. #define CROS_EC_PWM_DT_KB_LIGHT 0
  11. /* Typed channel for display backlight. */
  12. #define CROS_EC_PWM_DT_DISPLAY_LIGHT 1
  13. /* Number of typed channels. */
  14. #define CROS_EC_PWM_DT_COUNT 2
  15. #endif