]>
git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blob - include/linux/pmbus.h
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Hardware monitoring driver for PMBus devices
5 * Copyright (c) 2010, 2011 Ericsson AB.
14 * PMBUS_SKIP_STATUS_CHECK
16 * During register detection, skip checking the status register for
17 * communication or command errors.
19 * Some PMBus chips respond with valid data when trying to read an unsupported
20 * register. For such chips, checking the status register is mandatory when
21 * trying to determine if a chip register exists or not.
22 * Other PMBus chips don't support the STATUS_CML register, or report
23 * communication errors for no explicable reason. For such chips, checking
24 * the status register must be disabled.
26 #define PMBUS_SKIP_STATUS_CHECK (1 << 0)
28 struct pmbus_platform_data
{
29 u32 flags
; /* Device specific flags */
31 /* regulator support */
33 struct regulator_init_data
*reg_init_data
;
36 #endif /* _PMBUS_H_ */