Skip to content

Commit bf977a9

Browse files
committed
Merge tag 'regulator-v6.17' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator
Pull regulator updates from Mark Brown: "The big change in this release is the addition of Rust bindings from Daniel Almeida, allowing fairly basic consumer use with support for enable and voltage setting operations. This should be good for the vast majority of consumers. Otherwise it's been quite quiet, a few new devices supported, plus some cleanups and fixes. Summary: - Basic Rust bindings - A fix for making large voltage changes on regulators where we limit the size of voltage change we will do in one step, previously we just got as close as we could in one step - Cleanups of our usage of the PM autosuspend functions, this pulls in some PM core changes on a shared tag - Mode setting support for PCA9450 - Support for Mediatek MT6893 and MT8196 DVFSRC, Qualcomm PM7550 and PMR735B, Raspberry Pi displays and TI TPS652G1 The TI driver pulls in the MFD portion of the support for the device and the pinctrl driver which was in the same tag" * tag 'regulator-v6.17' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator: (40 commits) regulator: mt6370: Fix spelling mistake in mt6370_regualtor_register regulator: Kconfig: Fix spelling mistake "regualtor" -> "regulator" regulator: core: repeat voltage setting request for stepped regulators regulator: rt6160: Add rt6166 vout min_uV setting for compatible MAINTAINERS: add regulator.rs to the regulator API entry rust: regulator: add a bare minimum regulator abstraction regulator: tps6286x-regulator: Fix a copy & paste error regulator: qcom-rpmh: add support for pm7550 regulators regulator: qcom-rpmh: add support for pmr735b regulators regulator: dt-bindings: qcom,rpmh: Add PMR735B compatible regulator: dt-bindings: qcom,rpmh: Add PM7550 compatible regulator: tps6594-regulator: Add TI TPS652G1 PMIC regulators regulator: tps6594-regulator: refactor variant descriptions regulator: tps6594-regulator: remove hardcoded buck config regulator: tps6594-regulator: remove interrupt_count dt-bindings: mfd: ti,tps6594: Add TI TPS652G1 PMIC pinctrl: pinctrl-tps6594: Add TPS652G1 PMIC pinctrl and GPIO misc: tps6594-pfsm: Add TI TPS652G1 PMIC PFSM mfd: tps6594: Add TI TPS652G1 support regulator: sy8827n: make enable gpio NONEXCLUSIVE ...
2 parents 5339a2a + 0bd042a commit bf977a9

35 files changed

+1327
-171
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ properties:
2222
- ti,tps6593-q1
2323
- ti,tps6594-q1
2424
- ti,tps65224-q1
25+
- ti,tps652g1
2526

2627
reg:
2728
description: I2C slave address or SPI chip select number.

Documentation/devicetree/bindings/regulator/mediatek,mt6873-dvfsrc-regulator.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,11 @@ properties:
1717
compatible:
1818
enum:
1919
- mediatek,mt6873-dvfsrc-regulator
20+
- mediatek,mt6893-dvfsrc-regulator
2021
- mediatek,mt8183-dvfsrc-regulator
2122
- mediatek,mt8192-dvfsrc-regulator
2223
- mediatek,mt8195-dvfsrc-regulator
24+
- mediatek,mt8196-dvfsrc-regulator
2325

2426
dvfsrc-vcore:
2527
description: DVFSRC-controlled SoC Vcore regulator

Documentation/devicetree/bindings/regulator/nxp,pca9450-regulator.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,15 @@ properties:
100100
PMIC default "STANDBY" state voltage in uV. Only Buck1~3 have such
101101
dvs(dynamic voltage scaling) property.
102102

103+
regulator-allowed-modes:
104+
description: |
105+
Buck regulator operating modes allowed. Valid values below.
106+
Users should use the macros from dt-bindings/regulator/nxp,pca9450-regulator.h
107+
0 (PCA9450_BUCK_MODE_AUTO): Auto PFM/PWM mode
108+
1 (PCA9450_BUCK_MODE_FORCE_PWM): Forced PWM mode
109+
items:
110+
enum: [ 0, 1 ]
111+
103112
unevaluatedProperties: false
104113

105114
additionalProperties: false
@@ -143,6 +152,7 @@ allOf:
143152
examples:
144153
- |
145154
#include <dt-bindings/interrupt-controller/irq.h>
155+
#include <dt-bindings/regulator/nxp,pca9450-regulator.h>
146156
147157
i2c {
148158
#address-cells = <1>;
@@ -179,13 +189,17 @@ examples:
179189
regulator-max-microvolt = <3400000>;
180190
regulator-boot-on;
181191
regulator-always-on;
192+
regulator-initial-mode = <PCA9450_BUCK_MODE_FORCE_PWM>;
193+
regulator-allowed-modes = <PCA9450_BUCK_MODE_FORCE_PWM>;
182194
};
183195
buck5: BUCK5 {
184196
regulator-name = "BUCK5";
185197
regulator-min-microvolt = <600000>;
186198
regulator-max-microvolt = <3400000>;
187199
regulator-boot-on;
188200
regulator-always-on;
201+
regulator-allowed-modes = <PCA9450_BUCK_MODE_AUTO
202+
PCA9450_BUCK_MODE_FORCE_PWM>;
189203
};
190204
buck6: BUCK6 {
191205
regulator-name = "BUCK6";

Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.yaml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ description: |
4040
For PM660, smps1 - smps6, ldo1 - ldo3, ldo5 - ldo19
4141
For PM660L, smps1 - smps3, smps5, ldo1 - ldo8, bob
4242
For PM7325, smps1 - smps8, ldo1 - ldo19
43+
For PM7550, smps1 - smps6, ldo1 - ldo23, bob
4344
For PM8005, smps1 - smps4
4445
For PM8009, smps1 - smps2, ldo1 - ldo7
4546
For PM8010, ldo1 - ldo7
@@ -53,6 +54,7 @@ description: |
5354
For PMI8998, bob
5455
For PMC8380, smps1 - smps8, ldo1 - lodo3
5556
For PMR735A, smps1 - smps3, ldo1 - ldo7
57+
For PMR735B, ldo1 - ldo12
5658
For PMX55, smps1 - smps7, ldo1 - ldo16
5759
For PMX65, smps1 - smps8, ldo1 - ldo21
5860
For PMX75, smps1 - smps10, ldo1 - ldo21
@@ -66,6 +68,7 @@ properties:
6668
- qcom,pm660-rpmh-regulators
6769
- qcom,pm660l-rpmh-regulators
6870
- qcom,pm7325-rpmh-regulators
71+
- qcom,pm7550-rpmh-regulators
6972
- qcom,pm8005-rpmh-regulators
7073
- qcom,pm8009-rpmh-regulators
7174
- qcom,pm8009-1-rpmh-regulators
@@ -87,6 +90,7 @@ properties:
8790
- qcom,pmm8155au-rpmh-regulators
8891
- qcom,pmm8654au-rpmh-regulators
8992
- qcom,pmr735a-rpmh-regulators
93+
- qcom,pmr735b-rpmh-regulators
9094
- qcom,pmx55-rpmh-regulators
9195
- qcom,pmx65-rpmh-regulators
9296
- qcom,pmx75-rpmh-regulators
@@ -218,6 +222,25 @@ allOf:
218222
"^vdd-l[358]-supply$": true
219223
"^vdd-s[1-8]-supply$": true
220224

225+
- if:
226+
properties:
227+
compatible:
228+
enum:
229+
- qcom,pm7550-rpmh-regulators
230+
then:
231+
properties:
232+
vdd-bob-supply:
233+
description: BOB regulator parent supply phandle.
234+
vdd-l2-l3-supply: true
235+
vdd-l4-l5-supply: true
236+
vdd-l9-l10-supply: true
237+
vdd-l12-l14-supply: true
238+
vdd-l13-l16-supply: true
239+
vdd-l15-l17-l18-l19-l20-l21-l22-l23-supply: true
240+
patternProperties:
241+
"^vdd-l(1|[6-8]|11)-supply$": true
242+
"^vdd-s[1-6]-supply$": true
243+
221244
- if:
222245
properties:
223246
compatible:
@@ -424,6 +447,18 @@ allOf:
424447
patternProperties:
425448
"^vdd-s[1-3]-supply$": true
426449

450+
- if:
451+
properties:
452+
compatible:
453+
enum:
454+
- qcom,pmr735b-rpmh-regulators
455+
then:
456+
properties:
457+
vdd-l1-l2-supply: true
458+
vdd-l7-l8-supply: true
459+
patternProperties:
460+
"^vdd-l([3-6]|9|1[0-2])-supply$": true
461+
427462
- if:
428463
properties:
429464
compatible:

Documentation/devicetree/bindings/regulator/raspberrypi,7inch-touchscreen-panel-regulator.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,17 @@ maintainers:
1212
description: |
1313
The RaspberryPi 7" display has an ATTINY88-based regulator/backlight
1414
controller on the PCB, which is used to turn the display unit on/off
15-
and control the backlight.
15+
and control the backlight. The V2 supports 5" and 7" panels and also
16+
offers PWM backlight control.
1617
1718
allOf:
1819
- $ref: regulator.yaml#
1920

2021
properties:
2122
compatible:
22-
const: raspberrypi,7inch-touchscreen-panel-regulator
23+
enum:
24+
- raspberrypi,7inch-touchscreen-panel-regulator
25+
- raspberrypi,touchscreen-panel-regulator-v2
2326

2427
reg:
2528
maxItems: 1

MAINTAINERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26582,6 +26582,7 @@ T: git git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git
2658226582
F: Documentation/devicetree/bindings/regulator/
2658326583
F: Documentation/power/regulator/
2658426584
F: drivers/regulator/
26585+
F: rust/kernel/regulator.rs
2658526586
F: include/dt-bindings/regulator/
2658626587
F: include/linux/regulator/
2658726588
K: regulator_get_optional

drivers/mfd/tps6594-core.c

Lines changed: 82 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
// SPDX-License-Identifier: GPL-2.0
22
/*
3-
* Core functions for TI TPS65224/TPS6594/TPS6593/LP8764 PMICs
3+
* Core functions for following TI PMICs:
4+
* - LP8764
5+
* - TPS65224
6+
* - TPS652G1
7+
* - TPS6593
8+
* - TPS6594
49
*
510
* Copyright (C) 2023 BayLibre Incorporated - https://www.baylibre.com/
611
*/
@@ -414,6 +419,61 @@ static const unsigned int tps65224_irq_reg[] = {
414419
TPS6594_REG_INT_FSM_ERR,
415420
};
416421

422+
/* TPS652G1 Resources */
423+
424+
static const struct mfd_cell tps652g1_common_cells[] = {
425+
MFD_CELL_RES("tps6594-pfsm", tps65224_pfsm_resources),
426+
MFD_CELL_RES("tps6594-pinctrl", tps65224_pinctrl_resources),
427+
MFD_CELL_NAME("tps6594-regulator"),
428+
};
429+
430+
static const struct regmap_irq tps652g1_irqs[] = {
431+
/* INT_GPIO register */
432+
REGMAP_IRQ_REG(TPS65224_IRQ_GPIO1, 2, TPS65224_BIT_GPIO1_INT),
433+
REGMAP_IRQ_REG(TPS65224_IRQ_GPIO2, 2, TPS65224_BIT_GPIO2_INT),
434+
REGMAP_IRQ_REG(TPS65224_IRQ_GPIO3, 2, TPS65224_BIT_GPIO3_INT),
435+
REGMAP_IRQ_REG(TPS65224_IRQ_GPIO4, 2, TPS65224_BIT_GPIO4_INT),
436+
REGMAP_IRQ_REG(TPS65224_IRQ_GPIO5, 2, TPS65224_BIT_GPIO5_INT),
437+
REGMAP_IRQ_REG(TPS65224_IRQ_GPIO6, 2, TPS65224_BIT_GPIO6_INT),
438+
439+
/* INT_STARTUP register */
440+
REGMAP_IRQ_REG(TPS65224_IRQ_VSENSE, 3, TPS65224_BIT_VSENSE_INT),
441+
REGMAP_IRQ_REG(TPS65224_IRQ_ENABLE, 3, TPS6594_BIT_ENABLE_INT),
442+
REGMAP_IRQ_REG(TPS65224_IRQ_PB_SHORT, 3, TPS65224_BIT_PB_SHORT_INT),
443+
REGMAP_IRQ_REG(TPS65224_IRQ_FSD, 3, TPS6594_BIT_FSD_INT),
444+
REGMAP_IRQ_REG(TPS65224_IRQ_SOFT_REBOOT, 3, TPS6594_BIT_SOFT_REBOOT_INT),
445+
446+
/* INT_MISC register */
447+
REGMAP_IRQ_REG(TPS65224_IRQ_BIST_PASS, 4, TPS6594_BIT_BIST_PASS_INT),
448+
REGMAP_IRQ_REG(TPS65224_IRQ_EXT_CLK, 4, TPS6594_BIT_EXT_CLK_INT),
449+
REGMAP_IRQ_REG(TPS65224_IRQ_REG_UNLOCK, 4, TPS65224_BIT_REG_UNLOCK_INT),
450+
REGMAP_IRQ_REG(TPS65224_IRQ_TWARN, 4, TPS6594_BIT_TWARN_INT),
451+
REGMAP_IRQ_REG(TPS65224_IRQ_PB_LONG, 4, TPS65224_BIT_PB_LONG_INT),
452+
REGMAP_IRQ_REG(TPS65224_IRQ_PB_FALL, 4, TPS65224_BIT_PB_FALL_INT),
453+
REGMAP_IRQ_REG(TPS65224_IRQ_PB_RISE, 4, TPS65224_BIT_PB_RISE_INT),
454+
REGMAP_IRQ_REG(TPS65224_IRQ_ADC_CONV_READY, 4, TPS65224_BIT_ADC_CONV_READY_INT),
455+
456+
/* INT_MODERATE_ERR register */
457+
REGMAP_IRQ_REG(TPS65224_IRQ_TSD_ORD, 5, TPS6594_BIT_TSD_ORD_INT),
458+
REGMAP_IRQ_REG(TPS65224_IRQ_BIST_FAIL, 5, TPS6594_BIT_BIST_FAIL_INT),
459+
REGMAP_IRQ_REG(TPS65224_IRQ_REG_CRC_ERR, 5, TPS6594_BIT_REG_CRC_ERR_INT),
460+
REGMAP_IRQ_REG(TPS65224_IRQ_RECOV_CNT, 5, TPS6594_BIT_RECOV_CNT_INT),
461+
462+
/* INT_SEVERE_ERR register */
463+
REGMAP_IRQ_REG(TPS65224_IRQ_TSD_IMM, 6, TPS6594_BIT_TSD_IMM_INT),
464+
REGMAP_IRQ_REG(TPS65224_IRQ_VCCA_OVP, 6, TPS6594_BIT_VCCA_OVP_INT),
465+
REGMAP_IRQ_REG(TPS65224_IRQ_PFSM_ERR, 6, TPS6594_BIT_PFSM_ERR_INT),
466+
REGMAP_IRQ_REG(TPS65224_IRQ_BG_XMON, 6, TPS65224_BIT_BG_XMON_INT),
467+
468+
/* INT_FSM_ERR register */
469+
REGMAP_IRQ_REG(TPS65224_IRQ_IMM_SHUTDOWN, 7, TPS6594_BIT_IMM_SHUTDOWN_INT),
470+
REGMAP_IRQ_REG(TPS65224_IRQ_ORD_SHUTDOWN, 7, TPS6594_BIT_ORD_SHUTDOWN_INT),
471+
REGMAP_IRQ_REG(TPS65224_IRQ_MCU_PWR_ERR, 7, TPS6594_BIT_MCU_PWR_ERR_INT),
472+
REGMAP_IRQ_REG(TPS65224_IRQ_SOC_PWR_ERR, 7, TPS6594_BIT_SOC_PWR_ERR_INT),
473+
REGMAP_IRQ_REG(TPS65224_IRQ_COMM_ERR, 7, TPS6594_BIT_COMM_ERR_INT),
474+
REGMAP_IRQ_REG(TPS65224_IRQ_I2C2_ERR, 7, TPS65224_BIT_I2C2_ERR_INT),
475+
};
476+
417477
static inline unsigned int tps6594_get_irq_reg(struct regmap_irq_chip_data *data,
418478
unsigned int base, int index)
419479
{
@@ -443,7 +503,7 @@ static int tps6594_handle_post_irq(void *irq_drv_data)
443503
* a new interrupt.
444504
*/
445505
if (tps->use_crc) {
446-
if (tps->chip_id == TPS65224) {
506+
if (tps->chip_id == TPS65224 || tps->chip_id == TPS652G1) {
447507
regmap_reg = TPS6594_REG_INT_FSM_ERR;
448508
mask_val = TPS6594_BIT_COMM_ERR_INT;
449509
} else {
@@ -481,6 +541,18 @@ static struct regmap_irq_chip tps65224_irq_chip = {
481541
.handle_post_irq = tps6594_handle_post_irq,
482542
};
483543

544+
static struct regmap_irq_chip tps652g1_irq_chip = {
545+
.ack_base = TPS6594_REG_INT_BUCK,
546+
.ack_invert = 1,
547+
.clear_ack = 1,
548+
.init_ack_masked = 1,
549+
.num_regs = ARRAY_SIZE(tps65224_irq_reg),
550+
.irqs = tps652g1_irqs,
551+
.num_irqs = ARRAY_SIZE(tps652g1_irqs),
552+
.get_irq_reg = tps65224_get_irq_reg,
553+
.handle_post_irq = tps6594_handle_post_irq,
554+
};
555+
484556
static const struct regmap_range tps6594_volatile_ranges[] = {
485557
regmap_reg_range(TPS6594_REG_INT_TOP, TPS6594_REG_STAT_READBACK_ERR),
486558
regmap_reg_range(TPS6594_REG_RTC_STATUS, TPS6594_REG_RTC_STATUS),
@@ -507,7 +579,7 @@ static int tps6594_check_crc_mode(struct tps6594 *tps, bool primary_pmic)
507579
int ret;
508580
unsigned int regmap_reg, mask_val;
509581

510-
if (tps->chip_id == TPS65224) {
582+
if (tps->chip_id == TPS65224 || tps->chip_id == TPS652G1) {
511583
regmap_reg = TPS6594_REG_CONFIG_2;
512584
mask_val = TPS65224_BIT_I2C1_SPI_CRC_EN;
513585
} else {
@@ -537,7 +609,7 @@ static int tps6594_set_crc_feature(struct tps6594 *tps)
537609
int ret;
538610
unsigned int regmap_reg, mask_val;
539611

540-
if (tps->chip_id == TPS65224) {
612+
if (tps->chip_id == TPS65224 || tps->chip_id == TPS652G1) {
541613
regmap_reg = TPS6594_REG_CONFIG_2;
542614
mask_val = TPS65224_BIT_I2C1_SPI_CRC_EN;
543615
} else {
@@ -628,6 +700,10 @@ int tps6594_device_init(struct tps6594 *tps, bool enable_crc)
628700
irq_chip = &tps65224_irq_chip;
629701
n_cells = ARRAY_SIZE(tps65224_common_cells);
630702
cells = tps65224_common_cells;
703+
} else if (tps->chip_id == TPS652G1) {
704+
irq_chip = &tps652g1_irq_chip;
705+
n_cells = ARRAY_SIZE(tps652g1_common_cells);
706+
cells = tps652g1_common_cells;
631707
} else {
632708
irq_chip = &tps6594_irq_chip;
633709
n_cells = ARRAY_SIZE(tps6594_common_cells);
@@ -651,8 +727,8 @@ int tps6594_device_init(struct tps6594 *tps, bool enable_crc)
651727
if (ret)
652728
return dev_err_probe(dev, ret, "Failed to add common child devices\n");
653729

654-
/* No RTC for LP8764 and TPS65224 */
655-
if (tps->chip_id != LP8764 && tps->chip_id != TPS65224) {
730+
/* No RTC for LP8764, TPS65224 and TPS652G1 */
731+
if (tps->chip_id != LP8764 && tps->chip_id != TPS65224 && tps->chip_id != TPS652G1) {
656732
ret = devm_mfd_add_devices(dev, PLATFORM_DEVID_AUTO, tps6594_rtc_cells,
657733
ARRAY_SIZE(tps6594_rtc_cells), NULL, 0,
658734
regmap_irq_get_domain(tps->irq_data));

drivers/mfd/tps6594-i2c.c

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
// SPDX-License-Identifier: GPL-2.0
22
/*
3-
* I2C access driver for TI TPS65224/TPS6594/TPS6593/LP8764 PMICs
3+
* I2C access driver for the following TI PMICs:
4+
* - LP8764
5+
* - TPS65224
6+
* - TPS652G1
7+
* - TPS6593
8+
* - TPS6594
49
*
510
* Copyright (C) 2023 BayLibre Incorporated - https://www.baylibre.com/
611
*/
@@ -197,6 +202,7 @@ static const struct of_device_id tps6594_i2c_of_match_table[] = {
197202
{ .compatible = "ti,tps6593-q1", .data = (void *)TPS6593, },
198203
{ .compatible = "ti,lp8764-q1", .data = (void *)LP8764, },
199204
{ .compatible = "ti,tps65224-q1", .data = (void *)TPS65224, },
205+
{ .compatible = "ti,tps652g1", .data = (void *)TPS652G1, },
200206
{}
201207
};
202208
MODULE_DEVICE_TABLE(of, tps6594_i2c_of_match_table);
@@ -222,7 +228,7 @@ static int tps6594_i2c_probe(struct i2c_client *client)
222228
return dev_err_probe(dev, -EINVAL, "Failed to find matching chip ID\n");
223229
tps->chip_id = (unsigned long)match->data;
224230

225-
if (tps->chip_id == TPS65224)
231+
if (tps->chip_id == TPS65224 || tps->chip_id == TPS652G1)
226232
tps6594_i2c_regmap_config.volatile_table = &tps65224_volatile_table;
227233

228234
tps->regmap = devm_regmap_init(dev, NULL, client, &tps6594_i2c_regmap_config);

drivers/mfd/tps6594-spi.c

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
// SPDX-License-Identifier: GPL-2.0
22
/*
3-
* SPI access driver for TI TPS65224/TPS6594/TPS6593/LP8764 PMICs
3+
* SPI access driver for the following TI PMICs:
4+
* - LP8764
5+
* - TPS65224
6+
* - TPS652G1
7+
* - TPS6593
8+
* - TPS6594
49
*
510
* Copyright (C) 2023 BayLibre Incorporated - https://www.baylibre.com/
611
*/
@@ -82,6 +87,7 @@ static const struct of_device_id tps6594_spi_of_match_table[] = {
8287
{ .compatible = "ti,tps6593-q1", .data = (void *)TPS6593, },
8388
{ .compatible = "ti,lp8764-q1", .data = (void *)LP8764, },
8489
{ .compatible = "ti,tps65224-q1", .data = (void *)TPS65224, },
90+
{ .compatible = "ti,tps652g1", .data = (void *)TPS652G1, },
8591
{}
8692
};
8793
MODULE_DEVICE_TABLE(of, tps6594_spi_of_match_table);
@@ -107,7 +113,7 @@ static int tps6594_spi_probe(struct spi_device *spi)
107113
return dev_err_probe(dev, -EINVAL, "Failed to find matching chip ID\n");
108114
tps->chip_id = (unsigned long)match->data;
109115

110-
if (tps->chip_id == TPS65224)
116+
if (tps->chip_id == TPS65224 || tps->chip_id == TPS652G1)
111117
tps6594_spi_regmap_config.volatile_table = &tps65224_volatile_table;
112118

113119
tps->regmap = devm_regmap_init(dev, NULL, spi, &tps6594_spi_regmap_config);

0 commit comments

Comments
 (0)