bool tegra_clk_is_parent_allowed(struct clk *c, struct clk *p)
{
- /*
- * Ideally, this function should be a look-up table for permissions
- * based on SKU. For now, allowing all combinations for Automotive SKU.
- */
- if (tegra_is_soc_automotive_speedo())
- return true;
-
/*
* Most of the Tegra12 multimedia and peripheral muxes include pll_c2
* and pll_c3 as possible inputs. However, per clock policy these plls
82, 180096, 238, 444285),
};
-struct tuning_t2t_coeffs t12x_automotive_tuning_coeffs[] = {
- SET_TUNING_COEFFS("sdhci-tegra.3", 1150, 950, 29, 130687,
- 29, 130687, 29, 130687),
- SET_TUNING_COEFFS("sdhci-tegra.2", 1150, 950, 37, 148855,
- 36, 148855, 37, 148855),
- SET_TUNING_COEFFS("sdhci-tegra.0", 1150, 950, 38, 149783,
- 38, 149783, 38, 149783),
-};
-
struct tuning_t2t_coeffs t12x_tuning_coeffs[] = {
SET_TUNING_COEFFS("sdhci-tegra.3", 1150, 950, 27, 118295,
27, 118295, 48, 188148),
221722, 354, 109880),
};
-struct tap_hole_coeffs t12x_automotive_tap_hole_coeffs[] = {
- SET_TAP_HOLE_COEFFS("sdhci-tegra.3", 198000, 9259, 107053, 9259,
- 107053, 9259, 107053),
- SET_TAP_HOLE_COEFFS("sdhci-tegra.3", 189000, 9846, 114635, 9846,
- 114635, 9846, 114635),
- SET_TAP_HOLE_COEFFS("sdhci-tegra.2", 204000, 2956, 27274, 2956,
- 27274, 2956, 27274),
- SET_TAP_HOLE_COEFFS("sdhci-tegra.0", 204000, 5781, 67417, 5781,
- 67417, 5781, 67417),
-};
-
struct tap_hole_coeffs t12x_tap_hole_coeffs[] = {
SET_TAP_HOLE_COEFFS("sdhci-tegra.3", 200000, 1037, 106934, 1037,
106934, 558, 74315),