projects/linux·commit dcab75a3

Merge tag 'mfd-next-6.15' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd

dcab75a3 · Linus Torvalds <[email protected]> · 2025-03-29 14:33:13 -07:00

Pull MFD updates from Lee Jones:
 "Maxim MAX77705:
   - Added core MFD driver.
   - Added charger driver.
   - Added devicetree bindings for the charger and MFD core.
   - Added Haptic controller support via the input subsystem.
   - Added LED support.
   - Added support to simple-mfd-i2c for fuel gauge and hwmon.

  Samsung S2MPU05 (Exynos7870 PMIC):
   - Added core MFD support.
   - Added Regulator support for 21 LDOs and 5 BUCKs.
   - Added devicetree bindings for regulators and the PMIC core.

  TI TPS65215 & TPS65214:
   - Added support to the existing TPS65219 driver.
   - Added devicetree bindings.

  STMicroelectronics STM32MP25:
   - Added support to the stm32-timers MFD driver.
   - Added devicetree bindings.

  Congatec Board Controller (CGBC):
   - Added HWMON support for internal sensors.
   - Added support for the conga-SA8 module.

  Microchip LAN969X:
   - Enabled the at91-usart MFD driver for this architecture.

  MediaTek MT6359:
   - Added mfd_cell for mt6359-accdet to allow its driver to probe.

  Other misc driver updates:
   - AXP20X (AXP717): Added AXP717_TS_PIN_CFG register to writeable regs
     for temperature sensor configuration.
   - SM501: Switched to using BIT() macro to mitigate potential integer
     overflows in GPIO functions.
   - ENE KB3930: Added a NULL pointer check for off_gpios during probe
     to prevent potential dereference.
   - SYSCON: Added a check for invalid resource size to prevent issues
     from DT misconfiguration.
   - CGBC: Corrected signedness issues in cgbc_session_request
   - intel_soc_pmic_chtdc_ti / intel_soc_pmic_crc: Removed unneeded
     explicit assignment to REGCACHE_NONE.
   - ipaq-micro / tps65010: Switched to using str_enable_disable()
     helpers for clarity and potential size reduction.
   - upboard-fpga: Removed unnecessary ACPI_PTR() annotation.
   - max8997: Removed unused max8997_irq_exit() function, using devm_*
     helpers instead.
   - lp3943: Dropped unused #include <linux/pwm.h> from the header file.
   - db8500-prcmu: Removed needless return statements in void APIs.
   - qnap-mcu: Replaced commas with semicolons between expressions for
     correctness.
   - STA2X11: Removed the core MFD driver as the underlying platform
     support was removed.
   - EZX-PCAP: Removed the unused pcap_adc_sync function.
   - PCF50633 (OpenMoko PMIC): Removed the entire driver (core, adc,
     gpio, irq) as the underlying s3c24xx platform support was removed.

  Devicetree updates:
   - Converted fsl,mcu-mpc8349emitx binding to YAML
   - Added qcom,msm8937-tcsr compatible
   - Added microchip,sama7d65-flexcom compatible
   - Added rockchip,rk3528-qos syscon compatible
   - Added airoha,en7581-pbus-csr syscon compatible
   - Added microchip,sama7d65-ddr3phy syscon compatible
   - Added microchip,sama7d65-sfrbu syscon compatible"

* tag 'mfd-next-6.15' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd: (49 commits)
  mfd: cgbc-core: Add support for conga-SA8
  dt-bindings: mfd: syscon: Add microchip,sama7d65-sfrbu
  dt-bindings: mfd: syscon: Add microchip,sama7d65-ddr3phy
  mfd: cgbc: Add support for HWMON
  dt-bindings: mfd: syscon: Add the pbus-csr node for Airoha EN7581 SoC
  mfd: cgbc-core: Cleanup signedness in cgbc_session_request()
  mfd: pcf50633: Remove remaining PCF50633 support
  mfd: pcf50633: Remove unused platform IRQ code
  mfd: pcF50633-gpio: Remove unused driver
  mfd: pcf50633-adc: Remove unused driver
  mfd: qnap-mcu: Convert commas to semicolons in qnap_mcu_exec()
  mfd: mt6397-core: Add mfd_cell for mt6359-accdet
  dt-bindings: mfd: syscon: Add rk3528 QoS register compatible
  dt-bindings: mfd: atmel,sama5d2-flexcom: Add microchip,sama7d65-flexcom
  mfd: ezx-pcap: Remove unused pcap_adc_sync
  mfd: db8500-prcmu: Remove needless return in three void APIs
  mfd: Remove STA2x11 core driver
  mfd: max77620: Allow building as a module
  mfd: ene-kb3930: Fix a potential NULL pointer dereference
  dt-bindings: mfd: qcom,tcsr: Add compatible for MSM8937
  ...
