Home
last modified time | relevance | path

Searched refs:tps549b22 (Results 1 – 2 of 2) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/regulator/
H A Dtps549b22-regulator.c61 struct tps549b22 { struct
86 struct tps549b22 *tps549b22 = rdev_get_drvdata(rdev); in tps549b22_dcdc_list_voltage() argument
91 return REG2VOL(index + VOL_MIN_IDX, tps549b22->vol_step); in tps549b22_dcdc_list_voltage()
94 static int tps549b22_reg_init(struct tps549b22 *tps549b22) in tps549b22_reg_init() argument
96 if (regmap_update_bits(tps549b22->regmap_8bits, in tps549b22_reg_init()
100 return regmap_update_bits(tps549b22->regmap_8bits, in tps549b22_reg_init()
105 dev_err(tps549b22->dev, "regulator init err\n"); in tps549b22_reg_init()
112 struct tps549b22 *tps549b22 = rdev_get_drvdata(rdev); in tps549b22dcdc_is_enabled() local
116 err = regmap_read(tps549b22->regmap_8bits, TPS549b22_REG_ST_BYTE, &val); in tps549b22dcdc_is_enabled()
125 struct tps549b22 *tps549b22 = rdev_get_drvdata(rdev); in tps549b22dcdc_enable() local
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/regulator/
H A Dtps549b22-regulator.txt4 - compatible: Must be "ti,tps549b22"
11 tps549b22@1e {
12 compatible = "ti,tps549b22";