Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1035726pxb; Thu, 4 Mar 2021 01:17:11 -0800 (PST) X-Google-Smtp-Source: ABdhPJys0ooJKkmbUTOk5j9p1dTcBzbd7juM9ctTPkWLqI1wSeVUIjPqLePlc06YrJywBGv2UF0N X-Received: by 2002:aa7:d8da:: with SMTP id k26mr3283845eds.364.1614849431016; Thu, 04 Mar 2021 01:17:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614849431; cv=none; d=google.com; s=arc-20160816; b=xW4aO1VshfMUlzh/wo9vtJhkNlrAIXw0M5paFQXzXTGWwyYoLm8ZNTAvxxLN9uvFs3 9CdmHlWmukizFT6r2vWlHn0kLJ3WXRB6Z04PMa4hSABpBdOxCImIYVH8nTiQWyl2q/EU yavApYdF3Wrx5c1xf4EdpRZW9B5Vu0AiLZdLhnmlMp6glXSEdwMEslcmHudGysduAyMD usSjrSPUebweCo/IdqeGeert35RaVD4HZAbLhl3PmwI3wSqr2mDiTOxnutyRkg6Jta8N HQ0tOEouId2K3Rh9a3gMQ4+DqkpU48h/SyLzzhCp/Jh2s43WbVsVEI/zMeCAjGaEj+fM ODRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=Pt7bwWLf4920jEAu2gq6f6qTSZz/ofLlHmtVgGdbwS0=; b=qD1xXbS8CSTIFxXTQ0I3cFZvWNveQ3QzAWsxjvFkeMUqiPfCkBqUYaWTfDVv8D2E4c DA765/kiD3sSrMGIeYYAlsRh0h74xeet+2hwHzPhEUnhxuRgOc0dSgvUcFkr63XVZQFb mEMZMSb8d3DoVzjcksLRuWicNcUF9WFrko+J36T1Cta2AtBN50hkPGQwmGP7rjGsX46H abGZCeKcgg2DzMbV461rOBctemJqpnj9fTFSpHpy5pIi1O30NXP593hStP5nT/o3xuBI Ptt6k8T1V8QBc5cfbhF79txWPNjgVUwPRwe2Y6ETr+SzQhEHqhoFOFup7D8WQluKx7Wa 9stA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OHCvDate; 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 b3si16374427ejd.663.2021.03.04.01.16.48; Thu, 04 Mar 2021 01:17:11 -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=@linaro.org header.s=google header.b=OHCvDate; 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 S1359463AbhCCOaH (ORCPT + 99 others); Wed, 3 Mar 2021 09:30:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37982 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1842964AbhCCKXJ (ORCPT ); Wed, 3 Mar 2021 05:23:09 -0500 Received: from mail-lj1-x233.google.com (mail-lj1-x233.google.com [IPv6:2a00:1450:4864:20::233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D3F7CC0698E6 for ; Wed, 3 Mar 2021 01:29:28 -0800 (PST) Received: by mail-lj1-x233.google.com with SMTP id 2so23213228ljr.5 for ; Wed, 03 Mar 2021 01:29:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=Pt7bwWLf4920jEAu2gq6f6qTSZz/ofLlHmtVgGdbwS0=; b=OHCvDategtwfbq1t+iUQ3BUMIX/2u9CSxvhkjo6CHMesJuRzpXLXBCUJIAaN7ZW7hJ QCmELwk+3bp/x8hr+45WHtBDIEeaRo15ff5vIA3y3HjHVu7Fanwx3CTkIiPGdAKMJkYx LlzKJQ5dL/de23YEQr2LtK57p0bty2ozdNAjRqhSEgiBJYxbTwBtiRhvLZt/N4XiPFA4 qk3fABIHDrlEdcqit8hVuBLaF87XJhXrcYY7IvWsAWAFhsH3Rhvz/sqfJXaUMvfshTw0 W9Ohs9Ru8L+3PQKB64FxeYsQRdo8tdHIFr+1tJdgDlkKIS1t2HNLMvhJ75L3Wqt/CoUW OP0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=Pt7bwWLf4920jEAu2gq6f6qTSZz/ofLlHmtVgGdbwS0=; b=rPYWa9Xflg5mo12JvAZDq+J1C+isanWX2GtM+LCFkQ8Ps1XNFPXimOsVvexfIEa4IS Qqn2PXojk5JTjHQ1XDPSMx7mM/KT1oQ5gKMC1mdh25uj+ZTt4eihmxMiuCrMch/sq83q 3cC6lH5OCnd7XNEgdT5BxXzV/20Otv9j51oeIHw9nC3pS8ZZyVFMIbFQsHQYCuknAttC GtF3/o4gWAbpA/IQBYslP0xhc87/xownDK30XfMAdX3q8PxSWkoYnbHcIFaEzbXI+f+Z /jySQaHFRkZUzVV83wlq8n8eUv6jqhcd2yVkcLZb8IqdVdjcWWqhoK5BrKhbpUS2Zajb HSwg== X-Gm-Message-State: AOAM532vBeGIQ4kcg+dKHkOE+IhYoMt3hmWhtUvqnVpmJF909w/MqVp3 uLhPE894ibL+j69aNTSJT5Hz1JsCi+PB2wfsyFQPhg== X-Received: by 2002:a2e:9041:: with SMTP id n1mr14590765ljg.273.1614763767393; Wed, 03 Mar 2021 01:29:27 -0800 (PST) MIME-Version: 1.0 References: <20210302191613.29476-1-noltari@gmail.com> In-Reply-To: <20210302191613.29476-1-noltari@gmail.com> From: Linus Walleij Date: Wed, 3 Mar 2021 10:29:16 +0100 Message-ID: Subject: Re: [PATCH v2 00/12] pinctrl: add BCM63XX pincontrol support To: =?UTF-8?B?w4FsdmFybyBGZXJuw6FuZGV6IFJvamFz?= Cc: Michael Walle , Florian Fainelli , Rob Herring , Jonas Gorski , Necip Fazil Yildiran , "open list:GPIO SUBSYSTEM" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 2, 2021 at 8:16 PM =C3=81lvaro Fern=C3=A1ndez Rojas wrote: > v2: introduce changes suggested by Linus Walleij and remove interrupts > - In order to use GPIO_REGMAP, the need to get gpio_chip from gpio_regma= p > and use it for pinctrl_add_gpio_range() and gpio_chip.direction_input() > and gpio_chip.direction_output(). Looking so much better don't you think? :) If you also get rid of the exposed struct using DT gpio-ranges we are done I think, just need some DT review slack for the DT maintainers for the bindings. Yours, Linus Walleij