mirror of
https://github.com/linux-msm/cdba.git
synced 2026-02-25 13:11:56 -08:00
Device attached to conmux can be controlled as well. The interface depends on the conmux exposing the two control commands "hardreset" and "off". Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
14 lines
277 B
C
14 lines
277 B
C
#ifndef __CONMUX_H__
|
|
#define __CONMUX_H__
|
|
|
|
#include "device.h"
|
|
|
|
struct conmux;
|
|
|
|
void *conmux_open(struct device *dev);
|
|
int conmux_power_on(struct device *dev);
|
|
int conmux_power_off(struct device *dev);
|
|
int conmux_write(struct device *dev, const void *buf, size_t len);
|
|
|
|
#endif
|