Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp321582ybl; Thu, 12 Dec 2019 19:08:35 -0800 (PST) X-Google-Smtp-Source: APXvYqyhrhEgMr4jC2U67bq2kIgiLDe+A7m17GQFYFicTMh4Y/Zen0L9Wbqfw8ejubBp+4JhsU3Z X-Received: by 2002:a05:6830:1415:: with SMTP id v21mr12532400otp.188.1576206515436; Thu, 12 Dec 2019 19:08:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576206515; cv=none; d=google.com; s=arc-20160816; b=qIbGW6gK+km/PCDwi/d7h8Oc/pissHNxb6ZUuxQPkByjiwf0F6vm3jbk7mkfzjX6sS Ics4A9QFdt8jaQK3hH3WgnH7wVSgMEu58L5BM7N5T0t+je/fxbi6J9dnIgi0L5+Mu6ST Bl38N4/UwJS/YeBwacEkbMyAh+1xvPdtGVcDnnuHA7BLNZduVLB/B+x8J8SgAvogtk2N FqmNe7CcHZESZqpWn4OFXH+Pd9ehcmps6x4a8/ML1aGt42SRy1oeVTWjA34dKFTN+iNQ IUh79u6paz9M2/iIoBmKWMXtyQ1ymser2uxsIpGf50KzuUSWgUXReDY9ZTJ/V/kEfodq mZRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=4utP5DcuVvMAR930P2w5V80tUKQ6GO9eNjiPZXgb0cw=; b=Zy3dcEXDzVbWMiCCLm/ykGOl8hPLEw0DBDFuo2QEpLfQcFYtRe4KO8FBicHcnIic5l S9+Znjn58Y+famhwzgwSFGTo4piXnSr/fL2O6sn44EUx6R0wq5xMYwCDbWINbAgzZChG nY0/MDQrLdCX5GON1zltCIaqzVsgYg9cefnRIRGBYIBUOqXUpo6oORallcvlQPAykN+F Dntt65WZ1ASpaN+TsTGLN1woEalvExqGu29tyCmMPFXbaajaaZSXIy4aBQtK+nm/zNP0 2yDNy8pDPOVx2UbcHEIhLlrOglRs3UrbuaUX6haSw/Hr9X8U/SdCgW9cR7Lyuk8cm/eG PE4Q== 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 n7si4372568otk.277.2019.12.12.19.08.23; Thu, 12 Dec 2019 19:08:35 -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 S1731737AbfLMCuj convert rfc822-to-8bit (ORCPT + 99 others); Thu, 12 Dec 2019 21:50:39 -0500 Received: from mx1.unisoc.com ([222.66.158.135]:50468 "EHLO SHSQR01.spreadtrum.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726897AbfLMCuj (ORCPT ); Thu, 12 Dec 2019 21:50:39 -0500 Received: from ig2.spreadtrum.com (bjmbx02.spreadtrum.com [10.0.64.8]) by SHSQR01.spreadtrum.com with ESMTPS id xBD2nRML016388 (version=TLSv1 cipher=AES256-SHA bits=256 verify=NO); Fri, 13 Dec 2019 10:49:27 +0800 (CST) (envelope-from Orson.Zhai@unisoc.com) Received: from lenovo (10.0.74.130) by BJMBX02.spreadtrum.com (10.0.64.8) with Microsoft SMTP Server (TLS) id 15.0.847.32; Fri, 13 Dec 2019 10:49:50 +0800 Date: Fri, 13 Dec 2019 10:49:35 +0800 From: Orson Zhai To: Lee Jones , Rob Herring CC: Orson Zhai , Arnd Bergmann , "linux-kernel@vger.kernel.org" , , , Chunyan Zhang , , Subject: Re: [PATCH v3] mfd: syscon: Add arguments support for syscon reference Message-ID: <20191213024935.GD9271@lenovo> References: <1576037311-6052-1-git-send-email-orson.zhai@unisoc.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline In-Reply-To: X-Originating-IP: [10.0.74.130] X-ClientProxiedBy: shcas04.spreadtrum.com (10.29.35.89) To BJMBX02.spreadtrum.com (10.0.64.8) Content-Transfer-Encoding: 8BIT X-MAIL: SHSQR01.spreadtrum.com xBD2nRML016388 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Lee and Rob, On Wed, Dec 11, 2019 at 02:55:39PM +0100, Arnd Bergmann wrote: > 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 Does this patch look good to be applied? Or if any comments please feel free to send to me. Thank you! Best Regards, Orson ________________________________ This email (including its attachments) is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. Unauthorized use, dissemination, distribution or copying of this email or the information herein or taking any action in reliance on the contents of this email or the information herein, by anyone other than the intended recipient, or an employee or agent responsible for delivering the message to the intended recipient, is strictly prohibited. If you are not the intended recipient, please do not read, copy, use or disclose any part of this e-mail to others. Please notify the sender immediately and permanently delete this e-mail and any attachments if you received it in error. Internet communications cannot be guaranteed to be timely, secure, error-free or virus-free. The sender does not accept liability for any errors or omissions. 本邮件及其附件具有保密性质,受法律保护不得泄露,仅发送给本邮件所指特定收件人。严禁非经授权使用、宣传、发布或复制本邮件或其内容。若非该特定收件人,请勿阅读、复制、 使用或披露本邮件的任何内容。若误收本邮件,请从系统中永久性删除本邮件及所有附件,并以回复邮件的方式即刻告知发件人。无法保证互联网通信及时、安全、无误或防毒。发件人对任何错漏均不承担责任。