[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMpxmJU3eA16cihpy4wmYyRvzOBx94Lfk6FsSdgsCuQPmHkM5Q@mail.gmail.com>
Date: Thu, 22 Feb 2018 14:32:11 +0100
From: Bartosz Golaszewski <bgolaszewski@...libre.com>
To: Philipp Zabel <p.zabel@...gutronix.de>
Cc: David Lechner <david@...hnology.com>,
Bartosz Golaszewski <brgl@...ev.pl>,
LKML <linux-kernel@...r.kernel.org>,
Sekhar Nori <nsekhar@...com>,
Kevin Hilman <khilman@...libre.com>
Subject: Re: [PATCH v4] reset: add support for non-DT systems
2018-02-22 12:34 GMT+01:00 Philipp Zabel <p.zabel@...gutronix.de>:
> On Tue, 2018-02-20 at 10:40 -0600, David Lechner wrote:
> [...]
>> > In your case the platform code that adds the lookup may be identical to
>> > the code that registers the struct reset_controller_dev, but that
>> > doesn't have to be the case. I'm not sure how that is supposed to work
>> > for the phy framework (I see no platform code adding phy lookups, only
>> > drivers).
>> >
>> In our use case, we would be adding the lookup in the driver rather than
>> in the platform code, which is why I am suggesting doing it like the phy
>> framework.
>
> Shouldn't it be the job of the platform code to describe the connections
> between reset controller and peripheral module reset
> inputs?
>
> regards
> Philipp
Am I right to understand that it's ok for drivers to know about the
available reset lines on the platform, it's just the associated
between these lines and concerned devices that should be done in
platform code?
Bart
Powered by blists - more mailing lists