projects/linux·commit 80739fd0

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

80739fd0 · Linus Torvalds <[email protected]> · 2024-11-22 16:19:47 -08:00

Pull MFD updates from Lee Jones:

 - Several drivers, including atmel-flexcom/rk8xx-core, palmas, and
   tps65010, have undergone minor code improvements to enhance
   consistency and fix race conditions.

 - The syscon driver now utilizes the regmap max_register_is_0
   capability for consistent register map configuration across syscons
   of all sizes.

 - New device support has been added for QCS8300, qcs615, SA8255p, and
   samsung,s2dos05, expanding the range of compatible hardware.

 - The cros_ec driver now supports loading cros_ec_ucsi on supported ECs
   and avoids loading the charger with UCSI, streamlining functionality.

 - The bd96801 driver now utilizes the more modern maple tree register
   cache, improving performance.

 - The da9052-spi driver has undergone a fix to change the read-mask to
   write-mask, preventing potential issues.

 - Unused declarations in max77693 have been removed, and support for
   samsung,s2dos05 has been added, enhancing code clarity and device
   compatibility.

 - Error handling in cs42l43 has been fixed to avoid unbalanced
   regulator put and ensure proper synchronization during driver
   removal.

 - The wcd934x driver now uses MODULE_DEVICE_TABLE() instead of
   MODULE_ALIAS(), improving code consistency.

 - Documentation for qcom,tcsr, syscon, and atmel-smc has been updated
   and reorganized for better clarity and maintainability.

 - The intel_soc_pmic_bxtwc driver has undergone significant
   improvements, including the use of IRQ domains for various devices,
   fixing IRQ domain names duplication, and code refactoring for better
   consistency and maintainability.

 - The ipaq-micro driver has received a fix for a missing break
   statement in the default case, enhancing code robustness.

 - Support for the AXP323 PMIC has been added to the axp20x driver,
   along with ensuring a clear relationship between IDs and model names,
   and allowing multiple regulators, broadening hardware compatibility.

 - The cs42l43 driver now disables IRQs during suspend for improved
   power management.

 - The adp5585 driver has reduced its dependencies by dropping the
   obsolete dependency on COMPILE_TEST.

 - Initial support for the MT6328 PMIC has been added to the mt6397
   driver, expanding the range of supported hardware.

 - The rtc-bd70528 driver has been simplified by dropping the IC name
   from IRQ, improving code readability.

 - Documentation for qcom,spmi-pmic, ti,twl, and zii,rave-sp has been
   updated to enhance clarity and incorporate new features.

 - The rt5033 driver has received a fix for a missing
   regmap_del_irq_chip() in the error handling path.

 - New device support has been added for MSM8917, and the
   intel_soc_pmic_crc driver now supports non-ACPI instantiated
   i2c_client.

 - The 88pm886 driver has added support for the RTC cell, and the tqmx86
   driver has improved its GPIO IRQ setup and added I2C IRQ support,
   increasing functionality.

 - The sprd,sc2731 DT schema has been updated and converted to YAML
   format for better readability and maintainability.

* tag 'mfd-next-6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd: (62 commits)
  dt-bindings: mfd: bd71828: Use charger resistor in mOhm instead of MOhm
  dt-bindings: mfd: sprd,sc2731: Convert to YAML
  mfd: tqmx86: Add I2C IRQ support
  mfd: tqmx86: Make IRQ setup errors non-fatal
  mfd: tqmx86: Refactor GPIO IRQ setup
  mfd: tqmx86: Improve gpio_irq module parameter description
  mfd: tqmx86: Add board definitions for TQMx120UC, TQMx130UC and TQMxE41S
  mfd: 88pm886: Add the RTC cell
  dt-bindings: mfd: Add Realtek RTL9300 switch peripherals
  mfd: intel_soc_pmic_crc: Add support for non ACPI instantiated i2c_client
  mfd: intel_soc_pmic_*: Consistently use filename as driver name
  dt-bindings: mfd: qcom,tcsr: Add compatible for MSM8917
  mfd: rt5033: Fix missing regmap_del_irq_chip()
  mfd: cgbc-core: Fix error handling paths in cgbc_init_device()
  dt-bindings: mfd: aspeed: Support for AST2700
  mfd: Switch back to struct platform_driver::remove()
  dt-bindings: mfd: qcom,spmi-pmic: Document PMICs added in SM8750
  mfd: rtc: bd7xxxx Drop IC name from IRQ
  mfd: mt6397: Add initial support for MT6328
  mfd: adp5585: Drop obsolete dependency on COMPILE_TEST
  ...
