From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5E555C47083 for ; Wed, 2 Jun 2021 10:44:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3F6E8613BF for ; Wed, 2 Jun 2021 10:44:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230172AbhFBKpt (ORCPT ); Wed, 2 Jun 2021 06:45:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44006 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229541AbhFBKps (ORCPT ); Wed, 2 Jun 2021 06:45:48 -0400 Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B86F9C061756 for ; Wed, 2 Jun 2021 03:44:05 -0700 (PDT) Received: by mail-wr1-x42a.google.com with SMTP id z17so1786988wrq.7 for ; Wed, 02 Jun 2021 03:44:05 -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=ole7lO4EyLGinmZ8kUSEG9cz+TpAxKO/SXaZD0DSzF0=; b=zLctya8nFGOpjiADxV6+6MKc4Xq6E8Lxwv6ip7ffav9gMpcG73fAmznNqHuh7YZM1n LH8RAtsoM+ItO1+nfvLc+wggdWn+YXTue7oUj+zw8kophFRhEKJWejDH9BksEmkQd+9T pqWXovq/ljsy5DRNIMZMauGzzcJncdwRGzIVrjpNgz2PEnZBdYwHi5hXl9yGOyDz40+Z Tk1k+h4hxC/FaJJacBLHBFDM8JautNH3ZIIl1Gt2njZf6Y+phCjqdRWvJEr/kfvMxKve CHY/LwcVcM0GeeBT6kUmnyPlgDus2plwRD/H4MnR0FP37QgBgr0bhHigkKDoTRf2+ves nM4g== 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=ole7lO4EyLGinmZ8kUSEG9cz+TpAxKO/SXaZD0DSzF0=; b=sldPfJTfse6a7z1vQtS5pOEl/91ZAfLqxFGeTA42AgPDGQm0m5HtXK98C4cTxf83f1 flJaUJCfVWSbLhi/olv90OyeiCfH5PFzA2n88Nr8paPLq8tA5oKN3xmNUVAqtj0VyJBL VMkEO3bf2KLFnx5j7aiXpJIrpBkRD6wAiZyPGMCeThKmjBPCOj34/415b6YD5lmWzDjr HDTi5g0gwfTreLssXYroiMciTPzjADYTZXGcQolppzI+c5ct4G7BTlQBARO2Of45ZVdd wd8IrU5NxtRaQjSEqyo82yd2aA3H8zcjyWwUdsDHohwvNIh5tP/Vd24qrNGF173E7Fls 1jpA== X-Gm-Message-State: AOAM531eH06ctCfFmvjcO3gguyUA6g0oxoM8vHOV6Nlm4zEF7BHVlbKB XADeiEh9IHAw5IgvD8Bo9o54HA== X-Google-Smtp-Source: ABdhPJwDqgbP/SHb06O2H30yLG/kSQpCc/ed/6ikkEiiCozM8oxPNF8qMXZV8rBwVRyi/g2dNSgrTA== X-Received: by 2002:adf:f28b:: with SMTP id k11mr14056396wro.89.1622630644414; Wed, 02 Jun 2021 03:44:04 -0700 (PDT) Received: from dell ([91.110.221.214]) by smtp.gmail.com with ESMTPSA id u17sm6216067wrt.61.2021.06.02.03.44.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Jun 2021 03:44:03 -0700 (PDT) Date: Wed, 2 Jun 2021 11:44:02 +0100 From: Lee Jones To: Michael Walle Cc: Robert Marko , Rob Herring , Linus Walleij , bgolaszewski@baylibre.com, linux-gpio@vger.kernel.org, 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: <20210602104402.GH2173308@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: devicetree@vger.kernel.org On Wed, 02 Jun 2021, Michael Walle wrote: > Am 2021-06-01 16:48, schrieb Lee Jones: > > 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. > > We've already discussed this: > > https://lore.kernel.org/lkml/20200622075145.1464020-1-lee.jones@linaro.org/ > https://lore.kernel.org/lkml/20200605065709.GD3714@dell/ > > And how would a device tree binding look like if you have multiple > i2c devices with the same i2c address? Ah yes, I remember. I suppose the saving grace of this scenario is the presence of the Reset driver, since this confirms the device's MFD status. If it were missing however, I'm not entirely sure how we'd solve this issue. I'll go have another look at the latest submission. Bear with. -- Lee Jones [李琼斯] Senior Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog