From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qv1-f53.google.com (mail-qv1-f53.google.com [209.85.219.53]) (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 0A730155A2A for ; Tue, 27 Feb 2024 22:05:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.53 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709071508; cv=none; b=YV4Is6twfgj/kN0gvA8J+Idl1Ua46FpXlazh/pl7DElob6bxnJ5If+MfxfxQwIF9WV58BGuATbbe5O7EmLvpgbovUXia+qQmK4Ei934xGJhK9KsSu2dFFqyFbxl10woE6rXon1oh4AAHUyXFUWclQMCHBfPh6Qi3I2RrJevErfQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709071508; c=relaxed/simple; bh=HgWFGA0H5+lhtt9QkEwzUEZwEz7aw5R8sfP0/hVrD4k=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=CAmnEUgAYT8qTm7vhPf9BRLKg/WuwbTOgMY3CaITD0arS+7FaJC5HaoDMuV2Yfx7DrTEywkRqxiwoe9hgQf3MKfY/nJet34KWEk9PBGREoReIzSWq/zCaEr4sNCJLKFD1rP3Ql1Kb3s9K0fki5yXrZONTMqe5ZXzDuJyahdgKI8= 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=Q6WQ3Yh2; arc=none smtp.client-ip=209.85.219.53 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="Q6WQ3Yh2" Received: by mail-qv1-f53.google.com with SMTP id 6a1803df08f44-68f9e399c91so33260996d6.2 for ; Tue, 27 Feb 2024 14:05:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709071506; x=1709676306; darn=lists.linux.dev; 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=zmbbJGMEJkVi0DIu9K/lMBZ7/vUErHSNsjKRRkfuNd4=; b=Q6WQ3Yh2SW6KLTfFL+LlbuLwr5hzeZRURG5MXOgCyEIk+MVDLew+wx3RQE0odPa896 GVm8JQbDTyquM+jD7OZ4Ui/MmuTWLarYNAODKPog79UQWEGdM8kaseI3FHNy6CBrrUwj wXo//74ycwI6ZO/24Ze4FZ7wvIxyKo997fwOOsSrtXYl2lo3SZz6qO+ABssfbUZ8boDw ybePEOIP/Lq/n+pE36Rbv0Q58s9QBnOsJHthYr0pTbyc4FfgUbq10SkqvmZ4pt6C+1mQ P2rMXlRpDubDivuFfujWOIDJR4hwlZC/2KW/ryc8Ai7O8JG5TyPFGtXqHOu8XxY+IXVF WDGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709071506; x=1709676306; 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=zmbbJGMEJkVi0DIu9K/lMBZ7/vUErHSNsjKRRkfuNd4=; b=aISnjd4D1oQljLVlqDoRyp0/huAefwIus/zKXz84vBcS9rNbIfQ1Xf/XVylw3419Qp mo7dEHpkBNeHM9psmsvV0OqNFI0XfKFGdIbe+GnBNHyre8DA8GTtMJfGlVtUxbGxP1zC +Nw1upoG0X4ayOjQdgTl4xoKK+qIMoOw3YODNzfsvemRpRZhTQqYbfkcVRzAHqUOcMVy Icwk5qPkXPERaZduMLb2ja1b/OChgEpMG3KwoiI5i4K+WGigswJMXEWWQqLJWmA5Cdwv JPptpkKq7WBWnxDgjJIC6T7UrUQecp1U+ZofYroxERDu5gPY+ovTSdRzHQtAOAJ144Th +F7Q== X-Forwarded-Encrypted: i=1; AJvYcCV3cfIAtKyAQh/B2R2ZTJ6DKYaU7HJEqHRfhZNurmMOIFDbN81/lND/Q5+aGrh6S32yKASdgapxC9jl3BPgX/0e9rXd X-Gm-Message-State: AOJu0YzcvYfy5hQ4gX9+m6m4rpQMdDySTk+dmr1Y83MO/a4e8pgVnZJx llUN997SXANIHOBP1rH4Y/uECIwN3GAM1eiLYbdawks3kN1Wt7RV X-Google-Smtp-Source: AGHT+IE6i0LWrYJlOlKNYdpd9Wfhikyo/roVvLACICkT0f6i3xk6KKObf+gk9jGM3IINovDqDgP+mg== X-Received: by 2002:a0c:cd07:0:b0:68f:d594:52d2 with SMTP id b7-20020a0ccd07000000b0068fd59452d2mr3267671qvm.0.1709071505915; Tue, 27 Feb 2024 14:05:05 -0800 (PST) Received: from aford-System-Version.lan ([2601:447:d002:5be:9ee3:b2ab:6ca:180d]) by smtp.gmail.com with ESMTPSA id c12-20020a0ce14c000000b0068fc55bcf6asm4569556qvl.119.2024.02.27.14.05.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 14:05:05 -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 , Catalin Marinas , Will Deacon , devicetree@vger.kernel.org, imx@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH V7 3/6] arm64: dts: imx8mp: add HDMI power-domains Date: Tue, 27 Feb 2024 16:04:37 -0600 Message-ID: <20240227220444.77566-4-aford173@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240227220444.77566-1-aford173@gmail.com> References: <20240227220444.77566-1-aford173@gmail.com> Precedence: bulk X-Mailing-List: imx@lists.linux.dev 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 Tested-by: Marek Vasut Tested-by: Luca Ceresoli --- V6: No Change 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/dts/freescale/imx8mp.dtsi index bfc5c81a5bd4..c9bcb6641de7 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