Re: [U-Boot] [PATCH v2 01/50] dm: clk: Add support for decoding clocks from the device tree

2016-01-20 Thread Simon Glass
Hi Masahiro, On 20 January 2016 at 19:26, Masahiro Yamada wrote: > Hi Simon, > > > 2016-01-21 0:24 GMT+09:00 Simon Glass : >> Hi Masahiro, >> >> On 19 January 2016 at 22:38, Masahiro Yamada >> wrote: >>> >>> Hi

Re: [U-Boot] [PATCH v2 01/50] dm: clk: Add support for decoding clocks from the device tree

2016-01-20 Thread Masahiro Yamada
Hi Simon, 2016-01-21 0:24 GMT+09:00 Simon Glass : > Hi Masahiro, > > On 19 January 2016 at 22:38, Masahiro Yamada > wrote: >> >> Hi Simon, >> >> >> >>> >> >>> +/** >> >>> + * clk_get_by_index() - look up a clock referenced by a device >> >>> + *

Re: [U-Boot] [PATCH v2 01/50] dm: clk: Add support for decoding clocks from the device tree

2016-01-20 Thread Masahiro Yamada
Hi Simon, 2016-01-21 11:46 GMT+09:00 Simon Glass : > Hi Masahiro, > > On 20 January 2016 at 19:26, Masahiro Yamada > wrote: >> Hi Simon, >> >> >> 2016-01-21 0:24 GMT+09:00 Simon Glass : >>> Hi Masahiro, >>> >>> On 19 January

Re: [U-Boot] [PATCH v2 01/50] dm: clk: Add support for decoding clocks from the device tree

2016-01-20 Thread Simon Glass
Hi Masahiro, On 19 January 2016 at 22:38, Masahiro Yamada wrote: > > Hi Simon, > > > >>> > >>> +/** > >>> + * clk_get_by_index() - look up a clock referenced by a device > >>> + * > >>> + * Parse a device's 'clocks' list, returning information on the indexed > >>>

Re: [U-Boot] [PATCH v2 01/50] dm: clk: Add support for decoding clocks from the device tree

2016-01-19 Thread Simon Glass
Hi Masahiro, On 18 January 2016 at 21:29, Masahiro Yamada wrote: > Hi Simon, > > > 2016-01-19 11:27 GMT+09:00 Simon Glass : >> Add a method which can locate a clock for a device, given its index. This >> uses the normal device tree bindings to

Re: [U-Boot] [PATCH v2 01/50] dm: clk: Add support for decoding clocks from the device tree

2016-01-19 Thread Masahiro Yamada
Hi Simon, >>> >>> +/** >>> + * clk_get_by_index() - look up a clock referenced by a device >>> + * >>> + * Parse a device's 'clocks' list, returning information on the indexed >>> clock, >>> + * ensuring that it is activated. >>> + * >>> + * @dev: Device containing the clock reference >>>

[U-Boot] [PATCH v2 01/50] dm: clk: Add support for decoding clocks from the device tree

2016-01-18 Thread Simon Glass
Add a method which can locate a clock for a device, given its index. This uses the normal device tree bindings to return the clock device and the first argument which is normally used as a peripheral ID in U-Boot. Signed-off-by: Simon Glass --- Changes in v2: - Make the

Re: [U-Boot] [PATCH v2 01/50] dm: clk: Add support for decoding clocks from the device tree

2016-01-18 Thread Masahiro Yamada
Hi Simon, 2016-01-19 11:27 GMT+09:00 Simon Glass : > Add a method which can locate a clock for a device, given its index. This > uses the normal device tree bindings to return the clock device and the > first argument which is normally used as a peripheral ID in U-Boot. > >