Skip to content

Commit 7406fd7

Browse files
committed
Merge tag 'mfd-next-6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd
Pull MFD updates from Lee Jones: "New Drivers: - Add support for Ampere Computing SMpro - Add support for TI TPS65219 PMIC New Functionality: - Add support for multiple devices of the same type; rk808 Fix-ups: - Convert a bunch of I2C class drivers over to .probe_new() - Remove superfluous includes; mc13xxx-*, palmas, timberdale - Use correct includes for GPIO handling; madera-core - Convert to GPIOD; twl6040 - Remove unused platform data handling; twl6040 - Device Tree changes; many - Remove unused drivers; dm355evm_msp, davinci_voicecodec, htc-i2cpld - Add support for modules; palmas - Enable COMPILE_TEST support; intel_soc_pmic* - Trivial: spelling / whitespace fixes; mc13xxx-spi - Replace old PM helpers with new ones; many - Convert deprecated mask_invert usage to unmask_base; many - Use devm_*() calls; qcom_rpm - MAINTAINER fix-ups - Make use of improved / replaced APIs; palmas, fsl-imx25-tsadc, stm32-lptimer, qcom_rpm, rohm-* Bug Fixes: - Add bounds / error checking; mt6360-core - No sleeping inside critical sections; axp20x - Fix missing dependencies; ROHM_BD957XMUF - Repair error paths; qcom-pm8008" * tag 'mfd-next-6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd: (161 commits) dt-bindings: mfd: da9062: Correct file name for watchdog mfd: pm8008: Fix return value check in pm8008_probe() mfd: rohm: Use dev_err_probe() mfd: Drop obsolete dependencies on COMPILE_TEST dt-bindings: mfd: da9062: Move IRQ to optional properties mfd: qcom_rpm: Use devm_of_platform_populate() to simplify code mfd: qcom_rpm: Fix an error handling path in qcom_rpm_probe() mfd: stm32-lptimer: Use devm_platform_get_and_ioremap_resource() mfd: rohm-bd9576: Convert to i2c's .probe_new() mfd: fsl-imx25-tsadc: Use devm_platform_get_and_ioremap_resource() dt-bindings: Fix maintainer email for a few ROHM ICs mfd: palmas: Use device_get_match_data() to simplify the code Input: Add tps65219 interrupt driven powerbutton mfd: tps65219: Add driver for TI TPS65219 PMIC mfd: bd957x: Fix Kconfig dependency on REGMAP_IRQ mfd: wcd934x: Convert irq chip to config regs mfd: tps65090: Replace irqchip mask_invert with unmask_base mfd: sun4i-gpadc: Replace irqchip mask_invert with unmask_base mfd: stpmic1: Fix swapped mask/unmask in irq chip mfd: sprd-sc27xx-spi: Replace irqchip mask_invert with unmask_base ...
2 parents 7c08461 + 37fecbb commit 7406fd7

File tree

152 files changed

+1506
-2366
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

152 files changed

+1506
-2366
lines changed

Documentation/devicetree/bindings/leds/rohm,bd71828-leds.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
77
title: ROHM BD71828 Power Management Integrated Circuit LED driver
88

99
maintainers:
10-
- Matti Vaittinen <[email protected].com>
10+
- Matti Vaittinen <mazziesaccount@gmail.com>
1111

1212
description: |
1313
This module is part of the ROHM BD71828 MFD device. For more details
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/mfd/ampere,smpro.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Ampere Altra SMPro firmware driver
8+
9+
maintainers:
10+
- Quan Nguyen <[email protected]>
11+
12+
description: |
13+
Ampere Altra SMPro firmware may contain different blocks like hardware
14+
monitoring, error monitoring and other miscellaneous features.
15+
16+
properties:
17+
compatible:
18+
enum:
19+
- ampere,smpro
20+
21+
reg:
22+
description:
23+
I2C device address.
24+
maxItems: 1
25+
26+
required:
27+
- compatible
28+
- reg
29+
30+
additionalProperties: false
31+
32+
examples:
33+
- |
34+
i2c {
35+
#address-cells = <1>;
36+
#size-cells = <0>;
37+
38+
smpro@4f {
39+
compatible = "ampere,smpro";
40+
reg = <0x4f>;
41+
};
42+
};

Documentation/devicetree/bindings/mfd/brcm,twd.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ properties:
3636
const: 1
3737

