From patchwork Thu Aug 22 06:46:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rohit Agarwal X-Patchwork-Id: 13772736 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5FAC7C531DF for ; Thu, 22 Aug 2024 06:47:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=a6VhPMtectai4hGqbUSp0dB+6VO3NOuS573R5ytgFYI=; b=qzAWxi39vSeWiDgZIZ8HWbAZL1 juRQO2XZ1knyhKukoDcbiWfO4g6RUKQ1aP5h6LwoOfFSVQmhS+K44DgBqSwCv1/U18UbUMoIqQ6r+ oIKbG4K9voRPjm9MSBFR+fOl8hP7yuuxQISPijz4xDUXIupVDzrnS+gWUTStvtYF065cdrh41aior PX4YfqsAIhIqZbcW8faVt6QXdVkrK2+16aOzHooCTHfHCEbhbsMXpekXIqVhwqCGvTEvGC6WrYLvt JuoW250+AbELWQb3CGyR2opVA02JpWrwraBZKPGNYy0Au40Q4FiamDwbEJYmMFl8rAUd1zl5p9RxL aFCyNeyQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sh1bo-0000000BgLZ-3S50; Thu, 22 Aug 2024 06:47:49 +0000 Received: from mail-pf1-x431.google.com ([2607:f8b0:4864:20::431]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sh1b7-0000000Bg33-1kgn for linux-mediatek@lists.infradead.org; Thu, 22 Aug 2024 06:47:06 +0000 Received: by mail-pf1-x431.google.com with SMTP id d2e1a72fcca58-714263cb074so432355b3a.1 for ; Wed, 21 Aug 2024 23:47:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1724309224; x=1724914024; darn=lists.infradead.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=a6VhPMtectai4hGqbUSp0dB+6VO3NOuS573R5ytgFYI=; b=ezs967LQPE0b+LSBxLHW1MapL/2NKu7UyrXGgKZgH7Ctg5Xxngs8WTre1tCUlTxDx7 To83pWNVycvDXE/r/diMVpDvovMOZUlPszk18FZM4gXviKGqzVtKuKhMnxm9vExJqql9 MhUofemDM0IY7jSkst62LSOgwvLz7uPYcU+KI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724309224; x=1724914024; 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=a6VhPMtectai4hGqbUSp0dB+6VO3NOuS573R5ytgFYI=; b=qvxSGsVwhE8W0tpcKP0EdzXmkE7gJcGZe/TNczf7pVJZgsOO7nGQxccWeW7mdxfVhY j7c/gBKX2Wx4zbWfbf+tfaUtS8r2NdrEoJO7MdcHIAVU88rv1ox3h+oMGE0xGUcvPcyE 0Dq3hKw4fqYeQt2q4rH9OPfpgHkyGGWcAuwaHAfTFXDNGW01NDkZ1IP8lRGMFOQZGMgV vl1fAGbyJVqqUfs+3qePeT9hBO/+AiwR+xpOYlaeZD4Xt7ZMpst3f50NGzazpGNnXg+c 8U66qZmJ/os0r73zHbdJfLTQKdybH4m13Ldcd8UAp2Fn3KAqlTFmJa/4kyb4DPXU1l2v B7CA== X-Forwarded-Encrypted: i=1; AJvYcCVMUAMUR5+fcVY6AhcaiL4RYinK1S7n6aR0bjBbM2uqLYaMa6tgV7+HpmIloTRZL/SwHUYO/8Z+n4DiotAzKg==@lists.infradead.org X-Gm-Message-State: AOJu0YyUDyemV5r5+nYkv00Sd0pSv2JATV1HJUpKfEFV+0AwvjPmQcCv uAoSYIxACXtjhN8139WBlky6zUxTQkMu6p3ktMxuxBk7sr8i5MWsdJMXZZwAPQ== X-Google-Smtp-Source: AGHT+IFOTThZc7Acbudhp76jsdVEtyD08nopL5PxkAb/g8HYG8h8pM7szn8X6lzKGkKTXkFY44I14Q== X-Received: by 2002:a05:6a20:6f8a:b0:1c6:a656:84c9 with SMTP id adf61e73a8af0-1caeb1d6a60mr1116121637.16.1724309224283; Wed, 21 Aug 2024 23:47:04 -0700 (PDT) Received: from localhost (185.174.143.34.bc.googleusercontent.com. [34.143.174.185]) by smtp.gmail.com with UTF8SMTPSA id 98e67ed59e1d1-2d6136fc523sm856946a91.9.2024.08.21.23.47.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 21 Aug 2024 23:47:04 -0700 (PDT) From: Rohit Agarwal To: chunkuang.hu@kernel.org, p.zabel@pengutronix.de, airlied@gmail.com, daniel@ffwll.ch, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, ck.hu@mediatek.com, jitao.shi@mediatek.com Cc: dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Rohit Agarwal Subject: [PATCH v3 1/3] dt-bindings: display: mediatek: dpi: Add power domains Date: Thu, 22 Aug 2024 06:46:48 +0000 Message-ID: <20240822064650.1473930-2-rohiagar@chromium.org> X-Mailer: git-send-email 2.46.0.295.g3b9ea8a38a-goog In-Reply-To: <20240822064650.1473930-1-rohiagar@chromium.org> References: <20240822064650.1473930-1-rohiagar@chromium.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240821_234705_481101_7E311CD4 X-CRM114-Status: UNSURE ( 8.65 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org Add power domain binding to the mediatek DPI controller for MT8186. Also, add power domain binding for other SoCs like MT6795 and MT8173 that already had power domain property. Signed-off-by: Rohit Agarwal Reviewed-by: Krzysztof Kozlowski Reviewed-by: CK Hu --- .../bindings/display/mediatek/mediatek,dpi.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml index 5ca7679d5427..3a82aec9021c 100644 --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml @@ -62,6 +62,9 @@ properties: - const: default - const: sleep + power-domains: + maxItems: 1 + port: $ref: /schemas/graph.yaml#/properties/port description: @@ -76,6 +79,20 @@ required: - clock-names - port +allOf: + - if: + not: + properties: + compatible: + contains: + enum: + - mediatek,mt6795-dpi + - mediatek,mt8173-dpi + - mediatek,mt8186-dpi + then: + properties: + power-domains: false + additionalProperties: false examples: From patchwork Thu Aug 22 06:46:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rohit Agarwal X-Patchwork-Id: 13772737 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 342DEC531DF for ; Thu, 22 Aug 2024 06:48:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Iox3pW+t1+/mCNWqBkSwh8gOTlOVaTTolmdqxDRdGuE=; b=aJAiZ2Kff+jmmKK1kOlg5/PCW5 KCc9vf/shum609jwU8n0CjunZUW1qykCCSFRLzXxbPHyAr85CSvl8NWYLkO8iVrGoZEt6EeAAKTEC XjldGI4d2UW/6LMr8KUD5wXB3hb+kOA7Dv7wQKLX9/oM8PQcxu31Eeb7vGcCb/VEStiFKRYzwv0G6 ZZPhV/onbXLX+rLDkWvdHLg9pzfGkC1pjczxp/sAgm0nwnlutf7c0Etrc+fLXM8SVhvQ3ffwWwebg bdg1CtEAU/XXZAOSK5LqO8Kgf2DPALqXlWuiS4vVCq3Z0iyu8YLFWlSxGcOmt/E8O5Y7uYXN0UaO0 08kAuejw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sh1cW-0000000BgZh-3TMp; Thu, 22 Aug 2024 06:48:32 +0000 Received: from mail-pj1-x102c.google.com ([2607:f8b0:4864:20::102c]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sh1bC-0000000Bg61-1zAl for linux-mediatek@lists.infradead.org; Thu, 22 Aug 2024 06:47:12 +0000 Received: by mail-pj1-x102c.google.com with SMTP id 98e67ed59e1d1-2d3bae081efso364853a91.1 for ; Wed, 21 Aug 2024 23:47:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1724309229; x=1724914029; darn=lists.infradead.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=Iox3pW+t1+/mCNWqBkSwh8gOTlOVaTTolmdqxDRdGuE=; b=QdUFPCWd5blxcqCbP5h8ZBWSbPpIp0T8ZDrfiUetuuHmaPlRnA1e4MNtHizZeePeP2 YcklegqhuxXN+uvMdRTqAiiPi0CZ2fdIohzn4xfGV9+EsLIHZyLA2Wfp3mpMBT51K5Zl nQcgsRPxWyQxRu9lqV0Ao+kA9xKbNoVzeZ3LM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724309229; x=1724914029; 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=Iox3pW+t1+/mCNWqBkSwh8gOTlOVaTTolmdqxDRdGuE=; b=uIiBFfqFspNvT2Kd6Dx56sumxAhdCHc4KGelB97QENAk0d++kdgfflRYNhaPehMR1Q syNbuJGzOxRqFMOaQmSEhYEo7rKazZ3uvW1UraYf0gXfAyxOobYfRvK81L5HuQnULTg8 Latd55E4xe1+XAg123V4yk4ST4RaBsGO+m8FRzlRT2GqSHUEazttytKPOTAXECavzwfQ Qe3rK4Npuv8eR1yIXERNiVhU/esdhtPK+50SkV1aUz2C9E7PqpKokHbVu98ie2z3pF76 9mbT/6GFEl7x41/z0EFRM7CLYxeYXXaEzn8tLIzboQVcpHxGKJXbR7gFq2XDqAObOJgI vFGA== X-Forwarded-Encrypted: i=1; AJvYcCV3mUTGl3/79OlrlJpPxUqDR8pAScwqQjrD6fEckiWgvI1yMcwZnPTD7cRB5ZmsDPQnV80nKRR4MOLS54DEkg==@lists.infradead.org X-Gm-Message-State: AOJu0YyMdNn0/a1pO+U5liiyGR0u5nkR71D1iAD5zfntSjJi2b2X5rKL wX/rsiJoOEL6ry4dG4PpY0SGasRaN4u3/xRJM/EdV8KfSiQ9k6kG6ZwO7FfVMQ== X-Google-Smtp-Source: AGHT+IGDm0aYL8ExBHHTkePgeJ1dnpbTcM/gseUSEQPj47QfaHrXBDFNOT0Ci3LVj6t5wZrZxdp1CA== X-Received: by 2002:a17:90b:4f89:b0:2d3:dca0:89b7 with SMTP id 98e67ed59e1d1-2d5e99fb6d1mr6084906a91.3.1724309229382; Wed, 21 Aug 2024 23:47:09 -0700 (PDT) Received: from localhost (185.174.143.34.bc.googleusercontent.com. [34.143.174.185]) by smtp.gmail.com with UTF8SMTPSA id 98e67ed59e1d1-2d5eb90c542sm3166866a91.18.2024.08.21.23.47.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 21 Aug 2024 23:47:09 -0700 (PDT) From: Rohit Agarwal To: chunkuang.hu@kernel.org, p.zabel@pengutronix.de, airlied@gmail.com, daniel@ffwll.ch, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, ck.hu@mediatek.com, jitao.shi@mediatek.com Cc: dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Rohit Agarwal Subject: [PATCH v3 2/3] arm64: dts: mediatek: mt8186: Add power domain for DPI Date: Thu, 22 Aug 2024 06:46:49 +0000 Message-ID: <20240822064650.1473930-3-rohiagar@chromium.org> X-Mailer: git-send-email 2.46.0.295.g3b9ea8a38a-goog In-Reply-To: <20240822064650.1473930-1-rohiagar@chromium.org> References: <20240822064650.1473930-1-rohiagar@chromium.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240821_234710_534790_3D024C1C X-CRM114-Status: UNSURE ( 8.91 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org Add power domain phandle to the DPI controller in mediatek mt8186 SoC. Signed-off-by: Rohit Agarwal --- arch/arm64/boot/dts/mediatek/mt8186.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8186.dtsi b/arch/arm64/boot/dts/mediatek/mt8186.dtsi index 4763ed5dc86c..e27c69ec8bdd 100644 --- a/arch/arm64/boot/dts/mediatek/mt8186.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8186.dtsi @@ -1824,6 +1824,7 @@ dpi: dpi@1400a000 { assigned-clocks = <&topckgen CLK_TOP_DPI>; assigned-clock-parents = <&topckgen CLK_TOP_TVDPLL_D2>; interrupts = ; + power-domains = <&spm MT8186_POWER_DOMAIN_DIS>; status = "disabled"; port { From patchwork Thu Aug 22 06:46:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rohit Agarwal X-Patchwork-Id: 13772738 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 53220C531DF for ; Thu, 22 Aug 2024 06:49:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=VF9PjinJER9wjMA+9D6wXT2j5101Rcr5iAVO00wcnuk=; b=ro0BZfJsjP7grXFCQkaq2FKVK3 ld0037/KqtyED9KQYvlmSL8L3eu5WpcQmgSYf2eywiW95qpcmMjLzsXMEwr9TGL6vSbT4EJjtXlY1 n1QHAe1OIB/7TpqB6xPif91ZH2unwZdP1ALn6OXyCpuuAGCOyw8T6JwxCtq4INZ+i+LPNEeCHaqg1 u4MHRNo3eNGAgKjB1SjltVO3GsjPir5jQJV9ijs2k2YdD5V+cWDCovpiS/GP4MLjqPx9trNmxl+yO GhZoVyRG53ddYeLhLpEAdIx9RNFmDpxahSMfs1vgSrTOLVxxqqusF66YaXbY8xMdyG9q9JlAKF+ES VFMzMTlg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sh1dF-0000000BgpN-09iD; Thu, 22 Aug 2024 06:49:17 +0000 Received: from mail-oa1-x2c.google.com ([2001:4860:4864:20::2c]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sh1bH-0000000Bg9i-48TU for linux-mediatek@lists.infradead.org; Thu, 22 Aug 2024 06:47:17 +0000 Received: by mail-oa1-x2c.google.com with SMTP id 586e51a60fabf-2702ed1056bso292725fac.3 for ; Wed, 21 Aug 2024 23:47:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1724309234; x=1724914034; darn=lists.infradead.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=VF9PjinJER9wjMA+9D6wXT2j5101Rcr5iAVO00wcnuk=; b=BXh8HRR3rhVlFdWewD9qK5vwjmab4rA5xuKhNvLHERsXTH9sSbYfpRjt2NEEWiH5Sy 2P3uR32LkrAdvulehWOZLQKu7rfnTCuazPmSN0ezQkcI+YAjY0yGiUEA+gF1JOarhLBR CiGIF/CjfDT1M2Db4yOdtUJIgrRcbDtDXy140= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724309234; x=1724914034; 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=VF9PjinJER9wjMA+9D6wXT2j5101Rcr5iAVO00wcnuk=; b=TBncZH13O/ibkQH8VGa5UgHv+BvnEikuweJXCCSzU7Z4ldTvSRAqSWYdS6onfCew4i ayrvChqNwDfDTLOzaTHk6m75yp3hchl8tKAPuWNOd+WyVk5gakim0F/lYZBzhn24ImkZ m5ukcTJaJJSY1mV2xGuYdjk9zI8yOqV2yrseRt4GgzuDOh8IKJeThMuBz8JGii1dyDvh C56LzezWP8SJ6Qzb483ELz6G2zNi/vG+HPZRPyEweHwERbf/6YH1BIbxceZ0crBNAvjI m/whCLP7ni1MsE3/4unbAWsDoFMiIZkgrUR7Orp/Nd0mAzVBlvpgLPduEZXYV3ELKzaC zXxw== X-Forwarded-Encrypted: i=1; AJvYcCV9Du3CuARKQ8ChZRyNJMW+bxZxYmzDBlLkU0Va7AajUNk7O3Nyzf2Q3MfrAy7uFC5EZ+SaJ3jdYVcnw3uWCQ==@lists.infradead.org X-Gm-Message-State: AOJu0YwhGDVfaLfZuuXQSnNCkXCdycLfdn87BUuYZJGGzLpYjtuwebIy 15OeF4+HDsH+ERHgzSRMOxgX+/ozyNPlqs9HAHBdRZxO3Gg2Rz6xJc6rDKA98w== X-Google-Smtp-Source: AGHT+IGrUfTOkboBsPUwPI3QFIqP0YcLyJ19ev6z6avzO4hsPA9b8UhcQhr91d3x2cfdkibvPWSpUA== X-Received: by 2002:a05:6871:1cb:b0:25b:6d53:d294 with SMTP id 586e51a60fabf-2737ef7d20bmr5327067fac.23.1724309234476; Wed, 21 Aug 2024 23:47:14 -0700 (PDT) Received: from localhost (185.174.143.34.bc.googleusercontent.com. [34.143.174.185]) by smtp.gmail.com with UTF8SMTPSA id d2e1a72fcca58-7143424a530sm698129b3a.51.2024.08.21.23.47.10 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 21 Aug 2024 23:47:14 -0700 (PDT) From: Rohit Agarwal To: chunkuang.hu@kernel.org, p.zabel@pengutronix.de, airlied@gmail.com, daniel@ffwll.ch, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, ck.hu@mediatek.com, jitao.shi@mediatek.com Cc: dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Rohit Agarwal Subject: [PATCH v3 3/3] arm64: dts: mediatek: mt8186: Add svs node Date: Thu, 22 Aug 2024 06:46:50 +0000 Message-ID: <20240822064650.1473930-4-rohiagar@chromium.org> X-Mailer: git-send-email 2.46.0.295.g3b9ea8a38a-goog In-Reply-To: <20240822064650.1473930-1-rohiagar@chromium.org> References: <20240822064650.1473930-1-rohiagar@chromium.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240821_234716_050559_825E31FC X-CRM114-Status: UNSURE ( 9.11 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org Add clock/irq/efuse setting in svs nodes for mt8186 SoC. Signed-off-by: Rohit Agarwal --- arch/arm64/boot/dts/mediatek/mt8186.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8186.dtsi b/arch/arm64/boot/dts/mediatek/mt8186.dtsi index e27c69ec8bdd..a51f3d8ce745 100644 --- a/arch/arm64/boot/dts/mediatek/mt8186.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8186.dtsi @@ -1361,6 +1361,18 @@ spi0: spi@1100a000 { status = "disabled"; }; + svs: svs@1100b000 { + compatible = "mediatek,mt8186-svs"; + reg = <0 0x1100b000 0 0x400>; + interrupts = ; + clocks = <&infracfg_ao CLK_INFRA_AO_THERM>; + clock-names = "main"; + nvmem-cells = <&svs_calibration>, <&lvts_e_data1>; + nvmem-cell-names = "svs-calibration-data", "t-calibration-data"; + resets = <&infracfg_ao MT8186_INFRA_PTP_CTRL_RST>; + reset-names = "svs_rst"; + }; + pwm0: pwm@1100e000 { compatible = "mediatek,mt8186-disp-pwm", "mediatek,mt8183-disp-pwm"; reg = <0 0x1100e000 0 0x1000>; @@ -1676,6 +1688,14 @@ efuse: efuse@11cb0000 { #address-cells = <1>; #size-cells = <1>; + lvts_e_data1: data@1cc { + reg = <0x1cc 0x14>; + }; + + svs_calibration: calib@550 { + reg = <0x550 0x50>; + }; + gpu_speedbin: gpu-speedbin@59c { reg = <0x59c 0x4>; bits = <0 3>;