Skip to content

Commit a81bf3c

Browse files
committed
Merge remote-tracking branches 'regulator/topic/drivers', 'regulator/topic/enable', 'regulator/topic/fan53555', 'regulator/topic/hi6421' and 'regulator/topic/isl9305' into regulator-next
6 parents 95528a5 + fdaff15 + df11e50 + e13426b + 5c5e417 + ba441ec commit a81bf3c

20 files changed

Lines changed: 2487 additions & 278 deletions
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
Binding for Fairchild FAN53555 regulators
2+
3+
Required properties:
4+
- compatible: one of "fcs,fan53555", "silergy,syr827", "silergy,syr828"
5+
- reg: I2C address
6+
7+
Optional properties:
8+
- fcs,suspend-voltage-selector: declare which of the two available
9+
voltage selector registers should be used for the suspend
10+
voltage. The other one is used for the runtime voltage setting
11+
Possible values are either <0> or <1>
12+
- vin-supply: regulator supplying the vin pin
13+
14+
Example:
15+
16+
regulator@40 {
17+
compatible = "fcs,fan53555";
18+
regulator-name = "fan53555";
19+
regulator-min-microvolt = <1000000>;
20+
regulator-max-microvolt = <1800000>;
21+
vin-supply = <&parent_reg>;
22+
fcs,suspend-voltage-selector = <1>;
23+
};
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
Intersil ISL9305/ISL9305H voltage regulator
2+
3+
Required properties:
4+
5+
- compatible: "isl,isl9305" or "isl,isl9305h"
6+
- reg: I2C slave address, usually 0x68.
7+
- regulators: A node that houses a sub-node for each regulator within the
8+
device. Each sub-node is identified using the node's name, with valid
9+
values being "dcd1", "dcd2", "ldo1" and "ldo2". The content of each sub-node
10+
is defined by the standard binding for regulators; see regulator.txt.
11+
- VINDCD1-supply: A phandle to a regulator node supplying VINDCD1.
12+
VINDCD2-supply: A phandle to a regulator node supplying VINDCD2.
13+
VINLDO1-supply: A phandle to a regulator node supplying VINLDO1.
14+
VINLDO2-supply: A phandle to a regulator node supplying VINLDO2.
15+
16+
Optional properties:
17+
- Per-regulator optional properties are defined in regulator.txt
18+
19+
Example
20+
21+
pmic: isl9305@68 {
22+
compatible = "isl,isl9305";
23+
reg = <0x68>;
24+
25+
VINDCD1-supply = <&system_power>;
26+
VINDCD2-supply = <&system_power>;
27+
VINLDO1-supply = <&system_power>;
28+
VINLDO2-supply = <&system_power>;
29+
30+
regulators {
31+
dcd1 {
32+
regulator-name = "VDD_DSP";
33+
regulator-always-on;
34+
};
35+
};
36+
};
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
pwm regulator bindings
2+
3+
Required properties:
4+
- compatible: Should be "pwm-regulator"
5+
- pwms: OF device-tree PWM specification (see PWM binding pwm.txt)
6+
- voltage-table: voltage and duty table, include 2 members in each set of
7+
brackets, first one is voltage(unit: uv), the next is duty(unit: percent)
8+
9+
Any property defined as part of the core regulator binding defined in
10+
regulator.txt can also be used.
11+
12+
Example:
13+
pwm_regulator {
14+
compatible = "pwm-regulator;
15+
pwms = <&pwm1 0 8448 0>;
16+
17+
voltage-table = <1114000 0>,
18+
<1095000 10>,
19+
<1076000 20>,
20+
<1056000 30>,
21+
<1036000 40>,
22+
<1016000 50>;
23+
24+
regulator-min-microvolt = <1016000>;
25+
regulator-max-microvolt = <1114000>;
26+
regulator-name = "vdd_logic";
27+
};
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
SKY81452 voltage regulator
2+
3+
Required properties:
4+
- any required generic properties defined in regulator.txt
5+
6+
Optional properties:
7+
- any available generic properties defined in regulator.txt
8+
9+
Example:
10+
11+
regulator {
12+
/* generic regulator properties */
13+
regulator-name = "touch_en";
14+
regulator-min-microvolt = <4500000>;
15+
regulator-max-microvolt = <8000000>;
16+
};

‎Documentation/devicetree/bindings/vendor-prefixes.txt‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ epson Seiko Epson Corp.
4949
est ESTeem Wireless Modems
5050
eukrea Eukréa Electromatique
5151
excito Excito
52+
fcs Fairchild Semiconductor
5253
fsl Freescale Semiconductor
5354
GEFanuc GE Fanuc Intelligent Platforms Embedded Systems, Inc.
5455
gef GE Fanuc Intelligent Platforms Embedded Systems, Inc.
@@ -124,6 +125,7 @@ sil Silicon Image
124125
silabs Silicon Laboratories
125126
simtek
126127
sii Seiko Instruments, Inc.
128+
silergy Silergy Corp.
127129
sirf SiRF Technology, Inc.
128130
smsc Standard Microsystems Corporation
129131
snps Synopsys, Inc.

‎drivers/regulator/Kconfig‎

Lines changed: 45 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,23 @@ config REGULATOR_GPIO
241241
and the platform has to provide a mapping of GPIO-states
242242
to target volts/amps.
243243

