mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-27 12:57:53 +00:00
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>
This commit is contained in:
parent
53e68c20ae
commit
ca003af3aa
4 changed files with 38 additions and 5 deletions
|
@ -123,8 +123,14 @@ properties:
|
||||||
- ibm,cffps2
|
- ibm,cffps2
|
||||||
# Infineon IR36021 digital POL buck controller
|
# Infineon IR36021 digital POL buck controller
|
||||||
- infineon,ir36021
|
- infineon,ir36021
|
||||||
|
# Infineon IR38060 Voltage Regulator
|
||||||
|
- infineon,ir38060
|
||||||
# Infineon IR38064 Voltage Regulator
|
# Infineon IR38064 Voltage Regulator
|
||||||
- infineon,ir38064
|
- infineon,ir38064
|
||||||
|
# Infineon IR38164 Voltage Regulator
|
||||||
|
- infineon,ir38164
|
||||||
|
# Infineon IR38263 Voltage Regulator
|
||||||
|
- infineon,ir38263
|
||||||
# Infineon SLB9635 (Soft-) I2C TPM (old protocol, max 100khz)
|
# Infineon SLB9635 (Soft-) I2C TPM (old protocol, max 100khz)
|
||||||
- infineon,slb9635tt
|
- infineon,slb9635tt
|
||||||
# Infineon SLB9645 I2C TPM (new protocol, max 400khz)
|
# Infineon SLB9645 I2C TPM (new protocol, max 400khz)
|
||||||
|
|
|
@ -3,14 +3,38 @@ Kernel driver ir38064
|
||||||
|
|
||||||
Supported chips:
|
Supported chips:
|
||||||
|
|
||||||
|
* Infineon IR38060
|
||||||
|
|
||||||
|
Prefix: 'IR38060'
|
||||||
|
Addresses scanned: -
|
||||||
|
|
||||||
|
Datasheet: Publicly available at the Infineon website
|
||||||
|
https://www.infineon.com/dgdl/Infineon-IR38060M-DS-v03_16-EN.pdf?fileId=5546d4625c167129015c3291ea9a4cee
|
||||||
|
|
||||||
* Infineon IR38064
|
* Infineon IR38064
|
||||||
|
|
||||||
Prefix: 'ir38064'
|
Prefix: 'ir38064'
|
||||||
Addresses scanned: -
|
Addresses scanned: -
|
||||||
|
|
||||||
Datasheet: Publicly available at the Infineon webiste
|
Datasheet: Publicly available at the Infineon website
|
||||||
https://www.infineon.com/dgdl/Infineon-IR38064MTRPBF-DS-v03_07-EN.pdf?fileId=5546d462584d1d4a0158db0d9efb67ca
|
https://www.infineon.com/dgdl/Infineon-IR38064MTRPBF-DS-v03_07-EN.pdf?fileId=5546d462584d1d4a0158db0d9efb67ca
|
||||||
|
|
||||||
|
* Infineon IR38164
|
||||||
|
|
||||||
|
Prefix: 'ir38164'
|
||||||
|
Addresses scanned: -
|
||||||
|
|
||||||
|
Datasheet: Publicly available at the Infineon website
|
||||||
|
https://www.infineon.com/dgdl/Infineon-IR38164M-DS-v02_02-EN.pdf?fileId=5546d462636cc8fb01640046efea1248
|
||||||
|
|
||||||
|
* Infineon ir38263
|
||||||
|
|
||||||
|
Prefix: 'ir38263'
|
||||||
|
Addresses scanned: -
|
||||||
|
|
||||||
|
Datasheet: Publicly available at the Infineon website
|
||||||
|
https://www.infineon.com/dgdl/Infineon-IR38263M-DataSheet-v03_05-EN.pdf?fileId=5546d4625b62cd8a015bcf81f90a6e52
|
||||||
|
|
||||||
Authors:
|
Authors:
|
||||||
- Maxim Sloyko <maxims@google.com>
|
- Maxim Sloyko <maxims@google.com>
|
||||||
- Patrick Venture <venture@google.com>
|
- Patrick Venture <venture@google.com>
|
||||||
|
@ -18,7 +42,7 @@ Authors:
|
||||||
Description
|
Description
|
||||||
-----------
|
-----------
|
||||||
|
|
||||||
IR38064 is a Single-input Voltage, Synchronous Buck Regulator, DC-DC Converter.
|
IR38x6x are a Single-input Voltage, Synchronous Buck Regulator, DC-DC Converter.
|
||||||
|
|
||||||
Usage Notes
|
Usage Notes
|
||||||
-----------
|
-----------
|
||||||
|
|
|
@ -133,10 +133,10 @@ config SENSORS_IR36021
|
||||||
be called ir36021.
|
be called ir36021.
|
||||||
|
|
||||||
config SENSORS_IR38064
|
config SENSORS_IR38064
|
||||||
tristate "Infineon IR38064"
|
tristate "Infineon IR38064 and compatibles"
|
||||||
help
|
help
|
||||||
If you say yes here you get hardware monitoring support for Infineon
|
If you say yes here you get hardware monitoring support for Infineon
|
||||||
IR38064.
|
IR38060, IR38064, IR38164 and IR38263.
|
||||||
|
|
||||||
This driver can also be built as a module. If so, the module will
|
This driver can also be built as a module. If so, the module will
|
||||||
be called ir38064.
|
be called ir38064.
|
||||||
|
|
|
@ -41,7 +41,10 @@ static int ir38064_probe(struct i2c_client *client)
|
||||||
}
|
}
|
||||||
|
|
||||||
static const struct i2c_device_id ir38064_id[] = {
|
static const struct i2c_device_id ir38064_id[] = {
|
||||||
|
{"ir38060", 0},
|
||||||
{"ir38064", 0},
|
{"ir38064", 0},
|
||||||
|
{"ir38164", 0},
|
||||||
|
{"ir38263", 0},
|
||||||
{}
|
{}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -59,6 +62,6 @@ static struct i2c_driver ir38064_driver = {
|
||||||
module_i2c_driver(ir38064_driver);
|
module_i2c_driver(ir38064_driver);
|
||||||
|
|
||||||
MODULE_AUTHOR("Maxim Sloyko <maxims@google.com>");
|
MODULE_AUTHOR("Maxim Sloyko <maxims@google.com>");
|
||||||
MODULE_DESCRIPTION("PMBus driver for Infineon IR38064");
|
MODULE_DESCRIPTION("PMBus driver for Infineon IR38064 and comaptible chips");
|
||||||
MODULE_LICENSE("GPL");
|
MODULE_LICENSE("GPL");
|
||||||
MODULE_IMPORT_NS(PMBUS);
|
MODULE_IMPORT_NS(PMBUS);
|
||||||
|
|
Loading…
Reference in a new issue