Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp553089ybl; Fri, 13 Dec 2019 00:25:15 -0800 (PST) X-Google-Smtp-Source: APXvYqyH7qbtw7gYKEG2O2qOSTFF9V27Sm5omxxNY2xciXSErMgxYG1ySX/wDMO8RDgvv4Jx0Ent X-Received: by 2002:a05:6830:14c7:: with SMTP id t7mr13548048otq.72.1576225515066; Fri, 13 Dec 2019 00:25:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576225515; cv=none; d=google.com; s=arc-20160816; b=m6IkkrpFkk50zST/ZVDw01MNO2yoA9UJ/PKH6f7ip7yDAu/F9lhwTsXsBuN+vtNl95 b5D8cTCP+FD314jAGN4Cn37EWaM5kwQEu9s0gOuuABt+xaWlU/G1LUGkCI2itwWLLjWC CW6QYD3oC87c0NS0+j5GdfvDiseIR538oMoZxMap7TIlItZbpBoFb5uyL3N/ZyIiIm+7 d2AUFUPL+jjpFwGBOIwIq5QF+pz7VYUOK7hCGIsRA4bLOY/tz7zcmre47JxuBomi4hQS T2xNKajcI5j7EO9dHPufbQHRRW/GFCqCl+q3zU35JSDiKYi6TZzi9ic00HBvMoB5lo7H xV0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=82UDForXBclaXTmeibYTDaW5JlhOC14SnMnAwguOTpo=; b=XlhLH045hIyRRR1VD3zNdA2C4N+QRcpjI1BWJ0cLhFVgFX5+V395nvs9dqWujK8Vwl CHsvvhNW7vgfQfwHE5FbpB902lwaF1+wVuBUqSML5oG9769cm1WtAyp9zf7hsBjvdeu4 C+GHdmG23zo8SghZRyffC061zYcvSBgdIXo21Y7ercw6+FndjybZAwdsdSSE9pg6dBZa BFPrCS099Ck3Tom/wRzJYiJXrznP6uGPKbPzDAZuzonNlPGYoBx4X3y7i5SfIHcfBf5B 3V0fWh9wRnrqAE+g70JCpiqjmzYO0e2HytdF63nfz4E2VhKluFPKTrfc+rmOWSipzKiB Cccw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MGZm49TS; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d62si5115252oib.144.2019.12.13.00.25.03; Fri, 13 Dec 2019 00:25:15 -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; dkim=pass header.i=@linaro.org header.s=google header.b=MGZm49TS; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726680AbfLMIXu (ORCPT + 99 others); Fri, 13 Dec 2019 03:23:50 -0500 Received: from mail-wr1-f68.google.com ([209.85.221.68]:35612 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725468AbfLMIXt (ORCPT ); Fri, 13 Dec 2019 03:23:49 -0500 Received: by mail-wr1-f68.google.com with SMTP id g17so5665100wro.2 for ; Fri, 13 Dec 2019 00:23:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=82UDForXBclaXTmeibYTDaW5JlhOC14SnMnAwguOTpo=; b=MGZm49TSm6YR55Z4M/q8t/y0AMytdlby56dY6eoGVWh2vU00Al/RppWCcPhlnSMv7i 5jNUBrje+r0IqzOl8/kqfJWqDsRbgYZSyA9aMJOAed5HTnCxj4BSAVpRgKrQE/yIyoPB Z0Fgf9puWv9aDusjm2k6ItffK/wr16PErOd19tZxtyx1Dhf1SJc63f8gVxfTaKE1aCUC Anqkqg8Vj09BOmJ3LjFfuH4q7pmtIEtnBcAS9bLN8OfS2dkvSbSBBYKi1qNLC9SQQM8N l+jf1tvRrTgeATSisYSSfEYrY/YwZgcSeGJXAHS76gnwB7R3qHWAllVe9KWCBArLyQ7L NDvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=82UDForXBclaXTmeibYTDaW5JlhOC14SnMnAwguOTpo=; b=imOWyQxcqq49ECPvIQ4DhM98Wxw6BAIZZ5CN0M4BijOVhz7mOea5AHFjoOqq4zkerF BWTEKytZz6bgT8u1dXheSmtq2mOl4orRCnzolAqpYNKGCcNJnAk+eVRExQWRxqxxRXig WA8wqZTARE9iTYok6fZji716LvF4zfLqVhLaY5/KW+azLDIZydIlZFdw32ulGB3JZO9Z 8/TrJKn/9f4j8WBuMcmdZ/krgdO1XDYjzNet4ePePk+Rr2bqbTLDKs4RDQQ9/n5sap5b zaURXpakxVP3vvjOAMecfNZo4eDO9dt7wImLEfao0BXcvIZsQDQv8kAEbvwDW5ZWWUoM cbVg== X-Gm-Message-State: APjAAAWf8du+57wYHu49i35SofAiJ3steKH1VGmgbQZ4it1r4uN6TpVH 1g2TBpjWdxyxZUICAIsRNTMYcQ== X-Received: by 2002:a5d:52c4:: with SMTP id r4mr10583908wrv.368.1576225426370; Fri, 13 Dec 2019 00:23:46 -0800 (PST) Received: from dell ([95.149.164.71]) by smtp.gmail.com with ESMTPSA id x18sm9172810wrr.75.2019.12.13.00.23.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Dec 2019 00:23:45 -0800 (PST) Date: Fri, 13 Dec 2019 08:23:36 +0000 From: Lee Jones To: Orson Zhai Cc: Rob Herring , Orson Zhai , Arnd Bergmann , "linux-kernel@vger.kernel.org" , baolin.wang@unisoc.com, kevin.tang@unisoc.com, Chunyan Zhang , liangcai.fan@unisoc.com, orsonzhai@gmail.com Subject: Re: [PATCH v3] mfd: syscon: Add arguments support for syscon reference Message-ID: <20191213082336.GD3468@dell> References: <1576037311-6052-1-git-send-email-orson.zhai@unisoc.com> <20191213024935.GD9271@lenovo> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20191213024935.GD9271@lenovo> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 13 Dec 2019, Orson Zhai wrote: > 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. If it looks good to Arnd, it looks good to me. I have quite a number of reviews to get through first though, please bear with me and resist the urge to nag. -- Lee Jones [李琼斯] Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog