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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 217A6C43334 for ; Tue, 28 Jun 2022 19:05:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235778AbiF1TFc (ORCPT ); Tue, 28 Jun 2022 15:05:32 -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-Google-Smtp-Source: AGRyM1vbAwF4/Bjc2ysiCNPEvFlv4daP3qklzpaXvWMPvBhblbbJEY7NeSnW3JizEN7YOw+vtRMIn0+G4wYCyvCjaXw= 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" Precedence: bulk List-ID: X-Mailing-List: linux-gpio@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 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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DD3EEC43334 for ; Tue, 28 Jun 2022 19:06:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=mms7tjommydE0oJKPUmwf7Vd2ecwxlGWCQL4jd9BTnE=; b=krE9zD7sMSpJw4 lezLe7E8CARDbGRetSQIaXZ9Fm5NFnQst11Ly+T6Li42on9ROuqqOEKKV+GyDYPKsO9X314GlKz8B TzS0mYHKUKhZlLKyP64nXj+D3Whq5MTcxpcLD2WO03Dlq7u8F/Z2EDNuZClLEwwtNqWBbsMhUCw33 2LBBCg/8jweDHpaOiMr5WBpshVOMXc9SKusM0MQZlM5owilhwzN5ylMvOd77kV+Fwbj6BBylWJNqZ wKIWyhtpy8p5m+cOoGRlEZlTYef2kw2V4vjf7BqJFtx/+4ZWAtExmAkBGcc7EjQGtEsC6CrMUDvhc /MbA8gXUavlnNBBppNGQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o6GWG-007kdO-GR; Tue, 28 Jun 2022 19:05:04 +0000 Received: from mail-yb1-xb2f.google.com ([2607:f8b0:4864:20::b2f]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o6GWC-007kc1-UZ for linux-arm-kernel@lists.infradead.org; Tue, 28 Jun 2022 19:05:02 +0000 Received: by mail-yb1-xb2f.google.com with SMTP id g4so12278987ybg.9 for ; Tue, 28 Jun 2022 12:04:59 -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=wmfQBo+0W2EI1usfrzBFA5bw/lHUmZrMt4ejB7+nJIL44jwwfDZNgEVdoT9VJ8Zw7r HBXre6zd1w3sFtgf+CxF7w/WyItggQi2Ts6njXToHpacDGozOPzPOLb8qIO8waPrWD27 poVvLuBbWZj7CncxmfENDU96Wr8sDu5RatnmUJvoq+1kdr9B48dGDn5rLJV3EKsvAvXp AjvPSVdwTbfTFTUt74XTQhATllGIg3HHkflU4ZeSRzy/HKVobNWxy+Fv56ICseF2kaF4 EoZvKpmKhQVVyaMH2RuW1vuWdFUk4Uv3kqV7uqepLXxKJhR2PH8K72+qnGnQo336itVt Lsjw== X-Gm-Message-State: AJIora9uuPeZQSEfIpFcONSP0ILEiEsC1no/7VF66Aof3fEShXjNLpCh q4u94qBy4RWEd428hBAlgMWO4F5yLBGsMZnGqWA= X-Google-Smtp-Source: AGRyM1vbAwF4/Bjc2ysiCNPEvFlv4daP3qklzpaXvWMPvBhblbbJEY7NeSnW3JizEN7YOw+vtRMIn0+G4wYCyvCjaXw= 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220628_120501_042585_50B6232B X-CRM114-Status: GOOD ( 16.68 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel