Lines Matching full:dmc
21 * 1. U-Boot parse cpu/dmc opp table from kernel dtb, anyone of
23 * cpu/dmc nodes means wtemp is enabled.
32 * 2. U-Boot parse cpu/dmc thermal zone "trip-point-0" temperature from kernel
49 * dmc,low-temp-repeat;
50 * dmc,high-temp-repeat;
55 #define FDT_PATH_DMC "/dmc"
116 struct pm_element *dmc; member
128 .name = "dmc",
498 ofnode cpus, cpu, dmc; in wtemp_dvfs_ofdata_to_platdata() local
532 /* 2. Parse dmc node */ in wtemp_dvfs_ofdata_to_platdata()
534 priv->dmc = &pm_dmc; in wtemp_dvfs_ofdata_to_platdata()
535 dmc = ofnode_path(FDT_PATH_DMC); in wtemp_dvfs_ofdata_to_platdata()
536 if (!ofnode_valid(dmc)) { in wtemp_dvfs_ofdata_to_platdata()
545 ret = __wtemp_common_ofdata_to_platdata(dmc, priv->dmc); in wtemp_dvfs_ofdata_to_platdata()
549 priv->dmc->lmt.ltemp_repeat = in wtemp_dvfs_ofdata_to_platdata()
550 dev_read_bool(dev, "dmc,low-temp-repeat"); in wtemp_dvfs_ofdata_to_platdata()
551 priv->dmc->lmt.htemp_repeat = in wtemp_dvfs_ofdata_to_platdata()
552 dev_read_bool(dev, "dmc,high-temp-repeat"); in wtemp_dvfs_ofdata_to_platdata()
554 list_add_tail(&priv->dmc->node, &pm_e_head); in wtemp_dvfs_ofdata_to_platdata()
584 } else if (strstr(name, "dmc")) { in wtemp_dvfs_ofdata_to_platdata()
585 priv->dmc->lmt.tztemp_limit = true; in wtemp_dvfs_ofdata_to_platdata()
586 priv->dmc->lmt.tz_temp = tz_temp; in wtemp_dvfs_ofdata_to_platdata()
609 /* Init dmc */ in wtemp_dvfs_probe()
612 printf("DVFS: Get dmc device failed, ret=%d\n", ret); in wtemp_dvfs_probe()