Commit
dcab75a3c8a3b136781a6d8d088afdca974291ae
Parents
054b7477 · a8d13765

Merge commit. Changes below are compared with the first parent: 054b7477.

Changes

69 files changed · +2722 −2599

FileStatusAddDelContent
Documentation/devicetree/bindings/mfd/atmel,sama5d2-flexcom.yamlmodified+4−5View file
Documentation/devicetree/bindings/mfd/fsl,mcu-mpc8349emitx.yamladded+53−0View file
Documentation/devicetree/bindings/mfd/maxim,max77705.yamladded+158−0View file
Documentation/devicetree/bindings/mfd/qcom,tcsr.yamlmodified+1−0View file
Documentation/devicetree/bindings/mfd/samsung,s2mps11.yamlmodified+13−0View file
Documentation/devicetree/bindings/mfd/st,stm32-timers.yamlmodified+14−4View file
Documentation/devicetree/bindings/mfd/syscon.yamlmodified+6−0View file
Documentation/devicetree/bindings/power/supply/maxim,max77705.yamladded+50−0View file
Documentation/devicetree/bindings/powerpc/fsl/mcu-mpc8349emitx.txtdeleted+0−17View before deletion
Documentation/devicetree/bindings/regulator/samsung,s2mpu05.yamladded+47−0View file
Documentation/devicetree/bindings/regulator/ti,tps65219.yamlmodified+26−1View file
MAINTAINERSmodified+4−0View file
arch/mips/configs/ip27_defconfigmodified+0−3View file
drivers/input/misc/Kconfigmodified+3−3View file
drivers/input/misc/max77693-haptic.cmodified+12−1View file
drivers/leds/Kconfigmodified+8−0View file
drivers/leds/Makefilemodified+1−0View file
drivers/leds/leds-max77705.cadded+275−0View file
drivers/mfd/Kconfigmodified+15−32View file
drivers/mfd/Makefilemodified+1−5View file
drivers/mfd/axp20x.cmodified+1−0View file
drivers/mfd/cgbc-core.cmodified+9−1View file
drivers/mfd/ene-kb3930.cmodified+1−1View file
drivers/mfd/ezx-pcap.cmodified+0−33View file
drivers/mfd/intel_soc_pmic_chtdc_ti.cmodified+0−1View file
drivers/mfd/intel_soc_pmic_crc.cmodified+0−1View file
drivers/mfd/ipaq-micro.cmodified+2−1View file
drivers/mfd/max77620.cmodified+5−0View file
drivers/mfd/max77705.cadded+182−0View file
drivers/mfd/max8997-irq.cmodified+4−11View file
drivers/mfd/mt6397-core.cmodified+12−0View file
drivers/mfd/pcf50633-adc.cdeleted+0−255View before deletion
drivers/mfd/pcf50633-core.cdeleted+0−304View before deletion
drivers/mfd/pcf50633-gpio.cdeleted+0−92View before deletion
drivers/mfd/pcf50633-irq.cdeleted+0−312View before deletion
drivers/mfd/qnap-mcu.cmodified+3−3View file
drivers/mfd/sec-core.cmodified+12−0View file
drivers/mfd/sec-irq.cmodified+34−0View file
drivers/mfd/simple-mfd-i2c.cmodified+11−0View file
drivers/mfd/sm501.cmodified+3−3View file
drivers/mfd/sta2x11-mfd.cdeleted+0−645View before deletion
drivers/mfd/stm32-timers.cmodified+30−1View file
drivers/mfd/syscon.cmodified+8−1View file
drivers/mfd/tps65010.cmodified+7−6View file
drivers/mfd/tps65219.cmodified+266−13View file
drivers/mfd/upboard-fpga.cmodified+1−2View file
drivers/power/supply/Kconfigmodified+6−0View file
drivers/power/supply/Makefilemodified+1−0View file
drivers/power/supply/max77705_charger.cadded+581−0View file
drivers/regulator/Kconfigmodified+2−2View file
drivers/regulator/s2mps11.cmodified+91−1View file
include/linux/mfd/axp20x.hmodified+1−0View file
include/linux/mfd/dbx500-prcmu.hmodified+3−3View file
include/linux/mfd/ezx-pcap.hmodified+0−1View file
include/linux/mfd/lp3943.hmodified+0−1View file
include/linux/mfd/max77693-common.hmodified+3−1View file
include/linux/mfd/max77705-private.hadded+195−0View file
include/linux/mfd/max8997-private.hmodified+0−1View file
include/linux/mfd/pcf50633/adc.hdeleted+0−69View before deletion
include/linux/mfd/pcf50633/gpio.hdeleted+0−48View before deletion
include/linux/mfd/pcf50633/mbc.hdeleted+0−130View before deletion
include/linux/mfd/pcf50633/pmic.hdeleted+0−68View before deletion
include/linux/mfd/samsung/core.hmodified+1−0View file
include/linux/mfd/samsung/irq.hmodified+44−0View file
include/linux/mfd/samsung/s2mpu05.hadded+183−0View file
include/linux/mfd/sta2x11-mfd.hdeleted+0−506View before deletion
include/linux/mfd/stm32-timers.hmodified+9−0View file
include/linux/mfd/tps65219.hmodified+125−11View file
include/linux/power/max77705_charger.hadded+195−0View file

Only the first 600 diff lines are shown. Download the complete patch.

Documentation/devicetree/bindings/mfd/atmel,sama5d2-flexcom.yaml

View file
diff --git a/Documentation/devicetree/bindings/mfd/atmel,sama5d2-flexcom.yaml b/Documentation/devicetree/bindings/mfd/atmel,sama5d2-flexcom.yaml
index 0dc6a40..c7d6cf9 100644
--- a/Documentation/devicetree/bindings/mfd/atmel,sama5d2-flexcom.yaml
+++ b/Documentation/devicetree/bindings/mfd/atmel,sama5d2-flexcom.yaml
@@ -19,12 +19,11 @@ properties:
oneOf:
- const: atmel,sama5d2-flexcom
- items:
- - const: microchip,sam9x7-flexcom
+ - enum:
+ - microchip,sam9x7-flexcom
+ - microchip,sama7d65-flexcom
+ - microchip,sama7g5-flexcom
- const: atmel,sama5d2-flexcom
- - items:
- - const: microchip,sama7g5-flexcom
- - const: atmel,sama5d2-flexcom
-
reg:
maxItems: 1

Documentation/devicetree/bindings/mfd/fsl,mcu-mpc8349emitx.yaml

View file
diff --git a/Documentation/devicetree/bindings/mfd/fsl,mcu-mpc8349emitx.yaml b/Documentation/devicetree/bindings/mfd/fsl,mcu-mpc8349emitx.yaml
new file mode 100644
index 0000000..8beb2ed
--- /dev/null
+++ b/Documentation/devicetree/bindings/mfd/fsl,mcu-mpc8349emitx.yaml
@@ -0,0 +1,53 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/mfd/fsl,mcu-mpc8349emitx.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Freescale MPC8349E-mITX-compatible Power Management Micro Controller Unit (MCU)
+
+maintainers:
+ - J. Neuschäfer <[email protected]>
+
+properties:
+ compatible:
+ oneOf:
+ - items:
+ - enum:
+ - fsl,mc9s08qg8-mpc8315erdb
+ - fsl,mc9s08qg8-mpc8349emitx
+ - fsl,mc9s08qg8-mpc8377erdb
+ - fsl,mc9s08qg8-mpc8378erdb
+ - fsl,mc9s08qg8-mpc8379erdb
+ - const: fsl,mcu-mpc8349emitx
+
+ reg:
+ maxItems: 1
+
+ "#gpio-cells":
+ const: 2
+
+ gpio-controller: true
+
+required:
+ - compatible
+ - reg
+ - "#gpio-cells"
+ - gpio-controller
+
+additionalProperties: false
+
+examples:
+ - |
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ mcu@a {
+ #gpio-cells = <2>;
+ compatible = "fsl,mc9s08qg8-mpc8349emitx",
+ "fsl,mcu-mpc8349emitx";
+ reg = <0x0a>;
+ gpio-controller;
+ };
+ };

Documentation/devicetree/bindings/mfd/maxim,max77705.yaml

