Re: [RFC PATCH 12/21] reset: uniphier: add core support for UniPhier reset driver

2016-05-11 Thread Philipp Zabel
Am Mittwoch, den 11.05.2016, 11:46 +0900 schrieb Masahiro Yamada: > Hi Philipp, > > > 2016-05-10 22:54 GMT+09:00 Philipp Zabel : > > Am Dienstag, den 10.05.2016, 18:50 +0900 schrieb Masahiro Yamada: > > [...] > >> +static int uniphier_reset_update(struct reset_controller_dev *rcdev, > >> +

Re: [RFC PATCH 12/21] reset: uniphier: add core support for UniPhier reset driver

2016-05-10 Thread Masahiro Yamada
Hi Philipp, 2016-05-10 22:54 GMT+09:00 Philipp Zabel : > Am Dienstag, den 10.05.2016, 18:50 +0900 schrieb Masahiro Yamada: > [...] >> +static int uniphier_reset_update(struct reset_controller_dev *rcdev, >> + unsigned long id, bool assert) >> +{ >> + struct uniphi

Re: [RFC PATCH 12/21] reset: uniphier: add core support for UniPhier reset driver

2016-05-10 Thread Philipp Zabel
Am Dienstag, den 10.05.2016, 18:50 +0900 schrieb Masahiro Yamada: [...] > +static int uniphier_reset_update(struct reset_controller_dev *rcdev, > + unsigned long id, bool assert) > +{ > + struct uniphier_reset_priv *priv = to_uniphier_reset_priv(rcdev); > + cons

[RFC PATCH 12/21] reset: uniphier: add core support for UniPhier reset driver

2016-05-10 Thread Masahiro Yamada
The core support for UniPhier reset drivers. On UniPhier SoCs, registers for clock, reset, and other system controlling are mixed in one hardware block. It is difficult to have one independent reset node. So, I chose to use MFD from which clocks and resets (and power in the future) are populated.