Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp4258382iog; Tue, 28 Jun 2022 12:17:55 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tZSSKB5ItkT+xOu3hD9rRl//3wNcqjS92WIqOqpHoQ6+gZh7pnoE4H8atKZSW7kUY8hTVi X-Received: by 2002:a17:902:edd7:b0:16a:1fe3:871 with SMTP id q23-20020a170902edd700b0016a1fe30871mr5001592plk.121.1656443875065; Tue, 28 Jun 2022 12:17:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656443875; cv=none; d=google.com; s=arc-20160816; b=LvscPkoMwelxB17vNUX48Xz2FKhhFhbg9zj0V2gbC9ryq4F+IIpE+Qn9EhH6GALm7c dTP59TOCI0eWQBZCgah4R1wI6lWuQtTGz14T+UkpijRSXLuxz4oZFW/Ebb8f7ZjTg3i7 wpCzCc65La3F4tZSAXSTHJm0RawWRsH9h0Blu5T7BWTOsl8fsja7AzpegwgJaWPaEc6u HX9gy6NxTFydauNRbAvwXIrzhQJVkxSfxR6jloWsojJLHfAfxojHl+XxOd6Ypx4BtDOj leBDDrtlEXMFR+MNPuED9U+/SHU06R9a8zVqzRflHB0DB/oWbt1gZsbb6tJGglOZAFV/ XRZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=8Zl+moasg9AqPTPegEICVFTHtbVUjAEJPFk3onwrXBw=; b=B5j8BWCn69NnFvljWG2nISzAOi3FUoloiQDHYFzUExN/jdEpKTMRBB85S16fKBlYY1 d1y7UfWGW/WIU7NSTgk5vJIrG0TykBcCIuXStwM0dEfJQrbcDDhZxZHu242swOQP4itk PWA2yApK/eWwCAEcHp54ITeXyQT/fZkoZk5bbvaW/CGiZcr0NWYyNt3IRiuhsFYj46Qo McrhROUjS+GyCuw0DQp+uqtAgfSDsEjPR4DdMO9jcgyoexFehV1wB6HhFvK0jGT7i05r cFIa97Oqp+/guxIHJXSQX6za/LQB6VEduXCa/doUvSH53YN44+4slwzOfjUM+r2fCi9t lVMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=pcNJ8YCP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p3-20020a170902e74300b0016a7321c3e1si14299111plf.291.2022.06.28.12.17.42; Tue, 28 Jun 2022 12:17:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=pcNJ8YCP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235806AbiF1TFh (ORCPT + 99 others); Tue, 28 Jun 2022 15:05:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33714 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229863AbiF1TFA (ORCPT ); Tue, 28 Jun 2022 15:05:00 -0400 Received: from mail-yb1-xb2c.google.com (mail-yb1-xb2c.google.com [IPv6:2607:f8b0:4864:20::b2c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 16CB32AC62; Tue, 28 Jun 2022 12:05:00 -0700 (PDT) Received: by mail-yb1-xb2c.google.com with SMTP id o19so17288304ybg.2; Tue, 28 Jun 2022 12:05:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=8Zl+moasg9AqPTPegEICVFTHtbVUjAEJPFk3onwrXBw=; b=pcNJ8YCPNqwvLMCdGbtF3YyVMVobSrYBI9yPpbm1TjbRifyIrilXR5jsUPkapDyw+t Gww+xRZZ6oC3EpAVOSLPZt33iXTFeYtzR+s0DFJh+c+e5TZR9jxLxIdWJYC8rr7T73Pt AUsXsJ4gRrWsW1cqnWY0l6LST31H7ZX8mFTMzm7S7vF7ytQtwRsiHcEG0/4sAy1b8607 ct0jFspvMILYdSTH6Oayc8BvaUdzUJwgKWYSxw4O7ny7++Cr2+y3stKQ/F/hKJk2JFnH FBK3ZfD3jTviYLk91lIb6dn21MB/wGBB1Ur+MCEQAl/rhx8lodnJD/TxRbzG6ka+EnNf MyGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=8Zl+moasg9AqPTPegEICVFTHtbVUjAEJPFk3onwrXBw=; b=vpXItwhI9WMFmXv0n5aX0Aea5oZIr1p9YqCO4KoS8PLyJ1YyZhLnSvkW/0+fk3KMxX v65ZBvx9dJAAuuwowFpnHpztlXHpj4CL1uAGfDAkBWy0QNw4+jINpsbVG9GQ39RfKrF/ yIi56VlUi1KAW6pvQdaGaBYOiXtfMtcnBjqmY+2KoO39NOOGUzrkjS1eq2MFnmCuAFJi KV1qB88rESdFPtx8i2e4xeVRKP7y/vq/wKi0OvcwDIiPZj5v2yNdKC9ttZz1/BIQ9BSu dzDsEUu5dQqjIrwYn1GSSa1ZD+5ievw3jo/Y0GI5+qEJG6+skFFgG+0c4aCpd0fuTvTp BAYw== X-Gm-Message-State: AJIora/S6OB5TUK3oMtG5FppWOgSN8niFHMmf03dETsXKB15tWoKqg/J SAIE7SNKIqkR9wykE7YQ/PCqBwsMI2BUkrfd+Y4= X-Received: by 2002:a05:6902:c4:b0:64b:4677:331b with SMTP id i4-20020a05690200c400b0064b4677331bmr21369611ybs.93.1656443099200; Tue, 28 Jun 2022 12:04:59 -0700 (PDT) MIME-Version: 1.0 References: <20220628081709.829811-1-colin.foster@in-advantage.com> <20220628081709.829811-2-colin.foster@in-advantage.com> <20220628160809.marto7t6k24lneau@skbuf> <20220628172518.GA855398@euler> <20220628184659.sel4kfvrm2z6rwx6@skbuf> <20220628185638.dpm2w2rfc3xls7xd@skbuf> In-Reply-To: <20220628185638.dpm2w2rfc3xls7xd@skbuf> From: Andy Shevchenko Date: Tue, 28 Jun 2022 21:04:21 +0200 Message-ID: Subject: Re: [PATCH v11 net-next 1/9] mfd: ocelot: add helper to get regmap from a resource To: Vladimir Oltean Cc: Colin Foster , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "netdev@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-gpio@vger.kernel.org" , Lee Jones , Rob Herring , Krzysztof Kozlowski , Andrew Lunn , Heiner Kallweit , Russell King , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Lars Povlsen , Steen Hegelund , "UNGLinuxDriver@microchip.com" , Linus Walleij , Wolfram Sang , Terry Bowman , Alexandre Belloni , Arnd Bergmann Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 28, 2022 at 8:56 PM Vladimir Oltean wrote: > > On Tue, Jun 28, 2022 at 09:46:59PM +0300, Vladimir Oltean wrote: > > I searched for 5 minutes or so, and I noticed regmap_attach_dev() and > > dev_get_regmap(), maybe those could be of help? > > ah, I see I haven't really brought anything of value to the table, > dev_get_regmap() was discussed around v1 or so. I'll read the > discussions again in a couple of hours to remember what was wrong with > it such that you aren't using it anymore. It would be nice if you can comment after here to clarify that. Because in another series (not related to this anyhow) somebody insisted to use dev_get_regmap(). -- With Best Regards, Andy Shevchenko