From patchwork Fri Feb 7 08:36:15 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13964651 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 03EF7C02192 for ; Fri, 7 Feb 2025 08:52:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=A08jsF72BGICjeJ6QNvNK9Z2aGqeVKtwYaxDuZyAP74=; b=CzUlh/5UouCht8mo32wzZ5lJaE pXo+k/d/KHlNsDQGEM738Xbg5Eow2OVJxyHwDuXKfMWN0N3SrP/Ke0cQgCcboYMXfYIn/nZM5RyeD eUH9hIvE4bWLWgkFHyZ23Iva9tUi2vCQaiJjcn2Q2zqjN0u02w/2Vap3KdxIF25G8U1QAK6BkEqXO VKZwPkPuBlCHFuKL5TTgECUH8dgiQi9y338FBBblT72gSMPRTzSigX+8V4gWoGY6mMANq+EsaPvP7 jxTFdA+uEbR/JnGBXoSXf/R1Y4w4k+VUrQYs+zsL8DR0FP+UEN0cq1YhytSG+xXIHtmGJ6ndNoRho T6T5efFQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tgK5w-00000008t1e-0VEq; Fri, 07 Feb 2025 08:52:16 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tgJru-00000008qHX-21hv for linux-arm-kernel@lists.infradead.org; Fri, 07 Feb 2025 08:37:47 +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=1738917467; x=1770453467; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=A08jsF72BGICjeJ6QNvNK9Z2aGqeVKtwYaxDuZyAP74=; b=d5W+zE+u2xhOjsuU8kPoYNpX0KOmRp3tPmGaBgkEO+dRwrtk6pu0bZS7 R6OYb3auHAUkPfzCwSWx4fqvz3a4/qDfkAijLIgDpnlDq6a6NN41s9xrV g/bTSUUuY1xxiHf/j8tlAyUhV/dFmbNpEAkqPjy+70u9lrZWOGI6nF6x9 EZejkHZZHWyZQeDLyu0GbSHvykzNzlanrNL50dEuLO226fG2QGnF/m8li bgluAfq3COhyo039CVQy9ink1c//D2GeA5y9hSDqKfBwCwtMMo8jw3x+q WsV/zqr+Xggs0R6Sie4/nZbSdhuP3G6Aya9Nx6Rl0Ii/G26biVlK489UN w==; X-CSE-ConnectionGUID: 9vat4LaKTv6vzbCnQ8mh5g== X-CSE-MsgGUID: Frr9MB+pR22UVmGL6AAP6w== X-IronPort-AV: E=Sophos;i="6.13,266,1732575600"; d="scan'208";a="41636123" Received: from vmailcow01.tq-net.de ([10.150.86.48]) by mx1.tq-group.com with ESMTP; 07 Feb 2025 09:37:24 +0100 X-CheckPoint: {67A5C62C-2D-FED1349E-E4B4C63E} X-MAIL-CPID: 0201588C6754BC6FD3182DDEA350AF5B_2 Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 6485B168349; Fri, 7 Feb 2025 09:37:18 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ew.tq-group.com; s=dkim; t=1738917438; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=A08jsF72BGICjeJ6QNvNK9Z2aGqeVKtwYaxDuZyAP74=; b=O11DvWf2oPJqU3DCSHCFXOj6wXXKf7uCq85BIFsLjzqHRYBkzA72nECuCwqOiMqqJ6T9Fd kWHpeYQSGRmrsz3yuw0VfnoOqTK3ehNJyZ9xxdLArJAV3QYdj2RhlTHULFPJXUeTFi2T2v 1m/Q8xaz/e/CUK5zywBnoWGzxq7siLU3iggsvWnJTgTTIRyYyYJ9qKL/2qzq2rs+r2DbZ9 T3gSxkhjewIpMbMFZsVgbGaqgwBwmjmEun7Lth5qvBT1nPJm/2YsojOFwqxq7STMfinwTw fNF31R3yJjFIddnq0vbv9/60iPnxkqgR6pJHyx01aVp+GhrqGm+xMSJ73VX6ng== From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Srinivas Kandagatla Cc: Alexander Stein , devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 10/10] arm64: dts: imx8mq: Add access-controller references Date: Fri, 7 Feb 2025 09:36:15 +0100 Message-Id: <20250207083616.1442887-11-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250207083616.1442887-1-alexander.stein@ew.tq-group.com> References: <20250207083616.1442887-1-alexander.stein@ew.tq-group.com> MIME-Version: 1.0 X-Last-TLS-Session-Version: TLSv1.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250207_003746_687053_B9D883E0 X-CRM114-Status: GOOD ( 10.46 ) 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 Mark ocotp as a access-controller and add references on peripherals which can be disabled (fused). Signed-off-by: Alexander Stein --- arch/arm64/boot/dts/freescale/imx8mq.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dts/freescale/imx8mq.dtsi index df8ba1d5391ae..95a40cccd46b9 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi @@ -12,6 +12,7 @@ #include #include #include +#include "imx8mq-ocotp.h" #include "imx8mq-pinfunc.h" / { @@ -1275,6 +1276,7 @@ mipi_dsi: dsi@30a00000 { <&src IMX8MQ_RESET_MIPI_DSI_ESC_RESET_N>, <&src IMX8MQ_RESET_MIPI_DSI_PCLK_RESET_N>; reset-names = "byte", "dpi", "esc", "pclk"; + access-controllers = <&ocotp IMX8MQ_OCOTP_MIPI_DSI_DISABLE>; status = "disabled"; ports { @@ -1392,6 +1394,7 @@ mipi_csi1: csi@30a70000 { fsl,mipi-phy-gpr = <&iomuxc_gpr 0x88>; interconnects = <&noc IMX8MQ_ICM_CSI1 &noc IMX8MQ_ICS_DRAM>; interconnect-names = "dram"; + access-controllers = <&ocotp IMX8MQ_OCOTP_MIPI_CSI1_DISABLE>; status = "disabled"; ports { @@ -1414,6 +1417,7 @@ csi1: csi@30a90000 { interrupts = ; clocks = <&clk IMX8MQ_CLK_CSI1_ROOT>; clock-names = "mclk"; + access-controllers = <&ocotp IMX8MQ_OCOTP_MIPI_CSI1_DISABLE>; status = "disabled"; port { @@ -1444,6 +1448,7 @@ mipi_csi2: csi@30b60000 { fsl,mipi-phy-gpr = <&iomuxc_gpr 0xa4>; interconnects = <&noc IMX8MQ_ICM_CSI2 &noc IMX8MQ_ICS_DRAM>; interconnect-names = "dram"; + access-controllers = <&ocotp IMX8MQ_OCOTP_MIPI_CSI2_DISABLE>; status = "disabled"; ports { @@ -1466,6 +1471,7 @@ csi2: csi@30b80000 { interrupts = ; clocks = <&clk IMX8MQ_CLK_CSI2_ROOT>; clock-names = "mclk"; + access-controllers = <&ocotp IMX8MQ_OCOTP_MIPI_CSI2_DISABLE>; status = "disabled"; port { @@ -1566,6 +1572,7 @@ fec1: ethernet@30be0000 { nvmem-cells = <&fec_mac_address>; nvmem-cell-names = "mac-address"; fsl,stop-mode = <&iomuxc_gpr 0x10 3>; + access-controllers = <&ocotp IMX8MQ_OCOTP_ENET_DISABLE>; status = "disabled"; }; }; @@ -1705,6 +1712,7 @@ gpu: gpu@38000000 { <&clk IMX8MQ_GPU_PLL>; assigned-clock-rates = <800000000>, <800000000>, <800000000>, <800000000>, <0>; + access-controllers = <&ocotp IMX8MQ_OCOTP_GPU_DISABLE>; power-domains = <&pgc_gpu>; }; @@ -1725,6 +1733,7 @@ usb_dwc3_0: usb@38100000 { phy-names = "usb2-phy", "usb3-phy"; power-domains = <&pgc_otg1>; snps,parkmode-disable-ss-quirk; + access-controllers = <&ocotp IMX8MQ_OCOTP_USB_OTG1_DISABLE>; status = "disabled"; }; @@ -1757,6 +1766,7 @@ usb_dwc3_1: usb@38200000 { phy-names = "usb2-phy", "usb3-phy"; power-domains = <&pgc_otg2>; snps,parkmode-disable-ss-quirk; + access-controllers = <&ocotp IMX8MQ_OCOTP_USB_OTG2_DISABLE>; status = "disabled"; }; @@ -1778,6 +1788,7 @@ vpu_g1: video-codec@38300000 { interrupts = ; clocks = <&clk IMX8MQ_CLK_VPU_G1_ROOT>; power-domains = <&vpu_blk_ctrl IMX8MQ_VPUBLK_PD_G1>; + access-controllers = <&ocotp IMX8MQ_OCOTP_VPU_DISABLE>; }; vpu_g2: video-codec@38310000 { @@ -1786,6 +1797,7 @@ vpu_g2: video-codec@38310000 { interrupts = ; clocks = <&clk IMX8MQ_CLK_VPU_G2_ROOT>; power-domains = <&vpu_blk_ctrl IMX8MQ_VPUBLK_PD_G2>; + access-controllers = <&ocotp IMX8MQ_OCOTP_VPU_DISABLE>; }; vpu_blk_ctrl: blk-ctrl@38320000 { @@ -1839,6 +1851,7 @@ pcie0: pcie@33800000 { <&clk IMX8MQ_SYS1_PLL_80M>; assigned-clock-rates = <250000000>, <100000000>, <10000000>; + access-controllers = <&ocotp IMX8MQ_OCOTP_PCIE1_DISABLE>; status = "disabled"; }; @@ -1882,6 +1895,7 @@ pcie1: pcie@33c00000 { <&clk IMX8MQ_SYS1_PLL_80M>; assigned-clock-rates = <250000000>, <100000000>, <10000000>; + access-controllers = <&ocotp IMX8MQ_OCOTP_PCIE2_DISABLE>; status = "disabled"; }; @@ -1916,6 +1930,7 @@ pcie1_ep: pcie-ep@33c00000 { <10000000>; num-ib-windows = <4>; num-ob-windows = <4>; + access-controllers = <&ocotp IMX8MQ_OCOTP_PCIE2_DISABLE>; status = "disabled"; };