Files
OpenCellular/include/backlight.h
ChromeOS Developer eb27bf14d4 rambi: Initial EC firmware
This should have all the correct GPIO mappings.

Chipset and charger tasks are currently disabled, until we bring up
the voltage rails and I2C communication.

BUG=chrome-os-partner:22895
BRANCH=none
TEST=compiles; everything else needs to wait until we get hardware

Change-Id: Iea49fe7ab8bd17f61c8cc6c71f236a503418ee28
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/170540
Reviewed-by: Vic Yang <victoryang@chromium.org>
2013-09-25 17:50:00 +00:00

25 lines
558 B
C

/* Copyright (c) 2013 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.
*/
/* Backlight API for Chrome EC */
#ifndef __CROS_EC_BACKLIGHT_H
#define __CROS_EC_BACKLIGHT_H
#include "common.h"
/**
* Interrupt handler for backlight.
*
* @param signal Signal which triggered the interrupt.
*/
#ifdef CONFIG_BACKLIGHT_X86
void backlight_interrupt(enum gpio_signal signal);
#else
#define backlight_interrupt NULL
#endif
#endif /* __CROS_EC_BACKLIGHT_H */