Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/regulator/
Ds5m8767.c486 struct device_node *pmic_np) in s5m8767_pmic_dt_parse_dvs_gpio() argument
491 gpio = of_get_named_gpio(pmic_np, in s5m8767_pmic_dt_parse_dvs_gpio()
504 struct device_node *pmic_np) in s5m8767_pmic_dt_parse_ds_gpio() argument
509 gpio = of_get_named_gpio(pmic_np, in s5m8767_pmic_dt_parse_ds_gpio()
524 struct device_node *pmic_np, *regulators_np, *reg_np; in s5m8767_pmic_dt_parse_pdata() local
529 pmic_np = iodev->dev->of_node; in s5m8767_pmic_dt_parse_pdata()
530 if (!pmic_np) { in s5m8767_pmic_dt_parse_pdata()
535 regulators_np = of_get_child_by_name(pmic_np, "regulators"); in s5m8767_pmic_dt_parse_pdata()
608 if (of_property_read_bool(pmic_np, "s5m8767,pmic-buck2-uses-gpio-dvs")) { in s5m8767_pmic_dt_parse_pdata()
611 if (of_property_read_u32_array(pmic_np, in s5m8767_pmic_dt_parse_pdata()
[all …]
Dmax8998.c544 struct device_node *pmic_np) in max8998_pmic_dt_parse_dvs_gpio() argument
548 gpio = of_get_named_gpio(pmic_np, "max8998,pmic-buck1-dvs-gpios", 0); in max8998_pmic_dt_parse_dvs_gpio()
555 gpio = of_get_named_gpio(pmic_np, "max8998,pmic-buck1-dvs-gpios", 1); in max8998_pmic_dt_parse_dvs_gpio()
562 gpio = of_get_named_gpio(pmic_np, "max8998,pmic-buck2-dvs-gpio", 0); in max8998_pmic_dt_parse_dvs_gpio()
575 struct device_node *pmic_np = iodev->dev->of_node; in max8998_pmic_dt_parse_pdata() local
581 regulators_np = of_get_child_by_name(pmic_np, "regulators"); in max8998_pmic_dt_parse_pdata()
617 ret = max8998_pmic_dt_parse_dvs_gpio(iodev, pdata, pmic_np); in max8998_pmic_dt_parse_pdata()
621 pdata->buck_voltage_lock = of_property_read_bool(pmic_np, "max8998,pmic-buck-voltage-lock"); in max8998_pmic_dt_parse_pdata()
623 ret = of_property_read_u32(pmic_np, in max8998_pmic_dt_parse_pdata()
631 ret = of_property_read_u32(pmic_np, in max8998_pmic_dt_parse_pdata()
[all …]
Dmax8997-regulator.c878 struct device_node *pmic_np) in max8997_pmic_dt_parse_dvs_gpio() argument
883 gpio = of_get_named_gpio(pmic_np, in max8997_pmic_dt_parse_dvs_gpio()
898 struct device_node *pmic_np, *regulators_np, *reg_np; in max8997_pmic_dt_parse_pdata() local
902 pmic_np = iodev->dev->of_node; in max8997_pmic_dt_parse_pdata()
903 if (!pmic_np) { in max8997_pmic_dt_parse_pdata()
908 regulators_np = of_get_child_by_name(pmic_np, "regulators"); in max8997_pmic_dt_parse_pdata()
946 pdata->buck1_gpiodvs = of_property_read_bool(pmic_np, "max8997,pmic-buck1-uses-gpio-dvs"); in max8997_pmic_dt_parse_pdata()
947 pdata->buck2_gpiodvs = of_property_read_bool(pmic_np, "max8997,pmic-buck2-uses-gpio-dvs"); in max8997_pmic_dt_parse_pdata()
948 pdata->buck5_gpiodvs = of_property_read_bool(pmic_np, "max8997,pmic-buck5-uses-gpio-dvs"); in max8997_pmic_dt_parse_pdata()
952 ret = max8997_pmic_dt_parse_dvs_gpio(pdev, pdata, pmic_np); in max8997_pmic_dt_parse_pdata()
[all …]