Home
last modified time | relevance | path

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

/openbmc/linux/drivers/regulator/
H A Drtq2208-regulator.c376 static void rtq2208_init_regulator_desc(struct rtq2208_regulator_desc *rdesc, int mtp_sel, in rtq2208_init_regulator_desc() argument
404 desc->enable_mask = mtp_sel ? MTP_SEL_MASK(1) : MTP_SEL_MASK(0); in rtq2208_init_regulator_desc()
415 desc->vsel_reg = curr_info->base + VSEL_SHIFT(mtp_sel); in rtq2208_init_regulator_desc()
448 int mtp_sel, ret, i, idx, ldo_idx = 0; in rtq2208_parse_regulator_dt_data() local
451 mtp_sel = device_property_read_bool(dev, "richtek,mtp-sel-high"); in rtq2208_parse_regulator_dt_data()
460 rtq2208_init_regulator_desc(rdesc[i], mtp_sel, idx, rtq2208_ldo_match, &ldo_idx); in rtq2208_parse_regulator_dt_data()