Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp679751ybl; Wed, 11 Dec 2019 05:58:00 -0800 (PST) X-Google-Smtp-Source: APXvYqyOZi7wqxr6bR1o1rZ6L6M/uZeDg7ZCnXk9EGyGoS9z0T6a0ZDKtGbzk5qKfHhdJOfe5WqH X-Received: by 2002:aca:aacf:: with SMTP id t198mr2889869oie.135.1576072680344; Wed, 11 Dec 2019 05:58:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576072680; cv=none; d=google.com; s=arc-20160816; b=ykrccQLIMdccWugt+8vqV3pXFLTki5q1tmZgqgDK3IfGKvm7jigE+h6bphsOQxAD1B 81EyboMVboTanL+Q3J3DsbuY8jlvDw73y6EFVX5x16qiqZcLh9//NoWYw1KMjqaMXovT hgn3SJCP7Ei0uA7YhlHnLE5KW9K7+5ygiCEnZAxpbmg3lhtAv+7u3GNeGr6dlsatt5Ay Bz8oLw7AjYVgE+fbyE8Gl7GWaCbYmkJfOFcLcuT/iM8RHz3SIBG6UtSX3+19ySWBuZUx ZiAYOvhRWa1eJESb1mbUqRCli5TWS1cy2ZgjN58A4lDtp2geju2FC/4OGKgc3ii5hW3g zmlA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=0pggZI5/bUO/l9/r0lxkR8I0FGGiWHmBYqQde7KdFm4=; b=G72YXyNcMqzRQ3Z++WbQt/VN1XavT1mP82bhlhltDpvdrZ6uuQ/l0AmWRXWwXvFtmT ZDiNaZoN682vecejhGvfnfgfpTIGvYdMgkWXAG+M4C6hduDGgy/VhKN1DyJUKGDI7FcW D+w9aTfV1UvuaJJHEkATztOhOFye9NiNrsFq8xNdQZvmfZk0wrWAVDEjkn1nN0vyACII labArNAMepWUv5zvI13CH/BCyw7SKRdW+pqP5wn9RydvvqhiYmMRNc8cN9620nQ8h71I WnxkH0/7SbcaZahKQaQsz0CTpQZ6XO9OT4nJrg+gjsI386qWW96oHvfizUPmCdc1dI3o T/tg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h11si1233418otr.197.2019.12.11.05.57.48; Wed, 11 Dec 2019 05:58:00 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729671AbfLKNz7 (ORCPT + 99 others); Wed, 11 Dec 2019 08:55:59 -0500 Received: from mout.kundenserver.de ([212.227.17.13]:45259 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727554AbfLKNz6 (ORCPT ); Wed, 11 Dec 2019 08:55:58 -0500 Received: from mail-qk1-f173.google.com ([209.85.222.173]) by mrelayeu.kundenserver.de (mreue108 [212.227.15.145]) with ESMTPSA (Nemesis) id 1Md6ZB-1i6Wvn3d47-00aFjS for ; Wed, 11 Dec 2019 14:55:57 +0100 Received: by mail-qk1-f173.google.com with SMTP id d71so11713286qkc.0 for ; Wed, 11 Dec 2019 05:55:56 -0800 (PST) X-Gm-Message-State: APjAAAUuOFK1t2HOUhkNkriQn9ta52MJfHTSbbEhT1fnCzjE68uqyuXw UCCLUEbPsbPh2wdM4JjJSXGcMtFc00KgJpVSshw= X-Received: by 2002:a37:4e4e:: with SMTP id c75mr2897643qkb.3.1576072555791; Wed, 11 Dec 2019 05:55:55 -0800 (PST) MIME-Version: 1.0 References: <1576037311-6052-1-git-send-email-orson.zhai@unisoc.com> In-Reply-To: <1576037311-6052-1-git-send-email-orson.zhai@unisoc.com> From: Arnd Bergmann Date: Wed, 11 Dec 2019 14:55:39 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3] mfd: syscon: Add arguments support for syscon reference To: Orson Zhai Cc: Rob Herring , Lee Jones , "linux-kernel@vger.kernel.org" , baolin.wang@unisoc.com, kevin.tang@unisoc.com, Chunyan Zhang , liangcai.fan@unisoc.com Content-Type: text/plain; charset="UTF-8" X-Provags-ID: V03:K1:z+tgDU1td1bvn/8N9qw0Vs2R48lNvgdZS7SscmRfo5/3bYZHor4 pbnVLcbf6I0YSVcw7JafbopyV6PFHMkKHBFuPV7tJm1/U2+l/004gkBIaliY3blyisQSo0U UipJAD+K2c2q0Djk4WkZCRg8n9sAbFY2mHbdlZ37chPUYoK4wGDbjBXj4fRWepTTWc7LTH/ EFG1xNo8GkBtz1CtJt8tg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:nHFyenSwp6U=:TIJpytRAAzXljDNffvMUFC HSpovx8Y9BVaPxYHhPS9WP69MedJknD8i/lkTmUHiDr1L6D50EnfxS1mgF1NYxBlZ0ClGwSSS Ne0QcS+aJIlTvGKn9hnd8jx0oof2psj7u+EW+8+Uk+tIcr12pQyOpgazsQDEdEhwpXPtTaSml k6MbS+91fz4Vs+3Ofny8Yq3cEYY8KCa8Uu7qUpDs8Sb+4sTp0VW8bpviz89/vE0ZWSWxq0D96 VRGYKPq4NMo0AQHpRx+NLvE6ksr8at5nB4WCCCNnV4h2KU13XGY1/aTXSGLvIM2NG5UOmVzi/ 7jUDkZmS4PKtPJUuI2C/LuZvjLE+Gyv8yAqnqRK/ZiBze4MmSnIASa6S03Bra9OthjKxwhPAh roTWmuexpBIM31Z8/LEq5d+ckK+Ld337KdaxU2kasRmZ1GT0hHS4EkJDsGGSB+nScvZxVPdAE rycIaa9vdWO7/uTIYI8yMz9u5tfXik96nswU9j2knV6r1p480OmkIj7V0HOuOrv6eF3f9WfBn sAyZ4dYigDj8xpWvS1hIGI6lNdinP4npwHLBPC72aHvixmpK+LbH4W0StocyGQzp9RJCImWHg 6qii+6AYVangDjXCM+yWWUNYeS1xyBATpKfe4QO1qQOdFlT6d2jmd4C/1tlP3a1d/e6vz8XeN y6aL7gK3fbnUVTLU8xRVtlvXM88VI++jEQHQ4UGs5uQZCk6QlWZkJXnZBVRBVOJJFlloK5u8F IXsiME85xdq8pwnAQiVb13fTKpGVLYLUHWgXWG668d/ApMLBoAh9ycHdFwDO/wPBGJe7Z4RfK XmAPaSddxp3tmaSEVFuHAOf0UeINxTprmpo9lAIVXnOB3KNVSgx8B+uKChMhTHKx3sEuyckw2 I9z5mqFoxZp4Yk/xIw8A== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Dec 11, 2019 at 5:09 AM Orson Zhai wrote: > > There are a lot of similar global registers being used across multiple SoCs > from Unisoc. But most of these registers are assigned with different offset > for different SoCs. It is hard to handle all of them in an all-in-one > kernel image. > > Add a helper function to get regmap with arguments where we could put some > extra information such as the offset value. > > Signed-off-by: Orson Zhai > Tested-by: Baolin Wang Reviewed-by: Arnd Bergmann