View file
diff --git a/Documentation/devicetree/bindings/mfd/maxim,max77705.yaml b/Documentation/devicetree/bindings/mfd/maxim,max77705.yaml
new file mode 100644
index 0000000..0ec89f0
--- /dev/null
+++ b/Documentation/devicetree/bindings/mfd/maxim,max77705.yaml
@@ -0,0 +1,158 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/mfd/maxim,max77705.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Maxim MAX77705 Companion Power Management and USB Type-C interface
+
+maintainers:
+ - Dzmitry Sankouski <[email protected]>
+
+description: |
+ This is a part of device tree bindings for Maxim MAX77705.
+
+ Maxim MAX77705 is a Companion Power Management and Type-C
+ interface IC which includes charger, fuelgauge, LED, haptic motor driver and
+ Type-C management.
+
+properties:
+ compatible:
+ const: maxim,max77705
+
+ reg:
+ maxItems: 1
+
+ interrupts:
+ maxItems: 1
+
+ haptic:
+ type: object
+ additionalProperties: false
+
+ properties:
+ compatible:
+ const: maxim,max77705-haptic
+
+ haptic-supply: true
+
+ pwms:
+ maxItems: 1
+
+ required:
+ - compatible
+ - haptic-supply
+ - pwms
+
+ leds:
+ type: object
+ additionalProperties: false
+ description:
+ Up to 4 LED channels supported.
+
+ properties:
+ compatible:
+ const: maxim,max77705-rgb
+
+ "#address-cells":
+ const: 1
+
+ "#size-cells":
+ const: 0
+
+ multi-led:
+ type: object
+ $ref: /schemas/leds/leds-class-multicolor.yaml#
+ unevaluatedProperties: false
+
+ properties:
+ "#address-cells":
+ const: 1
+
+ "#size-cells":
+ const: 0
+
+ patternProperties:
+ "^led@[0-3]$":
+ type: object
+ $ref: /schemas/leds/common.yaml#
+ unevaluatedProperties: false
+
+ properties:
+ reg:
+ maxItems: 1
+
+ required:
+ - reg
+
+ patternProperties:
+ "^led@[0-3]$":
+ type: object
+ $ref: /schemas/leds/common.yaml#
+ unevaluatedProperties: false
+
+ properties:
+ reg:
+ maxItems: 1
+
+ required:
+ - reg
+
+ required:
+ - compatible
+
+required:
+ - compatible
+
+additionalProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/interrupt-controller/irq.h>
+ #include <dt-bindings/leds/common.h>
+
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ pmic@66 {
+ compatible = "maxim,max77705";
+ reg = <0x66>;
+ interrupt-parent = <&pm8998_gpios>;
+ interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
+ pinctrl-0 = <&chg_int_default>;
+ pinctrl-names = "default";
+
+ leds {
+ compatible = "maxim,max77705-rgb";
+
+ multi-led {
+ color = <LED_COLOR_ID_RGB>;
+ function = LED_FUNCTION_STATUS;
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ led@1 {
+ reg = <1>;
+ color = <LED_COLOR_ID_RED>;
+ };
+
+ led@2 {
+ reg = <2>;
+ color = <LED_COLOR_ID_GREEN>;
+ };
+
+ led@3 {
+ reg = <3>;
+ color = <LED_COLOR_ID_BLUE>;
+ };
+ };
+ };
+
+ haptic {
+ compatible = "maxim,max77705-haptic";
+ haptic-supply = <&vib_regulator>;
+ pwms = <&vib_pwm 0 50000>;
+ };
+ };
+ };

Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml

View file
diff --git a/Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml b/Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml
index a503b67..7e7225a 100644
--- a/Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml
+++ b/Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml
@@ -52,6 +52,7 @@ properties:
- qcom,tcsr-msm8660
- qcom,tcsr-msm8916
- qcom,tcsr-msm8917
+ - qcom,tcsr-msm8937
- qcom,tcsr-msm8953
- qcom,tcsr-msm8960
- qcom,tcsr-msm8974

Documentation/devicetree/bindings/mfd/samsung,s2mps11.yaml

