From patchwork Mon Dec 4 15:35:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Bee X-Patchwork-Id: 13478696 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 2A964C10DC1 for ; Mon, 4 Dec 2023 15:36: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: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=db491s2Q0vpvIa3O69LLtm0xQkwt6SfjpWPjpVKvnX0=; b=NaMO9MytevKV93 s9FiYQOT2wGz8FuvtgyfvG16iKdX42k6YMjjq+3BVUU3EsEVJGuPjbFQk0b0neojOrwDLxMJObIZO HnC3qaXYYbDT/Glwh5tBp/CjZ3iVzFRK8kQ1qHV98me/dB0wHCQoUewp2xqMHBr3pAHddWNh5xmTV ZMzoMq6lEIyxlRfoIGD0gGodJCrRhEGvhX3nR3bppZoUmdqtApd7fmF4Fls5Ov0PeX6v0kklbRZXD 297GIu9Ol44ivPIL5SiLK6htJzcybqC1lKg+F5Li9FnkeC2sRjXEXPosyZczdwvvIBS4qRbRYvViu Y5qaSJggJqEBUeM5iFGw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rAAzL-004yQA-2Y; Mon, 04 Dec 2023 15:36:03 +0000 Received: from mail-lf1-x130.google.com ([2a00:1450:4864:20::130]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rAAzG-004yNr-22; Mon, 04 Dec 2023 15:36:00 +0000 Received: by mail-lf1-x130.google.com with SMTP id 2adb3069b0e04-50be4f03b06so2283260e87.0; Mon, 04 Dec 2023 07:35:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701704156; x=1702308956; 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=/JoGo3S5F18Eq5w0w9lKp48csF80CvWfgslipmXEQ2c=; b=ZDcVJOhTaVzEvBqZMTieEEOD6VXwwKuBao4dlFB4dFh7jz8DNDEp/pfFEWSMDWisSZ XmtC9xIRiY7l8i/PX+c1gR/Klwoh8xDEfpXqOQrogDhQFDsM/Uz9AmXeDRDHQ347AS/g OV0PSKBXhLzHaUKVYjQLY3FlD8VyM8qsHYEgKoQw7GrvJoLMfuToiSdUoHmTHcrjgWlH O0CLWsSm+TkL+s/MeThEAG9t+dhfAwxsroKE9+Q4BCqCT4h3tPHLvbTGfm6oew6QR87d +YgEJAFBuOupzx4d/0GLeiNNEy5IOnPTZ4Y6vU4Ly502eR21rjmvi8vwPl6qm6f1QEj9 Mj0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701704156; x=1702308956; 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=/JoGo3S5F18Eq5w0w9lKp48csF80CvWfgslipmXEQ2c=; b=Tp1HK1y6lOV3J+8SoMqW4bKqBzLZ/cxDDZZTV46u/SRuRioD1Zh5grvtuJMAgXOPLn FUm+v5br63YEA48pwB/eeMpM3Q3QmzKZnvXqjL1d4jICKJDF2G3ND7Kl7eTYmVbHNWzZ 7nTJyMrQHf+JREW7QNjx7e0s7L/xhyak0r38dYmYvOLr0pisYtELA6OPr9IwmwVQcBap D/rcjA0XYb/ixziy9WtgIi82uUeVql9+azECJoWSKMyEXv8U8sU87CPRj/y8CnpS5B8y 9B/aiIymbvKmpp2fTIoHymx/0t5wwHcJ0r9kUyGaEBi2D7Pt5eA0jfTeDgIWPwy8NFhu 24Zg== X-Gm-Message-State: AOJu0YxcpjQ9NOuqsDSLqqC/RRGF3wKBy858Mgj2TBUfzNxW8RwG+gp6 FqFvOB6KEsdV4rWK5yWcbA== X-Google-Smtp-Source: AGHT+IFeR1c6fEMTNf73omsuIShEqHPdSRkJR+GEECA6voE9/MXpZsqiF0j631q2/HOWTWd/oPU3kQ== X-Received: by 2002:ac2:546d:0:b0:50b:c977:106a with SMTP id e13-20020ac2546d000000b0050bc977106amr1765730lfn.51.1701704155343; Mon, 04 Dec 2023 07:35:55 -0800 (PST) Received: from U4.lan ([2a02:810b:f40:4300:55ff:210b:5393:c9d7]) by smtp.gmail.com with ESMTPSA id h20-20020a05640250d400b0054c77ac01f4sm693194edb.51.2023.12.04.07.35.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 07:35:55 -0800 (PST) From: Alex Bee To: Heiko Stuebner , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Alex Bee Subject: [PATCH v3 1/3] ARM: dts: rockchip: Add power-controller for RK3128 Date: Mon, 4 Dec 2023 16:35:45 +0100 Message-ID: <20231204153547.97877-2-knaerzche@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231204153547.97877-1-knaerzche@gmail.com> References: <20231204153547.97877-1-knaerzche@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231204_073558_690551_CE79B2C0 X-CRM114-Status: GOOD ( 12.12 ) 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 controller and qos nodes for RK3128 in order to use them as powerdomains. Signed-off-by: Alex Bee --- arch/arm/boot/dts/rockchip/rk3128.dtsi | 88 ++++++++++++++++++++++++++ 1 file changed, 88 insertions(+) diff --git a/arch/arm/boot/dts/rockchip/rk3128.dtsi b/arch/arm/boot/dts/rockchip/rk3128.dtsi index c0c9f0eaffa3..0676d8b22a1e 100644 --- a/arch/arm/boot/dts/rockchip/rk3128.dtsi +++ b/arch/arm/boot/dts/rockchip/rk3128.dtsi @@ -8,6 +8,7 @@ #include #include #include +#include / { compatible = "rockchip,rk3128"; @@ -133,6 +134,93 @@ smp-sram@0 { pmu: syscon@100a0000 { compatible = "rockchip,rk3128-pmu", "syscon", "simple-mfd"; reg = <0x100a0000 0x1000>; + + power: power-controller { + compatible = "rockchip,rk3128-power-controller"; + #power-domain-cells = <1>; + #address-cells = <1>; + #size-cells = <0>; + + power-domain@RK3128_PD_VIO { + reg = ; + clocks = <&cru ACLK_CIF>, + <&cru HCLK_CIF>, + <&cru DCLK_EBC>, + <&cru HCLK_EBC>, + <&cru ACLK_IEP>, + <&cru HCLK_IEP>, + <&cru ACLK_LCDC0>, + <&cru HCLK_LCDC0>, + <&cru PCLK_MIPI>, + <&cru ACLK_RGA>, + <&cru HCLK_RGA>, + <&cru ACLK_VIO0>, + <&cru ACLK_VIO1>, + <&cru HCLK_VIO>, + <&cru HCLK_VIO_H2P>, + <&cru DCLK_VOP>, + <&cru SCLK_VOP>; + pm_qos = <&qos_ebc>, + <&qos_iep>, + <&qos_lcdc>, + <&qos_rga>, + <&qos_vip>; + #power-domain-cells = <0>; + }; + + power-domain@RK3128_PD_VIDEO { + reg = ; + clocks = <&cru ACLK_VDPU>, + <&cru HCLK_VDPU>, + <&cru ACLK_VEPU>, + <&cru HCLK_VEPU>, + <&cru SCLK_HEVC_CORE>; + pm_qos = <&qos_vpu>; + #power-domain-cells = <0>; + }; + + power-domain@RK3128_PD_GPU { + reg = ; + clocks = <&cru ACLK_GPU>; + pm_qos = <&qos_gpu>; + #power-domain-cells = <0>; + }; + }; + }; + + qos_gpu: qos@1012d000 { + compatible = "rockchip,rk3128-qos", "syscon"; + reg = <0x1012d000 0x20>; + }; + + qos_vpu: qos@1012e000 { + compatible = "rockchip,rk3128-qos", "syscon"; + reg = <0x1012e000 0x20>; + }; + + qos_rga: qos@1012f000 { + compatible = "rockchip,rk3128-qos", "syscon"; + reg = <0x1012f000 0x20>; + }; + + qos_ebc: qos@1012f080 { + compatible = "rockchip,rk3128-qos", "syscon"; + reg = <0x1012f080 0x20>; + }; + + qos_iep: qos@1012f100 { + compatible = "rockchip,rk3128-qos", "syscon"; + reg = <0x1012f100 0x20>; + }; + + qos_lcdc: qos@1012f180 { + compatible = "rockchip,rk3128-qos", "syscon"; + reg = <0x1012f180 0x20>; + }; + + qos_vip: qos@1012f200 { + compatible = "rockchip,rk3128-qos", "syscon"; + reg = <0x1012f200 0x20>; }; gic: interrupt-controller@10139000 { From patchwork Mon Dec 4 15:35:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Bee X-Patchwork-Id: 13478695 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 B106AC4167B for ; Mon, 4 Dec 2023 15:36:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Frgh0/nS2x1/25VSxjX2SkPhl9t99HITUlqdmnHlAgQ=; b=SfNrPqiO3CQ8Pb v1M8V5/C8+kmgeLF1R+jBybxNobXkkZ6ST3rqjJaOQd1e/pAwr5AftFnnsE1YycM2ZrxDwJ5AQg4D 0o+R9v5rG1oqwnZElLHEoJKVkLbCf3bdVtwV8qFTLcRds7PWB0zP7kA9ROyS4wDvID0Jgs5bla87f T0JLWxq8K4fknKhywodEEz8DXDCy14IhD15eNjmMlokR8qOpbauO56fgqqpWP8jhwVmYTok3NhYo+ uOxZZ6CwNp89TJnOZmmRz1ykBE/U0RQEH923NnIF/B2jcWZPj5bIG87YeQSeeMKL3hSPXMUz4x4NF ZZIzJqibdTLzf+YgHfSw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rAAzI-004yOz-2z; Mon, 04 Dec 2023 15:36:00 +0000 Received: from mail-ed1-x534.google.com ([2a00:1450:4864:20::534]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rAAzF-004yNu-2V; Mon, 04 Dec 2023 15:35:59 +0000 Received: by mail-ed1-x534.google.com with SMTP id 4fb4d7f45d1cf-54c846da5e9so1812074a12.3; Mon, 04 Dec 2023 07:35:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701704156; x=1702308956; 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=M4KCr8eFfVtiTY0UwfeXIsAJIrQ2O8jUkXkezbt/EUU=; b=EH8UNqRslpZaRDsBRQXC6emf5IMP2Tu6RRfBiseHxu8ZWfKNKIp1olbFHcaYZ1jc1e HFjg654vlNyqKo5nbdEEo+xF+j53ntY7PLITBIgS0GFSvS/c9eKPNlMNVkNSDv2zEtrJ ozX0UkX2r1JUKnV4ku8H7IHx+KODs9akzp/iZdjNAd1CMbv57dLv+EGI2WBLY4ULa5nc 8cTJ4a75uewbuWdBFQv9dcgprVdXj0ABeZiJwIJ9TIZh+dMC/wiqyfXa2ustRG23XMua z53RZbz7RMGclgw+YWuykGOr1FTHXvZcFLTjVUsZi1rm56Zc4jE7fVfxWk2qVZZiEyHQ x+1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701704156; x=1702308956; 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=M4KCr8eFfVtiTY0UwfeXIsAJIrQ2O8jUkXkezbt/EUU=; b=vEex1WvGn8UiBnnYeW1BS9q4XIc4QH0rrDAGpzuCdrtDMVIuoja1yLzm6NH2Bp+ndI uTXoDT6JPvhyMhDFFZKWtkjibQUq8igPaWi3/x3OD5Py9SHA/EFfOVWOkxS4tFEtTlGI 94+irS8Ek5h7bZxaHlYOhNjxmLpkGhIQyTL90kyz0f/KPCAuVKiQsnXE0rdBStNjOCqO lImLPHDgH4gu2KtD6TQMIL+PHLXIsa/fSSzvLO5q+m1Ui2NRUXx0jmaJdjj3HtHZTw0H MqBgCjQqPJZa/Xx/dM+AjDR+IjQ4Goa+9P7CYUBbov+dnwe8mPoF7O6DSbRORxhr8FLW XpKQ== X-Gm-Message-State: AOJu0Yz6hB3TzdxEzS0XzpD98LuIzL3+LIsbon9324eLSWhA6smN+zya VVraWXk3KrAOJJLAOEb70Q== X-Google-Smtp-Source: AGHT+IFsgq+IPGY1SqpjKBG4HvTIebHZNY6WdDwKfgZJbPVxuvps5zNljdKoL3nUYUk0d7D8Ekvfgg== X-Received: by 2002:a50:954c:0:b0:54b:2894:d198 with SMTP id v12-20020a50954c000000b0054b2894d198mr3329077eda.4.1701704156091; Mon, 04 Dec 2023 07:35:56 -0800 (PST) Received: from U4.lan ([2a02:810b:f40:4300:55ff:210b:5393:c9d7]) by smtp.gmail.com with ESMTPSA id h20-20020a05640250d400b0054c77ac01f4sm693194edb.51.2023.12.04.07.35.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 07:35:55 -0800 (PST) From: Alex Bee To: Heiko Stuebner , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Alex Bee Subject: [PATCH v3 2/3] ARM: dts: rockchip: Add GPU node for RK3128 Date: Mon, 4 Dec 2023 16:35:46 +0100 Message-ID: <20231204153547.97877-3-knaerzche@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231204153547.97877-1-knaerzche@gmail.com> References: <20231204153547.97877-1-knaerzche@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231204_073557_838012_0DF65854 X-CRM114-Status: GOOD ( 12.00 ) 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 RK3128 SoCs have Mali400 MP2 GPU. Add the respective device tree node and the correspondending opp-table. The frequencies and voltages of the opp-table have been taken from downstream kernel. Signed-off-by: Alex Bee --- arch/arm/boot/dts/rockchip/rk3128.dtsi | 44 ++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/arch/arm/boot/dts/rockchip/rk3128.dtsi b/arch/arm/boot/dts/rockchip/rk3128.dtsi index 0676d8b22a1e..414b690f96e4 100644 --- a/arch/arm/boot/dts/rockchip/rk3128.dtsi +++ b/arch/arm/boot/dts/rockchip/rk3128.dtsi @@ -101,6 +101,27 @@ opp-1200000000 { }; }; + gpu_opp_table: opp-table-1 { + compatible = "operating-points-v2"; + + opp-200000000 { + opp-hz = /bits/ 64 <200000000>; + opp-microvolt = <975000 975000 1250000>; + }; + opp-300000000 { + opp-hz = /bits/ 64 <300000000>; + opp-microvolt = <1050000 1050000 1250000>; + }; + opp-400000000 { + opp-hz = /bits/ 64 <400000000>; + opp-microvolt = <1150000 1150000 1250000>; + }; + opp-480000000 { + opp-hz = /bits/ 64 <480000000>; + opp-microvolt = <1250000 1250000 1250000>; + }; + }; + timer { compatible = "arm,armv7-timer"; interrupts = , @@ -131,6 +152,29 @@ smp-sram@0 { }; }; + gpu: gpu@10090000 { + compatible = "rockchip,rk3128-mali", "arm,mali-400"; + reg = <0x10090000 0x10000>; + interrupts = , + , + , + , + , + ; + interrupt-names = "gp", + "gpmmu", + "pp0", + "ppmmu0", + "pp1", + "ppmmu1"; + clocks = <&cru ACLK_GPU>, <&cru ACLK_GPU>; + clock-names = "bus", "core"; + operating-points-v2 = <&gpu_opp_table>; + resets = <&cru SRST_GPU>; + power-domains = <&power RK3128_PD_GPU>; + status = "disabled"; + }; + pmu: syscon@100a0000 { compatible = "rockchip,rk3128-pmu", "syscon", "simple-mfd"; reg = <0x100a0000 0x1000>; From patchwork Mon Dec 4 15:35:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Bee X-Patchwork-Id: 13478697 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 0121FC4167B for ; Mon, 4 Dec 2023 15:36:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Njt20iMvoHbuZfOExGSmeKI7zywcZg28A6B9OmupSpY=; b=cyjtS7CY9oVxU1 qGmEr/aDQ9rvi9pjQtpXP9Rk7SNCC7fifGpGoGZ7m1a5NQvWaz+9LaLuf/YCvjJkX+YxbXPipvIru yVOCTPQu2qZxDqqgId65Xy3qu5k4kkWmeBEjwT88wqnm6fW0N4q1pFw8P39mGj++g4tFYlNm1fsA3 iXohZnoN9YZhHiyZOdmXIi0bdUv+K1j2pDGaFylcN6ER9rmkWs6uUfqSUGiewp831dvsJqWxNZdew pSPjIl1aGTDJKYtnhPqXRLtieg4R6JK2PXKyZqug16Rn+CFkmwbivb02B07tsLW9oZA8Y73BJkEPi hZ/0DGCOUNx0rbw7pR6Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rAAzO-004yRK-0I; Mon, 04 Dec 2023 15:36:06 +0000 Received: from mail-lf1-x134.google.com ([2a00:1450:4864:20::134]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rAAzI-004yNx-2c; Mon, 04 Dec 2023 15:36:02 +0000 Received: by mail-lf1-x134.google.com with SMTP id 2adb3069b0e04-50bf898c43cso985283e87.1; Mon, 04 Dec 2023 07:35:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701704157; x=1702308957; 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=Q0MUcVwcu9FCifO7HjzlwPMDhi7mDLRFD1pK6+mohtM=; b=kdDgwWaY/pEzarfmjlimOLWqSaPIuJXpJXVNq+0GoOmL4yMjyxdpfJZR7PJUGS5PjN oXE6aOTxaSDXEHmEO1VnR4D3UYCHUdYnxL7KZiw2U38OJyT5GeHCD6kKb3PEHX/Uwn5Q 0VCY5aXQ/sXrKW/VryNWV5wdutNqehrqgSIKPdEYvv9w3E3BFgMgbFAcGUvOLShpvMPP QJcbCA0lnxIZRd3WaZ4/VsPrCvkkP33//Yj6b8jzjmLdpQ1by+Ka3T3xIp34XtHmCGfM lqebk9O1emAuXmUOhB6RBwTbamSWkGCXlPwIl9vEHP7NDDrsC5Ud2EegzkLnhcIKOEzs esFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701704157; x=1702308957; 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=Q0MUcVwcu9FCifO7HjzlwPMDhi7mDLRFD1pK6+mohtM=; b=NbHccim4qAJLxL4OTpxEsGczVcwTn7A7+eZIQY1yiTTVhfRZtlRXQ2EIGlCsmD6lgS XS11jFGRQ0LWuiT/AgmZsIK3SHphMJyLRa1AqU3+i7E92OnE0HW2cYqwipZEwO12WiHD wpiG31V46BeVEle8kXFsW4DmfZl+YbovWsZ930FIqrulutNfl0nGrzDJN2qg20TRBufM P2ZPDWQjjNzAST6yG1W4x8e+N8pubS3EzLZiI9l5/5iDFP28+wqPg4cvnobj5cx2BhL8 6GdO0NKkGOUguDcnDtxBuFFMOHR8CxqGrPacL7lyBQKmhSIq0HYhIf7d3Gm03+kfH2UI IDsg== X-Gm-Message-State: AOJu0YwWm+KxeOna1UrDuMgFlQYpTyrmCQUTjrZ6WoQApfPY0pqplKyJ IhLPBspyUUhT2C1p/CfXvg== X-Google-Smtp-Source: AGHT+IF3udiFN47bfrHu8XfBAJHpEV9pshrnM6X3NzNLynr7EilRiSdLH07zmbztsogo8QQSppXbUg== X-Received: by 2002:a05:6512:281c:b0:50b:f9b2:d00 with SMTP id cf28-20020a056512281c00b0050bf9b20d00mr480709lfb.22.1701704156886; Mon, 04 Dec 2023 07:35:56 -0800 (PST) Received: from U4.lan ([2a02:810b:f40:4300:55ff:210b:5393:c9d7]) by smtp.gmail.com with ESMTPSA id h20-20020a05640250d400b0054c77ac01f4sm693194edb.51.2023.12.04.07.35.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 07:35:56 -0800 (PST) From: Alex Bee To: Heiko Stuebner , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Alex Bee Subject: [PATCH v3 3/3] ARM: dts: rockchip: Enable GPU for XPI-3128 Date: Mon, 4 Dec 2023 16:35:47 +0100 Message-ID: <20231204153547.97877-4-knaerzche@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231204153547.97877-1-knaerzche@gmail.com> References: <20231204153547.97877-1-knaerzche@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231204_073600_845713_C2BA44C2 X-CRM114-Status: GOOD ( 10.83 ) 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 the supply and enable gpu node for XPI-3128 board. Signed-off-by: Alex Bee --- arch/arm/boot/dts/rockchip/rk3128-xpi-3128.dts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/rockchip/rk3128-xpi-3128.dts b/arch/arm/boot/dts/rockchip/rk3128-xpi-3128.dts index e979425f11a0..de497f6e9456 100644 --- a/arch/arm/boot/dts/rockchip/rk3128-xpi-3128.dts +++ b/arch/arm/boot/dts/rockchip/rk3128-xpi-3128.dts @@ -328,6 +328,11 @@ &gpio3 { "", "", "", ""; }; +&gpu { + mali-supply = <&vdd_log>; + status = "okay"; +}; + &mdio { phy0: ethernet-phy@1 { compatible = "ethernet-phy-ieee802.3-c22";