3838
patternProperties:
39+
'^timer@[a-f0-9]+$':
40+
$ref: /schemas/timer/brcm,bcmbca-timer.yaml
41+
3942
'^watchdog@[a-f0-9]+$':
4043
$ref: /schemas/watchdog/brcm,bcm7038-wdt.yaml
4144

@@ -54,6 +57,11 @@ examples:
5457
#address-cells = <1>;
5558
#size-cells = <1>;
5659
60+
timer@0 {
61+
compatible = "brcm,bcm63138-timer";
62+
reg = <0x0 0x28>;
63+
};
64+
5765
watchdog@28 {
5866
compatible = "brcm,bcm7038-wdt";
5967
reg = <0x28 0x8>;

Documentation/devicetree/bindings/mfd/da9062.txt

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,6 @@ Required properties:
3333
"dlg,da9061" for DA9061
3434
- reg : Specifies the I2C slave address (this defaults to 0x58 but it can be
3535
modified to match the chip's OTP settings).
36-
- interrupts : IRQ line information.
37-
- interrupt-controller
38-
39-
See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt for
40-
further information on IRQ bindings.
4136

4237
Optional properties:
4338

@@ -48,6 +43,12 @@ Optional properties:
4843
See Documentation/devicetree/bindings/gpio/gpio.txt for further information on
4944
GPIO bindings.
5045

46+
- interrupts : IRQ line information.
47+
- interrupt-controller
48+
49+
See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt for
50+
further information on IRQ bindings.
51+
5152
Sub-nodes:
5253

5354
- regulators : This node defines the settings for the LDOs and BUCKs.
@@ -85,7 +86,7 @@ Sub-nodes:
8586

8687
- onkey : See ../input/da9062-onkey.txt
8788

88-
- watchdog: See ../watchdog/da9062-watchdog.txt
89+
- watchdog: See ../watchdog/da9062-wdt.txt
8990

9091
- thermal : See ../thermal/da9062-thermal.txt
9192

Documentation/devicetree/bindings/mfd/mscc,ocelot.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ maintainers:
1212
description: |
1313
The Ocelot ethernet switch family contains chips that have an internal CPU
1414
(VSC7513, VSC7514) and chips that don't (VSC7511, VSC7512). All switches have
15-
the option to be controlled externally, which is the purpose of this driver.
15+
the option to be controlled externally via external interfaces like SPI or
16+
PCIe.
1617
1718
The switch family is a multi-port networking switch that supports many
1819
interfaces. Additionally, the device can perform pin control, MDIO buses, and
@@ -61,7 +62,6 @@ required:
6162
- reg
6263
- '#address-cells'
6364
- '#size-cells'
64-
- spi-max-frequency
6565

6666
additionalProperties: false
6767

Documentation/devicetree/bindings/mfd/mt6397.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ Required properties:
2121
compatible:
2222
"mediatek,mt6323" for PMIC MT6323
2323
"mediatek,mt6331" for PMIC MT6331 and MT6332
24+
"mediatek,mt6357" for PMIC MT6357
2425
"mediatek,mt6358" for PMIC MT6358 and MT6366
2526
"mediatek,mt6359" for PMIC MT6359
2627
"mediatek,mt6397" for PMIC MT6397

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

Lines changed: 23 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,16 @@ properties:
9999
type: object
100100
$ref: /schemas/regulator/qcom,spmi-regulator.yaml#
101101

102+
pwm:
103+
type: object
104+
$ref: /schemas/leds/leds-qcom-lpg.yaml#
105+
102106
patternProperties:
103107
"^adc@[0-9a-f]+$":
104108
type: object
105-
$ref: /schemas/iio/adc/qcom,spmi-vadc.yaml#
109+
oneOf:
110+
- $ref: /schemas/iio/adc/qcom,spmi-iadc.yaml#
111+
- $ref: /schemas/iio/adc/qcom,spmi-vadc.yaml#
106112

107113
"^adc-tm@[0-9a-f]+$":
108114
type: object
@@ -112,22 +118,20 @@ patternProperties:
112118
type: object
113119
additionalProperties: true # FIXME qcom,pm8916-wcd-analog-codec binding not converted yet
114120

115-
"extcon@[0-9a-f]+$":
121+
"^charger@[0-9a-f]+$":
116122
type: object
117-
$ref: /schemas/extcon/qcom,pm8941-misc.yaml#
123+
oneOf:
124+
- $ref: /schemas/power/supply/qcom,pm8941-charger.yaml#
125+
- $ref: /schemas/power/supply/qcom,pm8941-coincell.yaml#
118126

119-
"gpio(s)?@[0-9a-f]+$":
127+
"gpio@[0-9a-f]+$":
120128
type: object
121129
$ref: /schemas/pinctrl/qcom,pmic-gpio.yaml#
122130

123131
"pon@[0-9a-f]+$":
124132
type: object
125133
$ref: /schemas/power/reset/qcom,pon.yaml#
126134

127-
"pwm@[0-9a-f]+$":
128-
type: object
129-
$ref: /schemas/leds/leds-qcom-lpg.yaml#
130-
131135
"^rtc@[0-9a-f]+$":
132136
type: object
133137
$ref: /schemas/rtc/qcom-pm8xxx-rtc.yaml#
@@ -136,9 +140,17 @@ patternProperties:
136140
type: object
137141
$ref: /schemas/thermal/qcom,spmi-temp-alarm.yaml#
138142

143+
"^usb-detect@[0-9a-f]+$":
144+
type: object
145+
$ref: /schemas/extcon/qcom,pm8941-misc.yaml#
146+
147+
"^usb-vbus-regulator@[0-9a-f]+$":
148+
type: object
149+
$ref: /schemas/regulator/qcom,usb-vbus-regulator.yaml#
150+
139151
"^vibrator@[0-9a-f]+$":
140152
type: object
141-
additionalProperties: true # FIXME qcom,pm8916-vib binding not converted yet
153+
$ref: /schemas/input/qcom,pm8xxx-vib.yaml#
142154

143155
"^mpps@[0-9a-f]+$":
144156
type: object
@@ -200,7 +212,7 @@ examples:
200212
#address-cells = <1>;
201213
#size-cells = <0>;
202214
203-
pmi8998_gpio: gpios@c000 {
215+
pmi8998_gpio: gpio@c000 {
204216
compatible = "qcom,pmi8998-gpio", "qcom,spmi-gpio";
205217
reg = <0xc000>;
206218
gpio-controller;
@@ -285,7 +297,7 @@ examples:
285297
};
286298
};
287299
288-
pm6150_gpio: gpios@c000 {
300+
pm6150_gpio: gpio@c000 {
289301
compatible = "qcom,pm6150-gpio", "qcom,spmi-gpio";
290302
reg = <0xc000>;
291303
gpio-controller;

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,12 @@ properties:
1717
compatible:
1818
items:
1919
- enum:
20+
- qcom,msm8976-tcsr
2021
- qcom,msm8998-tcsr
2122
- qcom,qcs404-tcsr
2223
- qcom,sc7180-tcsr
2324
- qcom,sc7280-tcsr
25+
- qcom,sc8280xp-tcsr
2426
- qcom,sdm630-tcsr
2527
- qcom,sdm845-tcsr
2628
- qcom,sm8150-tcsr

Documentation/devicetree/bindings/mfd/qcom-pm8xxx.yaml

Lines changed: 28 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,15 @@ description: |
1515
1616
properties:
1717
compatible:
18-
enum:
19-
- qcom,pm8018
20-
- qcom,pm8058
21-
- qcom,pm8821
22-
- qcom,pm8921
18+
oneOf:
19+
- enum:
20+
- qcom,pm8058
21+
- qcom,pm8821
22+
- qcom,pm8921
23+
- items:
24+
- enum:
25+
- qcom,pm8018
26+
- const: qcom,pm8921
2327

2428
reg:
2529
maxItems: 1
@@ -56,4 +60,23 @@ required:
5660
- interrupt-controller
5761

5862
additionalProperties: false
63+
64+
examples:
65+
- |
66+
#include <dt-bindings/interrupt-controller/irq.h>
67+
ssbi {
68+
#address-cells = <1>;
69+
#size-cells = <0>;
70+
pmic@0 {
71+
compatible = "qcom,pm8921";
72+
reg = <0>;
73+
#address-cells = <1>;
74+
#size-cells = <0>;
75+
interrupt-controller;
76+
#interrupt-cells = <2>;
77+
78+
interrupt-parent = <&tlmm>;
79+
interrupts = <32 IRQ_TYPE_EDGE_RISING>;
80+
};
81+
};
5982
...

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
77
title: ROHM BD71815 Power Management Integrated Circuit
88

99
maintainers:
10-
- Matti Vaittinen <[email protected].com>
10+
- Matti Vaittinen <mazziesaccount@gmail.com>
1111

1212
description: |
1313
BD71815AGW is a single-chip power management ICs for battery-powered

0 commit comments

Comments
 (0)