Message ID | 20250120172111.3492708-19-m.wilczynski@samsung.com (mailing list archive) |
---|---|
State | New |
Headers | show
Received: from mailout2.w1.samsung.com (mailout2.w1.samsung.com [210.118.77.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 546001F2C47 for <linux-clk@vger.kernel.org>; Mon, 20 Jan 2025 17:21:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=210.118.77.12 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737393708; cv=none; b=nka+WT616SF8xCeNmliXEyrVQSOCUJSaYeVruK0vCVJ+sI/dQVC9RhWSzplNjPcwqPPytTwvSRBJ9X0UWZrk4XXf2HtFYdesCRFAhIiDEyWAUtaU1adnS1glL2uekLGJF1A8wSEpnm4/h5zDtXjBO1CJQR7o53KXC8UpZiJxxc8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737393708; c=relaxed/simple; bh=tPDPZQND3XevXMTkqHZ+eupZyFVzWL0l+nCI/aaaBr4=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:MIME-Version: Content-Type:References; b=DfPZX09P5dKJ33qihEgsRsYaQ/vpZcEri4pWs/owhgWij1L5SoMOwHKyVTTZoXs4r8s7OnYppIXKTPYJdsEAQWVhaOP+FvSzDFjCjKds0iqsbxF2VmwqEoCYGb7qh048DCtyJwXudzmcCOHC9lrnO5LdrjY0mbSNb6EO0vd81yM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com; spf=pass smtp.mailfrom=samsung.com; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b=ArDhOA2j; arc=none smtp.client-ip=210.118.77.12 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=samsung.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="ArDhOA2j" Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20250120172145euoutp02fd44b0874d6f198cb3610ac3a3eefc47~cdl6eOJxQ2036520365euoutp02L for <linux-clk@vger.kernel.org>; Mon, 20 Jan 2025 17:21:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20250120172145euoutp02fd44b0874d6f198cb3610ac3a3eefc47~cdl6eOJxQ2036520365euoutp02L DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1737393705; bh=XKhPmeLKH+yLXKt3P/DhhZ3SB+vXe1FUxFn1/wfpcc4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ArDhOA2jNxigztlIynWzlEllV3TMRPDpccqpZ1WLvbBCj1dJfupAOlTSby+2Wmf/C 9sbuZBuZo/Blcc4cMaJUw7VdFR8DsImjtVN/jK3kjvTZDpOiBSIJ0AzR2fK63RhgTf RUH313cacurjVh2lKwMB0xlNOY1K2N3mMzdTtBMY= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20250120172144eucas1p26270f7be35cb2180814b25331ddea70d~cdl5jUEzA0618106181eucas1p2Q; Mon, 20 Jan 2025 17:21:44 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id B3.76.20397.7268E876; Mon, 20 Jan 2025 17:21:43 +0000 (GMT) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20250120172143eucas1p2cb4c77eee4833b4de668a2aadb5a2087~cdl5GdyJz1091210912eucas1p22; Mon, 20 Jan 2025 17:21:43 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20250120172143eusmtrp28ce9edf96e9bc11e9382f54c1cc2f812~cdl5Fvwzx0513205132eusmtrp2B; Mon, 20 Jan 2025 17:21:43 +0000 (GMT) X-AuditID: cbfec7f5-e59c770000004fad-73-678e862705f6 Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 22.B5.19654.7268E876; Mon, 20 Jan 2025 17:21:43 +0000 (GMT) Received: from AMDC4942.home (unknown [106.210.136.40]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20250120172142eusmtip1c497cda178b3d2f540bee966e89acc27~cdl31vwG70462804628eusmtip1w; Mon, 20 Jan 2025 17:21:42 +0000 (GMT) From: Michal Wilczynski <m.wilczynski@samsung.com> To: mturquette@baylibre.com, sboyd@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, drew@pdp7.com, guoren@kernel.org, wefu@redhat.com, jassisinghbrar@gmail.com, paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, frank.binns@imgtec.com, matt.coster@imgtec.com, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, airlied@gmail.com, simona@ffwll.ch, ulf.hansson@linaro.org, jszhang@kernel.org, p.zabel@pengutronix.de, m.szyprowski@samsung.com Cc: linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, dri-devel@lists.freedesktop.org, linux-pm@vger.kernel.org, Michal Wilczynski <m.wilczynski@samsung.com> Subject: [RFC v3 18/18] riscv: dts: thead: Add GPU node to TH1520 device tree Date: Mon, 20 Jan 2025 18:21:11 +0100 Message-Id: <20250120172111.3492708-19-m.wilczynski@samsung.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250120172111.3492708-1-m.wilczynski@samsung.com> Precedence: bulk X-Mailing-List: linux-clk@vger.kernel.org List-Id: <linux-clk.vger.kernel.org> List-Subscribe: <mailto:linux-clk+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-clk+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Brightmail-Tracker: H4sIAAAAAAAAA01Se0xTdxTmd+/tvZduxWtx4xfcIzRTokasssRf5kJcBHPnyKZu0WXZgt24 KYQWTAtzshEotBVZAcfckII8jBGCIAFpeaSMDbBFWYs85JEVaJSNx6qAQBXIZJSLm/993znf +b5zkkPj4gYykI6NT+RU8TKFhBQSZuuSY3ewPkcu7XfsR52DVzBkWjFSqKrFgaGSDocAjfbW Y6h/cYZEN/68S6HJFg2BBiouUyjDWkOiKeMoieYMowLU11xEovnsDoDM81oSVXeMUKhmsQRD ZXMmAl1tbAZIf/6aAPXciUAjo50Emuoz4Ehv3IRWLY0UejZQS6DCR60Uqnf/IEC26pNI23qR OPgGOzOko1j31BTBtmcuUGyLp5Rgm4wjFGto+h2wdZXnSdY5YCHZ4tvH2LHvbRh782oqq622 YmzuP1J25pd7JJtTXwnY3oxB6qj4M+G70Zwi9mtOtSfslDDm17IH4PSg8JsCfTlIA046C/jS kHkbprfbqCwgpMVMBYBDjzQ4TxYAXJq8jPFkHsDZznnq+cjIj5MCvlEOoPFp9saIG8A23R+4 V0Uy+6CrvGRdtYXREVB3SwO8BGcmADSPF5FelT/zEVx2VAEvJpht0FX3ZB2LmIOwuawH4/Pe hK2/2dddfdfqT+61ULxmM7xdME54Mb6myTAVrq8BmWohNN2wrUXTayQcpg0j3scfTtvqN254 Da42lWz4J0CX6THO4+9gk8G2gQ9Ap2OZ9NrgzA5Y07yHL78Ha7vGMN7dDw493Mxv4AfzzPk4 XxbBTL2YV2+HPxmy/wt1VJg3QlmY7+ihLoAg4wu3GF+4xfh/binAK0EAl6RWyjl1aDx3JkQt U6qT4uUhXyUo68Dab3c9sy02gorpuZA2gNGgDUAal2wRvTJrkItF0bKzyZw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3rnZD1QtKnJz5BGwmM1B989bZzBMYBWYhSc1CklrAyLSKUSS1tDg3PbfYSK84Mbe4NC9d Lzk/dxMjMMFsO/Zzyw7Gla8+6h1iZOJgPMQowcGsJMIr+qEnXYg3JbGyKrUoP76oNCe1+BCj KdDdE5mlRJPzgSkuryTe0MzA1NDEzNLA1NLMWEmcl+3K+TQhgfTEktTs1NSC1CKYPiYOTqkG JhY9oQdV2maRz9ZabOfU/sG/enpOKUva5Mx7+v+StKfXyIqw8k+u4Cnfc1F9auyUfbFqvbGM f/WmvnU4szYuukTk1Z1EB7PM+VGRlztiXnMxRq31KmaYsKt6dsTu9dwXY8uzmyQ0yoNb5gaJ uynbu5Xmnczt/TQtwWh3Y0i+gPZGbcWtbAdCH9UxPrae7LFv91Q1vlWG4nsDvoZcN3s97d3t FSkVu/wSj0iUXfwt9uS0f73KR6nQx/6ST8xu97psajlXHxkVuvp7ZPOOSW3lGjEzT7eEmK15 MEfkcYZbAPvTTna9goJN8aXCbW+2rWmN26KiMZPNvezCnN1Orb9evtDe/DNwzevlV5lLeP4p sRRnJBpqMRcVJwIA2EHKMrkDAAA= X-CMS-MailID: 20250120172143eucas1p2cb4c77eee4833b4de668a2aadb5a2087 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20250120172143eucas1p2cb4c77eee4833b4de668a2aadb5a2087 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20250120172143eucas1p2cb4c77eee4833b4de668a2aadb5a2087 References: <20250120172111.3492708-1-m.wilczynski@samsung.com> <CGME20250120172143eucas1p2cb4c77eee4833b4de668a2aadb5a2087@eucas1p2.samsung.com> |
Series |
[RFC,v3,01/18] dt-bindings: clock: Add VO subsystem clock controller support
|
expand
|
diff --git a/arch/riscv/boot/dts/thead/th1520.dtsi b/arch/riscv/boot/dts/thead/th1520.dtsi index f2c6937341a5..cf2b1bb2ee96 100644 --- a/arch/riscv/boot/dts/thead/th1520.dtsi +++ b/arch/riscv/boot/dts/thead/th1520.dtsi @@ -497,6 +497,18 @@ clk: clock-controller@ffef010000 { #clock-cells = <1>; }; + gpu: gpu@ffef400000 { + compatible = "thead,th1520-gpu", "img,img-bxm"; + reg = <0xff 0xef400000 0x0 0x100000>; + interrupt-parent = <&plic>; + interrupts = <102 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&clk_vo CLK_GPU_CORE>, + <&clk_vo CLK_GPU_CFG_ACLK>; + clock-names = "core", "sys"; + power-domains = <&aon TH1520_AON_GPU_PD>; + resets = <&rst>; + }; + rst: reset-controller@ffef528000 { compatible = "thead,th1520-reset"; reg = <0xff 0xef528000 0x0 0x4f>;
Add a device tree node for the IMG BXM-4-64 GPU present in the T-HEAD TH1520 SoC used by the Lichee Pi 4A board. This node enables support for the GPU using the drm/imagination driver. By adding this node, the kernel can recognize and initialize the GPU, providing graphics acceleration capabilities on the Lichee Pi 4A and other boards based on the TH1520 SoC. Signed-off-by: Michal Wilczynski <m.wilczynski@samsung.com> --- arch/riscv/boot/dts/thead/th1520.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+)