From patchwork Sat Dec 2 12:51:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Bee X-Patchwork-Id: 13476942 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 CF549C4167B for ; Sat, 2 Dec 2023 12:52: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: 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=pY7eUfKIP5xToS8jugMr4oBVp8DB03N6mJZ0i+lHbXg=; b=2jCW3/fxiLHoS9 /M55FR+hpWYKYwl4aEytK9YJ/0i3SOQIqkArsIjv5JYHx1OWy1JebJOWC0f6Iey2h9lBQRmgdKbJH Nr9pt/KoO6FpZsvNqaNiGiY1wP6JWiAQpopmQ89pKsEzThdoEaU+FNQvdrBhltQMgFDK3pO6UH4Ui bmQ0L5NhvxyMTdGvTVy+MijfypcWnJxX3K7YIm5I2L/Yorf7ISJGBWQkeLdqVM9og74iXt2TKzhw4 d7V3C6kLDARajNXCDAFsk5Yksa7bU7K88QkLXqbk2apv47cZ6/pUXuQ65pxsTCyrmDDGGwJWNBOGL 923B4NvP5ggUT/uVj/TA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r9PTa-00FhvR-0R; Sat, 02 Dec 2023 12:52:06 +0000 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r9PTY-00FhtX-0J; Sat, 02 Dec 2023 12:52:05 +0000 Received: by mail-wm1-x32f.google.com with SMTP id 5b1f17b1804b1-40b552deba0so32601355e9.1; Sat, 02 Dec 2023 04:52:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701521520; x=1702126320; 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=ZZ7Vk4rlYI4wpR0DprPRhwDbWK92/MFMHHXtx/iHz6w=; b=fbLxV5PL/6GyUySrm+K0d3HC7MTQMnytUdTCOBd1e04UVtJgsQz6Wy2qiHGYO5gyRL ruQQH4ao18W+nWLQhbTrAdGlw08HkVeYD1LKqDuSsRKrP3VrznK5ohp6kDNKx0D8yNZX 7SxnMGXiXIKcl5peuNr14pjaCh2o8a+99bmk3R6GbIPkU7nt+mXeZfXmNdnwn6qqkbnU C6So7t6GdfdDu3iP3qX6tkuhz5P6EoARkprfaqFPJuClM/bpi7WdB2giUrETV8o/NtGl yd+kzt64GGlsbs94V/ewG5FcHMleZ1eRrgWIk7LwCFf/vDZUyIEuHUIojciIiYrAKy01 Ekjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701521520; x=1702126320; 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=ZZ7Vk4rlYI4wpR0DprPRhwDbWK92/MFMHHXtx/iHz6w=; b=NEiZe3dt2bcI56198cexzWRhR8O3/AIZJYtBojFQGEeBqT0EQ8wUN2MmbTW9PIKgYX 9vAWTHbqluQcYKdGTB1awUBbjI+tcs8J9k4Iu4kVlq2iqQynTZ31Httdh3xcLoaYkNJm yMdeb+CofLXRizeTrlSWhj9th8Ohf82tDPXeBsRlJye6PjdUcIbL4l0h/zHy3Z8Lgslo /+phMaWEWxxpn279iZIoxg9VvYBooC/Xax0aIe0CBT5uVZ+6yYGSnOViGftcf3eTrxCU 91DPQ1UWtLBLLWhVtdjxDFxSy0X0AYYcMJR1kYk5YqMYH3iTBi7Bf512d/6CT7AkAJQA hQdg== X-Gm-Message-State: AOJu0YzgEXOa0kh8y4eyeWJ/iBGmtnRTeZDw4YWSQTi0/eGbJbn+75mh ylYcZxzFaIHNME/o2erolw== X-Google-Smtp-Source: AGHT+IGHKK9cB3J1W0QWDzln8wREBYdZjVmE10rf8PD+2/UqMjmKdajLeMCstCvLsLWhy3jXHtShew== X-Received: by 2002:a05:600c:3b85:b0:40b:5e21:dd1a with SMTP id n5-20020a05600c3b8500b0040b5e21dd1amr414964wms.72.1701521520134; Sat, 02 Dec 2023 04:52:00 -0800 (PST) Received: from U4.lan ([2a02:810b:f40:4300:908e:b829:354b:f8ee]) by smtp.gmail.com with ESMTPSA id g5-20020a170906198500b009c5c5c2c5a4sm3018161ejd.219.2023.12.02.04.51.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 02 Dec 2023 04:51:59 -0800 (PST) From: Alex Bee To: Heiko Stuebner , Conor Dooley , Krzysztof Kozlowski , Rob Herring Cc: Daniel Vetter , David Airlie , Thomas Zimmermann , Maxime Ripard , Maarten Lankhorst , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-pm@vger.kernel.org, Alex Bee Subject: [PATCH v2 1/5] pmdomain: rockchip: Add missing powerdomains for RK3128 Date: Sat, 2 Dec 2023 13:51:40 +0100 Message-ID: <20231202125144.66052-2-knaerzche@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231202125144.66052-1-knaerzche@gmail.com> References: <20231202125144.66052-1-knaerzche@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231202_045204_134789_EC8576AC X-CRM114-Status: GOOD ( 12.22 ) 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 For RK3128 the powerdomains PD_PERI, PD_SYS and PD_CRYPTO are currently missing. Add them. Signed-off-by: Alex Bee --- drivers/pmdomain/rockchip/pm-domains.c | 13 ++++++++----- include/dt-bindings/power/rk3128-power.h | 3 +++ 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/drivers/pmdomain/rockchip/pm-domains.c b/drivers/pmdomain/rockchip/pm-domains.c index 9b76b62869d0..62ba4129f6bb 100644 --- a/drivers/pmdomain/rockchip/pm-domains.c +++ b/drivers/pmdomain/rockchip/pm-domains.c @@ -998,11 +998,14 @@ static const struct rockchip_domain_info rk3066_pm_domains[] = { }; static const struct rockchip_domain_info rk3128_pm_domains[] = { - [RK3128_PD_CORE] = DOMAIN_RK3288("core", BIT(0), BIT(0), BIT(4), false), - [RK3128_PD_MSCH] = DOMAIN_RK3288("msch", 0, 0, BIT(6), true), - [RK3128_PD_VIO] = DOMAIN_RK3288("vio", BIT(3), BIT(3), BIT(2), false), - [RK3128_PD_VIDEO] = DOMAIN_RK3288("video", BIT(2), BIT(2), BIT(1), false), - [RK3128_PD_GPU] = DOMAIN_RK3288("gpu", BIT(1), BIT(1), BIT(3), false), + [RK3128_PD_CORE] = DOMAIN_RK3288("core", BIT(0), BIT(0), BIT(4), false), + [RK3128_PD_MSCH] = DOMAIN_RK3288("msch", 0, 0, BIT(6), true), + [RK3128_PD_VIO] = DOMAIN_RK3288("vio", BIT(3), BIT(3), BIT(2), false), + [RK3128_PD_VIDEO] = DOMAIN_RK3288("video", BIT(2), BIT(2), BIT(1), false), + [RK3128_PD_GPU] = DOMAIN_RK3288("gpu", BIT(1), BIT(1), BIT(3), false), + [RK3128_PD_PERI] = DOMAIN_RK3288("peri", 0, 0, BIT(0), false), + [RK3128_PD_SYS] = DOMAIN_RK3288("sys", 0, 0, BIT(5), true), + [RK3128_PD_CRYPTO] = DOMAIN_RK3288("crypto", 0, 0, BIT(7), false), }; static const struct rockchip_domain_info rk3188_pm_domains[] = { diff --git a/include/dt-bindings/power/rk3128-power.h b/include/dt-bindings/power/rk3128-power.h index c051dc3108db..68af6c68c272 100644 --- a/include/dt-bindings/power/rk3128-power.h +++ b/include/dt-bindings/power/rk3128-power.h @@ -10,5 +10,8 @@ #define RK3128_PD_VIDEO 2 #define RK3128_PD_GPU 3 #define RK3128_PD_MSCH 4 +#define RK3128_PD_PERI 5 +#define RK3128_PD_SYS 6 +#define RK3128_PD_CRYPTO 7 #endif From patchwork Sat Dec 2 12:51:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Bee X-Patchwork-Id: 13476947 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 8FEB3C10F04 for ; Sat, 2 Dec 2023 12:52:36 +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=GZL6Qdyenr8aKIANpgY8rXOOniqf3+PJuJgWKYEEvw4=; b=29cbNOK2giP/0n bSo5IiNprLNI1xCGUpwjeNBlvIDeBQTaKbI3EoOitDMYTZMpN0ZyQrYlCQPMzcJ6Fz1OKTajoDjpR 1L8+2ZJDf4ImoqWB2HdQ4SHypBOMAJDdvflXrDlTIZQMJnXP3pSsnqpRf5y1BUSoYDbr6jiO+QyMo MKnYXoX/pPZSKC/5X5rAwHIulCytnQbONSZH/Xtde8yuuS3L9LKRcRk9ANuBLKe0mwuLgVfGpvty4 31sC7fmDCcPkhAXPFyiww0R45SwhKCzF+jw8dQcPo2iz+LxLj8i6I/wPCFiVLbj1Gmfeb7IL+MoLX cWZ3q3vl06apX0xGjjYQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r9PTf-00Fhyh-0j; Sat, 02 Dec 2023 12:52:11 +0000 Received: from mail-ej1-x62f.google.com ([2a00:1450:4864:20::62f]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r9PTZ-00FhtY-2F; Sat, 02 Dec 2023 12:52:07 +0000 Received: by mail-ej1-x62f.google.com with SMTP id a640c23a62f3a-a195e0145acso302866266b.2; Sat, 02 Dec 2023 04:52:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701521521; x=1702126321; 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=vGS3uiiSRjNFmcXcLobVydkfz1z0YWeEIsOnLuIOTtk=; b=BmrVkal6Ofz1CPI+Su9D093IZDSCLpSxiVKuZ6woxIRFSc/elrZC3+4d/M2yTsM75C 0olCzQp7AMv4tAs768TpBA4Okn3Q/BmxLhzc5A8ohj9Y7lI6A87BWa0Z7WeDB5gnIgZH FRC0CVhQmtMoqhv4pOxk34gTMKuNX9zqvVwNEid3RLQjaOsdeF4rL2ydduXIaegZI2Yw 4RkFNevghqHNzcmsPkXUDVWxkCcrMcatUO2A0lXjvgxXT0M0AjgIc9HWW1aE13oyQCEZ 03aDOg/hmRPZIh/ZF+8+Km31ij3c8mk8dfIRtLrVRGv/JAUw3KfPyIRBeg974yJyoEXT yvKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701521521; x=1702126321; 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=vGS3uiiSRjNFmcXcLobVydkfz1z0YWeEIsOnLuIOTtk=; b=XYw5i2QcDRQwCRDds1IU/NoysBWIO4rsOTQwFbymDEvlkV1ix/V4Md2r38lMPvgEEo olg5xOQfE8VnL1/1d0gq9n+XUyL0tq5+kM/8i4V9c0PFE2GAWhICRW5VMmZ2YNfRDWf4 OkR/DPRPSYBCq1QwRHheSDZosKYpjasaG8eW2q/B+xjoQNYY2a6YP7LGMflFsMlH/2OX YV7hcKssGghRblcYU8RPid+N4mI+5FlZuft9M0LtmxuIS4WwOdaTu+e3BXGIfvsW6QQn 9uCfUJA0VNFTVF7o8/9BE+XflG4Y8jYpBzQ75/0CVT2/D3YfMuQ2VDWtpkLJ3kE/FG3A TD8Q== X-Gm-Message-State: AOJu0Yx1oabc3mnsevLMrz6ltMnW3kJ03NBHue0xwd3Jgxh/NyOd23Hw 60Z3yk/Afq3ZtclmAwkMQQ== X-Google-Smtp-Source: AGHT+IFQCssdJ19Dhg4av1bEqGzWCJHnq4HF6friZV69W7kUuaniNiFQHWBT6X9GqTCcTQpVcwkvXw== X-Received: by 2002:a17:907:a18f:b0:a19:9b79:8b47 with SMTP id om15-20020a170907a18f00b00a199b798b47mr814246ejc.88.1701521521158; Sat, 02 Dec 2023 04:52:01 -0800 (PST) Received: from U4.lan ([2a02:810b:f40:4300:908e:b829:354b:f8ee]) by smtp.gmail.com with ESMTPSA id g5-20020a170906198500b009c5c5c2c5a4sm3018161ejd.219.2023.12.02.04.52.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 02 Dec 2023 04:52:00 -0800 (PST) From: Alex Bee To: Heiko Stuebner , Conor Dooley , Krzysztof Kozlowski , Rob Herring Cc: Daniel Vetter , David Airlie , Thomas Zimmermann , Maxime Ripard , Maarten Lankhorst , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-pm@vger.kernel.org, Alex Bee Subject: [PATCH v2 2/5] ARM: dts: rockchip: Add power-controller for RK3128 Date: Sat, 2 Dec 2023 13:51:41 +0100 Message-ID: <20231202125144.66052-3-knaerzche@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231202125144.66052-1-knaerzche@gmail.com> References: <20231202125144.66052-1-knaerzche@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231202_045205_771076_FE8AAB80 X-CRM114-Status: GOOD ( 11.89 ) 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 | 101 +++++++++++++++++++++++++ 1 file changed, 101 insertions(+) diff --git a/arch/arm/boot/dts/rockchip/rk3128.dtsi b/arch/arm/boot/dts/rockchip/rk3128.dtsi index 4e8b38604ecd..b72905db04f7 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,106 @@ 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>; + }; + + power-domain@RK3128_PD_CRYPTO { + reg = ; + clocks = <&cru HCLK_CRYPTO>, + <&cru SCLK_CRYPTO>; + pm_qos = <&qos_crypto>; + #power-domain-cells = <0>; + }; + }; + }; + + qos_crypto: qos@10128080 { + compatible = "rockchip,rk3128-qos", "syscon"; + reg = <0x10128080 0x20>; + }; + + 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 Sat Dec 2 12:51:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Bee X-Patchwork-Id: 13476944 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 701C8C10F05 for ; Sat, 2 Dec 2023 12:52: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=kE0vj3RtLxWq5yY0dL1EZHYtlD12bbubrHdC18blZqI=; b=tM81o4GjgkBOqH OXWPS+S9bgLXyTSF16vHXavv6OgSaccP5IwnjmDje0NoPuRCIPsNUjAQU9SkrlDhsYRF45vEzQXv9 p5ncxQRqg7Se1u+2gm6C07Tv0CRMEH+xBpsL+ck3HRRIguXP+WEe6/54ilWcxZsTVxLk3Ic2gEcoj hRxAojn/GyyuNUPbzYpGvkTQkbSut1LfyZU4QkX2A1jtwCOORwmvtp1bt51HpJZUya+T5zfPpGwWO nYS+zd9GRXoNttMqc4lCYqEFxxZ+ubKppYFGC6H9TepKa+kNNEdEZGurAzEPsUyvdu/CM+C4SD2/2 CqDelk1P6jNqK7eumr1g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r9PTe-00Fhxj-0f; Sat, 02 Dec 2023 12:52:10 +0000 Received: from mail-ej1-x62f.google.com ([2a00:1450:4864:20::62f]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r9PTZ-00Fhtm-2G; Sat, 02 Dec 2023 12:52:06 +0000 Received: by mail-ej1-x62f.google.com with SMTP id a640c23a62f3a-a1915034144so343829066b.0; Sat, 02 Dec 2023 04:52:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701521522; x=1702126322; 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=5TpM4rIE4qqT65pAaY9eqEHRHauyEUGalgmDwr8uKk4=; b=kdfShsn/G6uD5w8sMXuegI1b5CW5xI7jg9eOxNOkuj1Pzvw9nnjxzhwGWbSKNyYd80 UcKWvAxuxWRVucfSZDg59PiZgmdiM7dy0LRp1afDPD2NdAQv23FRpZhsqwe/zLKouNpC jL3BklCK0SVAmOtdSmiku9gjF1P6nsmBrfXB7DR48vY5C3HAzKroKIsbrSNzDJJEL9+8 b8j64xtJO6b4lzzMZyG2RnEK/6SvT/vZ35cRY7HfJwF4BUpz+oseAb0Ge5Krej9n2bUn UzJXQiOmDzeqlDkKpCrzt6oBfaTTNRMsVl8g+KCkaau2ILhF0Kbea+NKI1ST3ZPxTe/L 38Xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701521522; x=1702126322; 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=5TpM4rIE4qqT65pAaY9eqEHRHauyEUGalgmDwr8uKk4=; b=iFJkntVM292l77egyeetUO3oSzuqwfeo+eLrZNKyX/eCNysl9B2cEpKylw7heCD5br OwVIXEtraoPGzFX5r8M60xza+/P1Q1CIPlkVf685okdj6RvEvELDcTLzFz/bO7nUeXKu 2r0MzJYRKI3zmi8F3pddOzcefzI9VgUN05ukhvIOboLhuVCL+gpC7Bm2ePQ6OewlBbCE DEb/1j5G9oolOFV1QYjPbgq0HX0EhnAg2j5EQd8v2ZPYDoOA2fSDKe4Y8asCr6Q1VK+H kDox4312AFW8eKMDM/T31hgkcjTLdVGwe/xU6QJmKo/m7xs3u8PXhVk3DL9Wm0f9Uwcu eqbw== X-Gm-Message-State: AOJu0YyPr5Ypr68mPhNfuEZd95/MsT8FdNxLVAkY1gxJxgX9Ip60egRB YvBaLBmHTpWqkhYJHoLIIg== X-Google-Smtp-Source: AGHT+IEyleq1fwiEbFjEWs4F50ggLLxGB/KOmVoOHqA2365tzKaQw281kj2swtpYsUJqACRktkUtTA== X-Received: by 2002:a17:906:3b43:b0:a16:92f1:2f47 with SMTP id h3-20020a1709063b4300b00a1692f12f47mr1536630ejf.57.1701521522024; Sat, 02 Dec 2023 04:52:02 -0800 (PST) Received: from U4.lan ([2a02:810b:f40:4300:908e:b829:354b:f8ee]) by smtp.gmail.com with ESMTPSA id g5-20020a170906198500b009c5c5c2c5a4sm3018161ejd.219.2023.12.02.04.52.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 02 Dec 2023 04:52:01 -0800 (PST) From: Alex Bee To: Heiko Stuebner , Conor Dooley , Krzysztof Kozlowski , Rob Herring Cc: Daniel Vetter , David Airlie , Thomas Zimmermann , Maxime Ripard , Maarten Lankhorst , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-pm@vger.kernel.org, Alex Bee , Krzysztof Kozlowski Subject: [PATCH v2 3/5] dt-bindings: gpu: mali-utgard: Add Rockchip RK3128 compatible Date: Sat, 2 Dec 2023 13:51:42 +0100 Message-ID: <20231202125144.66052-4-knaerzche@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231202125144.66052-1-knaerzche@gmail.com> References: <20231202125144.66052-1-knaerzche@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231202_045205_769039_B154901B X-CRM114-Status: UNSURE ( 9.53 ) 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 Rockchip RK312x SoC family has a Mali400 MP2. Add a compatible for it. Signed-off-by: Alex Bee Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/gpu/arm,mali-utgard.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/gpu/arm,mali-utgard.yaml b/Documentation/devicetree/bindings/gpu/arm,mali-utgard.yaml index 0fae1ef013be..abd4aa335fbc 100644 --- a/Documentation/devicetree/bindings/gpu/arm,mali-utgard.yaml +++ b/Documentation/devicetree/bindings/gpu/arm,mali-utgard.yaml @@ -29,6 +29,7 @@ properties: - allwinner,sun50i-a64-mali - rockchip,rk3036-mali - rockchip,rk3066-mali + - rockchip,rk3128-mali - rockchip,rk3188-mali - rockchip,rk3228-mali - samsung,exynos4210-mali From patchwork Sat Dec 2 12:51:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Bee X-Patchwork-Id: 13476945 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 EA31FC10DC1 for ; Sat, 2 Dec 2023 12:52:30 +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=dyld3vW1OEWYhGc8UMTCMPkKGCeFMWC94CymhWGYJCk=; b=id+PwP5PmWS2r1 3GKS2EkExztkvl5EdJ1kAhuUy6NqltaSmNq0qdsG4myx3G1UQTUDgxRr51nkYFEpYz13P4tzR2a/L XgfkPVXoiEgipSpNcb6/v0eLyTIPFM4ueqbaN1ACO0CU6i078M0aVl4u4HU7SPAS9GuOW9TrPSIZ9 o+j4Idy2PDt1L8VJrxYAVyqTFRKZKsm6NSPpghA+d2t3HAzDRmnPtI6mCicSabNgOe88jJGCnrbzW EPyNbE4BMTD4LNw7ba+opDqhmMLiKldO6TVJQ3bI0is0S48MGUzdCZe7q5fWhyJTZork3gq7Zowx8 VzoFKvsYpHQhU0oMYOqw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r9PTb-00FhwC-1L; Sat, 02 Dec 2023 12:52:07 +0000 Received: from mail-ej1-x62c.google.com ([2a00:1450:4864:20::62c]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r9PTY-00Fhtx-2A; Sat, 02 Dec 2023 12:52:05 +0000 Received: by mail-ej1-x62c.google.com with SMTP id a640c23a62f3a-a1a22b7f519so198770866b.2; Sat, 02 Dec 2023 04:52:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701521523; x=1702126323; 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=HR4GQ7+5atR3ar2YrCztGhjSeU/LO6OVqwoc3hEbrC0=; b=jxTEXH8+WdPIGY/ByRcqm0dT0iQDLDpb90+icweXKWRaOiA0CJXSPtF3w9sT0SsgBn Y0gZ2i/qqYJYObJG/qKIG2Sd1eEnL2SASvbE6pS47SusqtZzHjdywYzzh/AFrpuGjree 4N+aAKGowUnrpKCWqwZZOQ89M2cmnmevBPyvAe8Xrc66juI2uNgI5lsTsQUv58Al5YpK peFCwf59UM9PNAiYpnmaninP3XhPVo36c7CbT7lceNcQ6NDtLjFz8fERwb3RtjmhYIY8 Q2TqKyEWBcY+qAJy2k7XJUMFIeP1S9XOhonZmR0HUNElb+83Fo3sLIHd5CLDsVUI9I1F ITBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701521523; x=1702126323; 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=HR4GQ7+5atR3ar2YrCztGhjSeU/LO6OVqwoc3hEbrC0=; b=Be9qXKmW1eqSniWUoXtpFjFX2GFgv9FjoX6rj+V6g+lDWKCA6zS07Cv+/yu0xntZAS qFEN5vgsGyJVop2nwvm+v8oooeZhIbK1hNL9pqsZAgTC2MsTuqkCp5MOS9wmPYwBUbnN EDGeMFoXCky5yqLjof8uYRT0jJQFmcEMLowSF+WP6hjQ10Ng4QXD5AmEf0xlIsJwiHOI eVPVj3v2lJ7UMhls7eWIaO/7bOVellaekMZIfeh8xNwRQdC9v/gv16yDO4OKanpnCp/l J0dJRNV48jzVzIZx1VLvAGF/Cz50uIT+KHQed0shKjLKdiHExRMFECXtaEDQhQDrmiaJ b8bw== X-Gm-Message-State: AOJu0Ywj2JCmGDXQQMq348iSlQbZLQ0pYkLuKYboN7XldtlWvat6vkcV 5hpXxRDKOIfDlyZi8viYig== X-Google-Smtp-Source: AGHT+IFsV7yIlBBzkDPIYNDCqw3wEkc8AQ/SUwRG3frSQ5X+KzW+68Zbs/ntALcZcfg6t9TIXCXl8g== X-Received: by 2002:a17:906:35ca:b0:a19:a1ba:bacb with SMTP id p10-20020a17090635ca00b00a19a1babacbmr891820ejb.113.1701521523169; Sat, 02 Dec 2023 04:52:03 -0800 (PST) Received: from U4.lan ([2a02:810b:f40:4300:908e:b829:354b:f8ee]) by smtp.gmail.com with ESMTPSA id g5-20020a170906198500b009c5c5c2c5a4sm3018161ejd.219.2023.12.02.04.52.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 02 Dec 2023 04:52:02 -0800 (PST) From: Alex Bee To: Heiko Stuebner , Conor Dooley , Krzysztof Kozlowski , Rob Herring Cc: Daniel Vetter , David Airlie , Thomas Zimmermann , Maxime Ripard , Maarten Lankhorst , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-pm@vger.kernel.org, Alex Bee Subject: [PATCH v2 4/5] ARM: dts: rockchip: Add GPU node for RK3128 Date: Sat, 2 Dec 2023 13:51:43 +0100 Message-ID: <20231202125144.66052-5-knaerzche@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231202125144.66052-1-knaerzche@gmail.com> References: <20231202125144.66052-1-knaerzche@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231202_045204_709331_61E4636A X-CRM114-Status: GOOD ( 11.78 ) 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 b72905db04f7..b05ee3d926aa 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"; + power-domains = <&power RK3128_PD_GPU>; + resets = <&cru SRST_GPU>; + operating-points-v2 = <&gpu_opp_table>; + status = "disabled"; + }; + pmu: syscon@100a0000 { compatible = "rockchip,rk3128-pmu", "syscon", "simple-mfd"; reg = <0x100a0000 0x1000>; From patchwork Sat Dec 2 12:51:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Bee X-Patchwork-Id: 13476946 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 A2F2DC4167B for ; Sat, 2 Dec 2023 12:52:35 +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=Mf6ywpUDqpRrkA+u1XG3rt/BS3EuGYrIgunXzODJ12A=; b=wF1J082LXXM3Gd hpg8bfuKTUp8CKdY8ZX3ffMSdxLFFfe/1YOqNOPgaCIIeg51bTuuFFjMCW0HJyxKmzkpwJi2es6Hs CnmGP1RNj0w4px9TT6Sek9wwqLLAi2Lk6jG2oJz+iyF9KfjYmpW2Q8/S+/8R5/LCgj+t1FccTGC4C 3Y5CmbuaUn89V2LtPWNJnW9X2KEFMITMmsNAmtJghNPp8nImLQbN0JsNH1KHtiawmtUwouoOIZoy9 21M36hQZk6WkN7Zyid078OaqqfNVb7tL2OStz11iPb7mSHJXC5KBCZuERCdNy8tVrX1Tr0SgKjAUi dz2p8LrGgswHwoDHBW6w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r9PTg-00Fi0Q-2S; Sat, 02 Dec 2023 12:52:12 +0000 Received: from mail-ej1-x632.google.com ([2a00:1450:4864:20::632]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r9PTc-00FhuY-0N; Sat, 02 Dec 2023 12:52:09 +0000 Received: by mail-ej1-x632.google.com with SMTP id a640c23a62f3a-a00f67f120aso426880266b.2; Sat, 02 Dec 2023 04:52:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701521524; x=1702126324; 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=uvqh3YsIrEQFTmWeg+MPEc2rGBC/JrpRd/TYuGzYb50=; b=QQqaf83V6EAhQAd9zncsJrmJsl5HCeEIqxaMQONn4pxUEOzDYyxG6BaTExj7K/4u/G i1kCQ9Allx1M3cJvrCbJCrJIlWd5ebdJUnLyEqsQjqE4dPuKXE2ZBO8hNSG1PBUl7ubO v3i4PFqJzijtfxWujxSj60yUq9G680pFD85898TrqMjd9oIoE5mXOYTfuENWi0TjyMdX 9khF+F95B83JdgMTJaCuAt/pJ7KtXduHes9L4hnvM/suUahadapSd4wX9TRflbky4TeS EnqwbMQI7RZ3yAwjt1wByoK5O0dywoyo6j9qG/+wvrVoAI5FEBSxz0Qz4FR4Is/dqfOF 5XWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701521524; x=1702126324; 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=uvqh3YsIrEQFTmWeg+MPEc2rGBC/JrpRd/TYuGzYb50=; b=a3tuBMoUV6EQhVcVeeL7+IlwaXRqETQUj3acTWnV5wOf1pyfiO40g6ztUQEV57Vmar uDGFRdiDfVC4Nmi8cTSQPi1pGTLW0GNvFRbgrO1EfCki/R2gStrRrMC+v7l/EH+l5Bv+ WxOXj7uMvopYH0yyjiWDzSOSq8kbNa9HDhfqJ/0xSJhnb+qY0BwbFl/FA62XC83ivrmj p4kOO72a4HTFDJotxgP9J0LTS7WSjPdksm1agZ/SsO1jvzbMfqx+/ABsMuEMAnWB0Wty vFwztzpqD7ugxtUAEVVUN0ylt5YOALQeleUxfBQMNnxgpA7q0j3UYbwxyrBSVULplgm1 wKDg== X-Gm-Message-State: AOJu0YxTTXOfOEMUkaUJUB9+l47XRU61p9sZzFBBVwzUgXoyNHpG6mhp VgM8WAq9eeIUZmebN2knPg== X-Google-Smtp-Source: AGHT+IFQ04hd02/k8ts4CI8E4zUUh78rM2JYghUB6DkvNvfM35AgawiZ8im+gUYqpmxxzX2y97BApA== X-Received: by 2002:a17:907:bb86:b0:a18:f82c:65d2 with SMTP id xo6-20020a170907bb8600b00a18f82c65d2mr1932769ejc.34.1701521524226; Sat, 02 Dec 2023 04:52:04 -0800 (PST) Received: from U4.lan ([2a02:810b:f40:4300:908e:b829:354b:f8ee]) by smtp.gmail.com with ESMTPSA id g5-20020a170906198500b009c5c5c2c5a4sm3018161ejd.219.2023.12.02.04.52.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 02 Dec 2023 04:52:03 -0800 (PST) From: Alex Bee To: Heiko Stuebner , Conor Dooley , Krzysztof Kozlowski , Rob Herring Cc: Daniel Vetter , David Airlie , Thomas Zimmermann , Maxime Ripard , Maarten Lankhorst , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-pm@vger.kernel.org, Alex Bee Subject: [PATCH v2 5/5] ARM: dts: rockchip: Enable GPU for XPI-3128 Date: Sat, 2 Dec 2023 13:51:44 +0100 Message-ID: <20231202125144.66052-6-knaerzche@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231202125144.66052-1-knaerzche@gmail.com> References: <20231202125144.66052-1-knaerzche@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231202_045208_157298_DCE6A46C X-CRM114-Status: GOOD ( 10.40 ) 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 61b9f069c8a2..0a8ead0bfe09 100644 --- a/arch/arm/boot/dts/rockchip/rk3128-xpi-3128.dts +++ b/arch/arm/boot/dts/rockchip/rk3128-xpi-3128.dts @@ -315,6 +315,11 @@ &gpio3 { "", "", "", ""; }; +&gpu { + mali-supply = <&vdd_log>; + status = "okay"; +}; + &pinctrl { dp83848c { dp83848c_rst: dp83848c-rst {