From patchwork Wed Aug 21 09:26:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rohit Agarwal X-Patchwork-Id: 13771133 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 36D5AC52D7C for ; Wed, 21 Aug 2024 09:28:48 +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=SpLoj/GHdJ90mGMNH9UOi6XZ//oOyZzmQ1SqbdjiU5Q=; b=q6rpoxVCU5b4NMjW2y8KW6KFra W1xh50j+dUNnhLPZvcWhOrcOVQcKIgKCQ0j5uq/9rHl+fBxntJznJY1F6XXLwHFh35cXrzVvlhmP1 w2DpdbWOQa1hBPxaCpfnzHllzXTNTArU7AKBLLDnfT9PbgA7zDtJq/O24rDzKvccbzSD23S1xTw0+ ZUYrkkZ618RI3lUXFCL6Fc/Iyz0vy8OAhTRBPNW0U0u46AV8qFiZYRCZ4pS0smf+4mWRtFuSKUxep I8R2qnwvM9Fcma7IeZM/fotwIOxlakojERBxVz7YTf8GT1XhMk9BAI71dBfABLQ6tRrQ0qQXHrl/Z H+k37A9w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sghdr-00000008F9P-33gG; Wed, 21 Aug 2024 09:28:35 +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 1sghcb-00000008EgU-3gUH for linux-arm-kernel@lists.infradead.org; Wed, 21 Aug 2024 09:27:19 +0000 Received: by mail-pj1-x102c.google.com with SMTP id 98e67ed59e1d1-2d3b595c18dso427115a91.0 for ; Wed, 21 Aug 2024 02:27:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1724232437; x=1724837237; 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=SpLoj/GHdJ90mGMNH9UOi6XZ//oOyZzmQ1SqbdjiU5Q=; b=mZWKZr8ffOSLyGsbZ06JqxS/wFMuvkCyMooCxM+qeG8mGgdzKOdiJYcw+FpkSaBgCp TabE9yy+Ns0LqZkPz0AOQgdDGF4Q7pS2Yopy7hGIW0WadS/nebbFHJU/Cukqe3B8hZIJ vGiBOI3WoIJxJIbVV9Lv/w6m3odV9p3HpQygY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724232437; x=1724837237; 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=SpLoj/GHdJ90mGMNH9UOi6XZ//oOyZzmQ1SqbdjiU5Q=; b=Z5mDlIeAIg4V4Vk+Ybho0bZ1HozFoznhV6OwzAhldE8+g5/tXu9ZeynmxeHQ2XmZO0 OLPWAyVdB/y3aXgkUOQOHz8tzEH1mDtahS0MHacK8IzV6qZ/aQdlna5AqaBPzIuJYRDr JexyBXrhNcD32ATxzmjkIUAjNrf1ZviUmI4fvTff/D7WD1zI2IPabtTh4vGOtB+wtYZE Kb17Nv9HLagOi331Fv4f5/Ar8SQnP3iJ4iAd9q2U56DDyyp935z6hiu3MRsy8ONqMIDH NlAxPXAe9nNvcOS27Kmw6bbmgRAunRV7pw1eeTXXQG8mUhYzM60znvCCIuQgQ5RKHbW3 xK/w== X-Forwarded-Encrypted: i=1; AJvYcCWXbXJ88ufx0Ll5yIRFkSICRjC1uTN9Q0xp1xvM/tijw9DmBwVZ7Cc26YDM6po6zTD5tB/g64+jehIFj45RKIbc@lists.infradead.org X-Gm-Message-State: AOJu0YyHx/YFrBxLvqd6NEsr8EcYTML6f0WLSUuSbiscQakNYIrUuzoS x+ERpA32rXw0XK6/iMDtagXYkJp4J/Jq1M+8GUtklqEIuQoEDl+SQZqkTz0cmg== X-Google-Smtp-Source: AGHT+IH2Uik2B9V5fu3Btspt6fJZ1exe9FDCGD9hvpgvwCy8I2HfWJgIXUX3gWybKSU8xAPUw5kyAw== X-Received: by 2002:a17:90a:cf87:b0:2d3:d79f:e8b7 with SMTP id 98e67ed59e1d1-2d5e995b72emr3035904a91.5.1724232436829; Wed, 21 Aug 2024 02:27:16 -0700 (PDT) Received: from localhost (185.174.143.34.bc.googleusercontent.com. [34.143.174.185]) by smtp.gmail.com with UTF8SMTPSA id 98e67ed59e1d1-2d5eb8cf420sm1246810a91.10.2024.08.21.02.27.13 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 21 Aug 2024 02:27:16 -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 v2 1/3] dt-bindings: display: mediatek: dpi: Add power domains Date: Wed, 21 Aug 2024 09:26:57 +0000 Message-ID: <20240821092659.1226250-2-rohiagar@chromium.org> X-Mailer: git-send-email 2.46.0.295.g3b9ea8a38a-goog In-Reply-To: <20240821092659.1226250-1-rohiagar@chromium.org> References: <20240821092659.1226250-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_022717_958802_8B0D333E X-CRM114-Status: UNSURE ( 9.78 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=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 --- .../display/mediatek/mediatek,dpi.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml index 5ca7679d5427..864b781fdcea 100644 --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml @@ -62,6 +62,8 @@ properties: - const: default - const: sleep + power-domains: true + port: $ref: /schemas/graph.yaml#/properties/port description: @@ -76,6 +78,23 @@ required: - clock-names - port +allOf: + - if: + properties: + compatible: + contains: + enum: + - mediatek,mt6795-dpi + - mediatek,mt8173-dpi + - mediatek,mt8186-dpi + then: + properties: + power-domains: + maxItems: 1 + else: + properties: + power-domains: false + additionalProperties: false examples: From patchwork Wed Aug 21 09:26:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rohit Agarwal X-Patchwork-Id: 13771134 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 79D83C52D6F for ; Wed, 21 Aug 2024 09:29:29 +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=XieP6uyeRjr0snCjyLBVe2yIjm 2beX3W6BxdJZXPQFpEGpv5/E645Wfo0h4zXf516njvca9Tywexp69ue8ekXUg8XXt+JYM/QSBnlj5 neiZ+jGPLsxh+a0CdbGodvPP4G2yVqWk6L+tbD1REnP3T0FV2gDjQUAoK6FJGADzk8GG5EIHbCj+a LeQn0jjHCE6upoieTNzq11/pqyhrCn+rfe/veEQkrup7NscRltsqXSl7c6FWVy2XiAxeqbx/GEzP5 GxLhatIfRpXRF/Wj89Cnrd2fIpXDzBhlH1CcSPHWT5gQ3d7hKrdIgVz7bXE0O4/JlD7w7Ys2YDWfk c5PGStvA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sgheY-00000008FJH-2ATk; Wed, 21 Aug 2024 09:29:18 +0000 Received: from mail-pg1-x52c.google.com ([2607:f8b0:4864:20::52c]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sghci-00000008EjF-052N for linux-arm-kernel@lists.infradead.org; Wed, 21 Aug 2024 09:27:25 +0000 Received: by mail-pg1-x52c.google.com with SMTP id 41be03b00d2f7-7bcf8077742so4755297a12.0 for ; Wed, 21 Aug 2024 02:27:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1724232443; x=1724837243; 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=ARaXqmJEgpVpDhgrg2dyoI3YN0hsJCg6E7c6t6IlNWr38VlZ8xM+PYSxh3SKH29Mwu pAQbZ0PC4JDkebPps+xzBAO+5Pd5jNhC2EZQ01kJAqf5s1l+eOt8Tur3wv8fXZ4jbADm ZNF+tt3+uKRjybxEZ8sdI4Lb0i5F8whsJNKLA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724232443; x=1724837243; 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=s2a5F2mz9l+TzKcmYq5NOS6HR2sYKVdswJanPrNxiThtfwEeCmfOAa0JboIdSbEOJz 8uBmOodG6IzHIGoYLZarftNUzmVbI4asXcJxVxlv6Id2bNUovwziv/dIc5I9uKy8A388 eJQCRY5bHMdQiADm6rpsogpSMoINndoNK3+kEKrZhapDBK0IldvLdMvlx++hqZYnr5qd ZWcGCZtJRcC53VQygQktXJxTnhWQJeWB0iJXoYNbRapCE40qPjhjMUjRN3RTvtjqc7r3 Xj7n3W5wMtqkA1U9NYw6BEw0wWPWzaYXjx1M7UtQuuI9NqUSrmbC0lcWMjX9wtKX6yem uavw== X-Forwarded-Encrypted: i=1; AJvYcCXhFOlMU2RNjYj702yJVitkKXFyDkT+iJZNtbITmj0lq5goHnVNEUfudrmZsFvKtQ7OwRlwh8QGggrGxWTjNSXp@lists.infradead.org X-Gm-Message-State: AOJu0Yygq/YtJ65uOUuMUd3rhdUQj/Nn3bRn1Pt8sUiO5/3jU8LL1XSZ uslOz0y8swiWMAO/SGcQIJ1jmZCtkfUOWQJ/G2XPOHj3m26UBocdPLQdukU55A== X-Google-Smtp-Source: AGHT+IFSbd2+CTAvT36vYi23wFOBnvLtUPzf574J+2rtgzO0If0Rhiv3cpNXndh5NgP+JigUun2lAA== X-Received: by 2002:a05:6a20:9e4c:b0:1c0:eabc:86a8 with SMTP id adf61e73a8af0-1cada0115e2mr2213758637.5.1724232443153; Wed, 21 Aug 2024 02:27:23 -0700 (PDT) Received: from localhost (185.174.143.34.bc.googleusercontent.com. [34.143.174.185]) by smtp.gmail.com with UTF8SMTPSA id d9443c01a7336-201f038e33asm89674035ad.219.2024.08.21.02.27.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 21 Aug 2024 02:27:22 -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 v2 2/3] arm64: dts: mediatek: mt8186: Add power domain for DPI Date: Wed, 21 Aug 2024 09:26:58 +0000 Message-ID: <20240821092659.1226250-3-rohiagar@chromium.org> X-Mailer: git-send-email 2.46.0.295.g3b9ea8a38a-goog In-Reply-To: <20240821092659.1226250-1-rohiagar@chromium.org> References: <20240821092659.1226250-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_022724_068786_C5F8C683 X-CRM114-Status: GOOD ( 10.16 ) X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=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 Wed Aug 21 09:26:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rohit Agarwal X-Patchwork-Id: 13771135 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 3D81EC52D6F for ; Wed, 21 Aug 2024 09:30:12 +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=TVxJRFe5d/KD1L3qEdCCxUGT5A VrFenWcaFw6fdEU4nyCD05iksIJ3Jqdj4c37hVBiPuC0Uy9puAJYwrOocVyJYdV9M5U4l/dQn/eI2 oeh0nuvkqrtghJZdIVq7VWw38Rp1Butf3ZFf21Qc8xQXbEpHXXxPEkI0odZbHWJOOdPUY/vVFsFkM Z4qMIJprjERcH+tQGtPNjCJKvuDmHsHIdm8waaJgtJ00twmLeldYPtU0+Adq31wos62oUPKEqRH86 pN5qnr925LpliLsCaVzQgHpy1qjilXcgA4CcpsecYvMKR4KsoQGJcWqT2vyRZnYvgG60YlvmhLuR7 RELn1khQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sghfE-00000008FSy-0vjZ; Wed, 21 Aug 2024 09:30:00 +0000 Received: from mail-pf1-x435.google.com ([2607:f8b0:4864:20::435]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sghco-00000008EmJ-1zID for linux-arm-kernel@lists.infradead.org; Wed, 21 Aug 2024 09:27:32 +0000 Received: by mail-pf1-x435.google.com with SMTP id d2e1a72fcca58-7141feed424so807480b3a.2 for ; Wed, 21 Aug 2024 02:27:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1724232449; x=1724837249; 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=oFArLeXQBazHamLczBcKjpGXzPvjEsXzfb0LXP0VsMpaPChFLcbaBg1suwPFRPvMhr qb+WIOKztwmm+E1DvqKvY2sHlQ/719OpW+otXgddvJ8NEOjVHrrurVdKaJ6POXsBxYhD N/f2r6B9rAWeb80MU3DvCLrIwyoItVZTWnNZ4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724232449; x=1724837249; 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=J3U7rUGYESH6vJn7Fk8jC+5PnC1m9AowG4BQpo9cYueemoYAH3H9LZBEzs/g6L2Cy0 izJLXRP9GAo432f9ewL087DjXyGBG0EoDJdCXoDU8RCqYzqRV/Kzwcf3dAQvntMeqU1O UEcVppvxlkK98moM+trRzoK8p3VaKLIAx4lFJntK1LRWTvOfz5iP2bnQiNTA8VsTbpb9 Gw/gYLwQCtU4r+Fbxm3GCxCSOVBSAKNkOXEtvRFI6ONAdClyOoH3RVhNg4DHYBbz6LwM +HSuA2zR+24xbvc8JyRrXlG/ZeMIHVoQUf7tMM9sQBw+0FgoGa19My6/+XfYlGENdFV9 tjYg== X-Forwarded-Encrypted: i=1; AJvYcCXXg5HrSElvhqYnext1/pnwq94SHJebZId6I/I98xzPFLp6Zvsav2XnTt83PPH4Xt+DF1QWnNcX4dEhRDX6Tzu0@lists.infradead.org X-Gm-Message-State: AOJu0YxGQ3/+22tog4ntuu7b+raxnHxCMlh+Jfuea8pw9oFex+EfE8NR QRbIqnuWqT9g65uikxOJbg16vrQp0fksFpSZU82igbKhxjSD+1UZZdGlHS1pww== X-Google-Smtp-Source: AGHT+IFnfIrNiUomfEp1ttryB9uQgWfxL55rhoeddUhSzpcz4uk60NiwIgmgyqLVCB/iQ59t6moGxQ== X-Received: by 2002:a05:6a20:4392:b0:1c4:b302:ad14 with SMTP id adf61e73a8af0-1cad8160aa4mr2007740637.24.1724232449282; Wed, 21 Aug 2024 02:27:29 -0700 (PDT) Received: from localhost (185.174.143.34.bc.googleusercontent.com. [34.143.174.185]) by smtp.gmail.com with UTF8SMTPSA id d9443c01a7336-201f0300844sm89985195ad.47.2024.08.21.02.27.25 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 21 Aug 2024 02:27:29 -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 v2 3/3] arm64: dts: mediatek: mt8186: Add svs node Date: Wed, 21 Aug 2024 09:26:59 +0000 Message-ID: <20240821092659.1226250-4-rohiagar@chromium.org> X-Mailer: git-send-email 2.46.0.295.g3b9ea8a38a-goog In-Reply-To: <20240821092659.1226250-1-rohiagar@chromium.org> References: <20240821092659.1226250-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_022730_607346_3198BEE3 X-CRM114-Status: GOOD ( 10.37 ) X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=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>;