Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp4467211rwb; Mon, 8 Aug 2022 01:07:14 -0700 (PDT) X-Google-Smtp-Source: AA6agR7PLMnYvsj7CI0rK75Fa10AaWL6ig0F9hcZV70/Mt6yuhlxedRolelmHzEA3itNXQHNRXgl X-Received: by 2002:aa7:db44:0:b0:43d:267c:edd9 with SMTP id n4-20020aa7db44000000b0043d267cedd9mr16987051edt.385.1659946034605; Mon, 08 Aug 2022 01:07:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659946034; cv=none; d=google.com; s=arc-20160816; b=JOa7fBpkXazhvFdRUHaQip1E7vxCIIR9ZEUA08bKzyKu3N8OJF1g6oD+aPHZzJXBW2 YF0+bpHB44EUHvfkuKLG4B4ypRdQK8XzQtU4R4t/Lntwb7kXMXfVd1sgKI7lxMDt9JGv QyDnDwKMVdd75sPF3f+BQaxHByfcLPuVyqvZwNnB1rRo/RWeLKazVKkprL3w+4vFehvP Asbw13BS6BwJfbn/QluB8S4NPkOhiBOaogceyEypJb8G3veMK92QyiZATFfizBEChvYU r2xPSQzqCrCnUrpA07GRQ+n8+II6q9aq+kVHbuSxgjHwazfBlJubgAcjmjwnnRgwfu5d sxVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=qJUcZgO52enN14U+OYmcxt7kPjWnzQ6ZhuTxeK7KHMQ=; b=EbS8gTnzXtqv1hsPVdGM4Hwn+QR1cnJI7aS6XfzjqLA6pIrfAbBwB+Kj8rlb3fqjS9 SRr7Uz7YIn1tXbByRVDQ8vkQkzrPD/AzjIOjeVLUoLf1QW2T4NM+iETdMNnkFlBqGI+F TdLpnwj9j8cghevcRkFYdYREoYcQz2kLBTXwJ5RDocuLqzMf73nFbCzOLMZ0SWdpKr+7 VQDikmbaoeW3C7AMq2Iiji9HQ7cW0ffakkY4Xh6JIgSo4u4bocLRanoVS3Zj0GvxSyIc ugfoiqCJvoOduk7fGpHNQvmrx5sqngciJSmdBhHNqg0ExVPyYlsZeG9ois6x5XLp37l0 hACw== ARC-Authentication-Results: i=1; mx.google.com; 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 i8-20020a1709061e4800b0072b87c68bf1si9621306ejj.68.2022.08.08.01.06.49; Mon, 08 Aug 2022 01:07:14 -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; 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 S241884AbiHHHwq (ORCPT + 99 others); Mon, 8 Aug 2022 03:52:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56192 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239780AbiHHHwn (ORCPT ); Mon, 8 Aug 2022 03:52:43 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B567311C29 for ; Mon, 8 Aug 2022 00:52:40 -0700 (PDT) Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oKxYk-0007h1-RS; Mon, 08 Aug 2022 09:52:22 +0200 Received: from mfe by ptx.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1oKxYj-0005lW-J7; Mon, 08 Aug 2022 09:52:21 +0200 Date: Mon, 8 Aug 2022 09:52:21 +0200 From: Marco Felsch To: Shenwei Wang Cc: Krzysztof Kozlowski , "robh+dt@kernel.org" , "krzysztof.kozlowski+dt@linaro.org" , "linus.walleij@linaro.org" , "brgl@bgdev.pl" , "shawnguo@kernel.org" , "s.hauer@pengutronix.de" , "kernel@pengutronix.de" , "festevam@gmail.com" , dl-linux-imx , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-gpio@vger.kernel.org" Subject: Re: [EXT] Re: [PATCH v1 2/3] dt-bindings: firmware: imx: Add imx-scu gpio node Message-ID: <20220808075221.hijtkvubgtw3wirf@pengutronix.de> References: <20220804184908.470216-1-shenwei.wang@nxp.com> <20220804184908.470216-3-shenwei.wang@nxp.com> <8e1ffa95-686b-ca4b-1a2b-b7115dc41c98@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716 X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c0 X-SA-Exim-Mail-From: mfe@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 22-08-05, Shenwei Wang wrote: > > > > -----Original Message----- > > From: Krzysztof Kozlowski > > Sent: Friday, August 5, 2022 1:56 AM > > To: Shenwei Wang ; robh+dt@kernel.org; > > krzysztof.kozlowski+dt@linaro.org; linus.walleij@linaro.org; brgl@bgdev.pl; > > shawnguo@kernel.org; s.hauer@pengutronix.de; kernel@pengutronix.de; > > festevam@gmail.com; dl-linux-imx > > Cc: devicetree@vger.kernel.org; linux-kernel@vger.kernel.org; linux- > > gpio@vger.kernel.org; linux-arm-kernel@lists.infradead.org > > Subject: [EXT] Re: [PATCH v1 2/3] dt-bindings: firmware: imx: Add imx-scu gpio > > node > > > > Caution: EXT Email > > > > On 04/08/2022 20:49, Shenwei Wang wrote: > > > Add the description for imx-scu gpio subnode. > > > > > > Signed-off-by: Shenwei Wang > > > --- > > > Documentation/devicetree/bindings/firmware/fsl,scu.yaml | 5 +++++ > > > 1 file changed, 5 insertions(+) > > > > > > diff --git a/Documentation/devicetree/bindings/firmware/fsl,scu.yaml > > b/Documentation/devicetree/bindings/firmware/fsl,scu.yaml > > > index b40b0ef56978..080955b6edd8 100644 > > > --- a/Documentation/devicetree/bindings/firmware/fsl,scu.yaml > > > +++ b/Documentation/devicetree/bindings/firmware/fsl,scu.yaml > > > @@ -30,6 +30,11 @@ properties: > > > Clock controller node that provides the clocks controlled by the SCU > > > $ref: /schemas/clock/fsl,scu-clk.yaml > > > > > > + gpio: > > > + description: > > > + GPIO control over the SCU firmware APIs > > > > I don't understand this description. How GPIO can control some API? > > How about change to "Control the GPIO PINs on SCU domain over the firmware APIs"? For linux it doesn't matter how the GPIOs are controlled. They can be controlled by a co-processor like this SCU or by an I2C expander or they are native, the list goes on. All those details are hidden. Regards, Marco > > Thanks, > Shenwei > > > > > Best regards, > > Krzysztof