Received: by 2002:a05:7412:ba23:b0:fa:4c10:6cad with SMTP id jp35csp2200613rdb; Sun, 21 Jan 2024 11:46:29 -0800 (PST) X-Google-Smtp-Source: AGHT+IEZako0dOSuT2sT3UqDSwL28DbLzhqKOn4YUrW1XSpmK8SKhzUs01FzrjN15esQQPKVl/El X-Received: by 2002:aa7:c919:0:b0:55a:85b5:d48 with SMTP id b25-20020aa7c919000000b0055a85b50d48mr1427851edt.39.1705866389096; Sun, 21 Jan 2024 11:46:29 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705866389; cv=pass; d=google.com; s=arc-20160816; b=aXOxSThvoqB3IbBeRIqM1s0Rd+AEc6REG6NxO40pNHfpJ27cSBr+/EeL99nWYK7XIk FRuuW2AGUg3LAC0sDuO4Cuj9sWx3xDnle5IXAAbLwCcT+B+Pn6sFBtodSfi8C+18EMNw 50xiLtJZYbNGxj0WHkEMyG7fIgR2p9WymkzN2LoOl+US8EGuH6bQfjpRbBc0KYbCFaPe K7i6zk+jaHWVYSA6xvb+JymecY4wsxgL63jQVitgYYi8dZ896TFMmKoxl5rhnikRVpqY 5FnCH0TG4jrP0o2OqWqEKBd2Ob98nxNb0swODE6vmkxGD0P4GKiVd+WoKHo5VqClnoUf hxfw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=RSqr1Vk76fk8EOA0eDt1nJ6pOVxZRQ6awuBBes4l838=; fh=iQ+c+SllObe2nukKjVVyqcjftKnOdO8TEMu9hNdEpio=; b=J45AW0QUVuPCvMmtF2MsrW/Fobz/QCh96p49QeLoDcCEPolRAaJwsrf/73bPXfx3Ge 2hC8DUiQ2lLvHzuuNJfLiJQwc4teWsWQqlPdP+n2u10N/nR9+ghpj46dCxQFkRQcHxQN y6xO/36yhZxGaHx+lxuqfelaKYdqdHCYkTSFc+FwLQ2ubBsSIi7ElXiQ7eA/2FU1KKnU +AIyD8PiXYp82EZh87nGLMnYJV5i4lj5Z8Ie+Qj1YHCClzQgN4N1Gsulv0fPlVrrRuQ3 88WlzNKOjYSOVYQl7Clch9XyEkEvcAnBeqQx7VwO8AVuFCq5yKgi80EPa0fACsW0WyY2 Xuzg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=L2qZz7Ie; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-32164-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-32164-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id h11-20020a0564020e8b00b0055c433940a6si202254eda.615.2024.01.21.11.46.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Jan 2024 11:46:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-32164-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=L2qZz7Ie; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-32164-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-32164-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 am.mirrors.kernel.org (Postfix) with ESMTPS id CC3A51F207CF for ; Sun, 21 Jan 2024 19:46:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D640138DEA; Sun, 21 Jan 2024 19:45:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="L2qZz7Ie" Received: from mail-ej1-f54.google.com (mail-ej1-f54.google.com [209.85.218.54]) (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 713E238F97; Sun, 21 Jan 2024 19:45:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705866351; cv=none; b=Lmtw/V/IDHnihxjdfnhviTLN4iokSKwNMDIpopuviqgjldwzj9cRtBc8JzzunQIHeZ4IwvDm4kccIM/mh809pKfaVVyYkVXsuNRF13PdzUkmNayzL6wmF7yBZQdUt4P5NBIQ+OgHkFQTIqeZqABA+XxaRUVynxdscGX8KeYyCqw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705866351; c=relaxed/simple; bh=jiG8dNM4EeCqicvJq35Mwv8i8fdhtFDvlbFQpXu1o1o=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=ga3ZdKol7jUZ6qlUJbIQUJtYkji0OP3/FyhKFtAaIAusJFr5/DNy+I4MWJXiiqSCXAKJuRnMg2T9Id0DuDYVbzHgC0Nrx7JkPXLrd6dPR9hGKg9+UIR7xjLfjMP6ja0eEJ1mzeKzRokFzTaFBYOSH8uI/MK/QMcW6AG2MiIpAu8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=L2qZz7Ie; arc=none smtp.client-ip=209.85.218.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ej1-f54.google.com with SMTP id a640c23a62f3a-a3046221b0eso22095266b.1; Sun, 21 Jan 2024 11:45:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705866347; x=1706471147; darn=vger.kernel.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=RSqr1Vk76fk8EOA0eDt1nJ6pOVxZRQ6awuBBes4l838=; b=L2qZz7IebjbkAMEBRU9dwlq/SpT2DD1LnR9sfr2N7iV1c+7XxIrj9Rt+sXUl7Vwiq+ T53DUX5zr3TnRFnZGydxr+uzbG0vGu+W/zuPX1IXPGTHMCBE+OWiOO6MJ8zlSl3qo4lj QMmJn0+PdgY+aFYnC0GsKVhXZyRT8DFIrvBSBDHhIbG+0mgrYxknV4Ijj9A/rwHubgHV 9zGNW1pcyLPr9jBwfTBUNwhFFCqV9Y73oLlur5KNs1+kCtfkJs5jn5om/lC4rUAdpW/P WClB6KhBoE871yhDbA16A95SmTTZyKckweANK786oysb7cneZNvxVZRl8h2Pb5cKSQPp FqUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705866347; x=1706471147; 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=RSqr1Vk76fk8EOA0eDt1nJ6pOVxZRQ6awuBBes4l838=; b=W+Gp8K6psLyOASJlwxmqLgP8MfPtscnbGfQFFpLtsiC639oMBoPHN3y/BpPq5ZoTp0 oM+2AaG+wIdOq0omxKAAyWQvzw5B3CjRqUXYpDnghZTocX0TCygGtVGYv6hrgtKOm+eE LYQgcbY1kysDq2DzmhYOz/3hnGzpZqDwL8OruzECDpxhFzcl0S3yLsVXv9Dlh7H4NjTU SG3vmqxUgzG0Ve0UZJpkmDJk61IUMPh3OzDoofjHTFnUYwdgySqKEdGNtm0SCPFV0yeF N0AHCC/UHqAQ2p/9Y5C4spEH/VYoGRck5J5ZnTG5TYLSCgyP4FBfCV4/+NG7kHnip98K 8pOQ== X-Gm-Message-State: AOJu0YwEwT1uDbc/SYY341MAhbxWKJu1memlpGUB8TzpGTGw2mOwYNfN VrcAu/YUpntBP7tgmIX384Uef9r8tDA1JQBSbT9Jl07ppx/ORI+t6z+xsSeFlBY= X-Received: by 2002:a17:906:f24c:b0:a28:fc03:f199 with SMTP id gy12-20020a170906f24c00b00a28fc03f199mr1456478ejb.107.1705866347749; Sun, 21 Jan 2024 11:45:47 -0800 (PST) Received: from localhost.localdomain (byv51.neoplus.adsl.tpnet.pl. [83.30.41.51]) by smtp.gmail.com with ESMTPSA id k6-20020a170906128600b00a2b0b0fc80esm12547134ejb.193.2024.01.21.11.45.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Jan 2024 11:45:47 -0800 (PST) From: Adam Skladowski To: Cc: phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, Adam Skladowski , Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , Marijn Suijten , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Andy Gross , Bjorn Andersson , Konrad Dybcio , Krishna Manikandan , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 6/8] arm64: dts: qcom: msm8976: Add Adreno GPU Date: Sun, 21 Jan 2024 20:41:04 +0100 Message-Id: <20240121194221.13513-7-a39.skl@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240121194221.13513-1-a39.skl@gmail.com> References: <20240121194221.13513-1-a39.skl@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Add Adreno GPU node. Signed-off-by: Adam Skladowski --- arch/arm64/boot/dts/qcom/msm8976.dtsi | 66 +++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8976.dtsi b/arch/arm64/boot/dts/qcom/msm8976.dtsi index 2d71ce34f00e..765c90ac14cb 100644 --- a/arch/arm64/boot/dts/qcom/msm8976.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8976.dtsi @@ -1068,6 +1068,72 @@ mdss_dsi1_phy: phy@1a96a00 { }; }; + adreno_gpu: gpu@1c00000 { + compatible = "qcom,adreno-510.0", "qcom,adreno"; + + reg = <0x01c00000 0x40000>; + reg-names = "kgsl_3d0_reg_memory"; + + interrupts = ; + interrupt-names = "kgsl_3d0_irq"; + + clock-names = "core", + "iface", + "mem", + "mem_iface", + "rbbmtimer", + "alwayson"; + + clocks = <&gcc GCC_GFX3D_OXILI_CLK>, + <&gcc GCC_GFX3D_OXILI_AHB_CLK>, + <&gcc GCC_GFX3D_OXILI_GMEM_CLK>, + <&gcc GCC_GFX3D_BIMC_CLK>, + <&gcc GCC_GFX3D_OXILI_TIMER_CLK>, + <&gcc GCC_GFX3D_OXILI_AON_CLK>; + + power-domains = <&rpmpd MSM8976_VDDCX>; + + iommus = <&gpu_iommu 0>; + + status = "disabled"; + + operating-points-v2 = <&gpu_opp_table>; + + gpu_opp_table: opp-table { + compatible ="operating-points-v2"; + + opp-200000000 { + opp-hz = /bits/ 64 <200000000>; + opp-level = ; + opp-supported-hw = <0xff>; + }; + + opp-300000000 { + opp-hz = /bits/ 64 <300000000>; + opp-level = ; + opp-supported-hw = <0xff>; + }; + + opp-400000000 { + opp-hz = /bits/ 64 <400000000>; + opp-level = ; + opp-supported-hw = <0xff>; + }; + + opp-480000000 { + opp-hz = /bits/ 64 <480000000>; + opp-level = ; + opp-supported-hw = <0xff>; + }; + + opp-540000000 { + opp-hz = /bits/ 64 <540000000>; + opp-level = ; + opp-supported-hw = <0xff>; + }; + }; + }; + apps_iommu: iommu@1e20000 { compatible = "qcom,msm8976-iommu", "qcom,msm-iommu-v2"; ranges = <0 0x01e20000 0x20000>; -- 2.43.0