Commit
80739fd00c7ea1315d362ce889bef499452913ef
Parents
e288c352 · 8ece9d24

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

Changes

84 files changed · +3122 −767

FileStatusAddDelContent
Documentation/devicetree/bindings/iio/adc/sprd,sc2720-adc.yamlmodified+0−17View file
Documentation/devicetree/bindings/input/mediatek,pmic-keys.yamlmodified+1−1View file
Documentation/devicetree/bindings/leds/leds-mt6323.txtdeleted+0−63View before deletion
Documentation/devicetree/bindings/leds/sprd,sc2731-bltc.yamlmodified+0−31View file
Documentation/devicetree/bindings/mfd/aspeed,ast2x00-scu.yamlmodified+7−1View file
Documentation/devicetree/bindings/mfd/mediatek,mt6397.yamladded+598−0View file
Documentation/devicetree/bindings/mfd/mt6397.txtdeleted+0−110View before deletion
Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yamlmodified+2−0View file
Documentation/devicetree/bindings/mfd/qcom,tcsr.yamlmodified+4−0View file
Documentation/devicetree/bindings/mfd/realtek,rtl9301-switch.yamladded+114−0View file
Documentation/devicetree/bindings/mfd/rohm,bd71828-pmic.yamlmodified+7−6View file
Documentation/devicetree/bindings/mfd/samsung,s2dos05.yamladded+99−0View file
Documentation/devicetree/bindings/mfd/sprd,sc2731.yamladded+252−0View file
Documentation/devicetree/bindings/mfd/sprd,sc27xx-pmic.txtdeleted+0−40View before deletion
Documentation/devicetree/bindings/mfd/syscon.yamlmodified+2−0View file
Documentation/devicetree/bindings/mfd/ti,twl.yamlmodified+30−2View file
Documentation/devicetree/bindings/mfd/x-powers,axp152.yamlmodified+3−0View file
Documentation/devicetree/bindings/mfd/zii,rave-sp.txtdeleted+0−39View before deletion
Documentation/devicetree/bindings/mfd/zii,rave-sp.yamladded+63−0View file
Documentation/devicetree/bindings/power/reset/mt6323-poweroff.txtdeleted+0−20View before deletion
Documentation/devicetree/bindings/power/supply/sc2731-charger.yamlmodified+1−20View file
Documentation/devicetree/bindings/power/supply/sc27xx-fg.yamlmodified+1−37View file
Documentation/devicetree/bindings/regulator/sprd,sc2731-regulator.yamlmodified+0−21View file
Documentation/devicetree/bindings/rtc/rtc-mt6397.txtdeleted+0−31View before deletion
Documentation/devicetree/bindings/rtc/sprd,sc2731-rtc.yamlmodified+0−16View file
MAINTAINERSmodified+7−3View file
drivers/mfd/88pm886.cmodified+1−0View file
drivers/mfd/Kconfigmodified+1−1View file
drivers/mfd/ab8500-sysctrl.cmodified+1−1View file
drivers/mfd/atmel-flexcom.cmodified+1−1View file
drivers/mfd/atmel-smc.cmodified+2−2View file
drivers/mfd/axp20x-i2c.cmodified+1−0View file
drivers/mfd/axp20x.cmodified+42−16View file
drivers/mfd/cgbc-core.cmodified+12−3View file
drivers/mfd/cros_ec_dev.cmodified+23−4View file
drivers/mfd/cs42l43.cmodified+56−9View file
drivers/mfd/da9052-spi.cmodified+1−1View file
drivers/mfd/exynos-lpass.cmodified+2−2View file
drivers/mfd/fsl-imx25-tsadc.cmodified+1−1View file
drivers/mfd/hi655x-pmic.cmodified+4−4View file
drivers/mfd/intel-lpss-acpi.cmodified+1−1View file
drivers/mfd/intel_soc_pmic_bxtwc.cmodified+111−66View file
drivers/mfd/intel_soc_pmic_chtwc.cmodified+1−1View file
drivers/mfd/intel_soc_pmic_crc.cmodified+8−1View file
drivers/mfd/ipaq-micro.cmodified+1−0View file
drivers/mfd/kempld-core.cmodified+1−1View file
drivers/mfd/mcp-sa11x0.cmodified+1−1View file
drivers/mfd/mt6397-core.cmodified+32−0View file
drivers/mfd/mt6397-irq.cmodified+23−0View file
drivers/mfd/mxs-lradc.cmodified+1−1View file
drivers/mfd/omap-usb-host.cmodified+1−1View file
drivers/mfd/omap-usb-tll.cmodified+1−1View file
drivers/mfd/pcf50633-adc.cmodified+1−1View file
drivers/mfd/qcom-pm8xxx.cmodified+1−1View file
drivers/mfd/rk8xx-core.cmodified+3−3View file
drivers/mfd/rohm-bd71828.cmodified+6−6View file
drivers/mfd/rohm-bd96801.cmodified+242−35View file
drivers/mfd/rt5033.cmodified+2−2View file
drivers/mfd/sec-core.cmodified+11−0View file
drivers/mfd/sm501.cmodified+1−1View file
drivers/mfd/stm32-timers.cmodified+1−1View file
drivers/mfd/syscon.cmodified+5−0View file
drivers/mfd/ti_am335x_tscadc.cmodified+1−1View file
drivers/mfd/tps65010.cmodified+2−6View file
drivers/mfd/tps65911-comparator.cmodified+1−1View file
drivers/mfd/tqmx86.cmodified+79−36View file
drivers/mfd/twl-core.cmodified+18−8View file
drivers/mfd/twl4030-audio.cmodified+1−1View file
drivers/mfd/wcd934x.cmodified+1−1View file
drivers/platform/x86/intel/bxtwc_tmu.cmodified+6−16View file
drivers/regulator/axp20x-regulator.cmodified+12−1View file
drivers/rtc/rtc-bd70528.cmodified+1−4View file
drivers/usb/typec/tcpm/wcove.cmodified+0−4View file
include/dt-bindings/clock/aspeed,ast2700-scu.hadded+163−0View file
include/dt-bindings/reset/aspeed,ast2700-scu.hadded+124−0View file
include/linux/mfd/axp20x.hmodified+3−1View file
include/linux/mfd/max77693-private.hmodified+0−11View file
include/linux/mfd/mt6328/core.hadded+53−0View file
include/linux/mfd/mt6328/registers.hadded+822−0View file
include/linux/mfd/mt6397/core.hmodified+6−5View file
include/linux/mfd/palmas.hmodified+2−2View file
include/linux/mfd/samsung/core.hmodified+1−0View file
include/linux/platform_data/cros_ec_commands.hmodified+32−0View file
sound/soc/codecs/cs42l43.cmodified+0−42View file

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

