[PATCH v6 0/2] Add driver for Infineon TDA38740/TDA38725
Colin Huang <[email protected]>
| Newsgroups | org.kernel.vger.linux-doc,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-hwmon,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
Signed-off-by: Colin Huang <[email protected]> --- Changes in v6: - Drop of_match_ptr() to support ACPI PRP0001 matching with CONFIG_OF disabled. - Remove the now-unnecessary __maybe_unused annotation from the OF match table. - Link to v5: https://lore.kernel.org/r/[email protected] Changes in v5: - Remove blank line in yaml header. - Add interrupts property in yaml file. - Uses a fallback compatible: infineon,tda38725 can be listed as a fallback for infineon,tda38740. - Removed the driver-local identify callback and its duplicate VOUT_MODE check. and set format[PSC_VOLTAGE_OUT] = linear in the static driver info. - Dropped the per-device tda38740_data allocation/copy path, since there is no longer any runtime mutation of driver info. Probe now passes the static tda38740_info directly to pmbus_do_probe(). - Link to v4: https://lore.kernel.org/r/[email protected] Changes in v4: - Fix the DT binding so that compatible only enumerates the valid hardware variants and does not imply a preferred or fallback selection policy. - Remove the vout-scale-micro property and related code. - Rename the example node to reflect the regulator function. - Link to v3: https://lore.kernel.org/r/[email protected] Changes in v3: - Clarify that TDA38725 and TDA38740 share the same PMBus programming model, with infineon,tda38740 as the preferred compatible string and infineon,tda38725 as a compatibility alias. - The optional VOUT scaling property with a documented default value of 1.0 to support devices that require output-voltage scaling. - Update the driver to apply the scaling for READ_VOUT. - Link to v2: https://lore.kernel.org/r/[email protected] Changes in v2: - Use standard http:// URIs for $id and $schema - Add maintainers section. - Use C99 named initializers. - Link to v1: https://lore.kernel.org/r/[email protected] --- Colin Huang (2): dt-bindings: hwmon: pmbus: Add Infineon tda38740 and tda38725 hwmon: (pmbus/tda38740) Add driver for Infineon TDA38740/TDA38725 .../bindings/hwmon/pmbus/infineon,tda38740.yaml | 55 ++++++++++++++++++ Documentation/hwmon/index.rst | 1 + Documentation/hwmon/tda38740.rst | 65 ++++++++++++++++++++++ drivers/hwmon/pmbus/Kconfig | 9 +++ drivers/hwmon/pmbus/Makefile | 1 + drivers/hwmon/pmbus/tda38740.c | 64 +++++++++++++++++++++ 6 files changed, 195 insertions(+) --- base-commit: ba08432bda66a7889d8f3d1581dabf10f59b25eb change-id: 20260903-add-tda38740-and-tda38725-32bbb097d41e Best regards, -- Colin Huang <[email protected]>