mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-07 13:43:51 +00:00
hwmon: (pmbus) Add ON_OFF_CONFIG register bits
Add bits found in the ON_OFF_CONFIG register. Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Signed-off-by: Naresh Solanki <Naresh.Solanki@9elements.com> Link: https://lore.kernel.org/r/20230831190731.265099-2-Naresh.Solanki@9elements.com Signed-off-by: Guenter Roeck <linux@roeck-us.net>
This commit is contained in:
parent
30eea19c67
commit
05010fcf58
@ -243,6 +243,15 @@ enum pmbus_regs {
|
||||
*/
|
||||
#define PB_OPERATION_CONTROL_ON BIT(7)
|
||||
|
||||
/*
|
||||
* ON_OFF_CONFIG
|
||||
*/
|
||||
#define PB_ON_OFF_CONFIG_POWERUP_CONTROL BIT(4)
|
||||
#define PB_ON_OFF_CONFIG_OPERATION_REQ BIT(3)
|
||||
#define PB_ON_OFF_CONFIG_EN_PIN_REQ BIT(2)
|
||||
#define PB_ON_OFF_CONFIG_POLARITY_HIGH BIT(1)
|
||||
#define PB_ON_OFF_CONFIG_TURN_OFF_FAST BIT(0)
|
||||
|
||||
/*
|
||||
* WRITE_PROTECT
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user