Documentation/devicetree/bindings/iio/adc/sprd,sc2720-adc.yaml

View file
diff --git a/Documentation/devicetree/bindings/iio/adc/sprd,sc2720-adc.yaml b/Documentation/devicetree/bindings/iio/adc/sprd,sc2720-adc.yaml
index 8181cf9..a678323 100644
--- a/Documentation/devicetree/bindings/iio/adc/sprd,sc2720-adc.yaml
+++ b/Documentation/devicetree/bindings/iio/adc/sprd,sc2720-adc.yaml
@@ -85,23 +85,6 @@ examples:
pmic {
#address-cells = <1>;
#size-cells = <0>;
- adc@480 {
- compatible = "sprd,sc2731-adc";
- reg = <0x480>;
- interrupt-parent = <&sc2731_pmic>;
- interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;
- #io-channel-cells = <1>;
- hwlocks = <&hwlock 4>;
- nvmem-cells = <&adc_big_scale>, <&adc_small_scale>;
- nvmem-cell-names = "big_scale_calib", "small_scale_calib";
- };
- };
-
- - |
- #include <dt-bindings/interrupt-controller/irq.h>
- pmic {
- #address-cells = <1>;
- #size-cells = <0>;
adc@504 {
compatible = "sprd,ump9620-adc";
reg = <0x504>;

Documentation/devicetree/bindings/input/mediatek,pmic-keys.yaml

View file
diff --git a/Documentation/devicetree/bindings/input/mediatek,pmic-keys.yaml b/Documentation/devicetree/bindings/input/mediatek,pmic-keys.yaml
index 70567d9..466566a 100644
--- a/Documentation/devicetree/bindings/input/mediatek,pmic-keys.yaml
+++ b/Documentation/devicetree/bindings/input/mediatek,pmic-keys.yaml
@@ -19,7 +19,7 @@ description: |
by the PMIC that is defined as a Multi-Function Device (MFD).
For MediaTek MT6323/MT6397 PMIC bindings see
- Documentation/devicetree/bindings/mfd/mt6397.txt
+ Documentation/devicetree/bindings/mfd/mediatek,mt6397.yaml
properties:
compatible:

Documentation/devicetree/bindings/leds/leds-mt6323.txt

View before deletion
diff --git a/Documentation/devicetree/bindings/leds/leds-mt6323.txt b/Documentation/devicetree/bindings/leds/leds-mt6323.txt
deleted file mode 100644
index 052dccb..0000000
--- a/Documentation/devicetree/bindings/leds/leds-mt6323.txt
+++ /dev/null
@@ -1,63 +0,0 @@
-Device Tree Bindings for LED support on MT6323 PMIC
-
-MT6323 LED controller is subfunction provided by MT6323 PMIC, so the LED
-controllers are defined as the subnode of the function node provided by MT6323
-PMIC controller that is being defined as one kind of Muti-Function Device (MFD)
-using shared bus called PMIC wrapper for each subfunction to access remote
-MT6323 PMIC hardware.
-
-For MT6323 MFD bindings see:
-Documentation/devicetree/bindings/mfd/mt6397.txt
-For MediaTek PMIC wrapper bindings see:
-Documentation/devicetree/bindings/soc/mediatek/mediatek,pwrap.yaml
-
-Required properties:
-- compatible : Must be one of
- - "mediatek,mt6323-led"
- - "mediatek,mt6331-led"
- - "mediatek,mt6332-led"
-- address-cells : Must be 1
-- size-cells : Must be 0
-
-Each led is represented as a child node of the mediatek,mt6323-led that
-describes the initial behavior for each LED physically and currently only four
-LED child nodes can be supported.
-
-Required properties for the LED child node:
-- reg : LED channel number (0..3)
-
-Optional properties for the LED child node:
-- label : See Documentation/devicetree/bindings/leds/common.txt
-- linux,default-trigger : See Documentation/devicetree/bindings/leds/common.txt
-- default-state: See Documentation/devicetree/bindings/leds/common.txt
-
-Example:
-
- mt6323: pmic {
- compatible = "mediatek,mt6323";
-
- ...
-
- mt6323led: leds {
- compatible = "mediatek,mt6323-led";
- #address-cells = <1>;
- #size-cells = <0>;
-
- led@0 {
- reg = <0>;
- label = "LED0";
- linux,default-trigger = "timer";
- default-state = "on";
- };
- led@1 {
- reg = <1>;
- label = "LED1";
- default-state = "off";
- };
- led@2 {
- reg = <2>;
- label = "LED2";
- default-state = "on";
- };
- };
- };

Documentation/devicetree/bindings/leds/sprd,sc2731-bltc.yaml

View file
diff --git a/Documentation/devicetree/bindings/leds/sprd,sc2731-bltc.yaml b/Documentation/devicetree/bindings/leds/sprd,sc2731-bltc.yaml
index 5853410..97535d6 100644
--- a/Documentation/devicetree/bindings/leds/sprd,sc2731-bltc.yaml
+++ b/Documentation/devicetree/bindings/leds/sprd,sc2731-bltc.yaml
@@ -50,35 +50,4 @@ required:
- '#size-cells'
additionalProperties: false
-
-examples:
- - |
- #include <dt-bindings/leds/common.h>
-
- pmic {
- #address-cells = <1>;
- #size-cells = <0>;
-
- led-controller@200 {
- compatible = "sprd,sc2731-bltc";
- reg = <0x200>;
- #address-cells = <1>;
- #size-cells = <0>;
-
- led@0 {
- reg = <0x0>;
- color = <LED_COLOR_ID_RED>;
- };
-
- led@1 {
- reg = <0x1>;
- color = <LED_COLOR_ID_GREEN>;
- };
-
- led@2 {
- reg = <0x2>;
- color = <LED_COLOR_ID_BLUE>;
- };
- };
- };
...

Documentation/devicetree/bindings/mfd/aspeed,ast2x00-scu.yaml

View file
diff --git a/Documentation/devicetree/bindings/mfd/aspeed,ast2x00-scu.yaml b/Documentation/devicetree/bindings/mfd/aspeed,ast2x00-scu.yaml
index 86ee69c..c800d5e 100644
--- a/Documentation/devicetree/bindings/mfd/aspeed,ast2x00-scu.yaml
+++ b/Documentation/devicetree/bindings/mfd/aspeed,ast2x00-scu.yaml
@@ -9,6 +9,8 @@ title: Aspeed System Control Unit
description:
The Aspeed System Control Unit manages the global behaviour of the SoC,
configuring elements such as clocks, pinmux, and reset.
+ In AST2700 SOC which has two soc connection, each soc have its own scu
+ register control, ast2700-scu0 for soc0, ast2700-scu1 for soc1.
maintainers:
- Joel Stanley <[email protected]>
@@ -21,6 +23,8 @@ properties:
- aspeed,ast2400-scu
- aspeed,ast2500-scu
- aspeed,ast2600-scu
+ - aspeed,ast2700-scu0
+ - aspeed,ast2700-scu1
- const: syscon
- const: simple-mfd
@@ -30,7 +34,8 @@ properties:
ranges: true
'#address-cells':
- const: 1
+ minimum: 1
+ maximum: 2
'#size-cells':
const: 1
@@ -76,6 +81,7 @@ patternProperties:
- aspeed,ast2400-silicon-id
- aspeed,ast2500-silicon-id
- aspeed,ast2600-silicon-id
+ - aspeed,ast2700-silicon-id
- const: aspeed,silicon-id
reg:

Documentation/devicetree/bindings/mfd/mediatek,mt6397.yaml

View file
diff --git a/Documentation/devicetree/bindings/mfd/mediatek,mt6397.yaml b/Documentation/devicetree/bindings/mfd/mediatek,mt6397.yaml
new file mode 100644
index 0000000..86451f1
--- /dev/null
+++ b/Documentation/devicetree/bindings/mfd/mediatek,mt6397.yaml
@@ -0,0 +1,598 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/mfd/mediatek,mt6397.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: MediaTek MT6397/MT6323 PMIC
+
+maintainers:
+ - Sen Chu <[email protected]>
+ - Macpaul Lin <[email protected]>
+
+description: |
+ MT6397/MT6323 is a power management system chip.
+ Please see the sub-modules below for supported features.
+
+ MT6397/MT6323 is a multifunction device with the following sub modules:
+ - Regulators
+ - RTC
+ - ADC
+ - Audio codec
+ - GPIO
+ - Clock
+ - LED
+ - Keys
+ - Power controller
+
+ It is interfaced to host controller using SPI interface by a proprietary hardware
+ called PMIC wrapper or pwrap. MT6397/MT6323 PMIC is a child device of pwrap.
+ See the following for pwrap node definitions:
+ Documentation/devicetree/bindings/soc/mediatek/mediatek,pwrap.yaml
+
+properties:
+ compatible:
+ oneOf:
+ - enum:
+ - mediatek,mt6323
+ - mediatek,mt6331 # "mediatek,mt6331" for PMIC MT6331 and MT6332.
+ - mediatek,mt6358
+ - mediatek,mt6359
+ - mediatek,mt6397
+ - items:
+ - enum:
+ - mediatek,mt6366
+ - const: mediatek,mt6358
+
+ interrupts:
+ maxItems: 1
+
+ interrupt-controller: true
+
+ "#interrupt-cells":
+ const: 2
+
+ rtc:
+ type: object
+ $ref: /schemas/rtc/rtc.yaml#
+ unevaluatedProperties: false
+ description:
+ MT6397 Real Time Clock.
+
+ properties:
+ compatible:
+ oneOf:
+ - enum:
+ - mediatek,mt6323-rtc
+ - mediatek,mt6331-rtc
+ - mediatek,mt6358-rtc
+ - mediatek,mt6397-rtc
+ - items:
+ - enum:
+ - mediatek,mt6366-rtc
+ - const: mediatek,mt6358-rtc
+
+ start-year: true
+
+ required:
+ - compatible
+
+ regulators:
+ type: object
+ description:
+ List of child nodes that specify the regulators.
+ additionalProperties: true
+
+ properties:
+ compatible:
+ oneOf:
+ - enum:
+ - mediatek,mt6323-regulator
+ - mediatek,mt6358-regulator
+ - mediatek,mt6359-regulator
+ - mediatek,mt6397-regulator
+ - items:
+ - enum:
+ - mediatek,mt6366-regulator
+ - const: mediatek,mt6358-regulator
+
+ required:
+ - compatible
+
+ adc:
+ type: object
+ $ref: /schemas/iio/adc/mediatek,mt6359-auxadc.yaml#
+ unevaluatedProperties: false
+
+ audio-codec:
+ type: object
+ description:
+ Audio codec support with MT6358 and MT6397.
+ additionalProperties: true
+
+ properties:
+ compatible:
+ oneOf:
+ - enum:
+ - mediatek,mt6358-sound
+ - mediatek,mt6359-codec
+ - mediatek,mt6397-codec
+ - items:
+ - enum:
+ - mediatek,mt6366-sound
+ - const: mediatek,mt6358-sound
+
+ required:
+ - compatible
+
+ clocks:
+ type: object
+ additionalProperties: false
+ description:
+ This is a clock buffer node for mt6397. However, there are no sub nodes
+ or any public document exposed in public.
+
+ properties:
+ compatible:
+ const: mediatek,mt6397-clk
+
+ '#clock-cells':
+ const: 1
+
+ required:
+ - compatible
+
+ leds:
+ type: object
+ additionalProperties: false
+ description: |
+ MT6323 LED controller is subfunction provided by MT6323 PMIC, so the LED
+ controllers are defined as the subnode of the function node provided by MT6323
+ PMIC controller that is being defined as one kind of Muti-Function Device (MFD)
+ using shared bus called PMIC wrapper for each subfunction to access remote
+ MT6323 PMIC hardware.
+
+ Each led is represented as a child node of the mediatek,mt6323-led that
+ describes the initial behavior for each LED physically and currently only four
+ LED child nodes can be supported.
+
+ properties:
+ compatible:
+ enum:
+ - mediatek,mt6323-led
+ - mediatek,mt6331-led
+ - mediatek,mt6332-led
+
+ reg:
+ maxItems: 1
+
+ "#address-cells":
+ const: 1
+
+ "#size-cells":
+ const: 0
+
+ patternProperties:
+ "^led@[0-3]$":
+ type: object
+ $ref: /schemas/leds/common.yaml#
+ unevaluatedProperties: false
+
+ properties:
+ reg:
+ description:
+ LED channel number (0..3)
+ minimum: 0
+ maximum: 3
+
+ required:
+ - reg
+
+ required:
+ - compatible
+ - "#address-cells"
+ - "#size-cells"
+
+ keys:
+ type: object
+ $ref: /schemas/input/mediatek,pmic-keys.yaml
+ unevaluatedProperties: false
+ description:
+ Power and Home keys.
+
+ power-controller:
+ type: object
+ additionalProperties: false
+ description:
+ The power controller which could be found on PMIC is responsible for
+ externally powering off or on the remote MediaTek SoC through the
+ circuit BBPU (baseband power up).
+
+ properties:
+ compatible:
+ const: mediatek,mt6323-pwrc
+
+ '#power-domain-cells':
+ const: 0
+
+ pinctrl:
+ type: object
+ $ref: /schemas/pinctrl/mediatek,mt65xx-pinctrl.yaml
+ unevaluatedProperties: false
+ description:
+ Pin controller
+
+required:
+ - compatible
+ - regulators
+
+additionalProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/interrupt-controller/arm-gic.h>
+ #include <dt-bindings/leds/common.h>
+
+ pmic {
+ compatible = "mediatek,mt6323";
+ interrupt-parent = <&pio>;
+ interrupts = <150 IRQ_TYPE_LEVEL_HIGH>;
+ interrupt-controller;
+ #interrupt-cells = <2>;
+
+ leds {
+ compatible = "mediatek,mt6323-led";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ };
+
+ regulators {
+ compatible = "mediatek,mt6323-regulator";
+
+ buck_vproc {
+ regulator-name = "vproc";
+ regulator-min-microvolt = < 700000>;
+ regulator-max-microvolt = <1350000>;
+ regulator-ramp-delay = <12500>;
+ regulator-always-on;
+ regulator-boot-on;
+ };
+
+ buck_vsys {
+ regulator-name = "vsys";
+ regulator-min-microvolt = <1400000>;
+ regulator-max-microvolt = <2987500>;
+ regulator-ramp-delay = <25000>;
+ regulator-always-on;
+ regulator-boot-on;
+ };
+
+ buck_vpa {
+ regulator-name = "vpa";
+ regulator-min-microvolt = < 500000>;
+ regulator-max-microvolt = <3650000>;
+ };
+
+ ldo_vtcxo {
+ regulator-name = "vtcxo";
+ regulator-min-microvolt = <2800000>;
+ regulator-max-microvolt = <2800000>;
+ regulator-enable-ramp-delay = <90>;
+ regulator-always-on;
+ regulator-boot-on;
+ };
+
+ ldo_vcn28 {
+ regulator-name = "vcn28";
+ regulator-min-microvolt = <2800000>;
+ regulator-max-microvolt = <2800000>;
+ regulator-enable-ramp-delay = <185>;
+ };
+
+ ldo_vcn33_bt {
+ regulator-name = "vcn33_bt";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3600000>;
+ regulator-enable-ramp-delay = <185>;
+ };
+
+ ldo_vcn33_wifi {
+ regulator-name = "vcn33_wifi";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3600000>;
+ regulator-enable-ramp-delay = <185>;
+ };
+
+ ldo_va {
+ regulator-name = "va";
+ regulator-min-microvolt = <2800000>;
+ regulator-max-microvolt = <2800000>;
+ regulator-enable-ramp-delay = <216>;
+ regulator-always-on;
+ regulator-boot-on;
+ };
+
+ ldo_vcama {
+ regulator-name = "vcama";
+ regulator-min-microvolt = <1500000>;
+ regulator-max-microvolt = <2800000>;
+ regulator-enable-ramp-delay = <216>;
+ };
+
+ ldo_vio28 {
+ regulator-name = "vio28";
+ regulator-min-microvolt = <2800000>;
+ regulator-max-microvolt = <2800000>;
+ regulator-enable-ramp-delay = <216>;
+ regulator-always-on;
+ regulator-boot-on;
+ };
+
+ ldo_vusb {
+ regulator-name = "vusb";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ regulator-enable-ramp-delay = <216>;
+ regulator-boot-on;
+ };
+
+ ldo_vmc {
+ regulator-name = "vmc";
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <3300000>;
+ regulator-enable-ramp-delay = <36>;
+ regulator-boot-on;
+ };
+
+ ldo_vmch {
+ regulator-name = "vmch";
+ regulator-min-microvolt = <3000000>;
+ regulator-max-microvolt = <3300000>;
+ regulator-enable-ramp-delay = <36>;
+ regulator-boot-on;
+ };
+
+ ldo_vemc3v3 {
+ regulator-name = "vemc3v3";
+ regulator-min-microvolt = <3000000>;
+ regulator-max-microvolt = <3300000>;
+ regulator-enable-ramp-delay = <36>;
+ regulator-boot-on;
+ };
+
+ ldo_vgp1 {
+ regulator-name = "vgp1";
+ regulator-min-microvolt = <1200000>;
+ regulator-max-microvolt = <3300000>;
+ regulator-enable-ramp-delay = <216>;
+ };
+
+ ldo_vgp2 {
+ regulator-name = "vgp2";
+ regulator-min-microvolt = <1200000>;
+ regulator-max-microvolt = <3000000>;
+ regulator-enable-ramp-delay = <216>;
+ };
+
+ ldo_vgp3 {
+ regulator-name = "vgp3";
+ regulator-min-microvolt = <1200000>;
+ regulator-max-microvolt = <1800000>;
+ regulator-enable-ramp-delay = <216>;
+ };
+
+ ldo_vcn18 {
+ regulator-name = "vcn18";
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ regulator-enable-ramp-delay = <216>;
+ };
+
+ ldo_vsim1 {
+ regulator-name = "vsim1";
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <3000000>;
+ regulator-enable-ramp-delay = <216>;
+ };
+
+ ldo_vsim2 {
+ regulator-name = "vsim2";
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <3000000>;
+ regulator-enable-ramp-delay = <216>;
+ };
+

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/mfd/mt6397.txt

View before deletion

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml

View file

This diff is incomplete. Download the complete patch.

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

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/mfd/realtek,rtl9301-switch.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/mfd/rohm,bd71828-pmic.yaml

View file

This diff is incomplete. Download the complete patch.

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

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/mfd/sprd,sc2731.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/mfd/sprd,sc27xx-pmic.txt

View before deletion

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/mfd/syscon.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/mfd/ti,twl.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/mfd/x-powers,axp152.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/mfd/zii,rave-sp.txt

View before deletion

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/mfd/zii,rave-sp.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/power/reset/mt6323-poweroff.txt

View before deletion

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/power/supply/sc2731-charger.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/power/supply/sc27xx-fg.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/regulator/sprd,sc2731-regulator.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/rtc/rtc-mt6397.txt

View before deletion

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/rtc/sprd,sc2731-rtc.yaml

View file

This diff is incomplete. Download the complete patch.

MAINTAINERS

View file

This diff is incomplete. Download the complete patch.

drivers/mfd/88pm886.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/ab8500-sysctrl.c

View file

This diff is incomplete. Download the complete patch.

drivers/mfd/atmel-flexcom.c

View file

This diff is incomplete. Download the complete patch.

drivers/mfd/atmel-smc.c

View file

This diff is incomplete. Download the complete patch.

drivers/mfd/axp20x-i2c.c

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/cros_ec_dev.c

View file

This diff is incomplete. Download the complete patch.

drivers/mfd/cs42l43.c

View file

This diff is incomplete. Download the complete patch.

drivers/mfd/da9052-spi.c

View file

This diff is incomplete. Download the complete patch.

drivers/mfd/exynos-lpass.c

View file

This diff is incomplete. Download the complete patch.

drivers/mfd/fsl-imx25-tsadc.c

View file

This diff is incomplete. Download the complete patch.

drivers/mfd/hi655x-pmic.c

View file

This diff is incomplete. Download the complete patch.

drivers/mfd/intel-lpss-acpi.c

View file

This diff is incomplete. Download the complete patch.

drivers/mfd/intel_soc_pmic_bxtwc.c

View file

This diff is incomplete. Download the complete patch.

drivers/mfd/intel_soc_pmic_chtwc.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/kempld-core.c

View file

This diff is incomplete. Download the complete patch.

drivers/mfd/mcp-sa11x0.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/mt6397-irq.c

View file

This diff is incomplete. Download the complete patch.

drivers/mfd/mxs-lradc.c

View file

This diff is incomplete. Download the complete patch.

drivers/mfd/omap-usb-host.c

View file

This diff is incomplete. Download the complete patch.

drivers/mfd/omap-usb-tll.c

View file

This diff is incomplete. Download the complete patch.

drivers/mfd/pcf50633-adc.c

View file

This diff is incomplete. Download the complete patch.

drivers/mfd/qcom-pm8xxx.c

View file

This diff is incomplete. Download the complete patch.

drivers/mfd/rk8xx-core.c

View file

This diff is incomplete. Download the complete patch.

drivers/mfd/rohm-bd71828.c

View file

This diff is incomplete. Download the complete patch.

drivers/mfd/rohm-bd96801.c

View file

This diff is incomplete. Download the complete patch.

drivers/mfd/rt5033.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/sm501.c

View file

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/ti_am335x_tscadc.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/tps65911-comparator.c

View file

This diff is incomplete. Download the complete patch.

drivers/mfd/tqmx86.c

View file

This diff is incomplete. Download the complete patch.

drivers/mfd/twl-core.c

View file

This diff is incomplete. Download the complete patch.

drivers/mfd/twl4030-audio.c

View file

This diff is incomplete. Download the complete patch.

drivers/mfd/wcd934x.c

View file

This diff is incomplete. Download the complete patch.

drivers/platform/x86/intel/bxtwc_tmu.c

View file

This diff is incomplete. Download the complete patch.

drivers/regulator/axp20x-regulator.c

View file

This diff is incomplete. Download the complete patch.

drivers/rtc/rtc-bd70528.c

View file

This diff is incomplete. Download the complete patch.

drivers/usb/typec/tcpm/wcove.c

View file

This diff is incomplete. Download the complete patch.

include/dt-bindings/clock/aspeed,ast2700-scu.h

View file

This diff is incomplete. Download the complete patch.

include/dt-bindings/reset/aspeed,ast2700-scu.h

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/max77693-private.h

View file

This diff is incomplete. Download the complete patch.

include/linux/mfd/mt6328/core.h

View file

This diff is incomplete. Download the complete patch.

include/linux/mfd/mt6328/registers.h

View file

This diff is incomplete. Download the complete patch.

include/linux/mfd/mt6397/core.h

View file

This diff is incomplete. Download the complete patch.

include/linux/mfd/palmas.h

View file

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/platform_data/cros_ec_commands.h

View file

This diff is incomplete. Download the complete patch.

sound/soc/codecs/cs42l43.c

View file

This diff is incomplete. Download the complete patch.