Re: [PATCH v8 02/42] clk: davinci: New driver for davinci PLL clocks

2018-03-20 Thread Stephen Boyd
Quoting David Lechner (2018-03-15 19:52:18) > This adds a new driver for mach-davinci PLL clocks. This is porting the > code from arch/arm/mach-davinci/clock.c to the common clock framework. > Additionally, it adds device tree support for these clocks. > > The ifeq ($(CONFIG_COMMON_CLK), y) in the

Re: [PATCH v8 02/42] clk: davinci: New driver for davinci PLL clocks

2018-03-20 Thread Stephen Boyd
Quoting David Lechner (2018-03-15 19:52:18) > + > +static int davinci_pll_debug_init(struct clk_hw *hw, struct dentry *dentry) > +{ > + struct davinci_pll_clk *pll = to_davinci_pll_clk(hw); > + struct debugfs_regset32 *regset; > + struct dentry *d; > + > + regset = kzalloc(s

[PATCH v8 02/42] clk: davinci: New driver for davinci PLL clocks

2018-03-15 Thread David Lechner
This adds a new driver for mach-davinci PLL clocks. This is porting the code from arch/arm/mach-davinci/clock.c to the common clock framework. Additionally, it adds device tree support for these clocks. The ifeq ($(CONFIG_COMMON_CLK), y) in the Makefile is needed to prevent compile errors until th