Re: [Question] reset controlling

2016-04-18 Thread Arnd Bergmann
On Sunday 17 April 2016 17:16:58 Masahiro Yamada wrote: > 2016-04-17 4:23 GMT+09:00 Arnd Bergmann : > >> Reset signals are sometimes cascaded. > >> For example, the UART blocks on my SoCs have a reset for the whole of > >> UART blocks > >> besides per-channel reset signals. > >> > >>

Re: [Question] reset controlling

2016-04-17 Thread Masahiro Yamada
Hi Arnd. 2016-04-17 4:23 GMT+09:00 Arnd Bergmann : > Better count the files: > > $ git grep -wl clk_register | wc -l > 179 > > $ git grep -wl reset_controller_register | wc -l > 25 > > This is more like seven times as many, which seems about right. Ah, right. I exaggerated too much. >> Reset

Re: [Question] reset controlling

2016-04-16 Thread Arnd Bergmann
On Sunday 17 April 2016 02:49:40 Masahiro Yamada wrote: > > I grepped "clk_register" and "reset_controller_register". > > I know this does not give us the precise number of > clk/reset providers, but I think it is enough for a rough estimate. > > masahiro@grover:~/workspace/linux$ git grep clk_r

[Question] reset controlling

2016-04-16 Thread Masahiro Yamada
Hi. I have wondered how to handle reset signals for my SoCs. I notice reset controllers are less supported in Linux than clock controllers. I grepped "clk_register" and "reset_controller_register". I know this does not give us the precise number of clk/reset providers, but I think it is en