From nobody Mon Feb 9 12:08:42 2026 Received: from mail-qv1-f43.google.com (mail-qv1-f43.google.com [209.85.219.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0C22363C7; Sun, 18 Feb 2024 04:17:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708229829; cv=none; b=KGiu/Yr8eQ1k6D3uCH8QxU8/47lDDdsX2Pcs8xw67dvCL4Ev2iaIwJYu2zFAkK08J5/Rp46R4p9DlrdKlnqpCrS3d1M9cK2HxeH28IDcRdD241SxwgoRcMRCg5Fbh+wSErEBxHBbPq879yoOc6EH+o1pJ3rX1cl823brequXIDA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708229829; c=relaxed/simple; bh=N3hwU/btY80glv17224/mtq7CT91waFcbZxaN8s7Hto=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=k0QYrIeDk2YAXVpJPmQTiy7rbwgzfPLeuyc/JO2Iugu3KMa3bwHHVVPu6ne88Kix3SNp9joNWV8WVbGFFaknvvYT+YjcqMnC9DByXuxb/c+2Z+oyHNmEaoFhALSd+8ciy8I7wOsHXNtmXXZXEAVZqz08FdZxTa9jT7cxFDuGkpc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Zep1ktrE; arc=none smtp.client-ip=209.85.219.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Zep1ktrE" Received: by mail-qv1-f43.google.com with SMTP id 6a1803df08f44-6869e87c8d8so14786426d6.2; Sat, 17 Feb 2024 20:17:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708229827; x=1708834627; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=7kmAGwgibsE40CKblzU9xPszVIKszLetJVWs39LtLs4=; b=Zep1ktrEAL6HPzHuABJ0S+yyf/EVFaxXCAEWB7791hgF45m9FXFE6TYjr8ZQywV8WN S2yy+DIBDIKv/0HzG+VSZKrIYyAj+VyyMloPSryi6+ky8OXS531XddGPvI4+aT7jNSwM g+wdbsXxlwQE0yoqDaQx1S5WMaFa9McWG9Cho0RdDojiVVSW+mwE/r6jfoPH21KW7Ms0 p+cjiacriLD6fGyQPqU7IEyTDWMYPyhQrT/DpqbEq7TJBxdLiMA9GdUbc68N4VrgWf+f BV3Nv3WPVj4xE/bwk95G2JwE0kROCY/b1XnN4CGShywMirg9NNetdxBdW3k7g2Rdo0rK 0/Uw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708229827; x=1708834627; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7kmAGwgibsE40CKblzU9xPszVIKszLetJVWs39LtLs4=; b=AoteVRDXdqsDNNMsudSU8Bo44FYBfobNlETzc2tPDb7YCaFn0WbaT/qkjRMFVNIku7 RyZ8zAMR72bvWnesEy3wfQkeJFCpgFSW8Ff2x9bKSGdNQfkqbjFgjfBX9hOW0ohtefnc Rg3i9HO3UhB2ZkYXKrZv4cYA/5U+J/lDj9hZgigOlAWGoUoThi7iRmgTpt3JtVeexuSe ahwM8hN06XatefUdi2aoCh2JcwjHoJTgTAYz/ZlLc+tgTE+1uIJJpG4IHR1Fsq0acMph Vzp3awuJCGuJuzYdERazVBKrsC1nFC1VIIil3FOcV+zUWNT2nVYME/BnXuXqcmvqltMS NOSg== X-Forwarded-Encrypted: i=1; AJvYcCU3DBX8UjKxgMP7Kh5gDCbpsyjzT8azKpgWTltzC1fjCNChFJGOVJwxmy8R8YQYpuv9U53B/Sh/y2VhFXQeWR5mxy3DULV0rKOpOG8QO8nIT8Ql2CL+hf+6a2om83iTPCGhyPQkwwMChg== X-Gm-Message-State: AOJu0YzlupXH3q3Up16Kgqdvq64CpV6iv/hryv8Ao7SAu65shTI2Cvxy U0MyaDvka/lVnrb6lWbPppopGwa0e39N19/TtQtRA7TXK8kUYVoi X-Google-Smtp-Source: AGHT+IHf6ee0rDa6Ed2eZUrQnMvT93H3rJzSArxd7p1/1rUC8eiZBBrZK63LdjUZwJ1bDg1j0GFceg== X-Received: by 2002:ad4:5bc7:0:b0:68f:390c:270e with SMTP id t7-20020ad45bc7000000b0068f390c270emr7016310qvt.22.1708229826877; Sat, 17 Feb 2024 20:17:06 -0800 (PST) Received: from aford-System-Version.lan ([2601:447:d002:5be:dde9:2f2d:61e4:7364]) by smtp.gmail.com with ESMTPSA id or31-20020a056214469f00b0068eeebc4656sm1713621qvb.139.2024.02.17.20.17.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Feb 2024 20:17:06 -0800 (PST) From: Adam Ford To: linux-arm-kernel@lists.infradead.org, linux-phy@lists.infradead.org Cc: aford@beaconembedded.com, Lucas Stach , Adam Ford , Marek Vasut , Luca Ceresoli , Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Catalin Marinas , Will Deacon , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH V5 3/6] arm64: dts: imx8mp: add HDMI power-domains Date: Sat, 17 Feb 2024 22:16:41 -0600 Message-ID: <20240218041649.1209173-4-aford173@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240218041649.1209173-1-aford173@gmail.com> References: <20240218041649.1209173-1-aford173@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Lucas Stach This adds the PGC and HDMI blk-ctrl nodes providing power control for HDMI subsystem peripherals. Signed-off-by: Adam Ford Signed-off-by: Lucas Stach Tested-by: Marek Vasut Tested-by: Luca Ceresoli --- V5: No Change V4: No Change V3: The hdmi_blk_ctrl was in the wrong place, so move it to AIPS4. power-domains@ fixed to read power-domain@ V2: Add missing power-domains hdcp and hrv --- arch/arm64/boot/dts/freescale/imx8mp.dtsi | 38 +++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dt= s/freescale/imx8mp.dtsi index 9ab9c057f41e..0730d4cf9bc4 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi @@ -836,6 +836,23 @@ pgc_mediamix: power-domain@10 { <&clk IMX8MP_CLK_MEDIA_APB_ROOT>; }; =20 + pgc_hdmimix: power-domain@14 { + #power-domain-cells =3D <0>; + reg =3D ; + clocks =3D <&clk IMX8MP_CLK_HDMI_ROOT>, + <&clk IMX8MP_CLK_HDMI_APB>; + assigned-clocks =3D <&clk IMX8MP_CLK_HDMI_AXI>, + <&clk IMX8MP_CLK_HDMI_APB>; + assigned-clock-parents =3D <&clk IMX8MP_SYS_PLL2_500M>, + <&clk IMX8MP_SYS_PLL1_133M>; + assigned-clock-rates =3D <500000000>, <133000000>; + }; + + pgc_hdmi_phy: power-domain@15 { + #power-domain-cells =3D <0>; + reg =3D ; + }; + pgc_mipi_phy2: power-domain@16 { #power-domain-cells =3D <0>; reg =3D ; @@ -1889,6 +1906,27 @@ hsio_blk_ctrl: blk-ctrl@32f10000 { #power-domain-cells =3D <1>; #clock-cells =3D <0>; }; + + hdmi_blk_ctrl: blk-ctrl@32fc0000 { + compatible =3D "fsl,imx8mp-hdmi-blk-ctrl", "syscon"; + reg =3D <0x32fc0000 0x1000>; + clocks =3D <&clk IMX8MP_CLK_HDMI_APB>, + <&clk IMX8MP_CLK_HDMI_ROOT>, + <&clk IMX8MP_CLK_HDMI_REF_266M>, + <&clk IMX8MP_CLK_HDMI_24M>, + <&clk IMX8MP_CLK_HDMI_FDCC_TST>; + clock-names =3D "apb", "axi", "ref_266m", "ref_24m", "fdcc"; + power-domains =3D <&pgc_hdmimix>, <&pgc_hdmimix>, + <&pgc_hdmimix>, <&pgc_hdmimix>, + <&pgc_hdmimix>, <&pgc_hdmimix>, + <&pgc_hdmimix>, <&pgc_hdmi_phy>, + <&pgc_hdmimix>, <&pgc_hdmimix>; + power-domain-names =3D "bus", "irqsteer", "lcdif", + "pai", "pvi", "trng", + "hdmi-tx", "hdmi-tx-phy", + "hdcp", "hrv"; + #power-domain-cells =3D <1>; + }; }; =20 pcie: pcie@33800000 { --=20 2.43.0