Searched hist:"3 abee4579484c554961bb0af92a77adc0ebd791d" (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/mfd/ |
H A D | simple-mfd-i2c.c | 3abee4579484c554961bb0af92a77adc0ebd791d Mon Sep 14 16:43:29 CDT 2020 Michael Walle <michael@walle.cc> mfd: Add simple regmap based I2C driver
There are I2C devices which contain several different functions but doesn't require any special access functions. For these kind of drivers an I2C regmap should be enough.
Create an I2C driver which creates an I2C regmap and enumerates its children. If a device wants to use this as its MFD core driver, it has to add an individual compatible string. It may provide its own regmap configuration.
Subdevices can use dev_get_regmap() on the parent to get their regmap instance.
Signed-off-by: Michael Walle <michael@walle.cc> Signed-off-by: Lee Jones <lee.jones@linaro.org>
|
H A D | Makefile | diff 3abee4579484c554961bb0af92a77adc0ebd791d Mon Sep 14 16:43:29 CDT 2020 Michael Walle <michael@walle.cc> mfd: Add simple regmap based I2C driver
There are I2C devices which contain several different functions but doesn't require any special access functions. For these kind of drivers an I2C regmap should be enough.
Create an I2C driver which creates an I2C regmap and enumerates its children. If a device wants to use this as its MFD core driver, it has to add an individual compatible string. It may provide its own regmap configuration.
Subdevices can use dev_get_regmap() on the parent to get their regmap instance.
Signed-off-by: Michael Walle <michael@walle.cc> Signed-off-by: Lee Jones <lee.jones@linaro.org>
|
H A D | Kconfig | diff 3abee4579484c554961bb0af92a77adc0ebd791d Mon Sep 14 16:43:29 CDT 2020 Michael Walle <michael@walle.cc> mfd: Add simple regmap based I2C driver
There are I2C devices which contain several different functions but doesn't require any special access functions. For these kind of drivers an I2C regmap should be enough.
Create an I2C driver which creates an I2C regmap and enumerates its children. If a device wants to use this as its MFD core driver, it has to add an individual compatible string. It may provide its own regmap configuration.
Subdevices can use dev_get_regmap() on the parent to get their regmap instance.
Signed-off-by: Michael Walle <michael@walle.cc> Signed-off-by: Lee Jones <lee.jones@linaro.org>
|