Lines Matching +full:opp +full:- +full:table
1 // SPDX-License-Identifier: GPL-2.0-only
6 #define dev_fmt(fmt) "tegra-soc: " fmt
57 return -EINVAL; in tegra_core_dev_init_opp_state()
60 /* first dummy rate-setting initializes voltage vote */ in tegra_core_dev_init_opp_state()
63 dev_err(dev, "failed to initialize OPP clock: %d\n", err); in tegra_core_dev_init_opp_state()
71 * devm_tegra_core_dev_init_opp_table() - initialize OPP table
72 * @dev: device for which OPP table is initialized
73 * @params: pointer to the OPP table configuration
75 * This function will initialize OPP table and sync OPP state of a Tegra SoC
88 dev_err(dev, "failed to set OPP clk: %d\n", err); in devm_tegra_core_dev_init_opp_table()
92 /* Tegra114+ doesn't support OPP yet */ in devm_tegra_core_dev_init_opp_table()
95 return -ENODEV; in devm_tegra_core_dev_init_opp_table()
104 dev_err(dev, "failed to set OPP supported HW: %d\n", err); in devm_tegra_core_dev_init_opp_table()
109 * Older device-trees have an empty OPP table, we will get in devm_tegra_core_dev_init_opp_table()
110 * -ENODEV from devm_pm_opp_of_add_table() in this case. in devm_tegra_core_dev_init_opp_table()
114 if (err == -ENODEV) in devm_tegra_core_dev_init_opp_table()
115 dev_err_once(dev, "OPP table not found, please update device-tree\n"); in devm_tegra_core_dev_init_opp_table()
117 dev_err(dev, "failed to add OPP table: %d\n", err); in devm_tegra_core_dev_init_opp_table()
122 if (params->init_state) { in devm_tegra_core_dev_init_opp_table()