Searched refs:utcpd (Results 1 – 2 of 2) sorted by relevance
216 } utcpd; member299 return (uint32_t)(((uint64_t)bit) * data->vref_mv * config->utcpd.vbvol.vbscale.value / in numaker_utcpd_vbus_volt_bit2mv()319 return mv * BIT_MASK(10) / data->vref_mv / config->utcpd.vbvol.vbscale.value; in numaker_utcpd_vbus_volt_mv2bit()549 const struct gpio_dt_spec *vbus_discharge_spec = &config->utcpd.gpios.vbus_discharge; in numaker_utcpd_vbus_set_discharge()1053 vbvol |= config->utcpd.vbvol.vbscale.bit; in numaker_utcpd_vbus_init()1131 spec = &config->utcpd.gpios.vbus_detect; in numaker_utcpd_gpios_init()1147 spec = &config->utcpd.gpios.vbus_discharge; in numaker_utcpd_gpios_init()1161 spec = &config->utcpd.gpios.vconn_discharge; in numaker_utcpd_gpios_init()1248 return numaker_utcpd_deadbattery_set_enable(dev, config->utcpd.dead_battery); in numaker_utcpd_deadbattery_init()1382 pinpl = config->utcpd.pinpl.bit; in numaker_utcpd_init_startup()[all …]
413 tcpc0: utcpd@400c6000 {418 reg-names = "utcpd", "eadc", "timer";420 interrupt-names = "utcpd";423 reset-names = "utcpd", "timer";426 clock-names = "utcpd", "timer";