|
@@ -358,6 +358,7 @@ struct tegra_clk_periph_regs {
|
|
|
* TEGRA_PERIPH_ON_APB - If peripheral is in the APB bus then read the
|
|
|
* bus to flush the write operation in apb bus. This flag indicates
|
|
|
* that this peripheral is in apb bus.
|
|
|
+ * TEGRA_PERIPH_WAR_1005168 - Apply workaround for Tegra114 MSENC bug
|
|
|
*/
|
|
|
struct tegra_clk_periph_gate {
|
|
|
u32 magic;
|
|
@@ -377,6 +378,7 @@ struct tegra_clk_periph_gate {
|
|
|
#define TEGRA_PERIPH_NO_RESET BIT(0)
|
|
|
#define TEGRA_PERIPH_MANUAL_RESET BIT(1)
|
|
|
#define TEGRA_PERIPH_ON_APB BIT(2)
|
|
|
+#define TEGRA_PERIPH_WAR_1005168 BIT(3)
|
|
|
|
|
|
void tegra_periph_reset(struct tegra_clk_periph_gate *gate, bool assert);
|
|
|
extern const struct clk_ops tegra_clk_periph_gate_ops;
|