Home
last modified time | relevance | path

Searched refs:stw481x (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.4/drivers/mfd/
Dstw481x.c44 static int stw481x_get_pctl_reg(struct stw481x *stw481x, u8 reg) in stw481x_get_pctl_reg() argument
52 ret = regmap_write(stw481x->map, STW_PCTL_REG_HI, msb); in stw481x_get_pctl_reg()
55 ret = regmap_write(stw481x->map, STW_PCTL_REG_LO, lsb); in stw481x_get_pctl_reg()
58 ret = regmap_read(stw481x->map, STW_PCTL_REG_HI, &val); in stw481x_get_pctl_reg()
62 ret = regmap_read(stw481x->map, STW_PCTL_REG_LO, &val); in stw481x_get_pctl_reg()
71 static int stw481x_startup(struct stw481x *stw481x) in stw481x_startup() argument
89 ret = regmap_read(stw481x->map, STW_CONF1, &val); in stw481x_startup()
95 dev_info(&stw481x->client->dev, "voltages %s\n", in stw481x_startup()
97 dev_info(&stw481x->client->dev, "MMC level shifter %s\n", in stw481x_startup()
99 dev_info(&stw481x->client->dev, "VMMC: %s\n", in stw481x_startup()
[all …]
DMakefile227 obj-$(CONFIG_MFD_STW481X) += stw481x.o
/Linux-v5.4/drivers/regulator/
Dstw481x-vmmc.c57 struct stw481x *stw481x = dev_get_platdata(&pdev->dev); in stw481x_vmmc_regulator_probe() local
63 ret = regmap_update_bits(stw481x->map, STW_CONF2, in stw481x_vmmc_regulator_probe()
72 config.driver_data = stw481x; in stw481x_vmmc_regulator_probe()
73 config.regmap = stw481x->map; in stw481x_vmmc_regulator_probe()
DMakefile113 obj-$(CONFIG_REGULATOR_STW481X_VMMC) += stw481x-vmmc.o
/Linux-v5.4/include/linux/mfd/
Dstw481x.h46 struct stw481x { struct
/Linux-v5.4/arch/arm/boot/dts/
Dste-nomadik-stn8815.dtsi709 compatible = "st,stw481x-vmmc";