mfd: (tps65086): Read DEVICE ID register 1 from device
PATCH v2 1/2 mfd: (tps65086): Read DEVICE ID register 1 from device
From: Andre Werner <[email protected]>
This commit prepares a following commit for the regulator part of the MFD. The driver should support different device chips that differ in their register definitions, for instance to control LDOA1 and SWB2. So it is necessary to use a dedicated regulator description for a specific device variant. Thus, the content from DEVICEID Register 1 is used to choose a dedicated configuration between the different device variants.
---
v2: Store chip ID read from PMIC in chip_id device data instead of enum.
--- drivers/mfd/tps65086.c | 17 ++++++++++++----- include/linux/mfd/tps65086.h | 20 ++++++++++++++------ 2 files changed, 26 insertions(+), 11 deletions(-)
drivers/mfd/tps65086.c +12 -5
@@ -81,16 +81,23 @@ static int tps65086_probe(struct i2c_client *client)return PTR_ERR (tps->regmap); } - ret =regmap_read (tps->regmap,TPS65086_DEVICEID , &version); +/* Store device ID to load regulator configuration that fit to IC variant */ + ret =regmap_read (tps->regmap,TPS65086_DEVICEID1 , &tps->chip_id);if (ret) { -dev_err (tps->dev,"Failed to read revision register\n" ); +dev_err (tps->dev,"Failed to read revision register 1\n" ); +return ret; + } + + ret =regmap_read (tps->regmap,TPS65086_DEVICEID2 , &version); +if (ret) { +dev_err (tps->dev,"Failed to read revision register 2\n" );return ret; }dev_info (tps->dev,"Device: TPS65086%01lX, OTP: %c, Rev: %ld\n" , - (version &TPS65086_DEVICEID_PART_MASK ), - (char )((version &TPS65086_DEVICEID_OTP_MASK ) >>4 ) +'A' , - (version &TPS65086_DEVICEID_REV_MASK ) >>6 ); + (version &TPS65086_DEVICEID2_PART_MASK ), + (char )((version &TPS65086_DEVICEID2_OTP_MASK ) >>4 ) +'A' , + (version &TPS65086_DEVICEID2_REV_MASK ) >>6 );if (tps->irq >0 ) { ret = regmap_add_irq_chip(tps->regmap, tps->irq, IRQF_ONESHOT, 0,
include/linux/mfd/tps65086.h +14 -6
@@ -13,8 +13,9 @@#include <linux/regmap.h> /* List of registers for TPS65086 */ -#define TPS65086_DEVICEID 0x01 -#define TPS65086_IRQ 0x02 +#define TPS65086_DEVICEID1 0x00 +#define TPS65086_DEVICEID2 0x01 +#define TPS65086_IRQ 0x02#define TPS65086_IRQ_MASK 0x03#define TPS65086_PMICSTAT 0x04#define TPS65086_SHUTDNSRC 0x05
@@ -75,10 +76,16 @@#define TPS65086_IRQ_SHUTDN_MASK BIT(3)#define TPS65086_IRQ_FAULT_MASK BIT(7) -/* DEVICEID Register field definitions */ -#define TPS65086_DEVICEID_PART_MASK GENMASK(3, 0) -#define TPS65086_DEVICEID_OTP_MASK GENMASK(5, 4) -#define TPS65086_DEVICEID_REV_MASK GENMASK(7, 6) +/* DEVICEID1 Register field definitions */ +#define TPS6508640_ID 0x00 +#define TPS65086401_ID 0x01 +#define TPS6508641_ID 0x10 +#define TPS65086470_ID 0x70 + +/* DEVICEID2 Register field definitions */ +#define TPS65086_DEVICEID2_PART_MASK GENMASK(3, 0) +#define TPS65086_DEVICEID2_OTP_MASK GENMASK(5, 4) +#define TPS65086_DEVICEID2_REV_MASK GENMASK(7, 6)/* VID Masks */ #define BUCK_VID_MASK GENMASK(7, 1)
@@ -100,6 +107,7 @@ enum tps65086_irqs {struct tps65086 {struct device *dev;struct regmap *regmap; +unsigned int chip_id;/* IRQ Data */ int irq;
Signature · 1 line
2.41.0
PATCH v2 2/2 regulator: (tps65086): Select dedicated regulator config for chip variant
From: Andre Werner <[email protected]>
Some configurations differ between chip variants, e,g. the register to control the on of state of LDOA1 and SWB2. Thus, it is necessary to choose the correct configuration for a dedicated device. If the wrong configuration was used, the LDOA1 output that was disabled by the bootloader was enabled in Kernel again.
Each chip variant gets its dedicated configuration selected by the chip ID previously collected from MFD probe function. The VTT enum value (tps65086_regulators) is shifted because not all chip variants have a separate SWB2 switch. Sometimes they are merged. So the configuration possibilities differ, thus the regulator configuration arrays have a different length.
---
v2: Move interpretation from MFD probe to regulator probe to select the right regulator configuration.
--- drivers/regulator/tps65086-regulator.c | 188 +++++++++++++++++++++++-- include/linux/mfd/tps65086.h | 3 + 2 files changed, 183 insertions(+), 8 deletions(-)
drivers/regulator/tps65086-regulator.c +180 -8
@@ -15,7 +15,15 @@#include <linux/mfd/tps65086.h> enum tps65086_regulators {BUCK1 ,BUCK2 ,BUCK3 ,BUCK4 ,BUCK5 ,BUCK6 ,LDOA1 , -LDOA2 ,LDOA3 ,SWA1 ,SWB1 ,SWB2 ,VTT }; +LDOA2 ,LDOA3 ,VTT ,SWA1 ,SWB1 ,SWB2 }; + +/* Selector for regulator configuration regarding PMIC chip ID. */ +enum tps65086_ids { +TPS6508640 =0 , +TPS65086401 , +TPS6508641 , +TPS65086470 , +};#define TPS65086_REGULATOR (_name, _of, _id, _nv, _vr, _vm, _er, _em, _lr, _dr, _dm) \ [_id] = { \
@@ -57,12 +65,24 @@ enum tps65086_regulators { BUCK1, BUCK2, BUCK3, BUCK4, BUCK5, BUCK6, LDOA1, }, \ } + +#define TPS65086_REGULATOR_CONFIG (_chip_id, _config) \ + [_chip_id] = { \ + .config = _config, \ + .num_elems = ARRAY_SIZE(_config), \ + } +struct tps65086_regulator {struct regulator_desc desc;unsigned int decay_reg;unsigned int decay_mask; }; +struct tps65086_regulator_config { +struct tps65086_regulator *const config; +const unsigned int num_elems; +}; +static const struct linear_range tps65086_10mv_ranges[] = {REGULATOR_LINEAR_RANGE (0 ,0x0 ,0x0 ,0 ),REGULATOR_LINEAR_RANGE (410000 ,0x1 ,0x7F ,10000 ),
@@ -114,7 +134,125 @@ static int tps65086_of_parse_cb(struct device_node *dev,const struct regulator_desc *desc, struct regulator_config *config); -static struct tps65086_regulator regulators[] = { +static struct tps65086_regulator tps6508640_regulator_config[] = { +TPS65086_REGULATOR ("BUCK1" ,"buck1" ,BUCK1 ,0x80 ,TPS65086_BUCK1CTRL , +BUCK_VID_MASK ,TPS65086_BUCK123CTRL ,BIT (0 ), + tps65086_10mv_ranges,TPS65086_BUCK1CTRL , +BIT (0 )), +TPS65086_REGULATOR ("BUCK2" ,"buck2" ,BUCK2 ,0x80 ,TPS65086_BUCK2CTRL , +BUCK_VID_MASK ,TPS65086_BUCK123CTRL ,BIT (1 ), + tps65086_10mv_ranges,TPS65086_BUCK2CTRL , +BIT (0 )), +TPS65086_REGULATOR ("BUCK3" ,"buck3" ,BUCK3 ,0x80 ,TPS65086_BUCK3VID , +BUCK_VID_MASK ,TPS65086_BUCK123CTRL ,BIT (2 ), + tps65086_10mv_ranges,TPS65086_BUCK3DECAY , +BIT (0 )), +TPS65086_REGULATOR ("BUCK4" ,"buck4" ,BUCK4 ,0x80 ,TPS65086_BUCK4VID , +BUCK_VID_MASK ,TPS65086_BUCK4CTRL ,BIT (0 ), + tps65086_10mv_ranges,TPS65086_BUCK4VID , +BIT (0 )), +TPS65086_REGULATOR ("BUCK5" ,"buck5" ,BUCK5 ,0x80 ,TPS65086_BUCK5VID , +BUCK_VID_MASK ,TPS65086_BUCK5CTRL ,BIT (0 ), + tps65086_10mv_ranges,TPS65086_BUCK5CTRL , +BIT (0 )), +TPS65086_REGULATOR ("BUCK6" ,"buck6" ,BUCK6 ,0x80 ,TPS65086_BUCK6VID , +BUCK_VID_MASK ,TPS65086_BUCK6CTRL ,BIT (0 ), + tps65086_10mv_ranges,TPS65086_BUCK6CTRL , +BIT (0 )), +TPS65086_REGULATOR ("LDOA1" ,"ldoa1" ,LDOA1 ,0xF ,TPS65086_LDOA1CTRL , +VDOA1_VID_MASK ,TPS65086_SWVTT_EN ,BIT (7 ), + tps65086_ldoa1_ranges,0 ,0 ), +TPS65086_REGULATOR ("LDOA2" ,"ldoa2" ,LDOA2 ,0x10 ,TPS65086_LDOA2VID , +VDOA23_VID_MASK ,TPS65086_LDOA2CTRL ,BIT (0 ), + tps65086_ldoa23_ranges,0 ,0 ), +TPS65086_REGULATOR ("LDOA3" ,"ldoa3" ,LDOA3 ,0x10 ,TPS65086_LDOA3VID , +VDOA23_VID_MASK ,TPS65086_LDOA3CTRL ,BIT (0 ), + tps65086_ldoa23_ranges,0 ,0 ), +TPS65086_SWITCH ("VTT" ,"vtt" ,VTT ,TPS65086_SWVTT_EN ,BIT (4 )), +TPS65086_SWITCH ("SWA1" ,"swa1" ,SWA1 ,TPS65086_SWVTT_EN ,BIT (5 )), +TPS65086_SWITCH ("SWB1" ,"swb1" ,SWB1 ,TPS65086_SWVTT_EN ,BIT (6 )), +TPS65086_SWITCH ("SWB2" ,"swb2" ,SWB2 ,TPS65086_LDOA1CTRL ,BIT (0 )), +}; + +static struct tps65086_regulator tps65086401_regulator_config[] = { +TPS65086_REGULATOR ("BUCK1" ,"buck1" ,BUCK1 ,0x80 ,TPS65086_BUCK1CTRL , +BUCK_VID_MASK ,TPS65086_BUCK123CTRL ,BIT (0 ), + tps65086_10mv_ranges,TPS65086_BUCK1CTRL , +BIT (0 )), +TPS65086_REGULATOR ("BUCK2" ,"buck2" ,BUCK2 ,0x80 ,TPS65086_BUCK2CTRL , +BUCK_VID_MASK ,TPS65086_BUCK123CTRL ,BIT (1 ), + tps65086_10mv_ranges,TPS65086_BUCK2CTRL , +BIT (0 )), +TPS65086_REGULATOR ("BUCK3" ,"buck3" ,BUCK3 ,0x80 ,TPS65086_BUCK3VID , +BUCK_VID_MASK ,TPS65086_BUCK123CTRL ,BIT (2 ), + tps65086_10mv_ranges,TPS65086_BUCK3DECAY , +BIT (0 )), +TPS65086_REGULATOR ("BUCK4" ,"buck4" ,BUCK4 ,0x80 ,TPS65086_BUCK4VID , +BUCK_VID_MASK ,TPS65086_BUCK4CTRL ,BIT (0 ), + tps65086_10mv_ranges,TPS65086_BUCK4VID , +BIT (0 )), +TPS65086_REGULATOR ("BUCK5" ,"buck5" ,BUCK5 ,0x80 ,TPS65086_BUCK5VID , +BUCK_VID_MASK ,TPS65086_BUCK5CTRL ,BIT (0 ), + tps65086_10mv_ranges,TPS65086_BUCK5CTRL , +BIT (0 )), +TPS65086_REGULATOR ("BUCK6" ,"buck6" ,BUCK6 ,0x80 ,TPS65086_BUCK6VID , +BUCK_VID_MASK ,TPS65086_BUCK6CTRL ,BIT (0 ), + tps65086_10mv_ranges,TPS65086_BUCK6CTRL , +BIT (0 )), +TPS65086_REGULATOR ("LDOA1" ,"ldoa1" ,LDOA1 ,0xF ,TPS65086_LDOA1CTRL , +VDOA1_VID_MASK ,TPS65086_SWVTT_EN ,BIT (7 ), + tps65086_ldoa1_ranges,0 ,0 ), +TPS65086_REGULATOR ("LDOA2" ,"ldoa2" ,LDOA2 ,0x10 ,TPS65086_LDOA2VID , +VDOA23_VID_MASK ,TPS65086_LDOA2CTRL ,BIT (0 ), + tps65086_ldoa23_ranges,0 ,0 ), +TPS65086_REGULATOR ("LDOA3" ,"ldoa3" ,LDOA3 ,0x10 ,TPS65086_LDOA3VID , +VDOA23_VID_MASK ,TPS65086_LDOA3CTRL ,BIT (0 ), + tps65086_ldoa23_ranges,0 ,0 ), +TPS65086_SWITCH ("VTT" ,"vtt" ,VTT ,TPS65086_SWVTT_EN ,BIT (4 )), +TPS65086_SWITCH ("SWA1" ,"swa1" ,SWA1 ,TPS65086_SWVTT_EN ,BIT (5 )), +TPS65086_SWITCH ("SWB1" ,"swb1" ,SWB1 ,TPS65086_SWVTT_EN ,BIT (6 )), +}; + +static struct tps65086_regulator tps6508641_regulator_config[] = { +TPS65086_REGULATOR ("BUCK1" ,"buck1" ,BUCK1 ,0x80 ,TPS65086_BUCK1CTRL , +BUCK_VID_MASK ,TPS65086_BUCK123CTRL ,BIT (0 ), + tps65086_10mv_ranges,TPS65086_BUCK1CTRL , +BIT (0 )), +TPS65086_REGULATOR ("BUCK2" ,"buck2" ,BUCK2 ,0x80 ,TPS65086_BUCK2CTRL , +BUCK_VID_MASK ,TPS65086_BUCK123CTRL ,BIT (1 ), + tps65086_10mv_ranges,TPS65086_BUCK2CTRL , +BIT (0 )), +TPS65086_REGULATOR ("BUCK3" ,"buck3" ,BUCK3 ,0x80 ,TPS65086_BUCK3VID , +BUCK_VID_MASK ,TPS65086_BUCK123CTRL ,BIT (2 ), + tps65086_10mv_ranges,TPS65086_BUCK3DECAY , +BIT (0 )), +TPS65086_REGULATOR ("BUCK4" ,"buck4" ,BUCK4 ,0x80 ,TPS65086_BUCK4VID , +BUCK_VID_MASK ,TPS65086_BUCK4CTRL ,BIT (0 ), + tps65086_10mv_ranges,TPS65086_BUCK4VID , +BIT (0 )), +TPS65086_REGULATOR ("BUCK5" ,"buck5" ,BUCK5 ,0x80 ,TPS65086_BUCK5VID , +BUCK_VID_MASK ,TPS65086_BUCK5CTRL ,BIT (0 ), + tps65086_10mv_ranges,TPS65086_BUCK5CTRL , +BIT (0 )), +TPS65086_REGULATOR ("BUCK6" ,"buck6" ,BUCK6 ,0x80 ,TPS65086_BUCK6VID , +BUCK_VID_MASK ,TPS65086_BUCK6CTRL ,BIT (0 ), + tps65086_10mv_ranges,TPS65086_BUCK6CTRL , +BIT (0 )), +TPS65086_REGULATOR ("LDOA1" ,"ldoa1" ,LDOA1 ,0xF ,TPS65086_LDOA1CTRL , +VDOA1_VID_MASK ,TPS65086_SWVTT_EN ,BIT (7 ), + tps65086_ldoa1_ranges,0 ,0 ), +TPS65086_REGULATOR ("LDOA2" ,"ldoa2" ,LDOA2 ,0x10 ,TPS65086_LDOA2VID , +VDOA23_VID_MASK ,TPS65086_LDOA2CTRL ,BIT (0 ), + tps65086_ldoa23_ranges,0 ,0 ), +TPS65086_REGULATOR ("LDOA3" ,"ldoa3" ,LDOA3 ,0x10 ,TPS65086_LDOA3VID , +VDOA23_VID_MASK ,TPS65086_LDOA3CTRL ,BIT (0 ), + tps65086_ldoa23_ranges,0 ,0 ), +TPS65086_SWITCH ("VTT" ,"vtt" ,VTT ,TPS65086_SWVTT_EN ,BIT (4 )), +TPS65086_SWITCH ("SWA1" ,"swa1" ,SWA1 ,TPS65086_SWVTT_EN ,BIT (5 )), +TPS65086_SWITCH ("SWB1" ,"swb1" ,SWB1 ,TPS65086_SWVTT_EN ,BIT (6 )), +}; + +static struct tps65086_regulator tps65086470_regulator_config[] = { TPS65086_REGULATOR("BUCK1", "buck1", BUCK1, 0x80, TPS65086_BUCK1CTRL, BUCK_VID_MASK, TPS65086_BUCK123CTRL, BIT(0), tps65086_10mv_ranges, TPS65086_BUCK1CTRL,
@@ -148,16 +286,25 @@ static struct tps65086_regulator regulators[] = {TPS65086_REGULATOR ("LDOA3" ,"ldoa3" ,LDOA3 ,0x10 ,TPS65086_LDOA3VID ,VDOA23_VID_MASK ,TPS65086_LDOA3CTRL ,BIT (0 ), tps65086_ldoa23_ranges,0 ,0 ), +TPS65086_SWITCH ("VTT" ,"vtt" ,VTT ,TPS65086_SWVTT_EN ,BIT (4 )),TPS65086_SWITCH ("SWA1" ,"swa1" ,SWA1 ,TPS65086_SWVTT_EN ,BIT (5 )),TPS65086_SWITCH ("SWB1" ,"swb1" ,SWB1 ,TPS65086_SWVTT_EN ,BIT (6 )), TPS65086_SWITCH("SWB2", "swb2", SWB2, TPS65086_SWVTT_EN, BIT(7)), - TPS65086_SWITCH("VTT", "vtt", VTT, TPS65086_SWVTT_EN, BIT(4)), +}; + +static const struct tps65086_regulator_config regulator_configs[] = { +TPS65086_REGULATOR_CONFIG (TPS6508640 , tps6508640_regulator_config), +TPS65086_REGULATOR_CONFIG (TPS65086401 , tps65086401_regulator_config), +TPS65086_REGULATOR_CONFIG (TPS6508641 , tps6508641_regulator_config), +TPS65086_REGULATOR_CONFIG (TPS65086470 , tps65086470_regulator_config) };static int tps65086_of_parse_cb (struct device_node *node,const struct regulator_desc *desc,struct regulator_config *config) { +struct tps65086 *const tps =dev_get_drvdata (config->dev); +struct tps65086_regulator *regulators = tps->reg_config->config;int ret;/* Check for 25mV step mode */
@@ -203,9 +350,30 @@ static int tps65086_regulator_probe(struct platform_device *pdev) {struct tps65086 *tps =dev_get_drvdata (pdev->dev.parent);struct regulator_config config = { }; +unsigned int selector_reg_config;struct regulator_dev *rdev;int i; +/* Select regulator configuration for used PMIC device */ +switch (tps->chip_id) { +case TPS6508640_ID : + selector_reg_config =TPS6508640 ; +break ; +case TPS65086401_ID : + selector_reg_config =TPS65086401 ; +break ; +case TPS6508641_ID : + selector_reg_config =TPS6508641 ; +break ; +case TPS65086470_ID : + selector_reg_config =TPS65086470 ; +break ; +default : +dev_err (tps->dev,"Unknown device ID. Cannot determine regulator config.\n" ); +return -ENODEV ; + } + tps->reg_config = ®ulator_configs[selector_reg_config]; +platform_set_drvdata (pdev, tps); config.dev = &pdev->dev;
@@ -213,12 +381,16 @@ static int tps65086_regulator_probe(struct platform_device *pdev) config.driver_data = tps; config.regmap = tps->regmap; -for (i =0 ; i <ARRAY_SIZE (regulators); i++) { - rdev =devm_regulator_register (&pdev->dev, ®ulators[i].desc, - &config); +for (i =0 ; i < tps->reg_config->num_elems; ++i) { +struct regulator_desc *const desc_ptr = &tps->reg_config->config[i].desc; + +dev_dbg (tps->dev,"Index: %u; Regulator name: \"%s\"; Regulator ID: %d\n" , + i, desc_ptr->name, desc_ptr->id); + + rdev =devm_regulator_register (&pdev->dev, desc_ptr, &config);if (IS_ERR (rdev)) { -dev_err (tps->dev,"failed to register %s regulator\n" , - pdev->name); +dev_err (tps->dev,"failed to register %d \"%s\" regulator\n" , + i, desc_ptr->name);return PTR_ERR (rdev); } }
include/linux/mfd/tps65086.h +3 -0
@@ -99,6 +99,8 @@ enum tps65086_irqs { TPS65086_IRQ_FAULT, }; +struct tps65086_regulator_config ; +/** * struct tps65086 - state holder for the tps65086 driver *
@@ -108,6 +110,7 @@ struct tps65086 {struct device *dev;struct regmap *regmap;unsigned int chip_id; +const struct tps65086_regulator_config *reg_config;/* IRQ Data */ int irq;
Signature · 1 line
2.41.0
Re: (subset) [PATCH v2 1/2] mfd: (tps65086): Read DEVICE ID register 1 from device
In reply to [email protected]Quoted 9 lines · On Fri, 18 Aug 2023 10:37:21 +0200, [email protected] wrote:
This commit prepares a following commit for the regulator part of the MFD. The driver should support different device chips that differ in their register definitions, for instance to control LDOA1 and SWB2. So it is necessary to use a dedicated regulator description for a specific device variant. Thus, the content from DEVICEID Register 1 is used to choose a dedicated configuration between the different device variants.
[...]
Applied, thanks!
[1/2] mfd: (tps65086): Read DEVICE ID register 1 from device
commit: c957aecacc831c00497ee95c6984e319f7f82229
--
Lee Jones [李琼斯]
Lee Jones
maintainerRe: (subset) [PATCH v2 1/2] mfd: (tps65086): Read DEVICE ID register 1 from device
Quoted 9 lines · Lee Jones
Quoted 8 lines · On Fri, 18 Aug 2023 10:37:21 +0200, [email protected] wrote:
This commit prepares a following commit for the regulator part of the MFD. The driver should support different device chips that differ in their register definitions, for instance to control LDOA1 and SWB2. So it is necessary to use a dedicated regulator description for a specific device variant. Thus, the content from DEVICEID Register 1 is used to choose a dedicated configuration between the different device variants.
Quoted 6 lines
Quoted 1 line
[...]
Applied, thanks!
[1/2] mfd: (tps65086): Read DEVICE ID register 1 from device
commit: c957aecacc831c00497ee95c6984e319f7f82229
Note that this is not the correct subject format for this subsystem.
Patch on test - will send a PR for Mark to pull once complete.
Signature · 1 line
Lee Jones [李琼斯]
Lee Jones
maintainer[GIT PULL] Immutable branch between MFD and Regulator due for the v6.6 merge window
In reply to [email protected]Enjoy!
The following changes since commit 06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5:
Linux 6.5-rc1 (2023-07-09 13:53:13 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git ib-mfd-regulator-v6.6
for you to fetch changes up to c01467355f8eb126cab0ef28b66bb506fe6a2e21:
mfd: tps65086: Read DEVICE ID register 1 from device (2023-08-18 21:43:02 +0100)
----------------------------------------------------------------
Immutable branch between MFD and Regulator due for the v6.6 merge window
----------------------------------------------------------------
Andre Werner (1):
mfd: tps65086: Read DEVICE ID register 1 from device
drivers/mfd/tps65086.c | 17 ++++++++++++----- include/linux/mfd/tps65086.h | 20 ++++++++++++++------ 2 files changed, 26 insertions(+), 11 deletions(-)
Signature · 1 line
Lee Jones [李琼斯]
Mark Brown
maintainerQuoted 9 lines · On Fri, 18 Aug 2023 10:37:21 +0200, [email protected] wrote:
This commit prepares a following commit for the regulator part of the MFD. The driver should support different device chips that differ in their register definitions, for instance to control LDOA1 and SWB2. So it is necessary to use a dedicated regulator description for a specific device variant. Thus, the content from DEVICEID Register 1 is used to choose a dedicated configuration between the different device variants.
[...]
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next
Thanks!
[1/2] mfd: (tps65086): Read DEVICE ID register 1 from device
(no commit info)
[2/2] regulator: (tps65086): Select dedicated regulator config for chip variant
commit: 3a5e6e49855661ad39b8fbb1dbd041178af98e00
All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
Thanks,
Mark