Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp507794pxj; Wed, 2 Jun 2021 04:55:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzDdFJZqgNO+dKJlYs2+0KcdVM5Hi5G5uZhk3KnVBkurdOSWBcvywbiTOpe0jS2iXsh6r51 X-Received: by 2002:a05:6638:270b:: with SMTP id m11mr29658660jav.59.1622634940226; Wed, 02 Jun 2021 04:55:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622634940; cv=none; d=google.com; s=arc-20160816; b=0UqRMEzedfJe53bx2155gCCOjQKrEIlj9nHXYBX2nrVlJttAyojW89j2/+/c7QdzYC jGixRJruU9HbSwayA/ZUlALXgcN5y/GY6pROZtga2jdD0DdqHjB7UozTb6oIGURPcrSX DBUDktIJOqLbhus2kYz2sIpUPjdLBCa05S4xoUE/mzakhOHD2cmFwEHzBEBC8r8uAvOm 0F7qRNpL7AEHFTHBXzQKyLXFhaZbsJID4rJ7fKCCVNxv5UIVjLvyY1jocrnFrjFgf0rh PPJAlViUJRe5Wi35AIf00wrfg5zQepb6yU7K+0yeYNKvHO+F9E0uU9VMnLh9A1tQLw9f h2OA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=d17wiHgIe/PqHGM+WdLLvT4l48nPr/I6NgWvbRVuc3A=; b=XTFb+hnasm7Oh0ry/8ZoldkgpEOHLu5ixROfCyf2+N3uUFG3r1XQg2zc3Uu/QJN8zX jEvnbjA5pXm8TX1LiP6p1RSFlhDKadL43IbJCQjs0pu8NXyfmhR2ybzbI8j33e2y9jIE fMAYubeqntfVL/loR4RHTyM8cm6AtGnV0wZn7QR++s5mnwPqD+fOyvJn5tVcMw6NGrsN Nx9+yjrf8I9krM/JFHQbE7XA4PVjhSqsD8xDn3KVr5UD2Td//YHiO1DQFcqVsDnnQGhx q0OoXT+BnT7oAMauvA6/irfna60XAQoTYz4Ni+PQUkLe71tjJ0T2OctfkXzr9R+iAEX6 xmSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=O81t76Bt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id o15si23145303ilu.104.2021.06.02.04.55.27; Wed, 02 Jun 2021 04:55:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=O81t76Bt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S230153AbhFBKFh (ORCPT + 99 others); Wed, 2 Jun 2021 06:05:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34770 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229967AbhFBKFg (ORCPT ); Wed, 2 Jun 2021 06:05:36 -0400 Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9B035C06174A for ; Wed, 2 Jun 2021 03:03:52 -0700 (PDT) Received: by mail-wm1-x32b.google.com with SMTP id l18-20020a1ced120000b029014c1adff1edso3391096wmh.4 for ; Wed, 02 Jun 2021 03:03:52 -0700 (PDT) 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; bh=d17wiHgIe/PqHGM+WdLLvT4l48nPr/I6NgWvbRVuc3A=; b=O81t76BtG61kbE2sTAJZj3yHsiZVEcClJqTJgnt+rwp63FR09wlmiOdJHFETPmdyu3 tG9s5pycra00dAaQFdi505gh4FmqhRiDwLjjTGsB0+UCRyj7w34FEwCkqn0p4LB4AT4z wkUuaj3EvdNi58+4vIQBfTxy99nFBzZfAgOJSMMVAYqX01DCEXeBRGtCQ2IjgNKv+RCD JkqRIfgvtEmitstihr2JY/9i261kvDQR+QwA8EuIKVpGcJ+nZXxDPCtl56khKD1yHSWp N9Qy03c1SN/7oL9DMGewiDmxQqczyhRplnhmL3YmlT+9GBGytylzYjA6bu9IdtCi3/a7 tKRQ== 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; bh=d17wiHgIe/PqHGM+WdLLvT4l48nPr/I6NgWvbRVuc3A=; b=O3ksIki0Ml0iCv0WB9eQLrW7doJwU78q0MTmAAoEHs/uLBkFuaDMZHBXplBgcXTHjY xU0K5YTGd5Ee+VzArn2x5HoNx4mTeHVahsHH5tz+29A/+EwG/+PuiEsZ6dEW6aH3gSHr LHhxYkQEzkagrshONd7nIl/pWWPrhnSP1NKT2NQovVGsbX06MSoZrMTRwqiZ6Ui1x6IW hA6GOtQN3KaSw8IWr1zu9wy4PNaKtjMLsE67l+jXWdJ54ivggL0mOjfyMo2ZQ9ilzky7 KHgXtZgOHcm0O4j8IFThNRjEaDrEyVRoJCKEawv4iqdZrodcbtWpwZFOoPpVi3Ubnyr0 RecQ== X-Gm-Message-State: AOAM531h/jiDSJQdl7moAIQHhGGrKXDhytAlZLYMYXhzP23UlqlGm0CX nYvMfhHo6gOZbMTrMD4WNCXK+Q== X-Received: by 2002:a1c:a484:: with SMTP id n126mr4406798wme.34.1622628231264; Wed, 02 Jun 2021 03:03:51 -0700 (PDT) Received: from dell ([91.110.221.214]) by smtp.gmail.com with ESMTPSA id 30sm6488185wrl.37.2021.06.02.03.03.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Jun 2021 03:03:50 -0700 (PDT) Date: Wed, 2 Jun 2021 11:03:49 +0100 From: Lee Jones To: Robert Marko Cc: Michael Walle , Rob Herring , Linus Walleij , Bartosz Golaszewski , "open list:GPIO SUBSYSTEM" , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Luka Perkov , jmp@epiphyte.org, Paul Menzel , Donald Buczek Subject: Re: [PATCH v2 3/4] dt-bindings: mfd: Add Delta TN48M CPLD drivers bindings Message-ID: <20210602100349.GG2173308@dell> References: <20210524230940.GA1350504@robh.at.kernel.org> <20210525074649.GC4005783@dell> <20210526075255.GG4005783@dell> <20210601081933.GU543307@dell> <50ced58164999f51a8c8b9c8dc01468e@walle.cc> <20210601135816.GG543307@dell> <20210601144826.GI543307@dell> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 02 Jun 2021, Robert Marko wrote: > On Tue, Jun 1, 2021 at 4:48 PM Lee Jones wrote: > > > > On Tue, 01 Jun 2021, Lee Jones wrote: > > > > > On Tue, 01 Jun 2021, Michael Walle wrote: > > > > > > > Am 2021-06-01 10:19, schrieb Lee Jones: > > > > > Why do you require one single Regmap anyway? Are they register banks > > > > > not neatly separated on a per-function basis? > > > > > > > > AFAIK you can only have one I2C device driver per device, hence the > > > > simple-mfd-i2c. > > > > > > Sorry, can you provide more detail. > > > > I'd still like further explanation to be sure, but if you mean what I > > think you mean then, no, I don't think that's correct. > > > > The point of simple-mfd-i2c is to provide an I2C device offering > > multiple functions, but does so via a non-separated/linear register- > > set, with an entry point and an opportunity to register its interwoven > > bank of registers via Regmap. > > > > However, if you can get away with not registering your entire register > > set as a single Regmap chunk, then all the better. This will allow > > you to use the OF provided 'simple-mfd' compatible instead. > > > > Now, if you're talking about Regmap not supporting multiple > > registrations with only a single I2C address, this *may* very well be > > the case, but IIRC, I've spoken to Mark about this previously and he > > said the extension to make this possible would be trivial. > > This is my understanding, that you cannot have multiple regmap registrations > with on the same I2C address. > At least that is how it was the last time I tested. > That is why I went the MFD way. I've just clarified with Mark. There does not appear to be such a restriction. -- Lee Jones [李琼斯] Senior Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog