Home
last modified time | relevance | path

Searched refs:lp87565 (Results 1 – 11 of 11) sorted by relevance

/Linux-v5.4/drivers/mfd/
Dlp87565.c44 struct lp87565 *lp87565; in lp87565_probe() local
49 lp87565 = devm_kzalloc(&client->dev, sizeof(*lp87565), GFP_KERNEL); in lp87565_probe()
50 if (!lp87565) in lp87565_probe()
53 lp87565->dev = &client->dev; in lp87565_probe()
55 lp87565->regmap = devm_regmap_init_i2c(client, &lp87565_regmap_config); in lp87565_probe()
56 if (IS_ERR(lp87565->regmap)) { in lp87565_probe()
57 ret = PTR_ERR(lp87565->regmap); in lp87565_probe()
58 dev_err(lp87565->dev, in lp87565_probe()
63 ret = regmap_read(lp87565->regmap, LP87565_REG_OTP_REV, &otpid); in lp87565_probe()
65 dev_err(lp87565->dev, "Failed to read OTP ID\n"); in lp87565_probe()
[all …]
DMakefile23 obj-$(CONFIG_MFD_TI_LP87565) += lp87565.o
DKconfig1497 will be called lp87565.
/Linux-v5.4/drivers/regulator/
Dlp87565-regulator.c162 struct lp87565 *lp87565 = dev_get_drvdata(pdev->dev.parent); in lp87565_regulator_probe() local
167 platform_set_drvdata(pdev, lp87565); in lp87565_regulator_probe()
170 config.dev->of_node = lp87565->dev->of_node; in lp87565_regulator_probe()
171 config.driver_data = lp87565; in lp87565_regulator_probe()
172 config.regmap = lp87565->regmap; in lp87565_regulator_probe()
174 switch (lp87565->dev_type) { in lp87565_regulator_probe()
193 dev_err(lp87565->dev, "failed to register %s regulator\n", in lp87565_regulator_probe()
DMakefile55 obj-$(CONFIG_REGULATOR_LP87565) += lp87565-regulator.o
/Linux-v5.4/drivers/gpio/
Dgpio-lp87565.c154 struct lp87565 *lp87565; in lp87565_gpio_probe() local
161 lp87565 = dev_get_drvdata(pdev->dev.parent); in lp87565_gpio_probe()
163 gpio->chip.parent = lp87565->dev; in lp87565_gpio_probe()
164 gpio->map = lp87565->regmap; in lp87565_gpio_probe()
DMakefile74 obj-$(CONFIG_GPIO_LP87565) += gpio-lp87565.o
DKconfig1113 called gpio-lp87565.
/Linux-v5.4/Documentation/devicetree/bindings/mfd/
Dlp87565.txt4 - compatible: "ti,lp87565", "ti,lp87565-q1"
16 compatible = "ti,lp87565-q1";
/Linux-v5.4/arch/arm/boot/dts/
Ddra76-evm.dts240 lp87565: lp87565@60 { label
241 compatible = "ti,lp87565-q1";
/Linux-v5.4/include/linux/mfd/
Dlp87565.h263 struct lp87565 { struct