Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp649545rwe; Wed, 31 Aug 2022 08:41:18 -0700 (PDT) X-Google-Smtp-Source: AA6agR6wjmGsDkQsAgrHbsO05CKFO25wRFhwNWUwmANi3dW1N5T0NK2HxLqLP6lJcP6Nr34yondd X-Received: by 2002:a17:906:8b81:b0:733:183b:988e with SMTP id nr1-20020a1709068b8100b00733183b988emr20533776ejc.457.1661960478681; Wed, 31 Aug 2022 08:41:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661960478; cv=none; d=google.com; s=arc-20160816; b=Q4juGoyGr8fpYUHA81LUpyy2j1hQ/kjLiDKuxDERubyf+2a7bWZgu+7qlx+6kE4CNW pZ7nhJnEYWwIe3JcUfZgM002kjMqcLVtIOXRjIG55YDePcm2FswcgfGcmigiGMAMeQHD QhYY0f6Djdn1LE1pYUTfSxSKZM6IkM/tlq1N8uKuO64bf1Icvf3zQVvWbz9yJDQPC04x mMIxmBxuSISKAu8s9SluFmqM5hTJ8DyCaL45xS4MSASpadT8D19SGuZ3/gWK9QxNyW6u yBILBnDzZP293YOO5g62lrmA27zHu2NmXxTrhIjbkQ218Y3rRnMGgm95lh8b4JuqnbcN 6WuQ== 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=0m2oIrh3yC54EVrEreYhwyL8Y0H01nobfjjxW5+cUuQ=; b=W+xFN6FY2CcPtGLEWXOZL0VNy5bNtUc+Q0v5J5dwpO/MfEjYgHydCPqDAkBbxNcYpM TyDNXAgbEwiDaqkJZupc1EU6LE905n3kes88D8tW/lPAiQkvyAeivK0xLH09ZAV+T07Z fOF72Eyi+2GYv/QLMgf5IHW1xY8aOf4I5bTXYrsTi4KRbK+M6UL2ZfqOz0TKenH4G0KH i8UoXiR0j18ypO2owWAgkZLrxyXjl2cswK0mwtRNOr07IVLQUON5POR/RFNR00dq0k1w S0kCf+QpgsDY5Yj9HYmG/3Q+U+nb/UgVVH995XzqhV8h+VJRbCkIngZl5Vcxnigg/x6I crJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=iEU4jQPx; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gb19-20020a170907961300b0073d6a7e6662si11735893ejc.798.2022.08.31.08.40.52; Wed, 31 Aug 2022 08:41:18 -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=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=iEU4jQPx; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230444AbiHaPWG (ORCPT + 99 others); Wed, 31 Aug 2022 11:22:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37376 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230315AbiHaPWD (ORCPT ); Wed, 31 Aug 2022 11:22:03 -0400 Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [IPv6:2a00:1450:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 24CCCD758F for ; Wed, 31 Aug 2022 08:22:02 -0700 (PDT) Received: by mail-ej1-x62d.google.com with SMTP id og21so29087680ejc.2 for ; Wed, 31 Aug 2022 08:22:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20210112.gappssmtp.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc; bh=0m2oIrh3yC54EVrEreYhwyL8Y0H01nobfjjxW5+cUuQ=; b=iEU4jQPxCh9h74E1oy7W/RnSqz6NrFyB4kz2wdNtI5vIms8D1qzDa4qnrwBP0/Eut4 YKSg7v7Y0cBIda4ecZ4Iuc9Rwvnp+rkpUQ6kPcEf29mPtaPyZRyQ674x6vz4E63lmV1o veiyVTfxUJRFoEHQaB5tFrXqsM0yOipdS+3APNjp0AwAGKSSwERtLpJ8Qwm+ASpyKIF5 c8q2n2MEVDRgn25cFcB2y76e1Mm0omUBogee3u3/jqchmjRQxQNmdyjrpdLK4wkLx+Kc jYeVb2Vz52l+BdwGfa99tqTokcNfmP8U/kRQ0wa/uly9JzaCpk8zGOlTBHO2iC3fVqcw 0KLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc; bh=0m2oIrh3yC54EVrEreYhwyL8Y0H01nobfjjxW5+cUuQ=; b=ZrKAI67zD5tepIre3cAaRlP5eA9MGwpo0E4S5uR/ilXzYmYyePiGl/g9P/kfGs7Ptg ww6pXEvMcBFI3xTdVAdgwCE2Jfwq+NwiBpKMw9fF4OFJRxHaaAQ3GTFKE8XQeXdf7xvL WcnqHqlAYqXY5DOnqTPQ3WulUwgMZlSyvV3spY/7r/vNvOq+dT1T7f+jGMav5DXBYh8C RjL/1wRBhhyXPeV6A9SfxBfnkTUygf/vly+kJnpdlV4rcpSLGb9ClPuSAMUXrlcNG7fT as0HMweEG8EgH0SBA7Y/01JJXWVITd+F+MQksb8nBjfY6R5PGlhyEXIcbNCtv3Mfm2K8 Ezhw== X-Gm-Message-State: ACgBeo0oVvDY7iudX5HWgoBprX6cLqDLVqH12X5wmZj2BW2f61CYG6KF YPpX2cdm5D0auUk5yEhyDsS+HLBE3L7jSibyIq4Oig== X-Received: by 2002:a17:907:7394:b0:73a:d077:9ba1 with SMTP id er20-20020a170907739400b0073ad0779ba1mr19882150ejc.697.1661959320475; Wed, 31 Aug 2022 08:22:00 -0700 (PDT) MIME-Version: 1.0 References: <20220812133012.7283-1-shenwei.wang@nxp.com> In-Reply-To: <20220812133012.7283-1-shenwei.wang@nxp.com> From: Bartosz Golaszewski Date: Wed, 31 Aug 2022 17:21:49 +0200 Message-ID: Subject: Re: [PATCH v5 0/3] Add IMX8 SCU GPIO support To: Shenwei Wang Cc: Rob Herring , Krzysztof Kozlowski , Linus Walleij , Shawn Guo , Sascha Hauer , Sascha Hauer , Fabio Estevam , NXP Linux Team , devicetree , Linux Kernel Mailing List , "open list:GPIO SUBSYSTEM" , Linux ARM , imx@lists.linux.dev Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE, 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 Fri, Aug 12, 2022 at 3:30 PM Shenwei Wang wrote: > > The system controller (SCU) is the central unit to manage the resources > on i.MX8 platforms. The SCU firmware provides a set of APIs to access > the GPIO PINs on the SCU domain. > > This patch series implements the standard GPIO driver over the SCU > firmware APIs, so that the GPIOs on the SCU domain could be accessed > like a local GPIO PINs. > > Changes in V5: > - rename the file name from fsl,imx-sc-gpio to fsl,imx8qxp-sc-gpio > to match the compatible string > > Changes in V4: > - remove the generic compatible of "fsl,imx-sc-gpio" > - update the gpio $ref in "fsl,scu.yaml" as the file name is changed > - update the commit comment for 0003 because the driver is moved to the > directory of "drivers/gpio" > > Changes in V3: > - follow the other imx8 SCU binding rule and rename the compatible string > from fsl,imx8-scu-gpio to fsl,imx8qxp-sc-gpio > - rename the doc file from fsl,imx8-scu-gpio.yaml to fsl,imx-sc-gpio.yaml > > Changes in V2: > - move the driver into the gpio directory per Krzysztof's feedback > - change the subnode description in file fsl,scu.yaml > - fix the dt_binding_check error > > Shenwei Wang (3): > dt-bindings: gpio: Add imx scu gpio driver bindings > dt-bindings: firmware: imx: Add imx-scu gpio node > gpio: imx-scu: add imx-scu GPIO driver > > .../devicetree/bindings/firmware/fsl,scu.yaml | 5 + > .../bindings/gpio/fsl,imx8qxp-sc-gpio.yaml | 39 +++++ > drivers/gpio/Kconfig | 4 + > drivers/gpio/Makefile | 1 + > drivers/gpio/gpio-imx-scu.c | 139 ++++++++++++++++++ > 5 files changed, 188 insertions(+) > create mode 100644 Documentation/devicetree/bindings/gpio/fsl,imx8qxp-sc-gpio.yaml > create mode 100644 drivers/gpio/gpio-imx-scu.c > > -- > 2.25.1 > Applied the series, thanks! Bart