Skip to content

Commit ca003af

Browse files
PatrickRudolphgroeck
authored andcommitted
hwmon/pmbus: (ir38064) Add support for IR38060, IR38164 IR38263
The IR38060, IR38164 and IR38263 can be supported using this driver. Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Signed-off-by: Arthur Heymans <arthur.heymans@9elements.com> Link: https://lore.kernel.org/r/20211213142814.264802-2-arthur.heymans@9elements.com Signed-off-by: Guenter Roeck <linux@roeck-us.net>
1 parent 53e68c2 commit ca003af

4 files changed

Lines changed: 38 additions & 5 deletions

File tree

Documentation/devicetree/bindings/trivial-devices.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,14 @@ properties:
123123
- ibm,cffps2
124124
# Infineon IR36021 digital POL buck controller
125125
- infineon,ir36021
126+
# Infineon IR38060 Voltage Regulator
127+
- infineon,ir38060
126128
# Infineon IR38064 Voltage Regulator
127129
- infineon,ir38064
130+
# Infineon IR38164 Voltage Regulator
131+
- infineon,ir38164
132+
# Infineon IR38263 Voltage Regulator
133+
- infineon,ir38263
128134
# Infineon SLB9635 (Soft-) I2C TPM (old protocol, max 100khz)
129135
- infineon,slb9635tt
130136
# Infineon SLB9645 I2C TPM (new protocol, max 400khz)

Documentation/hwmon/ir38064.rst

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,46 @@ Kernel driver ir38064
33

44
Supported chips:
55

6+
* Infineon IR38060
7+
8+
Prefix: 'IR38060'
9+
Addresses scanned: -
10+
11+
Datasheet: Publicly available at the Infineon website
12+
https://www.infineon.com/dgdl/Infineon-IR38060M-DS-v03_16-EN.pdf?fileId=5546d4625c167129015c3291ea9a4cee
13+
614
* Infineon IR38064
715

816
Prefix: 'ir38064'
917
Addresses scanned: -
1018

11-
Datasheet: Publicly available at the Infineon webiste
19+
Datasheet: Publicly available at the Infineon website
1220
https://www.infineon.com/dgdl/Infineon-IR38064MTRPBF-DS-v03_07-EN.pdf?fileId=5546d462584d1d4a0158db0d9efb67ca
1321

22+
* Infineon IR38164
23+
24+
Prefix: 'ir38164'
25+
Addresses scanned: -
26+
27+
Datasheet: Publicly available at the Infineon website
28+
https://www.infineon.com/dgdl/Infineon-IR38164M-DS-v02_02-EN.pdf?fileId=5546d462636cc8fb01640046efea1248
29+
30+
* Infineon ir38263
31+
32+
Prefix: 'ir38263'
33+
Addresses scanned: -
34+
35+
Datasheet: Publicly available at the Infineon website
36+
https://www.infineon.com/dgdl/Infineon-IR38263M-DataSheet-v03_05-EN.pdf?fileId=5546d4625b62cd8a015bcf81f90a6e52
37+
1438
Authors:
1539
- Maxim Sloyko <maxims@google.com>
1640
- Patrick Venture <venture@google.com>
1741

1842
Description
1943
-----------
2044

21-
IR38064 is a Single-input Voltage, Synchronous Buck Regulator, DC-DC Converter.
45+
IR38x6x are a Single-input Voltage, Synchronous Buck Regulator, DC-DC Converter.
2246

2347
Usage Notes
2448
-----------

drivers/hwmon/pmbus/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,10 +133,10 @@ config SENSORS_IR36021
133133
be called ir36021.
134134

135135
config SENSORS_IR38064
136-
tristate "Infineon IR38064"
136+
tristate "Infineon IR38064 and compatibles"
137137
help
138138
If you say yes here you get hardware monitoring support for Infineon
139-
IR38064.
139+
IR38060, IR38064, IR38164 and IR38263.
140140

141141
This driver can also be built as a module. If so, the module will
142142
be called ir38064.

drivers/hwmon/pmbus/ir38064.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,10 @@ static int ir38064_probe(struct i2c_client *client)
4141
}
4242

4343
static const struct i2c_device_id ir38064_id[] = {
44+
{"ir38060", 0},
4445
{"ir38064", 0},
46+
{"ir38164", 0},
47+
{"ir38263", 0},
4548
{}
4649
};
4750

@@ -59,6 +62,6 @@ static struct i2c_driver ir38064_driver = {
5962
module_i2c_driver(ir38064_driver);
6063

6164
MODULE_AUTHOR("Maxim Sloyko <maxims@google.com>");
62-
MODULE_DESCRIPTION("PMBus driver for Infineon IR38064");
65+
MODULE_DESCRIPTION("PMBus driver for Infineon IR38064 and comaptible chips");
6366
MODULE_LICENSE("GPL");
6467
MODULE_IMPORT_NS(PMBUS);

0 commit comments

Comments
 (0)