Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp2243114rdb; Sun, 4 Feb 2024 23:26:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IGvyu9+sHn8JYxeysXNQmTqNCbOkeBMM3+QNpX9K7rGyaSrwBsQCbkKI3IaY52FoZFBtUXC X-Received: by 2002:a25:9242:0:b0:dc2:2574:9a30 with SMTP id e2-20020a259242000000b00dc225749a30mr9800811ybo.51.1707118008825; Sun, 04 Feb 2024 23:26:48 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707118008; cv=pass; d=google.com; s=arc-20160816; b=zveeomGQ+czl2bdru2aAjPIwxJUpuzrCZDURYupuQjSE1N+tEs4fMGhgtsqIYkbp7x 99Vu5zSJNV4NtMrmVHtijT1o1Qlx3crEu4pX9aCtugXoItoO6Bij0K0ern2VgBFHBIa7 8K1GQejdTiY643iYP18KfI3uwTQDsp1U/C//e+9AFgqANRfTNox850kLGa4ckGxnij9T p+4go7Zscet+QiDfp6GsWvsQ2tB9KHibiwnlpjHvZ7c3taRW3Zg+Q0thSOPWITeHzUQl +o79sknuYGZE1NtmUQkBL1CEHf0rCJqg24OebSJuj/t6Vl0bq0jbxFZQCJMYc8jY2V0k wffg== 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 :organization:message-id:date:subject:cc:to:from:dkim-signature; bh=hE8uVdU3UQ72lERu+ClYubt3YSUrQtm3/4DPzSloaCY=; fh=B33gyvBIoga+psHnspHvvdA+GMIAV54SocF84Fp55nU=; b=jPiBLdr7vgMUb2I48z8rHNWhpjIvNHICJgjk3odZq7gpMe/+jMpSLdJFXojdVkneaO 2GDY/OM2DJpXleuSuvS/X3AR/64rvt1cwIbRHBxiq68BH4o+Ke5qMgUamCxiSVm/gpC+ s3bsxVpoIdRWVWfneQX9L06BVJGlt9/TTphCI8oq7gwS6yucERo3pW/yHdpGadHKBFwk misUd7Mvyf32JFHKFV+v5E6sXL+Xfoz0Mdnjsy5qmk+wSZZsSNaCFePZYkNVr2ubJjVZ LmspKrYlHcpKZHNshZdvKEdbAh3BHTRs5xnLKVCUginpJbEgAR/MBScjsW9qOi2NenDH bm3Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@tq-group.com header.s=key1 header.b=nR6YSYm4; arc=pass (i=1 spf=pass spfdomain=ew.tq-group.com dkim=pass dkdomain=tq-group.com dmarc=pass fromdomain=ew.tq-group.com); spf=pass (google.com: domain of linux-kernel+bounces-52137-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52137-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=tq-group.com X-Forwarded-Encrypted: i=1; AJvYcCX9H25AZxO4lsfeo01gxukjnnCGoTch16oihYZHl8a4rQSZ8Dsg3f4diBFSOVm434J2y2QlTWAW5Q0jC1D2g/28AAo1I6V5tvcPud4cig== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id a22-20020a05620a16d600b007840361e6e8si7796637qkn.72.2024.02.04.23.26.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Feb 2024 23:26:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-52137-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=@tq-group.com header.s=key1 header.b=nR6YSYm4; arc=pass (i=1 spf=pass spfdomain=ew.tq-group.com dkim=pass dkdomain=tq-group.com dmarc=pass fromdomain=ew.tq-group.com); spf=pass (google.com: domain of linux-kernel+bounces-52137-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52137-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=tq-group.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 83CA71C20888 for ; Mon, 5 Feb 2024 07:26:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B7954111A2; Mon, 5 Feb 2024 07:26:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tq-group.com header.i=@tq-group.com header.b="nR6YSYm4" Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 37BD810A09; Mon, 5 Feb 2024 07:26:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=93.104.207.81 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707117985; cv=none; b=eqxmIvKSQ7n6rpElnLZFdabP3GBjmGtPSyj9PtJehX1iV+2rn6Xes/hyR0/N/ih5s/Cn2dNahKR8R9MQqSJWXKWRXmCGQ4R8ZpKJEloyb3/AK3jzPp6A4RZ0w3Exzvlku7IeTm3x5YBtzfEJDTEWGwC4G4tJZY+Hf9q2H6CS3fQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707117985; c=relaxed/simple; bh=Q+fwbhbMlKHhMitPR4R0nMk4ON6qTL2AQj8+Stati4c=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=HROMNQATNi/4zgY1iP2AHunN7v4yHKHyNRHWbqO8r3SoSoDS5wMju6C2xnpsxWQ6uxGPgConHNZxSn7A++WtwoBhNPLe2WnkgSWMjegJiv3uzZmsGS4lOnAYIRKNA4tpOiWsWXBdFMCOfQ+2AYDh043IVNTzJf6dO6qoWk2fw4w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ew.tq-group.com; spf=pass smtp.mailfrom=ew.tq-group.com; dkim=pass (2048-bit key) header.d=tq-group.com header.i=@tq-group.com header.b=nR6YSYm4; arc=none smtp.client-ip=93.104.207.81 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ew.tq-group.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1707117982; x=1738653982; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=hE8uVdU3UQ72lERu+ClYubt3YSUrQtm3/4DPzSloaCY=; b=nR6YSYm4s0JDmo0/U/NIscL9OHt1oZROgtYTq3Rm9hhPNKDztlsg9e51 +8XKqFIKiR04Bt+cPejvHgiYl/fRmrfPSysRjVCWQbRg+WXNNPuU/CD0H Scey+RzESsVoPGGHtGd7DSKvz2LJlWQYfJ/+dGKiaOQyGroKTf03ohHmE WW5LV8k/Th8RTAq8whwdcRIHcoX7FNBunpUtwSV/ETFbZDS/mqsokX2xS TlVjoCD9fPM7JxtWzTYTUGmyuwz4+KAui80wEFI6WoBM1s6MFAYUp4iaq XEoE9jpkc7SZGvqxTomBSf3waeENrulrj8Ii/Y/OpoROQzxobLxsoHLcQ A==; X-IronPort-AV: E=Sophos;i="6.05,242,1701126000"; d="scan'208";a="35238211" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 05 Feb 2024 08:26:12 +0100 Received: from steina-w.localnet (steina-w.tq-net.de [10.123.53.25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id DF27C280075; Mon, 5 Feb 2024 08:26:11 +0100 (CET) From: Alexander Stein To: linux-arm-kernel@lists.infradead.org, Adam Ford Cc: marex@denx.de, 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: Re: [PATCH V8 05/12] arm64: dts: imx8mp: add HDMI power-domains Date: Mon, 05 Feb 2024 08:26:12 +0100 Message-ID: <1880028.tdWV9SEqCh@steina-w> Organization: TQ-Systems GmbH In-Reply-To: <20240203165307.7806-6-aford173@gmail.com> References: <20240203165307.7806-1-aford173@gmail.com> <20240203165307.7806-6-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="iso-8859-1" Hi Adam, thanks for working on this. Am Samstag, 3. Februar 2024, 17:52:45 CET schrieb Adam Ford: > From: Lucas Stach >=20 > This adds the PGC and HDMI blk-ctrl nodes providing power control for > HDMI subsystem peripherals. >=20 > 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(+) >=20 > 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=20 IMX8MP_CLK_MEDIA_APB_ROOT>; > }; >=20 > + pgc_hdmimix: power- domains@14 { As per Documentation/devicetree/bindings/power/fsl,imx-gpcv2.yaml the node= =20 should be called power-domain@. > + #power-domain- cells =3D <0>; > + reg =3D=20 ; > + clocks =3D <&clk=20 IMX8MP_CLK_HDMI_ROOT>, > + <&clk=20 IMX8MP_CLK_HDMI_APB>; > + assigned-clocks =3D=20 <&clk IMX8MP_CLK_HDMI_AXI>, > + =09 <&clk IMX8MP_CLK_HDMI_APB>; > + assigned-clock- parents =3D <&clk IMX8MP_SYS_PLL2_500M>, > + =09 <&clk IMX8MP_SYS_PLL1_133M>; > + assigned-clock- rates =3D <500000000>, <133000000>; > + }; > + > + pgc_hdmi_phy: power- domains@15 { As per Documentation/devicetree/bindings/power/fsl,imx-gpcv2.yaml the node= =20 should be called power-domain@. > + #power-domain- cells =3D <0>; > + reg =3D=20 ; > + }; > + > pgc_mipi_phy2: power- domain@16 { > #power-domain- cells =3D <0>; > reg =3D=20 ; > @@ -1361,6 +1378,27 @@ eqos: ethernet@30bf0000 { > intf_mode =3D <&gpr 0x4>; > status =3D "disabled"; > }; > + > + hdmi_blk_ctrl: blk-ctrl@32fc0000 { > + compatible =3D "fsl,imx8mp-hdmi-blk- ctrl", "syscon"; > + reg =3D <0x32fc0000 0x23c>; > + clocks =3D <&clk IMX8MP_CLK_HDMI_APB>, > + <&clk=20 IMX8MP_CLK_HDMI_ROOT>, > + <&clk=20 IMX8MP_CLK_HDMI_REF_266M>, > + <&clk IMX8MP_CLK_HDMI_24M>, > + <&clk=20 IMX8MP_CLK_HDMI_FDCC_TST>; > + clock-names =3D "apb", "axi",=20 "ref_266m", "ref_24m", "fdcc"; > + power-domains =3D <&pgc_hdmimix>,=20 <&pgc_hdmimix>, > + <&pgc_hdmimix>,=20 <&pgc_hdmimix>, > + <&pgc_hdmimix>,=20 <&pgc_hdmimix>, > + <&pgc_hdmimix>,=20 <&pgc_hdmi_phy>, > + <&pgc_hdmimix>,=20 <&pgc_hdmimix>; > + power-domain-names =3D "bus",=20 "irqsteer", "lcdif", > + "pai", "pvi",=20 "trng", > + "hdmi-tx",=20 "hdmi-tx-phy", > + "hdcp",=20 "hrv"; > + #power-domain-cells =3D <1>; > + }; > }; >=20 According to RM this block is part of AIPS4, so it should be below=20 hsio_blk_ctrl. Best regards, Alexander > aips5: bus@30c00000 { =2D-=20 TQ-Systems GmbH | M=FChlstra=DFe 2, Gut Delling | 82229 Seefeld, Germany Amtsgericht M=FCnchen, HRB 105018 Gesch=E4ftsf=FChrer: Detlef Schneider, R=FCdiger Stahl, Stefan Schneider http://www.tq-group.com/