Re: [RFC PATCH v3 2/5] mfd: add driver for Marvell 88PM886 PMIC

2024-03-07 Thread Lee Jones
> > > +static int pm886_initialize_subregmaps(struct pm886_chip *chip) > > > +{ > > > + struct device *dev = >client->dev; > > > + struct i2c_client *page; > > > + struct regmap *regmap; > > > + int err; > > > + > > > + /* regulators page */ > > > + page = devm_i2c_new_dummy_device(dev,

Re: [RFC PATCH v3 2/5] mfd: add driver for Marvell 88PM886 PMIC

2024-03-05 Thread Karel Balej
Lee Jones, 2024-03-05T11:44:18+00:00: > > +static struct mfd_cell pm886_devs[] = { > > + { > > + .name = "88pm886-onkey", > > + .num_resources = ARRAY_SIZE(pm886_onkey_resources), > > + .resources = pm886_onkey_resources, > > + }, > > + { > > + .name =

Re: [RFC PATCH v3 2/5] mfd: add driver for Marvell 88PM886 PMIC

2024-03-05 Thread Lee Jones
On Sun, 03 Mar 2024, Karel Balej wrote: > From: Karel Balej > > Marvell 88PM886 is a PMIC which provides various functions such as > onkey, battery, charger and regulators. It is found for instance in the > samsung,coreprimevelte smartphone with which this was tested. > > Only implement basic

[RFC PATCH v3 2/5] mfd: add driver for Marvell 88PM886 PMIC

2024-03-03 Thread Karel Balej
From: Karel Balej Marvell 88PM886 is a PMIC which provides various functions such as onkey, battery, charger and regulators. It is found for instance in the samsung,coreprimevelte smartphone with which this was tested. Only implement basic support to allow for the use of regulators and onkey