Re: [PATCH 2/8] clk: tegra: host1x has fractional divider

2018-07-23 Thread Ben Dooks
On 2018-07-23 12:12, Peter De Schrijver wrote: On Mon, Jul 23, 2018 at 10:32:58AM +0100, Ben Dooks wrote: On 2018-07-23 09:50, Peter De Schrijver wrote: >On Fri, Jul 20, 2018 at 02:45:26PM +0100, Ben Dooks wrote: >>The host1x clock according to both tegra2 and tegra3 manuals is >>an 8bit di

Re: [PATCH 2/8] clk: tegra: host1x has fractional divider

2018-07-23 Thread Peter De Schrijver
On Mon, Jul 23, 2018 at 10:32:58AM +0100, Ben Dooks wrote: > > > On 2018-07-23 09:50, Peter De Schrijver wrote: > >On Fri, Jul 20, 2018 at 02:45:26PM +0100, Ben Dooks wrote: > >>The host1x clock according to both tegra2 and tegra3 manuals is > >>an 8bit divider with lsb being fractional. This is

Re: [PATCH 2/8] clk: tegra: host1x has fractional divider

2018-07-23 Thread Ben Dooks
On 2018-07-23 09:50, Peter De Schrijver wrote: On Fri, Jul 20, 2018 at 02:45:26PM +0100, Ben Dooks wrote: The host1x clock according to both tegra2 and tegra3 manuals is an 8bit divider with lsb being fractional. This is running into an issue where the host1x is being set on a tegra20a system

Re: [PATCH 2/8] clk: tegra: host1x has fractional divider

2018-07-23 Thread Peter De Schrijver
On Fri, Jul 20, 2018 at 02:45:26PM +0100, Ben Dooks wrote: > The host1x clock according to both tegra2 and tegra3 manuals is > an 8bit divider with lsb being fractional. This is running into > an issue where the host1x is being set on a tegra20a system to > 266.4MHz but ends up at 222MHz instead. >

[PATCH 2/8] clk: tegra: host1x has fractional divider

2018-07-20 Thread Ben Dooks
The host1x clock according to both tegra2 and tegra3 manuals is an 8bit divider with lsb being fractional. This is running into an issue where the host1x is being set on a tegra20a system to 266.4MHz but ends up at 222MHz instead. Signed-off-by: Ben Dooks --- drivers/clk/tegra/clk-tegra-periph.c