Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp1506547rdb; Sat, 3 Feb 2024 08:59:08 -0800 (PST) X-Google-Smtp-Source: AGHT+IEJKSVWj/urb5+iSC7SYfLK9MCUSjxTNwN/PMND8gkesJH8TcgvPhpCEfvE5X4gb5YhdGn1 X-Received: by 2002:a92:c5b2:0:b0:363:b5eb:cc84 with SMTP id r18-20020a92c5b2000000b00363b5ebcc84mr4763693ilt.24.1706979548256; Sat, 03 Feb 2024 08:59:08 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706979548; cv=pass; d=google.com; s=arc-20160816; b=pf9u4x20WO/5c8IEJTkYRZIkGSyMbND4xvsCXssphBT3caOkIGIpac+3Yw7cG5+d5I 5Wvmj10qUn+fkwxciI6B2l9s143nt1NuD/ipaqhLBkM263Pafy255tTbZWMb0B4/VY2K aRNXHdkpRrROTDeD11QrJklWOI4pEmZCuwxAzG9V+09SZVPZvsPyfAoBKt2/3hr9px0r gLNQir2ADkQg8BmB07ngpuRSzU3ijJfk3d2mTCYC3bjMg6egV3jGE5UulY2fb0kttNb9 e07ZTlYLBG/fydtHKaCAHXRbNyM9lHG+ErbljQikVKzSdYhncVUfRq4TPKQW9HVtPbyg SkMg== 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=taDwADqgs/vXZTWtQL/uIsBG3gMoUnf1EEy+EC/Jro4=; fh=522L+fLKErZouZUdSymtyog2HtC5iG7VMfd6AN8JAgE=; b=FqAxrBnhmQpJe2q4ggXadqaV7G5y3Uek6yLEHkiJpKUww+lTM7hRGZ+N0K2ZQMGnqr RxlFHSeZUxiqZnttdfUC8f9LWeqQcUVJZGYfmVVWSsages+g+zoI14FXkm0j6kK3lfPN c2MciohGL19hq8eC1qH/L9DAV2R070r87o4kNjgHbSODCoxFc42XlGB5QCsxsDQzoR3Z y/CEqnQegSTi52lgcqgZ8KOKeetkvsUbw4kI/0eUs9EktcGpD2cQ19dHo8M1B4vc6SY1 ZkGzUGZcxoBr0Ci5CCuB5KEPNUclfrI/kEeQzgI/7sDcFNNwz+agNWzT8LcpVWEcsO65 isnw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Cpo0c4Ax; 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-51195-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51195-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com X-Forwarded-Encrypted: i=1; AJvYcCUsIRVoSkG2tnyiYrr23FR3WtWdXB1FCLdHXe1CdK/bS+iXN57haOyRL0zbVoG9vNlfZzfV4UPpX3c1jpsyv8xRn3JdjFQrM2WjSqkHPA== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id l16-20020a63da50000000b005db652f1eddsi3370378pgj.555.2024.02.03.08.59.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Feb 2024 08:59:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-51195-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Cpo0c4Ax; 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-51195-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51195-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 47271B25AF2 for ; Sat, 3 Feb 2024 16:55:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7B7D05FB8F; Sat, 3 Feb 2024 16:54:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Cpo0c4Ax" Received: from mail-io1-f45.google.com (mail-io1-f45.google.com [209.85.166.45]) (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 1913F60244; Sat, 3 Feb 2024 16:53:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706979240; cv=none; b=bZXonBc2Vbb2YaAwsCibqNM+ZJDipSnP9hueZ7A+qeCfzaxqvBrEdDs7uhMuzUVQgzL24SUMT0TWsrbcpIP6yjmhpyDTr9QvEF21lZLWY1L5DRThNgdo98Ocovr01R1BJLbaYSNOo442t1ABOzbSJgeLIqny0H3geDoj6hfGw5o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706979240; c=relaxed/simple; bh=Kx4mkhdN3SyyLPOagSVqcTTF72r3nIf+AcswJ8B90uU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=UI6RVnRe0zN8pntbqe3qTf0QHBfmOF692CM423dpjHu8Phk0ze5AzlVMWgb1o10cuoadX0Fmh4ag/WJxeQ/e6BN3qdfrdtf/SphnKWmyhipxaoB+kuEl5nLb8udHwQqqrtC65o9z4/k0j3DLNFinIf5OUdcHobSTJf90TTqytFg= 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=Cpo0c4Ax; arc=none smtp.client-ip=209.85.166.45 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-io1-f45.google.com with SMTP id ca18e2360f4ac-7c2c8606ef1so29142139f.2; Sat, 03 Feb 2024 08:53:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706979238; x=1707584038; 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=taDwADqgs/vXZTWtQL/uIsBG3gMoUnf1EEy+EC/Jro4=; b=Cpo0c4AxfP4L+0avPWX5BM3PW8PtMIkyQptXp6gXS2SKwvgjSkbX2tbUaa5KWv7azk 7UCdcH3BmSLNtE1Aiw6sqWyLBPVxJo45+21VgDCXivAVeOKTZndzSyz/RDqy3iQaHNsh Wh5hFtu6KAWQvGZ+dmbXzo0a2Dte4p9S6eDGouGZgBeTZRJn+R3QJl9C1zoaNmdiCvS3 1eCMZdGOd/oNZ5nqfCkv9RHvgUwIPdIW85HE/vUi1xW4ymMn+GN2KAKMtmQnRSeUjaru 5XUSnR0qSts+XM+m5fJSAY4pq9KowH89SCtQsSfalIwR9AU2VK0iVXgkS0mO7hYmjvH2 wMSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706979238; x=1707584038; 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=taDwADqgs/vXZTWtQL/uIsBG3gMoUnf1EEy+EC/Jro4=; b=UzBAvNeUbl7TJUniQqO4f6PLbcnDWpKXRa/2bdMG1kfZLvQH2sBcZxZtbv9Eulf539 dVzxw+Phuvaafha/rjJ2DcmJw4aRDDqSgUOLGa1C3B3fSZZMolOsP8koi7uThjaiu8PR 0F7Hxe5GziWpPo9zdcyzeU25hPrFA3IguCQzNQQi2el289K4+NahTjpjPJsHRXuALE3Y 3XH6FrUWFGk9y+lwB6fPkEk9XcLnRW0FkbkE/0g1IskYWoqHwfdEPrt00US4N9XAYZqK NqASAamqGtrh6ew1KGFLQkZgL5lqCxWxoIi5ARrHDaqDIvgVJ1a7EXb3HZ/iXFRKZ5++ x6Ng== X-Gm-Message-State: AOJu0YwYvKDPp/A4H/0Dw2mL839/WP+oA/ASvf1MvAXTst4pFRRa/bJL fWDytBHu2uPJNBVexYAtGdWNbrl33e1LR3wzf6pehbz7cMP0IKFx X-Received: by 2002:a05:6602:2806:b0:7c0:3e72:998c with SMTP id d6-20020a056602280600b007c03e72998cmr6003233ioe.9.1706979238133; Sat, 03 Feb 2024 08:53:58 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCUD62zg8tJ7qMwNwxmrNMP/+OYqlFBEhICF5gxfVobVJ4LnXerUR5pumG2PtuG5+Cmz7Qfs6PkvZNFzjWFg6HopgDfdIH+CrhJFHbAwLVkYFE1Gky5g76gmocMJz7rKSZSFH0wz0PGpn+QujBSeWaW1bTd4givdDsdoFza+0pxjcv6yKGy7rEu1/s7iTfuXWHEMSK1g8YxlUZ4ksVEg9YAVZdvygkgS04Ukez64aJpKQb5+2v2XodxFNH/1cAABEgBKWMPLLzszvggkQTSHX1GIolk8NFkZPPeLGYeYiUkpbeoRwsEhdm91rZxvI2XOpmQOT3rUKclMKk6QdMrzukJVrFFPyjXfvG//tBYVoSxIwE0BlykyOEbpyG+4FQFGigvg4XfwpnyZMSC9GgupXhY5d+t8AFac/q1sF2IdQXbISCSiY4ZAAaQI5dXDRVcf5BbfkjTrnoErFj1kkAX0sAKCdiLjVXD45OcGOIwrmReYBeajeQ9mV18gnX4UKlvr+uguAgY1PxVQ3g+CAAvwSlD8PdWuun7nmhBAM0+PBzXyteqCNHXeiswiDUcbqMyv9vhmmzJSJJP9iU07weq0Ne/emI/B35nszR/mec2Vw6qhN2F7u7TA22yJ61oR0pGna47Zv3k+AwHQdQ2z1JcP/od3janjHDB1aTzX9NNnYpC/WvYklUCj757VfqhEfzsVwqOTqRvRQcbYSS6bjs695FEGfS+gTqoI9XaRfw/wVyQvzSz0pCKN+ybkBc8UrWX3nt1CEdOw0keAF86Jp6Og8hwRbADGnVhU80JfhgEPIiVyzk4gWlVMOGMPHgDd00CbvE1A5M2HCUJrRackwYDqHSvO/JLky9AjE2C+/u1wQaqiRVngv6pYBgBUAzCqqqEK7X680hK1IciJbH63FpWpnoSS4FSoDH6zlB7rzbllUnyRFzEN8lftCtU9vmNGp84/0bO6zC tPc+kBpnmgA8VI5bKu/CBQBhxIXDGMbduBGf5zFg/mUqGiqIRi/nukYaNl5I8AcS2jy5e2zjr3Jfer0jAAOV7PBb7frc24lvmLSilFIjuj+0MkhPhuOWv5cvogwrsDLXMJ75BPLDJ3j54uiLyFRUhAmNX80hkWwe4o9O3vAKH/wFiBgsUin1KJr7WD0JtKOfNhxluLTZcCpooyc1EfcgOYrHNZNWHp8A== Received: from aford-System-Version.lan ([2601:447:d002:5be:d9b2:bb4f:5531:6aa9]) by smtp.gmail.com with ESMTPSA id t30-20020a05663836de00b00470b29b82b1sm1086256jau.154.2024.02.03.08.53.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Feb 2024 08:53:56 -0800 (PST) From: Adam Ford To: linux-arm-kernel@lists.infradead.org Cc: marex@denx.de, alexander.stein@ew.tq-group.com, frieder.schrempf@kontron.de, Lucas Stach , Adam Ford , Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , David Airlie , Daniel Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Philipp Zabel , Vinod Koul , Kishon Vijay Abraham I , Catalin Marinas , Will Deacon , Liu Ying , Ulf Hansson , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, linux-pm@vger.kernel.org Subject: [PATCH V8 05/12] arm64: dts: imx8mp: add HDMI power-domains Date: Sat, 3 Feb 2024 10:52:45 -0600 Message-ID: <20240203165307.7806-6-aford173@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240203165307.7806-1-aford173@gmail.com> References: <20240203165307.7806-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 --- 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 76c73daf546b..5c54073de615 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-domains@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-domains@15 { + #power-domain-cells = <0>; + reg = ; + }; + pgc_mipi_phy2: power-domain@16 { #power-domain-cells = <0>; reg = ; @@ -1361,6 +1378,27 @@ eqos: ethernet@30bf0000 { intf_mode = <&gpr 0x4>; status = "disabled"; }; + + hdmi_blk_ctrl: blk-ctrl@32fc0000 { + compatible = "fsl,imx8mp-hdmi-blk-ctrl", "syscon"; + reg = <0x32fc0000 0x23c>; + 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>; + }; }; aips5: bus@30c00000 { -- 2.43.0