244+
config REGULATOR_HI6421
245+
tristate "HiSilicon Hi6421 PMIC voltage regulator support"
246+
depends on MFD_HI6421_PMIC && OF
247+
help
248+
This driver provides support for the voltage regulators on the
249+
HiSilicon Hi6421 PMU / Codec IC.
250+
Hi6421 is a multi-function device which, on regulator part, provides
251+
21 general purpose LDOs, 3 dedicated LDOs, and 5 BUCKs. All
252+
of them come with support to either ECO (idle) or sleep mode.
253+
254+
config REGULATOR_ISL9305
255+
tristate "Intersil ISL9305 regulator"
256+
depends on I2C
257+
select REGMAP_I2C
258+
help
259+
This driver supports ISL9305 voltage regulator chip.
260+
244261
config REGULATOR_ISL6271A
245262
tristate "Intersil ISL6271A Power regulator"
246263
depends on I2C
@@ -450,6 +467,25 @@ config REGULATOR_PFUZE100
450467
Say y here to support the regulators found on the Freescale
451468
PFUZE100/PFUZE200 PMIC.
452469

470+
config REGULATOR_PWM
471+
tristate "PWM voltage regulator"
472+
depends on PWM
473+
help
474+
This driver supports PWM controlled voltage regulators. PWM
475+
duty cycle can increase or decrease the voltage.
476+
477+
config REGULATOR_QCOM_RPM
478+
tristate "Qualcomm RPM regulator driver"
479+
depends on MFD_QCOM_RPM
480+
help
481+
If you say yes to this option, support will be included for the
482+
regulators exposed by the Resource Power Manager found in Qualcomm
483+
8660, 8960 and 8064 based devices.
484+
485+
Say M here if you want to include support for the regulators on the
486+
Qualcomm RPM as a module. The module will be named
487+
"qcom_rpm-regulator".
488+
453489
config REGULATOR_RC5T583
454490
tristate "RICOH RC5T583 Power regulators"
455491
depends on MFD_RC5T583
@@ -484,11 +520,16 @@ config REGULATOR_S5M8767
484520
via I2C bus. S5M8767A have 9 Bucks and 28 LDOs output and
485521
supports DVS mode with 8bits of output voltage control.
486522

487-
config REGULATOR_ST_PWM
488-
tristate "STMicroelectronics PWM voltage regulator"
489-
depends on ARCH_STI
523+
config REGULATOR_SKY81452
524+
tristate "Skyworks Solutions SKY81452 voltage regulator"
525+
depends on SKY81452
490526
help
491-
This driver supports ST's PWM controlled voltage regulators.
527+
This driver supports Skyworks SKY81452 voltage output regulator
528+
via I2C bus. SKY81452 has one voltage linear regulator can be
529+
programmed from 4.5V to 20V.
530+
531+
This driver can also be built as a module. If so, the module
532+
will be called sky81452-regulator.
492533

493534
config REGULATOR_TI_ABB
494535
tristate "TI Adaptive Body Bias on-chip LDO"

‎drivers/regulator/Makefile‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ obj-$(CONFIG_REGULATOR_DBX500_PRCMU) += dbx500-prcmu.o
3232
obj-$(CONFIG_REGULATOR_DB8500_PRCMU) += db8500-prcmu.o
3333
obj-$(CONFIG_REGULATOR_FAN53555) += fan53555.o
3434
obj-$(CONFIG_REGULATOR_GPIO) += gpio-regulator.o
35+
obj-$(CONFIG_REGULATOR_HI6421) += hi6421-regulator.o
3536
obj-$(CONFIG_REGULATOR_ISL6271A) += isl6271a-regulator.o
37+
obj-$(CONFIG_REGULATOR_ISL9305) += isl9305.o
3638
obj-$(CONFIG_REGULATOR_LP3971) += lp3971.o
3739
obj-$(CONFIG_REGULATOR_LP3972) += lp3972.o
3840
obj-$(CONFIG_REGULATOR_LP872X) += lp872x.o
@@ -55,8 +57,10 @@ obj-$(CONFIG_REGULATOR_MAX77693) += max77693.o
5557
obj-$(CONFIG_REGULATOR_MC13783) += mc13783-regulator.o
5658
obj-$(CONFIG_REGULATOR_MC13892) += mc13892-regulator.o
5759
obj-$(CONFIG_REGULATOR_MC13XXX_CORE) += mc13xxx-regulator-core.o
60+
obj-$(CONFIG_REGULATOR_QCOM_RPM) += qcom_rpm-regulator.o
5861
obj-$(CONFIG_REGULATOR_PALMAS) += palmas-regulator.o
5962
obj-$(CONFIG_REGULATOR_PFUZE100) += pfuze100-regulator.o
63+
obj-$(CONFIG_REGULATOR_PWM) += pwm-regulator.o
6064
obj-$(CONFIG_REGULATOR_TPS51632) += tps51632-regulator.o
6165
obj-$(CONFIG_REGULATOR_PBIAS) += pbias-regulator.o
6266
obj-$(CONFIG_REGULATOR_PCAP) += pcap-regulator.o
@@ -65,7 +69,7 @@ obj-$(CONFIG_REGULATOR_RC5T583) += rc5t583-regulator.o
6569
obj-$(CONFIG_REGULATOR_S2MPA01) += s2mpa01.o
6670
obj-$(CONFIG_REGULATOR_S2MPS11) += s2mps11.o
6771
obj-$(CONFIG_REGULATOR_S5M8767) += s5m8767.o
68-
obj-$(CONFIG_REGULATOR_ST_PWM) += st-pwm.o
72+
obj-$(CONFIG_REGULATOR_SKY81452) += sky81452-regulator.o
6973
obj-$(CONFIG_REGULATOR_STW481X_VMMC) += stw481x-vmmc.o
7074
obj-$(CONFIG_REGULATOR_TI_ABB) += ti-abb-regulator.o
7175
obj-$(CONFIG_REGULATOR_TPS6105X) += tps6105x-regulator.o

0 commit comments

Comments
 (0)