Files
Linux_Drivers/u-boot-2021.10/include/pwrseq.h
sam.xiang f8fc109960 [uboot] create uboot from github:
repo: https://github.com/u-boot/u-boot
	commit: d80bb749fab53da72c4a0e09b8c2d2aaa3103c91

Change-Id: Ie6434426e1ec15bc08bb1832798e371f3fd5fb29
2023-03-10 20:30:57 +08:00

18 lines
333 B
C

/* SPDX-License-Identifier: GPL-2.0+ */
/*
* Copyright (c) 2013 Google, Inc
*/
#ifndef __pwrseq_h
#define __pwrseq_h
struct pwrseq_ops {
int (*set_power)(struct udevice *dev, bool enable);
};
#define pwrseq_get_ops(dev) ((struct pwrseq_ops *)(dev)->driver->ops)
int pwrseq_set_power(struct udevice *dev, bool enable);
#endif