projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
376e1a9
)
hwmon: (it87) Disable/enable SMBus access for IT8622E chipset
author
Frank Crawford
<frank@crawford.emu.id.au>
Sun, 16 Apr 2023 04:25:10 +0000
(14:25 +1000)
committer
Guenter Roeck
<linux@roeck-us.net>
Fri, 21 Apr 2023 14:27:23 +0000
(07:27 -0700)
Configure the IT8622E chip to disable/re-enable access via an SMBus when
reading or writing the chip's registers.
Signed-off-by: Frank Crawford <frank@crawford.emu.id.au>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/it87.c
patch
|
blob
|
history
diff --git
a/drivers/hwmon/it87.c
b/drivers/hwmon/it87.c
index
cb97b3f
..
eb38f54
100644
(file)
--- a/
drivers/hwmon/it87.c
+++ b/
drivers/hwmon/it87.c
@@
-474,6
+474,7
@@
static const struct it87_devices it87_devices[] = {
| FEAT_FIVE_PWM | FEAT_IN7_INTERNAL | FEAT_PWM_FREQ2
| FEAT_AVCC3 | FEAT_VIN3_5V,
.peci_mask = 0x07,
+ .smbus_bitmap = BIT(1) | BIT(2),
},
[it8628] = {
.name = "it8628",