Re: [reset-control] How to initialize hardware state with the shared reset line?

2018-06-05 Thread Philipp Zabel
Hi Masahiro, On Wed, 2018-05-30 at 14:57 +0900, Masahiro Yamada wrote: > One more thing. > > I want to remove reset_control_reset() entirely. reset_control_reset is for those cases where "the reset controller knows" how to reset us. There are hardware reset controllers that can control a bunch o

Re: [reset-control] How to initialize hardware state with the shared reset line?

2018-05-29 Thread Masahiro Yamada
2018-05-25 5:09 GMT+09:00 Martin Blumenstingl : > Hi Philipp, > > On Tue, May 22, 2018 at 4:04 PM, Philipp Zabel wrote: >> Hi Martin, >> >> On Mon, 2018-05-21 at 12:40 +0200, Martin Blumenstingl wrote: >>> Hello, >>> >>> On Mon, May 21, 2018 at 3:27 AM, Masahiro Yamada >>> wrote: >>> > Hi. >>> >

Re: [reset-control] How to initialize hardware state with the shared reset line?

2018-05-24 Thread Martin Blumenstingl
Hi Philipp, On Tue, May 22, 2018 at 4:04 PM, Philipp Zabel wrote: > Hi Martin, > > On Mon, 2018-05-21 at 12:40 +0200, Martin Blumenstingl wrote: >> Hello, >> >> On Mon, May 21, 2018 at 3:27 AM, Masahiro Yamada >> wrote: >> > Hi. >> > >> > >> > 2018-05-20 19:57 GMT+09:00 Martin Blumenstingl >> >

Re: [reset-control] How to initialize hardware state with the shared reset line?

2018-05-22 Thread Philipp Zabel
Hi Martin, On Mon, 2018-05-21 at 12:40 +0200, Martin Blumenstingl wrote: > Hello, > > On Mon, May 21, 2018 at 3:27 AM, Masahiro Yamada > wrote: > > Hi. > > > > > > 2018-05-20 19:57 GMT+09:00 Martin Blumenstingl > > : > > > Hi, > > > > > > On Thu, May 10, 2018 at 11:16 AM, Masahiro Yamada > >

Re: [reset-control] How to initialize hardware state with the shared reset line?

2018-05-22 Thread Philipp Zabel
Hi Masahiro, On Thu, 2018-05-10 at 18:16 +0900, Masahiro Yamada wrote: > Hi. > > > The previous thread was: > "usb: dwc3: support clocks and resets for DWC3 core" > https://patchwork.kernel.org/patch/10349623/ > > > I changed the subject because > I think this is rather reset-control topic tha

Re: [reset-control] How to initialize hardware state with the shared reset line?

2018-05-21 Thread Hans de Goede
Hi, On 21-05-18 03:27, Masahiro Yamada wrote: Hi. 2018-05-20 19:57 GMT+09:00 Martin Blumenstingl : Hi, On Thu, May 10, 2018 at 11:16 AM, Masahiro Yamada wrote: [snip] I may be missing something, but one solution might be reset hogging on the reset provider side. This allows us to describe

Re: [reset-control] How to initialize hardware state with the shared reset line?

2018-05-21 Thread Martin Blumenstingl
Hello, On Mon, May 21, 2018 at 3:27 AM, Masahiro Yamada wrote: > Hi. > > > 2018-05-20 19:57 GMT+09:00 Martin Blumenstingl > : >> Hi, >> >> On Thu, May 10, 2018 at 11:16 AM, Masahiro Yamada >> wrote: >> [snip] >>> I may be missing something, but >>> one solution might be reset hogging on the >>>

Re: [reset-control] How to initialize hardware state with the shared reset line?

2018-05-20 Thread Masahiro Yamada
Hi. 2018-05-20 19:57 GMT+09:00 Martin Blumenstingl : > Hi, > > On Thu, May 10, 2018 at 11:16 AM, Masahiro Yamada > wrote: > [snip] >> I may be missing something, but >> one solution might be reset hogging on the >> reset provider side. This allows us to describe >> the initial state of reset li

Re: [reset-control] How to initialize hardware state with the shared reset line?

2018-05-20 Thread Martin Blumenstingl
Hi, On Thu, May 10, 2018 at 11:16 AM, Masahiro Yamada wrote: [snip] > I may be missing something, but > one solution might be reset hogging on the > reset provider side. This allows us to describe > the initial state of reset lines in the reset controller. > > The idea for "reset-hog" is similar

[reset-control] How to initialize hardware state with the shared reset line?

2018-05-10 Thread Masahiro Yamada
Hi. The previous thread was: "usb: dwc3: support clocks and resets for DWC3 core" https://patchwork.kernel.org/patch/10349623/ I changed the subject because I think this is rather reset-control topic than USB. I am searching for a good way to initialize hardware devices in the following situa