Files
cdba/conmux.h
Bjorn Andersson 196282fb06 conmux: Introduce conmux as additional device controller
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>
2018-03-12 19:09:15 -07:00

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