lkml.org 
[lkml]   [2020]   [Jun]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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@allwinnertech.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
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2020-06-29 23:24    [W:0.071 / U:0.504 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site