Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp1689388rdb; Sat, 10 Feb 2024 12:47:11 -0800 (PST) X-Google-Smtp-Source: AGHT+IE0Un5RwDbEKu4D//BSycEO0AINuwQOtdIbVIdvTEXKWcmk6WdD3snCg3nbbJvIwucYAi9L X-Received: by 2002:ac8:5fd4:0:b0:42a:b38e:9907 with SMTP id k20-20020ac85fd4000000b0042ab38e9907mr3887987qta.32.1707598030798; Sat, 10 Feb 2024 12:47:10 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707598030; cv=pass; d=google.com; s=arc-20160816; b=lHkH0qJV9liwFazaGRuoWbUkZ7bKpLNcDtHk01gJGN7wzEe5nZRscxennFDdSzgXgm MmWoi/wS1e2hS9gJGK0ku27OqJw8nCGbRUu/p1hJVTrvH7XftM4sOixR/FMBjqsneSum aqd37tmM1GOXkRfWDJWZ3TKQshFzYMZn+D5sQqMfPahOa9GK0kKyJNVJfhwrNkZCWDfJ XCkNThziFOeyFu8NgcLTUafB8tHQFG9M/D5BZ/g+r9/Gdp9KYfwR2kNj7/Tk2Lnv3EYS AIPFcy5JRiEJSeif8vq6TwVmCRAqywXe3lguVGCsqfuaywTvzgKpQTQ63LAjI4wsLNN4 fnnw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=V1sqss5k7/14SKgqnTfmbe/yknHcrWFOpPFDxDP9yBY=; fh=tKUshsvggHqjpbu2t0mTVMqZPS1aYiq8D1Zvr9jZy20=; b=z8/ITxmdgqxCYVZlLpvjtJlK45VZRW4Fgc1AmOkPTOBTCmmMOwfrz0zW/Imb3KgSsV KBKh7Ho08YxHVl4Rtg7QXrxBRRdRvS8C8aDT8z6xhIKMIoGDI7ePzBlr2M0vN1Bh6puk V8/JXEC6RI/8abCSqmJ5s7yzmQvy/c/nVqNEuAEKpM8kKNa5tUKDm8F+epqFaQ37tmkT TiuFktYH3bxcSt4fktrG9AMZTaDbjenxyoKIKnU0u8jaaJq42fJwSapXwPoB54VfviM7 PfsRh0A5jF2XnXz5gx0R4MvnFlft2I1tgQP9+AZ9Eoqbn4V7B7kevYyn+VCp0EuCAho2 vdjw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=GT7LnDIU; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-60538-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60538-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com X-Forwarded-Encrypted: i=2; AJvYcCV8GiHVyQlw3XKJKep/yGH3zoLsB65nYO5f4hCVSYjCK9iimInQqoEsK0BEQADtVm+7y8nUnS9DRWFITYeQQiBvdwv2Si71qem+YBKweg== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id v19-20020a05620a441300b00785d03a24bcsi208959qkp.555.2024.02.10.12.47.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 10 Feb 2024 12:47:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-60538-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=GT7LnDIU; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-60538-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60538-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 7E2611C20BA7 for ; Sat, 10 Feb 2024 20:47:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0D0A55FEF3; Sat, 10 Feb 2024 20:46:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="GT7LnDIU" Received: from mail-oa1-f44.google.com (mail-oa1-f44.google.com [209.85.160.44]) (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 A59005FDCF; Sat, 10 Feb 2024 20:46:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707597986; cv=none; b=XFyPQxEetaBfintwWjhS4SErAocEW4uSTM4PJOHRZYjlZD1Cnky3kzaFD5iXCGIE/SaZ71HnNPRe13CaLDi0P0OEBx5k9lfda8kw5k+30TbopX3YfVTuqpGfN37ARVG79ixHGFNn+KLudc36ofIJgX74aiFkZaNWpPrVR1NXgwg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707597986; c=relaxed/simple; bh=1ZsWki7TuxRhvwZhQG/4r3m/Aa1ko8ikRKr99Le3u4A=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=PfRa7YtrSh3j6zh+I0tJ1iVShzlUF1a2IaU7sgoezgSin/xEgJwMLC7ulhay5/L4kQ1VCGumBdjqnpTXC0h2njO95gAbhJGhRIL63fPZyvDv7XarbnN8zOVqn+z8QF909sfgNF8e3lUET3TwyCWCoGn/wemM40JbdBVD5/+RWHk= 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=GT7LnDIU; arc=none smtp.client-ip=209.85.160.44 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 Received: by mail-oa1-f44.google.com with SMTP id 586e51a60fabf-21922481a2fso1440166fac.0; Sat, 10 Feb 2024 12:46:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707597983; x=1708202783; 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=V1sqss5k7/14SKgqnTfmbe/yknHcrWFOpPFDxDP9yBY=; b=GT7LnDIU8o2g+HU3zL6l7N41jjocOgnz3Y2YEUNu0TZ14loHQMHXjzw4zSpT9WqlG9 1oO5ecrIu41wvvvSPLkNpQrkx6HMxW5P+40yWYOfnIAWQCGHIyZNbKYAFAOeOEKKdwPp dFYNCXc0Hpr1l+FcFZFrUhsFp94w0Q5fWCuik2dX0LcTL7LAmGoJRPO73KheIq9pbx+k 2IbujjeTcdey7aI/RGvecEBAkSCh1cYvONS1fBwYlmGR2dbUnqNF09Shalg4j7wtSB1Y IlzZ5P5ap7a6wzXtRds8cjjD/jcHOJ/GVQcFmSpY7G0mU7zMBtdsnsu4UN8M07c3Qwq9 qclw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707597983; x=1708202783; 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=V1sqss5k7/14SKgqnTfmbe/yknHcrWFOpPFDxDP9yBY=; b=PujBuVPKXhPBdEF4a3nPQG9tK0w63k7P8s1F2G8KYU8QPxukWPl2PV5l6XSLZoR0Ei tOWUoNYm+G0FUG5Rbs7OWp7AmA1Sv+yHQM1eNE56uddHU4KwFtJ3ZBaLkDwAoYlU6dnv FQCgOO6EV/AFYAXgmGtwi0iyZxIK10oPTu4UIG4ttSfujgRPtEB7saia7JKPlxiBOdiE K6ASq+s1nJy8j3cdqtEtC2wt76NhvTuq/vx5hpdRfj9zCyz6ekFTPZid3pyAynICKz6M uXM3vmsaCXH3BuvwHBh6FP0gYSkG7m64LGWprl8IWC7SuNDRhcjenPQxBEGjyjyLC2+f afNA== X-Gm-Message-State: AOJu0YxbWGCIm3pdNRN5xekJGAZlkGDH6pxQpFoZ/HJBLvEoKa15qQs8 ZILkjPYf2JwBXkZdZFga55OpcXcH3/DZW+2G3akGyi+CzrXPQbxb X-Received: by 2002:a05:6870:a68b:b0:219:8bb1:dbe0 with SMTP id i11-20020a056870a68b00b002198bb1dbe0mr2701988oam.23.1707597983515; Sat, 10 Feb 2024 12:46:23 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCUyMJ/CooF1QNuyXGTObFWMvuvkFEmuT//Kug+lC0gcKpihQmxaVZht2CMxcEHCpsOiF5guQFaasdcNG674yFTAYhweQoskYZFRS3Tl62Jk8sdffneBLibhAbqkI6MXFFP2RH/40rPDQ19iBRpZ6//pUGLk44/4InI0FWKmbUDfZMJprVgnw0hci6O35jDUOG1KE8HcUpq9hdRCaJqt4YqMc7Fqsfrt7JEPRNrz0dfpNyLIjIHis5+46b1gH3wqWw2+HP0IkMBTDSUDDg3ZCOYgciZXmRTB8emI50Mnm0QUSM5nOtT0H2l6GBVCmJSu+3dupL9iGOW+8pSqfrPxIOrOFvs586OH0Y7RnaqtbVT+U2ki2qcGmbs+q/v3em7lpGTas5cRM0vrkWHTVu8cQ6JAc1qVGJW7VbJuOyWVVIaOi/Mcm/4N6VUrczhEdH9fkl8+abypCDebn2Ov9b3rT41mYV1XVARDefkAJGORsJaWZFv5c2a2myi2eTLXNve8c7nQgZ20+m2ivRnQAgEk6u1Xg73lBghraDXUp3pOxMfJoicuzKOOI35VDnVrm31QO6SBezpUEmE2mvDDtwLLUz4rEFPw9v+F5J6pBjIlTLyPCA== Received: from aford-System-Version.lan ([2601:447:d002:5be:27d7:3989:2897:88a7]) by smtp.gmail.com with ESMTPSA id m20-20020a0cdb94000000b0068c9db26ae1sm2079526qvk.41.2024.02.10.12.46.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 10 Feb 2024 12:46:22 -0800 (PST) From: Adam Ford To: linux-arm-kernel@lists.infradead.org Cc: marex@denx.de, aford@beaconembedded.com, Lucas Stach , Adam Ford , 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 , linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH V4 3/6] arm64: dts: imx8mp: add HDMI power-domains Date: Sat, 10 Feb 2024 14:45:59 -0600 Message-ID: <20240210204606.11944-4-aford173@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240210204606.11944-1-aford173@gmail.com> References: <20240210204606.11944-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: 8bit 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 --- 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/dts/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>; }; + pgc_hdmimix: power-domain@14 { + #power-domain-cells = <0>; + reg = ; + clocks = <&clk IMX8MP_CLK_HDMI_ROOT>, + <&clk IMX8MP_CLK_HDMI_APB>; + assigned-clocks = <&clk IMX8MP_CLK_HDMI_AXI>, + <&clk IMX8MP_CLK_HDMI_APB>; + assigned-clock-parents = <&clk IMX8MP_SYS_PLL2_500M>, + <&clk IMX8MP_SYS_PLL1_133M>; + assigned-clock-rates = <500000000>, <133000000>; + }; + + pgc_hdmi_phy: power-domain@15 { + #power-domain-cells = <0>; + reg = ; + }; + pgc_mipi_phy2: power-domain@16 { #power-domain-cells = <0>; reg = ; @@ -1889,6 +1906,27 @@ hsio_blk_ctrl: blk-ctrl@32f10000 { #power-domain-cells = <1>; #clock-cells = <0>; }; + + hdmi_blk_ctrl: blk-ctrl@32fc0000 { + compatible = "fsl,imx8mp-hdmi-blk-ctrl", "syscon"; + reg = <0x32fc0000 0x1000>; + clocks = <&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 = "apb", "axi", "ref_266m", "ref_24m", "fdcc"; + power-domains = <&pgc_hdmimix>, <&pgc_hdmimix>, + <&pgc_hdmimix>, <&pgc_hdmimix>, + <&pgc_hdmimix>, <&pgc_hdmimix>, + <&pgc_hdmimix>, <&pgc_hdmi_phy>, + <&pgc_hdmimix>, <&pgc_hdmimix>; + power-domain-names = "bus", "irqsteer", "lcdif", + "pai", "pvi", "trng", + "hdmi-tx", "hdmi-tx-phy", + "hdcp", "hrv"; + #power-domain-cells = <1>; + }; }; pcie: pcie@33800000 { -- 2.43.0