Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp1399954lqb; Thu, 30 May 2024 09:05:12 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW/BNDg5VxQTxoKoZks21PGQjndqx3IwBKiVetUGngQDWDiZbIooe+nIFnolm5r9wllOPyFSLIOCBzg5j3E6iuWvN6pVxdFxpVlAIt/6Q== X-Google-Smtp-Source: AGHT+IGRP3byliuwNYvfX0iqQ3kZ665Ilsh7JDsIuXF8xOrEuK/DKXrpXuAugHAJvTqRXfs6ShzS X-Received: by 2002:a05:6a20:da8c:b0:1af:aec3:2841 with SMTP id adf61e73a8af0-1b264619211mr2674220637.56.1717085111706; Thu, 30 May 2024 09:05:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717085111; cv=pass; d=google.com; s=arc-20160816; b=gvIXkKbaDjQkfJYyLCMWib/MwTSBQKwOYcRy/Muh2/gbkOyyJIKk28Jv1O/IgTDyXl 0x44gIxh9vq3c0F0+8XyNfDr8EIpl5wKM3gz7kw3Nq9QiCW+KbaD6sgdz9w4Isk00+IS r3wcPqr/xLN6XMmKz8F9Lo2suRhSR6BgAnl4xkuD/dtaWB7xHnnzL8VNf8nNbor+2U01 NP362Lk2R4US35mNAkRpPl8jzY7OPscLkVCcB8D9MmOuu/pALBmUwaAWdAqq4svftP8j CR22U5A69bMdcSHmlQgog2sEflyCEAMcB/T8wgbN8fiIhlT26QzawpDl7O8KcIa2zFk8 h/gQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=q+TAu5Ym6oOAch0nEAhWHVBdOckb8tdinlodXBDGNds=; fh=WlPEDndovq3heQ6u+wb0uP/ZaK7zDW057UURVBX+heg=; b=t5MRsDuN6kEwsVyRKyuHU7wNKQDZpZkjPsr+0/KYvESgo86K3gH5D0kKetOu8dn7eP sRz0JJX9NhKR13LMFyU4DRGj16At4jHeNtry78mxYU14eCjaR5uC32pugjLBooygiOpa hOuklhzWioEcrvEtt9tWnZLDsRy30athmSSIxvEybLyeazYAk1dzhJqUahFF8WRA47eW V64+MZxECnPFAvS4D7o2k4BbP3JHlwcTeJvyo3S73LTZTLKB/Ew21V+DjelyXhBOxcW8 rDmEPsTwmga6Ri5XChntq4NW0/aiXXISog8FL6XRbC1kvO/I8n7KxSP0Ezkg4ffr6r5s 53mA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EyEIwPzF; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-195614-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-195614-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-682275b3196si12184696a12.365.2024.05.30.09.05.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 May 2024 09:05:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-195614-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EyEIwPzF; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-195614-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-195614-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 4E3C4B27864 for ; Thu, 30 May 2024 15:43:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6947F186284; Thu, 30 May 2024 15:43:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="EyEIwPzF" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 8F2B2143C40; Thu, 30 May 2024 15:43:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717083787; cv=none; b=UdP1Cvx5ICFYqVnmbyspVDA+d2YABzknudaY/jz60cifj3zVnIoH6cYWBJptLTqidMsSV824U6PdR4GQ4JngUm5mRRZuCxKpzvjqXGuCnAISdIzt+zS9ikIos5/hJ/WHYBPLNY4X4+PWTWMrJzr6vkv4cwhhJiaF0H0v5QNh3YI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717083787; c=relaxed/simple; bh=sxN5z1qmpio62Pf/Ml/zd6Qag4AfNKvE5xoF1EDGv8k=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=gxZR7g59sFbMpowUQ7anbxpKZxE+2EsMpoQHzyRLKpmPQfebuZirMJdmRJ59tDZ+HkFEQW3v/vQL0PZK7XKAd0AiRml7sGk19oOfCvrwy8u9sTAMw7IxtrlLb1+GO9afa7mxPUkucl/nSJ0vOQn9XhfbME19c7hsGAm7NftWJEs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=EyEIwPzF; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9046EC2BBFC; Thu, 30 May 2024 15:43:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717083787; bh=sxN5z1qmpio62Pf/Ml/zd6Qag4AfNKvE5xoF1EDGv8k=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=EyEIwPzFPgWdzqskayElMj22rlPIlDN2LaVM/azx2RaO/xA4IFv8HTizqT23FMoNg 6Dr+cMjQXbetPZdH9FZmRF3E7tUSe/CmcciHka2lO0g3rsyF9PfAuM92s++w5rgy0h TFDnJJHBx1jW9NK2KrYWzA1OZGmpeQpsNnEQUhE056LUu3YRaVTdXtYcxHKIJZ2bMw I6Z9okTggGuAglPbNRLc3Pg/rfAMX+4bn2S5/tvtSCLKR+y9NPufOpJUCSE+9xNDqp onnljimCs8C/5y1HqTHsR2GZZsWkWdCi5adQOPL6mu8sSRASA6yKpP3vXjmP1ICURQ FlGIaudMbe/bw== Date: Thu, 30 May 2024 16:43:01 +0100 From: Conor Dooley To: Chen-Yu Tsai Cc: Frank Binns , Matt Coster , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , David Airlie , Daniel Vetter , dri-devel@lists.freedesktop.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/6] dt-bindings: clock: mediatek: Add mt8173 mfgtop Message-ID: <20240530-revisit-profanity-889f1bcae21a@spud> References: <20240530083513.4135052-1-wenst@chromium.org> <20240530083513.4135052-2-wenst@chromium.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="C42pYJ1S35FYsJe7" Content-Disposition: inline In-Reply-To: <20240530083513.4135052-2-wenst@chromium.org> --C42pYJ1S35FYsJe7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, May 30, 2024 at 04:35:00PM +0800, Chen-Yu Tsai wrote: > The MFG (GPU) block on the MT8173 has a small glue layer, named MFG_TOP > in the datasheet, that contains clock gates, some power sequence signal > delays, and other unknown registers that get toggled when the GPU is > powered on. >=20 > The clock gates are exposed as clocks provided by a clock controller, > while the power sequencing bits are exposed as one singular power domain. >=20 > Signed-off-by: Chen-Yu Tsai > --- > .../clock/mediatek,mt8173-mfgtop.yaml | 71 +++++++++++++++++++ > include/dt-bindings/clock/mt8173-clk.h | 7 ++ > 2 files changed, 78 insertions(+) > create mode 100644 Documentation/devicetree/bindings/clock/mediatek,mt81= 73-mfgtop.yaml >=20 > diff --git a/Documentation/devicetree/bindings/clock/mediatek,mt8173-mfgt= op.yaml b/Documentation/devicetree/bindings/clock/mediatek,mt8173-mfgtop.ya= ml > new file mode 100644 > index 000000000000..03c3c1f8cf75 > --- /dev/null > +++ b/Documentation/devicetree/bindings/clock/mediatek,mt8173-mfgtop.yaml > @@ -0,0 +1,71 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > + > +$id: http://devicetree.org/schemas/clock/mediatek,mt8173-mfgtop.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: MediaTek MT8173 MFG TOP controller > + > +maintainers: > + - AngeloGioacchino Del Regno > + > +description: > + The MFG TOP glue layer controls various signals going to the MFG (GPU) > + block on the MT8173. > + > +properties: > + compatible: > + const: mediatek,mt8173-mfgtop > + > + reg: > + maxItems: 1 > + > + clocks: > + minItems: 4 minItems is not needed when minItems =3D=3D maxItems. > + maxItems: 4 > + > + clock-names: > + items: > + - const: sys > + - const: mem > + - const: core > + - const: clk26m > + > + power-domains: > + maxItems: 1 > + > + '#clock-cells': > + const: 1 > + > + '#power-domain-cells': > + const: 0 > + > +required: > + - compatible > + - reg > + - clocks > + - clock-names > + - power-domains > + - '#clock-cells' > + - '#power-domain-cells' > + > +additionalProperties: false > + > +examples: > + - | > + #include > + #include > + > + mfgtop: clock-controller@13fff000 { The label here is used, so drop it. Otherwise, Reviewed-by: Conor Dooley Thanks, Conor. --C42pYJ1S35FYsJe7 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZliehQAKCRB4tDGHoIJi 0rnoAQDaN332uA+sfGCydZsLPg1xRomJNTaEgeLJGYjMhgfcgAEAqIXjskcLzKk2 FwiVXlgrZQV08uIeB/KqLI7h50RF3Qo= =MB31 -----END PGP SIGNATURE----- --C42pYJ1S35FYsJe7--