Received: by 2002:a05:6500:2018:b0:1fb:9675:f89d with SMTP id t24csp277288lqh; Fri, 31 May 2024 00:29:29 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXA0idL4H+TdIoGMyzU0B8EsdT1nyT8la2ulaOYkkCrkLUh1rHf8FSIOeAZkIEd9zWCgpemMoo/7nnPfi+uyokgY53SgXj+HPcohXbygg== X-Google-Smtp-Source: AGHT+IEQojsG0OLT9h/y3Bn3vAVCqfy23a/rHsk/rL+7IaHmJL4MomIR0hY/VTm+4K40TKCmCsVb X-Received: by 2002:a17:902:ea0b:b0:1f4:9b2a:b337 with SMTP id d9443c01a7336-1f636fdf1f6mr12139745ad.3.1717140569590; Fri, 31 May 2024 00:29:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717140569; cv=pass; d=google.com; s=arc-20160816; b=meF2dWdZNCBIBEWUhFred991KXpTkKAW/1zosKLbmt1xC1OMHjIMpVdZIQaiU9rkSb 1m8a5tvvumCxZU+fv4z0YUzaqHwcpBUyOYjDK4SdqKggiOpuiXJjfqu4k7oIWL26K0WB U/bowbc1lE6Pj0oQTCfswvgKklcUVbbCBSptC/EfDlko//EytYwm7i9j2Wh5aYOhhjwY K3nnHPhD883Kf/BPyYrKh8neusgHUwL5ZMjHer2w2WJjZ/2n2gficTcstpwOaSDUro/R 1EClAdtrHcyLd2P4je2fTh23x7mmML0AOe/FZ3llOsJPLn7X/M3hELo21GxJ7XJAYs+h JlWw== 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=7AuBpLgSZMEBo2XzwoYxF5FL6n7LRJe6EeX7UzHv+C4=; fh=wJdIwor0ZuAML8NyQuHPOQiOcWocDZu8MdG+QzO9IYk=; b=z8kchpjZAIqi+5RL+6TL6uE9WDtxmzuXpG0PoRDUSxhALq7//HIWtYKYG2ZMfKZGKD 6QtwZ9OZCUsoERQwIb+OrzxZj9bhA4yXidHbxQkEkR9YWazW6q0PjZvgcCd8OVdfYavS nybQyUQHQReN97Xf225Ls3eYqfiM5ndHo1ikMBuJAxilgntEUFmzNbY7W1Bk9NMTFgOm YJeVifAtCT0HP2+ju4pKvfLbJ1PsET/NlmBXqVbc+uqPUSerpzsLEoTVCRhaicqPwOEu y76fJlqdL6uP+ihYqYrpfIhsxFy81LLvApIQVD1WA42rWaXsmhZ3X5DYCvprLoCSzSjr 3Rvw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=agBtS9VZ; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-196406-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-196406-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d9443c01a7336-1f632402efasi11126215ad.490.2024.05.31.00.29.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 00:29:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-196406-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=agBtS9VZ; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-196406-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-196406-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 36BCA28276F for ; Fri, 31 May 2024 07:29:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1214B81725; Fri, 31 May 2024 07:29:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="agBtS9VZ" Received: from mail-lf1-f52.google.com (mail-lf1-f52.google.com [209.85.167.52]) (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 853A780631 for ; Fri, 31 May 2024 07:29:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717140561; cv=none; b=j62WdYHE8iIvlhvIr4xJNrbTjfnOPjFvzUUjAHr/FUFsOvj4xyh8gwmDgCsni5CweCe3/BQMb24BVc95522jvTLZptXHiv2Yfc+WDKsU87VBWoVKcPozESLZMaZFCURH1R/abmGoyLp3FVEC7myr/rZyJhBGTbcFeWPNG4eQ5MI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717140561; c=relaxed/simple; bh=RKPl0Z5QXSn3cjvj+NKgRkVBwe1KyjTiEqUJC6ruUJE=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=AiZ+LF3h/ft+wMEhAD6gDxmG8pj39iVRcsz9foUJxs1yewIVWvH7Bb+AmvKPkrB3+RGGMR0HyjcQiQ7dWjh1gpQnSLrs9DFuvfZrQWnqX1olcaIH7EJj4ojxVeoIfNngHV2DAAmx7AUGQV1RjYj4zzofcPMaEEWoI8IVEQW9q8Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=agBtS9VZ; arc=none smtp.client-ip=209.85.167.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Received: by mail-lf1-f52.google.com with SMTP id 2adb3069b0e04-52b03d66861so1827442e87.1 for ; Fri, 31 May 2024 00:29:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1717140558; x=1717745358; 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=7AuBpLgSZMEBo2XzwoYxF5FL6n7LRJe6EeX7UzHv+C4=; b=agBtS9VZLgrA7VA4No4n9TtppxVwTx4f+uXqo9aLKRs+atugY5CnqA6R3JYwbE7S5f jjbxAy8VGAeqg+BgF0o/UV9Nr9iETmOmQWDEHd7giQ3HIqkGmaOHyTGUtsaNRza3aBzW aR3OhC5feADxFLy0b0vQ6NFHKHxVm2mV8c0qE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717140558; x=1717745358; 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=7AuBpLgSZMEBo2XzwoYxF5FL6n7LRJe6EeX7UzHv+C4=; b=miW9bCqSCuBwTmPqIuNLU1McVaJjJIDyEls/2FPTfTN1XC53LKEz2ekJvqDpNTan7M OqamIjviSXFRSmCCO8cMnBIlIFmN+bNQiQllpBTytQkOWRidFUggOHfVkcOwZ1RqhKwR oMyOdqkuGl/spGIXGpDvh8J1z2LSrOvtzeHTs7+fcecSTl7tvf7Ok1cUfYLdqI0mBQjW 2zDNdLfI0Na8vPkKXnHl/KlGx6hFHIK+QLWX8YFe/OSjkP/Y4Z8TWJUSzj76mjz/C+5q HDpeLM+clXetiWeqvTB05uYyd2RoHShme1HBflyHVbSbICI884yYVoOWT1NuOBnx0L/m RGPA== X-Forwarded-Encrypted: i=1; AJvYcCXux0bP7tlnSxRkDFbDu7W87xRQe4eRsnRSirfxLwfuK6a9XvOKLdQn0hlWfjayPF8R9wXYjrzOBcgKlfiooCYqKlg4JwcSH2Rw8SQl X-Gm-Message-State: AOJu0YxbuwnNMmxkLmxnTfgRQV5NylCyZyvjBshSpeCGJQ/Pp5dIkVZw goqS7bX6wRrGCmGLLRsFdwoWe8G8PW9s/2SAX1ETHePkCDAvfd4xvnHSZbIDbFQPrAmx6kZmEAe SONqbrWANUH6+AY4fHjwVPnJ16WNh6PWgZhdk X-Received: by 2002:a05:6512:2029:b0:52b:8455:a9df with SMTP id 2adb3069b0e04-52b896b8210mr483694e87.34.1717140557358; Fri, 31 May 2024 00:29:17 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240530083513.4135052-1-wenst@chromium.org> <20240530083513.4135052-2-wenst@chromium.org> <20240530-revisit-profanity-889f1bcae21a@spud> In-Reply-To: <20240530-revisit-profanity-889f1bcae21a@spud> From: Chen-Yu Tsai Date: Fri, 31 May 2024 15:29:06 +0800 Message-ID: Subject: Re: [PATCH 1/6] dt-bindings: clock: mediatek: Add mt8173 mfgtop To: Conor Dooley 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, May 30, 2024 at 11:43=E2=80=AFPM Conor Dooley wr= ote: > > 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. > > > > The clock gates are exposed as clocks provided by a clock controller, > > while the power sequencing bits are exposed as one singular power domai= n. > > > > 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,mt= 8173-mfgtop.yaml > > > > diff --git a/Documentation/devicetree/bindings/clock/mediatek,mt8173-mf= gtop.yaml b/Documentation/devicetree/bindings/clock/mediatek,mt8173-mfgtop.= yaml > > new file mode 100644 > > index 000000000000..03c3c1f8cf75 > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/clock/mediatek,mt8173-mfgtop.ya= ml > > @@ -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 (GP= U) > > + 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. Ack. > > + 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. Assume you mean _not_ used. Dropping. :D > Otherwise, > Reviewed-by: Conor Dooley Thanks!