1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-08-31 08:12:06 +02:00
- Add CCF clocks definitions for iMX6Q enet (ETH)
- Several fixes for CCF framework - the most notable is the one, which
  adds get_rate helper to clk-mux.c
- Improvements for clk command - better visibility and alignment.
This commit is contained in:
Tom Rini
2020-08-24 09:06:02 -04:00
13 changed files with 152 additions and 29 deletions

View File

@@ -50,6 +50,14 @@ static inline struct clk *sandbox_clk_divider(const char *name,
reg, shift, width, 0);
}
static inline struct clk *sandbox_clk_gate(const char *name, const char *parent,
void __iomem *reg, u8 bit_idx,
u8 clk_gate_flags)
{
return clk_register_gate(NULL, name, parent, CLK_SET_RATE_PARENT,
reg, bit_idx, clk_gate_flags, NULL);
}
struct clk *sandbox_clk_register_gate2(struct device *dev, const char *name,
const char *parent_name,
unsigned long flags,