From patchwork Wed Mar 8 12:48:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13165655 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7F86CC678D5 for ; Wed, 8 Mar 2023 12:49:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=uOrxJxkiOBxRMhOhslOZEsPkA3zDL292v89UUdrIOMs=; b=Qd7DD6tntNdPg6 3b1FCY0PmjyPtSgG13IeQOhWJa53xJVbRO7okVilk+tTsUMjkzJzbk67/emFbhMU8RaKMZUHUIRDI yVcPCjwcJ+nz+CA/TYtm2N6pSkz2D72TV70GpMPSewajjWWRZSOSDWem4PYsGzWLYd7H1JU4TjgTJ BalW+ECw5JSR3andbSK0c9vq3QAqamPlQznsIHjW/zffZ43qa56KXij2LpGvSwf8RWB4dXCmrPblW x2qPEGx1bKLljw7K9OWavJ0Oei5FwpOah0mVnVrHfQJhf88IfG32QdvZJANRRhIijo4ipa6p084Jw ZhWiAYFtiqePO6Edqqmw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pZtDh-004vPf-KV; Wed, 08 Mar 2023 12:48:37 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pZtDe-004vOT-4E for linux-arm-kernel@lists.infradead.org; Wed, 08 Mar 2023 12:48:35 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1678279714; x=1709815714; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=uvNFR+fO/y+YgDl/76kLU1XkWEVLR7a1JF8apKUL6aY=; b=JqP2LAm53GjKlg+424ycHyroeyQcXNZxf0XADptVl1/5fzu9eGJW0Qus QwWz5uLMdRoonkZDWjcLWYiJt2V6N3hXGYI+pbM4V5pxgDhVrhXzpElus mS15wYO6FNEVY0NlmjH3gzDrdPnwzg2eu4oP637kObUiRdi3/wBaDNrQZ 9lvA5Buc2bwayeQiaU4NJl+lJVQwlMozDytIOGfWqkvxypfet4coOaoUS USh2uks7n17mB+1v7DVwGvyOq3usqzdLg9992877FY3x6SXdROgjj4qSB EWE1FpiWdgzDQ9F8DhgiB9rTbs66bfFBatsQ5yyi6Dve/AIgMqh3Zl0J/ Q==; X-IronPort-AV: E=Sophos;i="5.98,243,1673910000"; d="scan'208";a="29547415" Received: from unknown (HELO tq-pgp-pr1.tq-net.de) ([192.168.6.15]) by mx1-pgp.tq-group.com with ESMTP; 08 Mar 2023 13:48:32 +0100 Received: from mx1.tq-group.com ([192.168.6.7]) by tq-pgp-pr1.tq-net.de (PGP Universal service); Wed, 08 Mar 2023 13:48:32 +0100 X-PGP-Universal: processed; by tq-pgp-pr1.tq-net.de on Wed, 08 Mar 2023 13:48:32 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1678279712; x=1709815712; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=uvNFR+fO/y+YgDl/76kLU1XkWEVLR7a1JF8apKUL6aY=; b=VDvEy5BQRPzfnB9mquUPLxEyRoS7AUCw8R8o0fP2flp5PhoGdhrcykFa Thmo2+V8vXqu42hJaTe30KNC8cUDzfyXbwRMvODKaSVtaHQDg+g8McmJB y7b71nuUZUs3mF6JCt3ALzMa26xFHae4XHl9Hh2052jLDSUYcA6jpOl4l HdxkHYDVA9b3yf68jaZzizh7LLhoWVurwqmLD3XbJITTwoFFjmmAoJpLc jyKZ6H5MZMQj7LyugLK38D4hldodkUUo+e7iR7iacaEPXxDbScyhiEvRK YAAZS4wS6ZTXRx61ts52BLmL8xiSv0w9ZC6O64c617fwhokv6hzVN93+u Q==; X-IronPort-AV: E=Sophos;i="5.98,243,1673910000"; d="scan'208";a="29547414" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 08 Mar 2023 13:48:32 +0100 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 10A5F280056; Wed, 8 Mar 2023 13:48:32 +0100 (CET) From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer , Fabio Estevam Cc: Markus Niebel , Pengutronix Kernel Team , NXP Linux Team , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Alexander Stein Subject: [PATCH v2 1/1] arm64: dts: imx93: add missing tpm pwm instances Date: Wed, 8 Mar 2023 13:48:29 +0100 Message-Id: <20230308124829.2925511-1-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230308_044834_492715_D5787C97 X-CRM114-Status: GOOD ( 10.75 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Markus Niebel TPM1/TPM3 are missing, add them. Signed-off-by: Markus Niebel Signed-off-by: Alexander Stein Reviewed-by: Fabio Estevam --- Changes in v2: * Fixed authorship (It's from Markus) * Added Fabio's R-b arch/arm64/boot/dts/freescale/imx93.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx93.dtsi b/arch/arm64/boot/dts/freescale/imx93.dtsi index 2076f9c9983a..a30c5d5f4d13 100644 --- a/arch/arm64/boot/dts/freescale/imx93.dtsi +++ b/arch/arm64/boot/dts/freescale/imx93.dtsi @@ -153,6 +153,14 @@ system_counter: timer@44290000 { nxp,no-divider; }; + tpm1: pwm@44310000 { + compatible = "fsl,imx7ulp-pwm"; + reg = <0x44310000 0x1000>; + clocks = <&clk IMX93_CLK_TPM1_GATE>; + #pwm-cells = <3>; + status = "disabled"; + }; + tpm2: pwm@44320000 { compatible = "fsl,imx7ulp-pwm"; reg = <0x44320000 0x10000>; @@ -316,6 +324,14 @@ mu2: mailbox@42440000 { status = "disabled"; }; + tpm3: pwm@424e0000 { + compatible = "fsl,imx7ulp-pwm"; + reg = <0x424e0000 0x1000>; + clocks = <&clk IMX93_CLK_TPM3_GATE>; + #pwm-cells = <3>; + status = "disabled"; + }; + tpm4: pwm@424f0000 { compatible = "fsl,imx7ulp-pwm"; reg = <0x424f0000 0x10000>;