[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200629150745.ettjdggv55gfxs5s@gilmour.lan>
Date: Mon, 29 Jun 2020 17:07:45 +0200
From: Maxime Ripard <maxime@...no.tech>
To: Frank Lee <frank@...winnertech.com>
Cc: robh+dt@...nel.org, wens@...e.org, mturquette@...libre.com,
sboyd@...nel.org, srinivas.kandagatla@...aro.org,
linus.walleij@...aro.org, anarsoul@...il.com,
tiny.windzz@...il.com, rui.zhang@...el.com,
daniel.lezcano@...aro.org, amit.kucheria@...durent.com,
p.zabel@...gutronix.de, clabbe@...libre.com, icenowy@...c.io,
megous@...ous.com, karlp@...ak.net.au, bage@...utronix.de,
devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org, linux-clk@...r.kernel.org,
linux-gpio@...r.kernel.org, linux-pm@...r.kernel.org,
huangshuosheng@...winnertech.com, liyong@...winnertech.com
Subject: Re: [PATCH v2 06/11] nvmem: sunxi-sid: add support for A100's SID
controller
On Mon, Jun 22, 2020 at 10:59:02AM +0800, Frank Lee wrote:
> Add support for A100's SID controller.
>
> Signed-off-by: Frank Lee <frank@...winnertech.com>
> ---
> drivers/nvmem/sunxi_sid.c | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/drivers/nvmem/sunxi_sid.c b/drivers/nvmem/sunxi_sid.c
> index e26ef1b..8ac074b 100644
> --- a/drivers/nvmem/sunxi_sid.c
> +++ b/drivers/nvmem/sunxi_sid.c
> @@ -189,6 +189,11 @@ static int sunxi_sid_probe(struct platform_device *pdev)
> .need_register_readout = true,
> };
>
> +static const struct sunxi_sid_cfg sun50i_a100_cfg = {
> + .value_offset = 0x200,
> + .size = 0x100,
> +};
> +
It looks like it's the same tha nthe H3 / A64 then?
If so, you can just reuse their compatible as fallback
Maxime
Download attachment "signature.asc" of type "application/pgp-signature" (229 bytes)
Powered by blists - more mailing lists