Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp2774516rdb; Mon, 5 Feb 2024 18:25:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IEE2JqjqxSlc37BS5sKftrBdtQQOtvWk+2jIlH717rp07oHbNq0WQNHeOtCKdYMymZ9sEbl X-Received: by 2002:a05:6a00:989:b0:6e0:5254:c9f1 with SMTP id u9-20020a056a00098900b006e05254c9f1mr1596003pfg.18.1707186333500; Mon, 05 Feb 2024 18:25:33 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707186333; cv=pass; d=google.com; s=arc-20160816; b=ZWLCq8HdfGzGe1piJ/vgkIkchsP5Z9MveVFO1KR0mJpO9erLj1sGGOOeXx9aFFyX9z MkcleRAWMTB02Ml2cc4nqmBOiIjw0eke/Bs5TIWiWspnrkGryQG2bu/JBUX+Rxbg1Thi Bu2fr2TBzp69F0jqHwl4y361X/t47mtcjNfEY8hj6JfwSx8E61rylY20uZXOHa2LLbHN NolZcVPCjX+5wYpn6mBIbqhi+fPs72PI8hN4jJvSkJz417lQuGJf1Hi2RFdCw+vhT29o BR9+5F8XXAvJWNf3+CIGCkWytdZJbXDF7o0Vi36U3jtdkjs+w+uj/71ptFsBxP6JrXet 7uLg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=ri1YQ2hEkTssAKG3opIAud0Ytbj1JVk5Pa/2THbXMCI=; fh=F1qbRWIOnFvc85IAEzjaC7zHfD4isdJcweROwWjOtdU=; b=bLEbEqoy8qzTnIhuxUbS0NQb+J0K5fp+T9sL73Nqr5ivBE2Xtq0EhP5GhlteAeCqEe 9eF1hPoN5nYpp77kbXvDk4cGDhs7WHXB+wGLbL5cME2IHHgPietcO753yCz0llW7jpcC 4zOguptpFXSNafgfomYVu7EjVKf3kJZNMUtx81m1NDiR8R7caDlwBXqkOGre5VX1sBSj NBcHicIsOvqLd4QixQCL81rxGnJBLMf5naC10F+PrUuDzqGQXHcyIfAXTgq8BvJ+hGGS imMb+Bc081E+8VnRGs+q1ejIAns7a65RXzUJGSaS6xavfwhNYj86+DsIs2TrssttpSOT s45w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=eulvNua2; 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-54204-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54204-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; AJvYcCUXiSaTC/aS+fCxDTTnxiGykzUnLe0XAlM7FruRSZljrO4lDFXQ0NjVxfRe2ranJhfDO//yTxl3+jsEpS7bCDNuMfRCxlAE6DAcs4i2qQ== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id gx15-20020a056a001e0f00b006de04fc4719si765281pfb.207.2024.02.05.18.25.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 18:25:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-54204-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=eulvNua2; 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-54204-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54204-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id F3DA0281E2F for ; Tue, 6 Feb 2024 02:25:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0E40156B8A; Tue, 6 Feb 2024 02:25:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="eulvNua2" Received: from mail-oi1-f179.google.com (mail-oi1-f179.google.com [209.85.167.179]) (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 84BDA56B65; Tue, 6 Feb 2024 02:25:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.179 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707186322; cv=none; b=NjpaSBlTyKZk3atKIISugFzYMooJdh4aWhiSIeaX2vbtDMISCyzb5cVrls/X1kjs1CCGU2NymfUEHUF5QICqqGXE4lYXV5YQoURnMyKsI/ambGkyIm5FhnfhFd9uHmiSDdbAgtVZ4fJk4DyIP+RLgJOeexR9UrBLfrlLVCgMB34= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707186322; c=relaxed/simple; bh=2yKBIlxETrljLtG8bUmHtTTra33h6dhwXZ0T/s0QsmQ=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=qcSjylwcr5BfDfxYu4NojkqZT26p3fI8Xgl29o39RQcCQouBdTHRdL4t8IM8S7bQo2AzoLc8qRTqppF54AeqLNj57f8Fybvn50H4b7V+b/7QDosSsnQTaozm8Huuizw5XI2cN/0OHJ5dnD2icez9ocSpX2jeN40xYTKW6L74jok= 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=eulvNua2; arc=none smtp.client-ip=209.85.167.179 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-oi1-f179.google.com with SMTP id 5614622812f47-3bfcbfbfd92so192855b6e.2; Mon, 05 Feb 2024 18:25:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707186319; x=1707791119; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=ri1YQ2hEkTssAKG3opIAud0Ytbj1JVk5Pa/2THbXMCI=; b=eulvNua2W/TazGjHfr5iCCkP5eMGc/mYdI/tLOM7LjOe0a8dcC4YzDfY790JjLuzjC 8k8nF3oX9QkD3DBPTD+/xE/qXWKEQOJ65EliXMc/jwyDNZfWfFN+nXeyexw1w01kEnsA gYODTBo8JWVsG5wTQu0NDKbJ5yt8ZI2C6RaGWmqP3OEpElArm0uqmVmnm9kwZVj1hfqJ kAtfJy5D2XL5qGMMfLuaIflc212ZXGpLxfTT2aQ9u7U7sUFTQKWqPxnrLNFdu3EzbDMq yKy9UNQYhza+2APhIGAUE/eHe0rdyFH1VpQhP9CdzzAkJYYAigu4TbeqElsPlragXn4q IUow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707186319; x=1707791119; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ri1YQ2hEkTssAKG3opIAud0Ytbj1JVk5Pa/2THbXMCI=; b=cN/tW8BzNsyKVsMT1D8JKqyQyEqTNivJwKphlmhaEkUnf0uA2QeTRADmJdmYGh54Kx GeOoSAGb/txB3xSWGM+64EhsBxKcqUGDOBgot941GQVT9lsii+NWGZW6B/SFIs4qF/NP 73UZZo8RqfEMYo6X4FkNnUAPKqn5LQLRAXqcDEGxTcdJ/+SjKTvLvBe+15UNDFGSrCEJ DO+Puq3H3ymXX9BYuQrHPVf2fBXCN3IJCnuJ5ZtnhPyqpXN7bjd+CheU5NSAlhB5guNJ qS9v2phhwFfp5crk2ZYeSxhy8n6U6EUwGP89LFtk4+XZzWR/L5RRhyUEENXUgkorvvXF 4msg== X-Gm-Message-State: AOJu0Yybciqbx9EmS8REkdZl5qDEI920uvtN4zJYta3lBANb+C1JNnvW L2bD1MCr8I1GL/3Yh6dxMcoC1Sr4YaiJxz5zIIRtBXgiebqb6rRKVu8Dva9eFoN+H40/HurnwrM XfbRBZ0ctQcg+PawgYWfEE6kuU+c= X-Received: by 2002:a05:6808:11c8:b0:3be:c4df:6ccf with SMTP id p8-20020a05680811c800b003bec4df6ccfmr1892265oiv.5.1707186319364; Mon, 05 Feb 2024 18:25:19 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240203165307.7806-1-aford173@gmail.com> <20240203165307.7806-6-aford173@gmail.com> <1880028.tdWV9SEqCh@steina-w> In-Reply-To: <1880028.tdWV9SEqCh@steina-w> From: Adam Ford Date: Mon, 5 Feb 2024 20:25:08 -0600 Message-ID: Subject: Re: [PATCH V8 05/12] arm64: dts: imx8mp: add HDMI power-domains To: Alexander Stein Cc: linux-arm-kernel@lists.infradead.org, marex@denx.de, frieder.schrempf@kontron.de, Lucas Stach , 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Feb 5, 2024 at 1:26=E2=80=AFAM Alexander Stein wrote: > > Hi Adam, > > thanks for working on this. > > Am Samstag, 3. Februar 2024, 17:52:45 CET schrieb Adam Ford: > > 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 { > Alexander, Thanks for the feedback. > As per Documentation/devicetree/bindings/power/fsl,imx-gpcv2.yaml the nod= e > should be called power-domain@. > > > + #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- > domains@15 { > > As per Documentation/devicetree/bindings/power/fsl,imx-gpcv2.yaml the nod= e > should be called power-domain@. Whoops. I totally missed these when I applied them. I'll have them fixed on the next spin. > > > + #power-domain- > cells =3D <0>; > > + reg =3D > ; > > + }; > > + > > pgc_mipi_phy2: power- > domain@16 { > > #power-domain- > cells =3D <0>; > > reg =3D > ; > > @@ -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 > 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>; > > + }; > > }; > > > > According to RM this block is part of AIPS4, so it should be below > hsio_blk_ctrl. This is how it was when I got it, but I should have caught it. Thanks for that. It looks like the subsequent HDMI, IRQ_steerting, LCDIF and PHY ones are also out of place. adam > > Best regards, > Alexander > > > aips5: bus@30c00000 { > > > -- > TQ-Systems GmbH | M=C3=BChlstra=C3=9Fe 2, Gut Delling | 82229 Seefeld, Ge= rmany > Amtsgericht M=C3=BCnchen, HRB 105018 > Gesch=C3=A4ftsf=C3=BChrer: Detlef Schneider, R=C3=BCdiger Stahl, Stefan S= chneider > http://www.tq-group.com/ > >