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=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 EB26EC3F68F for ; Tue, 28 Jan 2020 10:34:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C197B24687 for ; Tue, 28 Jan 2020 10:34:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725941AbgA1Kep (ORCPT ); Tue, 28 Jan 2020 05:34:45 -0500 Received: from mx2.suse.de ([195.135.220.15]:45116 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725901AbgA1Kep (ORCPT ); Tue, 28 Jan 2020 05:34:45 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 51BA8ACA3; Tue, 28 Jan 2020 10:34:43 +0000 (UTC) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 In-Reply-To: <1580148908-4863-1-git-send-email-stefan.wahren@i2se.com> Date: Tue, 28 Jan 2020 11:17:17 +0100 Cc: , , , , "Stefan Wahren" Subject: Re: [RFC PATCH 0/4] pinctrl: bcm2835: Add support for all BCM2711 GPIOs From: "Nicolas Saenz Julienne" To: "Stefan Wahren" , "Florian Fainelli" , "Linus Walleij" , "Ray Jui" , "Scott Branden" Message-Id: Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On Mon Jan 27, 2020 at 7:15 PM, Stefan Wahren wrote: > The BCM2711 supports 58 GPIOs [1] by using the existing BCM2835 GPIO > registers > completely. So there is no need to change the binding. > > Patch 1 and 2 prepare the pinctrl driver to be extended to 58 GPIOs in > Patch 3. > I didn't want to squash them in order to make review as easy as > possible. > The final patch 4 assigns all SoC GPIOs a label as we already did for > the older Raspberry Pi boards. > > [1] - > https://github.com/raspberrypi/linux/issues/3101#issuecomment-573092294 > > Stefan Wahren (4): > pinctrl: bcm2835: Drop unused define > pinctrl: bcm2835: Refactor platform data > pinctrl: bcm2835: Add support for all GPIOs on BCM2711 > ARM: dts: bcm2711-rpi-4-b: Add SoC GPIO labels > > arch/arm/boot/dts/bcm2711-rpi-4-b.dts | 74 ++++++++++++++++++++++++ > drivers/pinctrl/bcm/pinctrl-bcm2835.c | 106 > ++++++++++++++++++++++++++-------- > 2 files changed, 156 insertions(+), 24 deletions(-) Apart from the review, I gave it a test on an RPi4 and RPi3b, looks good to= me.