Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp2730045pxb; Mon, 31 Jan 2022 03:05:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJzZwwRVB9q0h0QP2TCMR7KcADSgjsktEYX46O4MeEA7z/CcBd9nqNStY2ub9aowXZkZWeiJ X-Received: by 2002:a17:90b:f92:: with SMTP id ft18mr34102910pjb.113.1643627156521; Mon, 31 Jan 2022 03:05:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643627156; cv=none; d=google.com; s=arc-20160816; b=f2GES/WFfJzCjO9dq/JMSzXFVVK+w4FnzMuEVq8sMlqQlUdi141+gTA7EYKeo3qZgV ScJAoPrCRklx2rg0J81Yc9FWC/si0/yOvCKvV26x0TpMiaVmyII9Xtdl4Tywv9jr2q9B nVeFhkqh/18t9X6JHAVUe1A2OANmEePYkY7rSaJJMgHNIHbkZ3ngI5c/MD6SvXcYllJX g09QEfswZJurBUOonT7KnEtu2na+8Pk8Vvv6dpsag47PQKIGpcw3ZXRZnDSlzS0nXTlW SOD3hyVwdB/NBQxKOvfpBUKKYrTvHY2PSA3fS4IqgK3dHyCflVr+Y5BOjOz6WP0fjL2c VLYg== 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=+J7Y28MxCnMYBbIsUpYD7C4RITvnrtVaqSAjjPutwc4=; b=NOBb9lG1heqL+D2Ba8xqrIPU3CFBDXrk823j8uEGCjsxIQUkZ9Ssn8OqTQYwWT+xxr tEpQWSYWXT+BOEh9rHAlq6LIES6xxDxk8qnrmLJdJntIMjfc7Sbzwvhgs4JW1fHSk6pb kQPheIHK2CvwhLdrZ3eYrfsQAyMAKOH8BvIYQY/BpLHHVT8yXjqwHX5liZLYX2rTKXz+ kKWoycObbIXMq6ksCQwCKPLMZCQjFjseJbY4CbFNx5KLpkggP/U77ZuvF4pxOxs/0ew7 SuzJVpgTYAmHGsU3YK7XuqPW5Juz9TCrxJK37LnTA9I6Yw1VQSHHYWOhCoqAT24Y7pxF aljA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=OyXxgsA7; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 9si12647380pgs.705.2022.01.31.03.05.42; Mon, 31 Jan 2022 03:05:56 -0800 (PST) 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=@gmail.com header.s=20210112 header.b=OyXxgsA7; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349014AbiA1OUx (ORCPT + 99 others); Fri, 28 Jan 2022 09:20:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40960 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348069AbiA1OUw (ORCPT ); Fri, 28 Jan 2022 09:20:52 -0500 Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AC45DC061714; Fri, 28 Jan 2022 06:20:51 -0800 (PST) Received: by mail-ed1-x534.google.com with SMTP id p7so10094718edc.12; Fri, 28 Jan 2022 06:20:51 -0800 (PST) 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=+J7Y28MxCnMYBbIsUpYD7C4RITvnrtVaqSAjjPutwc4=; b=OyXxgsA7XeWtgJF/nhNOdz3kkv/fl7EiCMyq4HQ6tmuDq7Usg1rm+BdxRDMd5xdVgP g8dQBdqTXYn4aErOt7DdbLDPykWd8DJJLNbqWXb+KFn7d2fubrYszQ9CNZEkstHZXO/h 0WrUllYs2RfE0N7BAZNBjJvV7Do2/mdS2SrW9zdyYuXFVeyebyENflf8MRYl6cPTpIOW d8xdI3F306FDiQ415DKKoYbK7tPRxZg4tGMa06o9UeiLjF6ll88D6WrICEgNwcFSjt7C 6aA+RpXtx4zBkAkJ5zLhP30npkqCLD2DZloM6Vmoj4ijIhRRUawNnDCtVG+Pafln3b1Y Z/NA== 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=+J7Y28MxCnMYBbIsUpYD7C4RITvnrtVaqSAjjPutwc4=; b=6bedi2WV8mSgMPtXoMX/bVDphFj2rOBT58pPvXD5njPmqejwcmOlGQ9RfdlTSy6Ibu 8gxJPKKmM0jC2lk8RH75XGqycdYvrzI0MZwlW8mWW9TM4/hvpIGZMWXp/Jvu0B2Fy0iG qy+1XW/cZ45ZJK8TdrtII6HyHgJpJ8Ub+iDMrCmGNdKsSBODBZVXLgpBdkZeX1IvzXgc p4Xm5GrbMDkF9vs7ur0y7i118jDFiG5ELVlE7px4UmIE5DEEp94tiJH5w+IFPXOLtPsO 1sd1bd83A5Vt/Qv5WFcLxcWFoUfhR4ikERsBM1YnZNbmuhwN0x248KuHLbPSBVi5ADj8 upbQ== X-Gm-Message-State: AOAM533GnaNlbpWm17OjFy5Bmh0V9lmGJkRkcE+EmE1pGKKwjMpIrNkk 8fuDLsN23NGDxebseDjTfvPGZdDkzZRSvQO0KpbbGEuXR6vBXA== X-Received: by 2002:a05:6402:350d:: with SMTP id b13mr8392678edd.125.1643379649912; Fri, 28 Jan 2022 06:20:49 -0800 (PST) MIME-Version: 1.0 References: <20220125161245.418882-1-horatiu.vultur@microchip.com> <20220125164659.GA31440@COLIN-DESKTOP1.localdomain> In-Reply-To: <20220125164659.GA31440@COLIN-DESKTOP1.localdomain> From: Andy Shevchenko Date: Fri, 28 Jan 2022 16:19:12 +0200 Message-ID: Subject: Re: [PATCH] pinctrl: microchip-sgpio: Fix support for regmap To: Colin Foster Cc: Horatiu Vultur , linux-arm Mailing List , "open list:GPIO SUBSYSTEM" , Linux Kernel Mailing List , Lars Povlsen , Steen.Hegelund@microchip.com, Microchip Linux Driver Support , Linus Walleij Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 26, 2022 at 3:19 AM Colin Foster wrote: > On Tue, Jan 25, 2022 at 05:12:45PM +0100, Horatiu Vultur wrote: > The only difference is I > had copied reg_stride into sgpio_priv instead of making regmap_config > file-scope. I'm wondering if we may access config via a pointer to regmap. -- With Best Regards, Andy Shevchenko