View file
diff --git a/Documentation/devicetree/bindings/mfd/samsung,s2mps11.yaml b/Documentation/devicetree/bindings/mfd/samsung,s2mps11.yaml
index a4be642..ac5d0c1 100644
--- a/Documentation/devicetree/bindings/mfd/samsung,s2mps11.yaml
+++ b/Documentation/devicetree/bindings/mfd/samsung,s2mps11.yaml
@@ -25,6 +25,7 @@ properties:
- samsung,s2mps14-pmic
- samsung,s2mps15-pmic
- samsung,s2mpu02-pmic
+ - samsung,s2mpu05-pmic
clocks:
$ref: /schemas/clock/samsung,s2mps11.yaml
@@ -125,6 +126,18 @@ allOf:
samsung,s2mps11-acokb-ground: false
samsung,s2mps11-wrstbi-ground: false
+ - if:
+ properties:
+ compatible:
+ contains:
+ const: samsung,s2mpu05-pmic
+ then:
+ properties:
+ regulators:
+ $ref: /schemas/regulator/samsung,s2mpu05.yaml
+ samsung,s2mps11-acokb-ground: false
+ samsung,s2mps11-wrstbi-ground: false
+
examples:
- |
#include <dt-bindings/interrupt-controller/irq.h>

Documentation/devicetree/bindings/mfd/st,stm32-timers.yaml

View file
diff --git a/Documentation/devicetree/bindings/mfd/st,stm32-timers.yaml b/Documentation/devicetree/bindings/mfd/st,stm32-timers.yaml
index b0e438f..66aa155 100644
--- a/Documentation/devicetree/bindings/mfd/st,stm32-timers.yaml
+++ b/Documentation/devicetree/bindings/mfd/st,stm32-timers.yaml
@@ -21,7 +21,9 @@ maintainers:
properties:
compatible:
- const: st,stm32-timers
+ enum:
+ - st,stm32-timers
+ - st,stm32mp25-timers
reg:
maxItems: 1
@@ -36,6 +38,9 @@ properties:
resets:
maxItems: 1
+ power-domains:
+ maxItems: 1
+
dmas:
minItems: 1
maxItems: 7
@@ -77,7 +82,9 @@ properties:
properties:
compatible:
- const: st,stm32-pwm
+ enum:
+ - st,stm32-pwm
+ - st,stm32mp25-pwm
"#pwm-cells":
const: 3
@@ -113,7 +120,9 @@ properties:
properties:
compatible:
- const: st,stm32-timer-counter
+ enum:
+ - st,stm32-timer-counter
+ - st,stm32mp25-timer-counter
required:
- compatible
@@ -128,12 +137,13 @@ patternProperties:
enum:
- st,stm32-timer-trigger
- st,stm32h7-timer-trigger
+ - st,stm32mp25-timer-trigger
reg:
description: Identify trigger hardware block.
items:
minimum: 0
- maximum: 16
+ maximum: 19
required:
- compatible

Documentation/devicetree/bindings/mfd/syscon.yaml

View file
diff --git a/Documentation/devicetree/bindings/mfd/syscon.yaml b/Documentation/devicetree/bindings/mfd/syscon.yaml
index 2836e47..c6bbb19 100644
--- a/Documentation/devicetree/bindings/mfd/syscon.yaml
+++ b/Documentation/devicetree/bindings/mfd/syscon.yaml
@@ -27,6 +27,7 @@ select:
compatible:
contains:
enum:
+ - airoha,en7581-pbus-csr
- al,alpine-sysfabric-service
- allwinner,sun8i-a83t-system-controller
- allwinner,sun8i-h3-system-controller
@@ -90,6 +91,8 @@ select:
- microchip,lan966x-cpu-syscon
- microchip,mpfs-sysreg-scb
- microchip,sam9x60-sfr
+ - microchip,sama7d65-ddr3phy
+ - microchip,sama7d65-sfrbu
- microchip,sama7g5-ddr3phy
- mscc,ocelot-cpu-syscon
- mstar,msc313-pmsleep
@@ -127,6 +130,7 @@ properties:
compatible:
items:
- enum:
+ - airoha,en7581-pbus-csr
- al,alpine-sysfabric-service
- allwinner,sun8i-a83t-system-controller
- allwinner,sun8i-h3-system-controller
@@ -190,6 +194,8 @@ properties:
- microchip,lan966x-cpu-syscon
- microchip,mpfs-sysreg-scb
- microchip,sam9x60-sfr
+ - microchip,sama7d65-ddr3phy
+ - microchip,sama7d65-sfrbu
- microchip,sama7g5-ddr3phy
- mscc,ocelot-cpu-syscon
- mstar,msc313-pmsleep

Documentation/devicetree/bindings/power/supply/maxim,max77705.yaml

View file
diff --git a/Documentation/devicetree/bindings/power/supply/maxim,max77705.yaml b/Documentation/devicetree/bindings/power/supply/maxim,max77705.yaml
new file mode 100644
index 0000000..bce7fab
--- /dev/null
+++ b/Documentation/devicetree/bindings/power/supply/maxim,max77705.yaml
@@ -0,0 +1,50 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/power/supply/maxim,max77705.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Maxim MAX777705 charger
+
+maintainers:
+ - Dzmitry Sankouski <[email protected]>
+
+description: |
+ This is a device tree bindings for charger found in Maxim MAX77705 chip.
+
+allOf:
+ - $ref: power-supply.yaml#
+
+properties:
+ compatible:
+ const: maxim,max77705-charger
+
+ interrupts:
+ maxItems: 1
+
+ reg:
+ maxItems: 1
+
+required:
+ - compatible
+ - reg
+ - monitored-battery
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/interrupt-controller/irq.h>
+
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ charger@69 {
+ compatible = "maxim,max77705-charger";
+ reg = <0x69>;
+ monitored-battery = <&battery>;
+ interrupt-parent = <&pm8998_gpios>;
+ interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
+ };
+ };

Documentation/devicetree/bindings/powerpc/fsl/mcu-mpc8349emitx.txt

View before deletion
diff --git a/Documentation/devicetree/bindings/powerpc/fsl/mcu-mpc8349emitx.txt b/Documentation/devicetree/bindings/powerpc/fsl/mcu-mpc8349emitx.txt
deleted file mode 100644
index 37f91fa..0000000
--- a/Documentation/devicetree/bindings/powerpc/fsl/mcu-mpc8349emitx.txt
+++ /dev/null
@@ -1,17 +0,0 @@
-Freescale MPC8349E-mITX-compatible Power Management Micro Controller Unit (MCU)
-
-Required properties:
-- compatible : "fsl,<mcu-chip>-<board>", "fsl,mcu-mpc8349emitx".
-- reg : should specify I2C address (0x0a).
-- #gpio-cells : should be 2.
-- gpio-controller : should be present.
-
-Example:
-
-mcu@a {
- #gpio-cells = <2>;
- compatible = "fsl,mc9s08qg8-mpc8349emitx",
- "fsl,mcu-mpc8349emitx";
- reg = <0x0a>;
- gpio-controller;
-};

Documentation/devicetree/bindings/regulator/samsung,s2mpu05.yaml

View file
diff --git a/Documentation/devicetree/bindings/regulator/samsung,s2mpu05.yaml b/Documentation/devicetree/bindings/regulator/samsung,s2mpu05.yaml
new file mode 100644
index 0000000..378518a
--- /dev/null
+++ b/Documentation/devicetree/bindings/regulator/samsung,s2mpu05.yaml
@@ -0,0 +1,47 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/regulator/samsung,s2mpu05.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Samsung S2MPU05 Power Management IC regulators
+
+maintainers:
+ - Kaustabh Chakraborty <[email protected]>
+
+description: |
+ This is a part of device tree bindings for S2M and S5M family of Power
+ Management IC (PMIC).
+
+ The S2MPU05 provides buck and LDO regulators.
+
+ See also Documentation/devicetree/bindings/mfd/samsung,s2mps11.yaml for
+ additional information and example.
+
+patternProperties:
+ # 21 LDOs
+ "^ldo([1-9]|10|2[5-9]|3[0-5])$":
+ type: object
+ $ref: regulator.yaml#
+ unevaluatedProperties: false
+ description:
+ Properties for single LDO regulator.
+
+ LDOs 11-24 are used for CP, and they're left unimplemented due to lack
+ of documentation on these regulators.
+
+ required:
+ - regulator-name
+
+ # 5 bucks
+ "^buck[1-5]$":
+ type: object
+ $ref: regulator.yaml#
+ unevaluatedProperties: false
+ description:
+ Properties for single buck regulator.
+
+ required:
+ - regulator-name
+
+additionalProperties: false

Documentation/devicetree/bindings/regulator/ti,tps65219.yaml

View file
diff --git a/Documentation/devicetree/bindings/regulator/ti,tps65219.yaml b/Documentation/devicetree/bindings/regulator/ti,tps65219.yaml
index 78e6452..7c64e58 100644
--- a/Documentation/devicetree/bindings/regulator/ti,tps65219.yaml
+++ b/Documentation/devicetree/bindings/regulator/ti,tps65219.yaml
@@ -4,7 +4,7 @@
$id: http://devicetree.org/schemas/regulator/ti,tps65219.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
-title: TI tps65219 Power Management Integrated Circuit regulators
+title: TI TPS65214/TPS65215/TPS65219 Power Management Integrated Circuit
maintainers:
- Jerome Neanne <[email protected]>
@@ -12,9 +12,20 @@ maintainers:
description: |
Regulator nodes should be named to buck<number> and ldo<number>.
+ TI TPS65219 is a Power Management IC with 3 Buck regulators, 4 Low
+ Drop-out Regulators (LDOs), 1 GPIO, 2 GPOs, and power-button.
+
+ TI TPS65215 is a derivative of TPS65219 with 3 Buck regulators, 2 Low
+ Drop-out Regulators (LDOs), 1 GPIO, 1 GPO, and power-button.
+
+ TI TPS65214 is a derivative of TPS65219 with 3 Buck regulators, 2 Low
+ Drop-out Regulators (LDOs), 1 GPIO, 1 GPO, and power-button.
+
properties:
compatible:
enum:
+ - ti,tps65214
+ - ti,tps65215
- ti,tps65219
reg:
@@ -90,6 +101,20 @@ required:
additionalProperties: false
+allOf:
+ - if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - ti,tps65214
+ - ti,tps65215
+ then:
+ properties:
+ regulators:
+ patternProperties:
+ "^ldo[3-4]$": false
+
examples:
- |
#include <dt-bindings/interrupt-controller/arm-gic.h>

MAINTAINERS

View file
diff --git a/MAINTAINERS b/MAINTAINERS
index 407c458..a2bdc39 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -14524,12 +14524,15 @@ B: mailto:[email protected]
F: Documentation/devicetree/bindings/*/maxim,max14577.yaml
F: Documentation/devicetree/bindings/*/maxim,max77686.yaml
F: Documentation/devicetree/bindings/*/maxim,max77693.yaml
+F: Documentation/devicetree/bindings/*/maxim,max77705*.yaml
F: Documentation/devicetree/bindings/*/maxim,max77843.yaml
F: Documentation/devicetree/bindings/clock/maxim,max77686.txt
+F: drivers/leds/leds-max77705.c
F: drivers/*/*max77843.c
F: drivers/*/max14577*.c
F: drivers/*/max77686*.c
F: drivers/*/max77693*.c
+F: drivers/*/max77705*.c
F: drivers/clk/clk-max77686.c
F: drivers/extcon/extcon-max14577.c
F: drivers/extcon/extcon-max77693.c
@@ -14537,6 +14540,7 @@ F: drivers/rtc/rtc-max77686.c
F: include/linux/mfd/max14577*.h
F: include/linux/mfd/max77686*.h
F: include/linux/mfd/max77693*.h
+F: include/linux/mfd/max77705*.h

This diff is incomplete. Download the complete patch.

arch/mips/configs/ip27_defconfig

View file

This diff is incomplete. Download the complete patch.

drivers/input/misc/Kconfig

View file

This diff is incomplete. Download the complete patch.

drivers/input/misc/max77693-haptic.c

View file

This diff is incomplete. Download the complete patch.

drivers/leds/Kconfig

View file

This diff is incomplete. Download the complete patch.

drivers/leds/Makefile

View file

This diff is incomplete. Download the complete patch.

drivers/leds/leds-max77705.c

View file

This diff is incomplete. Download the complete patch.

drivers/mfd/Kconfig

View file

This diff is incomplete. Download the complete patch.

drivers/mfd/Makefile

View file

This diff is incomplete. Download the complete patch.

drivers/mfd/axp20x.c

View file

This diff is incomplete. Download the complete patch.

drivers/mfd/cgbc-core.c

View file

This diff is incomplete. Download the complete patch.

drivers/mfd/ene-kb3930.c

View file

This diff is incomplete. Download the complete patch.

drivers/mfd/ezx-pcap.c

View file

This diff is incomplete. Download the complete patch.

drivers/mfd/intel_soc_pmic_chtdc_ti.c

View file

This diff is incomplete. Download the complete patch.

