mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-27 18:25:05 +00:00
Now that we've removed boards from ToT, also delete board-specific code used only by the removed boards. There are still more things to remove (unused charging chips, LED drivers, COMx support). More CLs coming. BUG=chromium:493866 BRANCH=none TEST=make buildall -j Change-Id: Ie6bdeaf96e61cadd77e3f6336c73b9b54ff4eabb Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/276524 Reviewed-by: Alec Berg <alecaberg@chromium.org>
26 lines
595 B
C
26 lines
595 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.
|
|
*/
|
|
|
|
/* External power detection API for Chrome EC */
|
|
|
|
#ifndef __CROS_EC_EXTPOWER_H
|
|
#define __CROS_EC_EXTPOWER_H
|
|
|
|
#include "common.h"
|
|
|
|
/**
|
|
* Return non-zero if external power is present.
|
|
*/
|
|
int extpower_is_present(void);
|
|
|
|
/**
|
|
* Interrupt handler for external power GPIOs.
|
|
*
|
|
* @param signal Signal which triggered the interrupt.
|
|
*/
|
|
void extpower_interrupt(enum gpio_signal signal);
|
|
|
|
#endif /* __CROS_EC_EXTPOWER_H */
|