Re: [PATCH 3/3] reset: uniphier: add analog amplifiers reset control

From: Philipp Zabel
Date: Thu Aug 10 2017 - 06:37:48 EST


Hi Katsuhiro,

On Thu, 2017-08-10 at 16:27 +0900, Katsuhiro Suzuki wrote:
> Add a reset line for analog signal amplifier core (ADAMV) on
> UniPhier LD11/LD20 SoCs.
>
> > Signed-off-by: Katsuhiro Suzuki <suzuki.katsuhiro@xxxxxxxxxxxxx>
> ---
> Âdrivers/reset/reset-uniphier.c | 15 +++++++++++++++
> Â1 file changed, 15 insertions(+)
>
> diff --git a/drivers/reset/reset-uniphier.c b/drivers/reset/reset-uniphier.c
> index f60c137c17cb..cda4a78a58e2 100644
> --- a/drivers/reset/reset-uniphier.c
> +++ b/drivers/reset/reset-uniphier.c
> @@ -196,6 +196,12 @@ static const struct uniphier_reset_data uniphier_pro4_peri_reset_data[] = {
> > Â UNIPHIER_RESET_END,
> Â};
> Â
> +/* Analog signal amplifiers reset data */
> +static const struct uniphier_reset_data uniphier_ld11_adamv_reset_data[] = {
> > + UNIPHIER_RESETX(100, 0x10, 6), /* EVEA */
> > + UNIPHIER_RESET_END,
> +};
> +
> Â/* core implementaton */
> Âstruct uniphier_reset_priv {
> > Â struct reset_controller_dev rcdev;
> @@ -415,6 +421,15 @@ static const struct of_device_id uniphier_reset_match[] = {
> > Â .compatible = "socionext,uniphier-ld20-peri-reset",
> > Â .data = uniphier_pro4_peri_reset_data,
> > Â },
> > + /* Analog signal amplifiers reset */
> > + {
> > + .compatible = "socionext,uniphier-ld11-adamv-reset",
> > + .data = uniphier_ld11_adamv_reset_data,
> > + },
> > + {
> > + .compatible = "socionext,uniphier-ld20-adamv-reset",
> > + .data = uniphier_ld11_adamv_reset_data,
> > + },
> > Â { /* sentinel */ }
> Â};
> ÂMODULE_DEVICE_TABLE(of, uniphier_reset_match);

Please add a patch to describe the new compatible values in
Documentation/devicetree/bindings/reset/uniphier-reset.txt.

regards
Philipp