Files
Linux_Drivers/u-boot-2021.10/arch/x86/include/asm/lpss.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

37 lines
685 B
C

/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright 2019 Google LLC
*/
#ifndef __ASM_LPSS_H
#define __ASM_LPSS_H
struct udevice;
/* D0 and D3 enable config */
enum lpss_pwr_state {
STATE_D0 = 0,
STATE_D3 = 3
};
/**
* lpss_reset_release() - Release device from reset
*
* This is used for devices which have LPSS support.
*
* @regs: Pointer to device registers
*/
void lpss_reset_release(void *regs);
/**
* lpss_set_power_state() - Change power state of a device
*
* This is used for devices which have LPSS support.
*
* @dev: Device to update
* @state: New power state to set
*/
void lpss_set_power_state(struct udevice *dev, enum lpss_pwr_state state);
#endif