Message ID | 20221217180849.775718-1-aford173@gmail.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:e747:0:0:0:0:0 with SMTP id c7csp1621918wrn; Sat, 17 Dec 2022 10:10:21 -0800 (PST) X-Google-Smtp-Source: AA0mqf4kDNv/v0790R3rtCUrzATJ21nO+SJ7GTM+L4s4LulkVoh9o1y5rdN7aGLQZbdlbRB8/T5F X-Received: by 2002:a05:6402:e93:b0:470:26d9:5da8 with SMTP id h19-20020a0564020e9300b0047026d95da8mr17765723eda.30.1671300621655; Sat, 17 Dec 2022 10:10:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671300621; cv=none; d=google.com; s=arc-20160816; b=R7YzuzXkdsOouv/0Y2u+RoWAVS8v/KBJ71f6m42Zv/MpPsGRh6b1FL/c7HkNBbs2Na b8vIxxq820Wvbvo6c6IT1GAFzAt4crPKskVZ75Q6hZZVhWpEUtwIvp+SHTYEy6BOkSaA G0rdAvHMFRF0zCtNUUw8a6T+B7MqgtnB1vd/7sPNmdmv9LL1CqAE9RhQ74hYehN/jq8q V9f9wZYJpO/gQj5YJvfS7WfLhmU3vAuz0EamJybIp7nsONjmWqImOjf1mWDIAUa3d+Vw LjfElXIU7vO9iyh0QJxqJwtiXNuRMAZ1mLL3V4TcvrENy3S+Nc3HEvGKTIfaxcCJT2+T vp/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=9q7xBuulUAodqsj8h08m05s1Xluf/iGOp96RSZvjmgg=; b=fnOWNTUpAsOFhunvObRdAbhTqApbt7Zl87j0caIPHN5gXpQVMYTO8g1AfEC7T5l4X6 zNixwlIdMxvjrrXSVhJANXQQ+7WocKC4jSN/lVWGTpjETL03A227npZSS+6E7PzD5cxK 5tAM7Mgfgo+pGsaoTEUp4H9R4ZatsrNy+oRypB9RxccX2gNIUBXeFhVeJJItOEV2wh3F qUw9ImJDdGGEIkJYoPx4EmV7EFuukLxYBsdlkx5DUoMgk8QRd9QFInV3Crq9JKm3fbYE gDgq+h+ntyLTKXM/paiCfbYPd1xpWnBrxo/6pIAtxzr9TvaOHmP2WdjyA2g41eaVi/at XLWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=GHnA01fm; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x17-20020a05640226d100b0046b21c5f201si6079686edd.386.2022.12.17.10.09.58; Sat, 17 Dec 2022 10:10:21 -0800 (PST) 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=@gmail.com header.s=20210112 header.b=GHnA01fm; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229901AbiLQSJE (ORCPT <rfc822;markus.c.watson@gmail.com> + 99 others); Sat, 17 Dec 2022 13:09:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33630 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229453AbiLQSJC (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sat, 17 Dec 2022 13:09:02 -0500 Received: from mail-il1-x12b.google.com (mail-il1-x12b.google.com [IPv6:2607:f8b0:4864:20::12b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8792213F18; Sat, 17 Dec 2022 10:09:01 -0800 (PST) Received: by mail-il1-x12b.google.com with SMTP id y3so2890450ilq.0; Sat, 17 Dec 2022 10:09:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=9q7xBuulUAodqsj8h08m05s1Xluf/iGOp96RSZvjmgg=; b=GHnA01fmJDz+eulYNEoyIiywnjg8tPPn858ys+0Z3x/IjKkyyCuxLwn3ht0Bmk3I4R 8jpgDWFxlF+LMfqtmFp1YR45qXwYBCwotASGqvAp3u7OP1BAWLwPDNiNHZ99KRrqiO9s YHxYDv0DELIjvPts2B+Fu53FS6Eev8WnnGaE5mFtm/IX/v0ZxkRmuIZredq/kL/srUjb sXreqaD0VsFNTCnRi0lCzAs48l9nKqbZeqGnwNdJZPtTOuyPFx5dNidy1fj7DyvEOMRM JqYq6pWf800nyvTHEcUwxc6EzhnPPEsr4wX3hPwZzm7jheFfRYCmG74AKOvTSsu7yvka ssYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=9q7xBuulUAodqsj8h08m05s1Xluf/iGOp96RSZvjmgg=; b=neOCfUUuQ9QP2EHt9ryUQ0R9W6nxjjgLoNbAUgB7npm/FY1mpE7DInf/8yIDid66KN Xa1mPbRlmg/6UHohd+dhKV34LlkueLr6+8fqyAMu9OHBavz37HfHrQNNFglPYem4tyVm gWx6e7Wum/39i9+BI3l3pKn1Npa6LjZj6mALO5ZIiN84DL/TVeterKLKEdmNraIoBY1g yghrWU3X8ORqxOewXokDmgXoBDGFyovFwHBg3n3jV2hKcgwP9Wz0eMaNSU8gj/GFF8y/ mnUsUn7SRarMlEHs0FLGpJuKSEG6W1CYvo15IJqdcor0wsfrRk4Yz4q/FKV7yX6/S0z9 PydA== X-Gm-Message-State: AFqh2kqEpHbYHZN79RNoyLm9I8QBj7fv/j3Q0cQ3IT6ALiYCfGPGWUbN Qd5deKeCVyEO/nkUIJbrCp0= X-Received: by 2002:a05:6e02:20cb:b0:308:f4c6:2576 with SMTP id 11-20020a056e0220cb00b00308f4c62576mr3611602ilq.22.1671300540703; Sat, 17 Dec 2022 10:09:00 -0800 (PST) Received: from aford-IdeaCentre-A730.lan ([2601:447:d001:9aea:d320:bc96:560d:6b27]) by smtp.gmail.com with ESMTPSA id u26-20020a02cbda000000b003728cd8bc7csm1763398jaq.38.2022.12.17.10.08.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Dec 2022 10:09:00 -0800 (PST) From: Adam Ford <aford173@gmail.com> To: linux-arm-kernel@lists.infradead.org Cc: aford@beaconembedded.com, Adam Ford <aford173@gmail.com>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Shawn Guo <shawnguo@kernel.org>, Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix Kernel Team <kernel@pengutronix.de>, Fabio Estevam <festevam@gmail.com>, NXP Linux Team <linux-imx@nxp.com>, Laurent Pinchart <laurent.pinchart@ideasonboard.com>, Lucas Stach <l.stach@pengutronix.de>, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] arm64: dts: imx8mp: Fix missing GPC Interrupt Date: Sat, 17 Dec 2022 12:08:48 -0600 Message-Id: <20221217180849.775718-1-aford173@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1752485720587546456?= X-GMAIL-MSGID: =?utf-8?q?1752485720587546456?= |
Series |
[1/2] arm64: dts: imx8mp: Fix missing GPC Interrupt
|
|
Commit Message
Adam Ford
Dec. 17, 2022, 6:08 p.m. UTC
The GPC node references an interrupt parent, but it doesn't
state the interrupt itself. According to the TRM, this IRQ
is 87. This also eliminate an error detected from dt_binding_check
Fixes: fc0f05124621 ("arm64: dts: imx8mp: add GPC node with GPU power domains")
Signed-off-by: Adam Ford <aford173@gmail.com>
Comments
Hi Adam, Thank you for the patch. On Sat, Dec 17, 2022 at 12:08:48PM -0600, Adam Ford wrote: > The GPC node references an interrupt parent, but it doesn't > state the interrupt itself. According to the TRM, this IRQ > is 87. This also eliminate an error detected from dt_binding_check The interrupt isn't used by the driver as far as I can see, so I can't test this, but the patch matches the reference manual, so Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> > Fixes: fc0f05124621 ("arm64: dts: imx8mp: add GPC node with GPU power domains") > Signed-off-by: Adam Ford <aford173@gmail.com> > > diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi > index 7a6e6221f421..7a8ca56e48b6 100644 > --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi > +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi > @@ -524,6 +524,7 @@ gpc: gpc@303a0000 { > compatible = "fsl,imx8mp-gpc"; > reg = <0x303a0000 0x1000>; > interrupt-parent = <&gic>; > + interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>; > interrupt-controller; > #interrupt-cells = <3>; >
On Sun, Dec 18, 2022 at 9:00 AM Laurent Pinchart <laurent.pinchart@ideasonboard.com> wrote: > > Hi Adam, > > Thank you for the patch. > > On Sat, Dec 17, 2022 at 12:08:48PM -0600, Adam Ford wrote: > > The GPC node references an interrupt parent, but it doesn't > > state the interrupt itself. According to the TRM, this IRQ > > is 87. This also eliminate an error detected from dt_binding_check > > The interrupt isn't used by the driver as far as I can see, so I can't > test this, but the patch matches the reference manual, so I don't think it changes functionality, but the other imx8m boards have it, and 'make dtbs_check' showed it as missing. Thanks for the review. > > Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> > > > Fixes: fc0f05124621 ("arm64: dts: imx8mp: add GPC node with GPU power domains") > > Signed-off-by: Adam Ford <aford173@gmail.com> > > > > diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi > > index 7a6e6221f421..7a8ca56e48b6 100644 > > --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi > > +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi > > @@ -524,6 +524,7 @@ gpc: gpc@303a0000 { > > compatible = "fsl,imx8mp-gpc"; > > reg = <0x303a0000 0x1000>; > > interrupt-parent = <&gic>; > > + interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>; > > interrupt-controller; > > #interrupt-cells = <3>; > > > > -- > Regards, > > Laurent Pinchart
On Sat, Dec 17, 2022 at 12:08:48PM -0600, Adam Ford wrote: > The GPC node references an interrupt parent, but it doesn't > state the interrupt itself. According to the TRM, this IRQ > is 87. This also eliminate an error detected from dt_binding_check > > Fixes: fc0f05124621 ("arm64: dts: imx8mp: add GPC node with GPU power domains") > Signed-off-by: Adam Ford <aford173@gmail.com> Applied both, thanks!
diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi index 7a6e6221f421..7a8ca56e48b6 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi @@ -524,6 +524,7 @@ gpc: gpc@303a0000 { compatible = "fsl,imx8mp-gpc"; reg = <0x303a0000 0x1000>; interrupt-parent = <&gic>; + interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>; interrupt-controller; #interrupt-cells = <3>;