drivers/mfd/intel_soc_pmic_crc.c

View file

This diff is incomplete. Download the complete patch.

drivers/mfd/ipaq-micro.c

View file

This diff is incomplete. Download the complete patch.

drivers/mfd/max77620.c

View file

This diff is incomplete. Download the complete patch.

drivers/mfd/max77705.c

View file

This diff is incomplete. Download the complete patch.

drivers/mfd/max8997-irq.c

View file

This diff is incomplete. Download the complete patch.

drivers/mfd/mt6397-core.c

View file

This diff is incomplete. Download the complete patch.

drivers/mfd/pcf50633-adc.c

View before deletion

This diff is incomplete. Download the complete patch.

drivers/mfd/pcf50633-core.c

View before deletion

This diff is incomplete. Download the complete patch.

drivers/mfd/pcf50633-gpio.c

View before deletion

This diff is incomplete. Download the complete patch.

drivers/mfd/pcf50633-irq.c

View before deletion

This diff is incomplete. Download the complete patch.

drivers/mfd/qnap-mcu.c

View file

This diff is incomplete. Download the complete patch.

drivers/mfd/sec-core.c

View file

This diff is incomplete. Download the complete patch.

drivers/mfd/sec-irq.c

View file

This diff is incomplete. Download the complete patch.

drivers/mfd/simple-mfd-i2c.c

View file

This diff is incomplete. Download the complete patch.

drivers/mfd/sm501.c

View file

This diff is incomplete. Download the complete patch.

drivers/mfd/sta2x11-mfd.c

View before deletion

This diff is incomplete. Download the complete patch.

drivers/mfd/stm32-timers.c

View file

This diff is incomplete. Download the complete patch.

drivers/mfd/syscon.c

View file

This diff is incomplete. Download the complete patch.

drivers/mfd/tps65010.c

View file

This diff is incomplete. Download the complete patch.

drivers/mfd/tps65219.c

View file

This diff is incomplete. Download the complete patch.

drivers/mfd/upboard-fpga.c

View file

This diff is incomplete. Download the complete patch.

drivers/power/supply/Kconfig

View file

This diff is incomplete. Download the complete patch.

drivers/power/supply/Makefile

View file

This diff is incomplete. Download the complete patch.

drivers/power/supply/max77705_charger.c

View file

This diff is incomplete. Download the complete patch.

drivers/regulator/Kconfig

View file

This diff is incomplete. Download the complete patch.

drivers/regulator/s2mps11.c

View file

This diff is incomplete. Download the complete patch.

include/linux/mfd/axp20x.h

View file

This diff is incomplete. Download the complete patch.

include/linux/mfd/dbx500-prcmu.h

View file

This diff is incomplete. Download the complete patch.

include/linux/mfd/ezx-pcap.h

View file

This diff is incomplete. Download the complete patch.

include/linux/mfd/lp3943.h

View file

This diff is incomplete. Download the complete patch.

include/linux/mfd/max77693-common.h

View file

This diff is incomplete. Download the complete patch.

include/linux/mfd/max77705-private.h

View file

This diff is incomplete. Download the complete patch.

include/linux/mfd/max8997-private.h

View file

This diff is incomplete. Download the complete patch.

include/linux/mfd/pcf50633/adc.h

View before deletion

This diff is incomplete. Download the complete patch.

include/linux/mfd/pcf50633/gpio.h

View before deletion

This diff is incomplete. Download the complete patch.

include/linux/mfd/pcf50633/mbc.h

View before deletion

This diff is incomplete. Download the complete patch.

include/linux/mfd/pcf50633/pmic.h

View before deletion

This diff is incomplete. Download the complete patch.

include/linux/mfd/samsung/core.h

View file

This diff is incomplete. Download the complete patch.

include/linux/mfd/samsung/irq.h

View file

This diff is incomplete. Download the complete patch.

include/linux/mfd/samsung/s2mpu05.h

View file

This diff is incomplete. Download the complete patch.

include/linux/mfd/sta2x11-mfd.h

View before deletion

This diff is incomplete. Download the complete patch.

include/linux/mfd/stm32-timers.h

View file

This diff is incomplete. Download the complete patch.

include/linux/mfd/tps65219.h

View file

This diff is incomplete. Download the complete patch.

include/linux/power/max77705_charger.h

View file

This diff is incomplete. Download the complete patch.