From patchwork Wed May 10 06:56:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 680712 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 43C97C77B7C for ; Wed, 10 May 2023 06:56:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236204AbjEJG4z (ORCPT ); Wed, 10 May 2023 02:56:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55486 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236206AbjEJG4x (ORCPT ); Wed, 10 May 2023 02:56:53 -0400 Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 407D72D70; Tue, 9 May 2023 23:56:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1683701808; x=1715237808; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=ZFhKAZ4HZaDBzYaP83HkJGOS7RcADsAIbf0ZWOh4a5I=; b=PQQ92uIdPC5jhyqDRkG7P+ft/Di5lRxvZc9UIaozaXeg/aFqFRBATsw3 MSxUt8oBEECT8nv0sSjEWhSSu2aQAID5gsVMwo2KkbtQXc+0Za+PiiyS/ juqScWIRZvIpCWL7d8pOw1v53VoJSFuHPtlaWEApC4SYcXGChOolUt7kp An7XLH4KVXZ+RYgM95usKcDDdA9RwzAQPZ1BxeZgwWA/33flAFOHiHUAB i9i1gymSfETipSaNiPhhKBV3vTq5l/Dyx8FKLYVfEG4fksnk10jg+pU0+ qQ56zdyzkfZpJrH/4kNVpvDgaYO1SfruzgeXlSn0N5lHKP0JkulPJ8fvr Q==; X-IronPort-AV: E=Sophos;i="5.99,264,1677538800"; d="scan'208";a="30818400" Received: from unknown (HELO tq-pgp-pr1.tq-net.de) ([192.168.6.15]) by mx1-pgp.tq-group.com with ESMTP; 10 May 2023 08:56:45 +0200 Received: from mx1.tq-group.com ([192.168.6.7]) by tq-pgp-pr1.tq-net.de (PGP Universal service); Wed, 10 May 2023 08:56:45 +0200 X-PGP-Universal: processed; by tq-pgp-pr1.tq-net.de on Wed, 10 May 2023 08:56:45 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1683701805; x=1715237805; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=ZFhKAZ4HZaDBzYaP83HkJGOS7RcADsAIbf0ZWOh4a5I=; b=G/jYDDOwSiumTBO6cZhsUVVTqktRiReSkGU4GqAGJUld2wAe7pvNkUGR +Z8JSFMOQBef7pC3tec8Xg4BzZ4RubVgpm7npHXF79RojZOICdNOPKUEu bhlNTrNClgqp1xRI/01xnUvq0iAq5RXj8K2lejT7PXqSyhtY7S+4+BHMo GNEq4LDJ21B/1BZOXJmlnWshPVsUerO5e93zaB6E7icj0el/p0rfFQZhw pTRkG3FcH7PszbhpovfkfY0T4D2oEMppYs7uHxRDIxNUoFZM8abS1PWyx Z5uWU4Y9DTzwMJtaJzfIboJJPsjMAY4fAimvCXEJeOgXOUoJvQkJm/d+G A==; X-IronPort-AV: E=Sophos;i="5.99,264,1677538800"; d="scan'208";a="30818399" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 10 May 2023 08:56:45 +0200 Received: from steina-w.tq-net.de (unknown [10.123.53.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id 5F867280056; Wed, 10 May 2023 08:56:45 +0200 (CEST) From: Alexander Stein To: Abel Vesa , Peng Fan , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Fabio Estevam Cc: Alexander Stein , Pengutronix Kernel Team , NXP Linux Team , linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/4] dt-bindings: clock: imx8m: Add missing interrupt property Date: Wed, 10 May 2023 08:56:41 +0200 Message-Id: <20230510065644.1317577-1-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org All i.MX8M SoC have 2 CCM interrupts, called: * Interrupt Request 1 * Interrupt Request 2 Signed-off-by: Alexander Stein --- Admittedly despite listing them in the interrupt list, there is no further description. If it is deemed these IRQs are useless, the corresponding property in imx8mq.dtsi should be removed instead. Documentation/devicetree/bindings/clock/imx8m-clock.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/clock/imx8m-clock.yaml b/Documentation/devicetree/bindings/clock/imx8m-clock.yaml index 0dbc1433fede..80539f88bc27 100644 --- a/Documentation/devicetree/bindings/clock/imx8m-clock.yaml +++ b/Documentation/devicetree/bindings/clock/imx8m-clock.yaml @@ -24,6 +24,9 @@ properties: reg: maxItems: 1 + interrupts: + maxItems: 2 + clocks: minItems: 6 maxItems: 7 From patchwork Wed May 10 06:56:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 680711 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 270A6C7EE25 for ; Wed, 10 May 2023 06:57:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236210AbjEJG5K (ORCPT ); Wed, 10 May 2023 02:57:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56010 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236220AbjEJG47 (ORCPT ); Wed, 10 May 2023 02:56:59 -0400 Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 99D001FF7; Tue, 9 May 2023 23:56:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1683701815; x=1715237815; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=CxVDbE0TwBS62jjoTPipTuAbiqqUsK9ekfQtY1fB0IE=; b=emvDry6qdKY8XTEeX36JQUIx6fGjNHZrhyrsEk3vh2qm3dN2m7owZ+Lw 3Rs5SGpFbh0Jgug3xh+E+gt4WhfXuhQANAJ6LBA2ahWFiqypT3ccVi9LI 1EYdb1FHeQP06Y5znUHel5YUzIYF4Xrz5dLTe9pXH74T+fUW/irGVE9oz rJK44xbFc5+pasQJCKxIFp1aGX5O7eHnwm717jQSSqW5v3o7wLTooImIg 3ixMPkG/wKUmMVtzORP5OX6gvJbWGTnXVDVSqUy4d1jWDpsRckadKsvw7 kRwaPQq8Zd+v0EHbioZ6NE2918gd6BmiIUQlScKULb8pLNLYZPzuFWQHM A==; X-IronPort-AV: E=Sophos;i="5.99,264,1677538800"; d="scan'208";a="30818404" Received: from unknown (HELO tq-pgp-pr1.tq-net.de) ([192.168.6.15]) by mx1-pgp.tq-group.com with ESMTP; 10 May 2023 08:56:46 +0200 Received: from mx1.tq-group.com ([192.168.6.7]) by tq-pgp-pr1.tq-net.de (PGP Universal service); Wed, 10 May 2023 08:56:46 +0200 X-PGP-Universal: processed; by tq-pgp-pr1.tq-net.de on Wed, 10 May 2023 08:56:46 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1683701806; x=1715237806; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=CxVDbE0TwBS62jjoTPipTuAbiqqUsK9ekfQtY1fB0IE=; b=LGLB3hzlUlqG9E0URui/NFqZ+rtnP1hp9E6CKME2jbtF6/H9xLvHcsvr wbiidEfGT6k4RPQ6Jed1f45MtR6lH6lmz3RPqYkkLjTuH1V2yR53fC2+k PrBqQpwmbi/MlBPqVvPeXpB6/uWJRF0QN0y4b1MNUmWqQYGcHXtFgZaBk 9JF46sXamxehKm+6/cLXRK3AxpSz7jpypuJeMges2TAw5xs7IQEXI9YSZ F7J3hVbldlos7Kx5vrjEZ4D5lK2l0uluqSZv2P6EPQNd+zUI96G0UpmR3 2Cdo9qa+UPR6hiCAP4sXIdNLo1VcrPC82XiaxSEyViVF/y+bq6e5g/njC Q==; X-IronPort-AV: E=Sophos;i="5.99,264,1677538800"; d="scan'208";a="30818402" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 10 May 2023 08:56:46 +0200 Received: from steina-w.tq-net.de (unknown [10.123.53.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id E738A280056; Wed, 10 May 2023 08:56:45 +0200 (CEST) From: Alexander Stein To: Abel Vesa , Peng Fan , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Fabio Estevam Cc: Alexander Stein , Pengutronix Kernel Team , NXP Linux Team , linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 3/4] arm64: dts: imx8mn: Add CCM interrupts Date: Wed, 10 May 2023 08:56:43 +0200 Message-Id: <20230510065644.1317577-3-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230510065644.1317577-1-alexander.stein@ew.tq-group.com> References: <20230510065644.1317577-1-alexander.stein@ew.tq-group.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add both CCM interrupts as mentioned in RM. Signed-off-by: Alexander Stein --- arch/arm64/boot/dts/freescale/imx8mn.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mn.dtsi b/arch/arm64/boot/dts/freescale/imx8mn.dtsi index 8be8f090e8b8..964c29701f1c 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mn.dtsi @@ -636,6 +636,8 @@ snvs_pwrkey: snvs-powerkey { clk: clock-controller@30380000 { compatible = "fsl,imx8mn-ccm"; reg = <0x30380000 0x10000>; + interrupts = , + ; #clock-cells = <1>; clocks = <&osc_32k>, <&osc_24m>, <&clk_ext1>, <&clk_ext2>, <&clk_ext3>, <&clk_ext4>;