From patchwork Mon Jan 20 17:21:07 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Wilczynski X-Patchwork-Id: 13945319 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 45A12C02182 for ; Mon, 20 Jan 2025 17:21:54 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4ACF110E45E; Mon, 20 Jan 2025 17:21:51 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (1024-bit key; unprotected) header.d=samsung.com header.i=@samsung.com header.b="W8MAtYzm"; dkim-atps=neutral Received: from mailout2.w1.samsung.com (mailout2.w1.samsung.com [210.118.77.12]) by gabe.freedesktop.org (Postfix) with ESMTPS id 981A610E45E for ; Mon, 20 Jan 2025 17:21:40 +0000 (UTC) Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20250120172139euoutp0251b4963e80841c68c8e76f43d023ba88~cdl1LOM6c1664816648euoutp023 for ; Mon, 20 Jan 2025 17:21:39 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20250120172139euoutp0251b4963e80841c68c8e76f43d023ba88~cdl1LOM6c1664816648euoutp023 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1737393699; bh=p1n/0uk3piG1h+o5F2Ndg4sz3c3AchdOqWD3da4OL+8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=W8MAtYzmepQ0Aoz+mdoRdazGM+AaKpeBAzlka6PNP6LwekLp1TiDJ1o6LTXD+k+T6 P1VAd5aDD515i+wdYEUAO/ekCeyOfhIoMUDSOBweuilDUsW6nuskqnVj0LtjGjdi2R mlU8msOoImvLm22Wyax+O6Rcjw+O59wzDH1UbtMU= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20250120172138eucas1p2f6d8794a862b5ec8c210c6850579ea91~cdl0us-RW1091210912eucas1p2y; Mon, 20 Jan 2025 17:21:38 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id DE.66.20397.2268E876; Mon, 20 Jan 2025 17:21:38 +0000 (GMT) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20250120172138eucas1p294698126686b5d3a9281c0a5428f2cf6~cdl0PmTrE1088710887eucas1p2F; Mon, 20 Jan 2025 17:21:38 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20250120172138eusmtrp255084ed0d414c9b060bac63e946d42cc~cdl0O2wji0490804908eusmtrp2F; Mon, 20 Jan 2025 17:21:38 +0000 (GMT) X-AuditID: cbfec7f5-ed1d670000004fad-68-678e86223bec Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id CB.A5.19654.2268E876; Mon, 20 Jan 2025 17:21:38 +0000 (GMT) Received: from AMDC4942.home (unknown [106.210.136.40]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20250120172136eusmtip1e9c6acac091371dd6cdf44efec214b8c~cdly4yg4m1013910139eusmtip1Y; Mon, 20 Jan 2025 17:21:36 +0000 (GMT) From: Michal Wilczynski 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 Subject: [RFC v3 14/18] riscv: dts: thead: Add device tree VO clock controller Date: Mon, 20 Jan 2025 18:21:07 +0100 Message-Id: <20250120172111.3492708-15-m.wilczynski@samsung.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250120172111.3492708-1-m.wilczynski@samsung.com> MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA02SbUxTZxTH99x7e++ls3Atbj5BlIzBXthEx0x4MliRbGZ3iR/ww9gy3aQb NwUHpbaC05CIFBpeiuBmMas4XibQsCEBWgQCdlSgVKAIjBcJrejACUGQYQeC4Citm99+55z/ Of9zkkPjQj3pQ8dLT3ByqTjBn+QTDZ1PrLv9Vecke1cf7UZdI2UYMqxqKfRbqxVDxe1WHrIP 6DH0h2OeRFenblHoQetZAg3rLlNI2VlDommtnUQLajsPDTYXkWgxrx2ghsUMElW32yhU4yjG UOmCgUBXGpsBUmVX8FD/zQPIZu8i0PSgGkcqrRd61tJIofXhWgJdmjNSSD97nofM1Z+jDOMF Yv8udn40k2Jnp6cJ9kbWY4pt/aeEYJu0NopVN/UAtq4qm2THh1tI9mfLIfZOrhlj66+cYTOq OzE2f20vO399iGTP6asAO6AcoaKEX/LDY7mE+BROvkcUw4+73tGLyW5S39eO/QnSQBGZAzxo yOyDtjYHngP4tJDRAaix9bmDxwDazErCFSwC2NaRQT1v6SvQuAuVAI6la3FnQcjMAtj0O3Iy yYTA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ed67tYfOYdzLQ4373cSaPzUvqPVrWHmPy6P9r4PF+ 31U2j74tqxg9LjVfZw8QitKzKcovLUlVyMgvLrFVija0MNIztLTQMzKx1DM0No+1MjJV0rez SUnNySxLLdK3S9DL2Hf0LFPBKfaKjbceMzYwzmHrYuTkkBAwkTg/YSoLiC0ksJRRYtfhEoi4 jMS17pcsELawxJ9rXUD1XEA1rxglvi88DpZgEzCSeLB8PiuILSKwmEVi775KkCJmgbeMEtdn bgQrEhbwk1i1/weYzSKgKvHw+w/GLkYODl4BB4kV150hFshL7D94lhnE5gQKf7+6lx3iIHuJ O1e7GUFsXgFBiZMzn4CNYQaqb946m3kCo8AsJKlZSFILGJlWMYqklhbnpucWG+kVJ+YWl+al 6yXn525iBCaXbcd+btnBuPLVR71DjEwcjIcYJTiYlUR4RT/0pAvxpiRWVqUW5ccXleakFh9i NAU6eyKzlGhyPjC95ZXEG5oZmBqamFkamFqaGSuJ87JdOZ8mJJCeWJKanZpakFoE08fEwSnV wLT6B/t+mZyD0jf9ilxEOYpnWbxX4zB48finbayOl5bSgdyE3F9+ZzMP3RY52MjtvvxEWdX2 CTLXP9zjStI5vDvqc87iPXPSvrSer/6sL57YtFjFRLFJ0CFpT9pHxqJvTYdWOsWqXNX6+ivv n9+HR2xna9vWnONX215xJPHkp+lOXv877xXObmita396ZNmvTMONvYKeBluKn7ycUr2WQfaP 33pOHY7w94KplneXC65dNeuLBHN72jybySliVd0znJ9Ge65vP/1YuHfZ3ViWq9PO7RLlmPDc el9ld/G26b1b0s4+y1rnzcizJu7brHUvdqjz3V43u0dEoOP81ckty7unZE/44bn/Zlz03tA9 u14osRRnJBpqMRcVJwIAxmV81LcDAAA= X-CMS-MailID: 20250120172138eucas1p294698126686b5d3a9281c0a5428f2cf6 X-Msg-Generator: CA X-RootMTR: 20250120172138eucas1p294698126686b5d3a9281c0a5428f2cf6 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20250120172138eucas1p294698126686b5d3a9281c0a5428f2cf6 References: <20250120172111.3492708-1-m.wilczynski@samsung.com> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" VO clocks reside in a different address space from the AP clocks on the T-HEAD SoC. Add the device tree node of a clock-controller to handle VO address space as well. Signed-off-by: Michal Wilczynski --- arch/riscv/boot/dts/thead/th1520.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/riscv/boot/dts/thead/th1520.dtsi b/arch/riscv/boot/dts/thead/th1520.dtsi index acfe030e803a..5e515a9d69b2 100644 --- a/arch/riscv/boot/dts/thead/th1520.dtsi +++ b/arch/riscv/boot/dts/thead/th1520.dtsi @@ -489,6 +489,13 @@ clk: clock-controller@ffef010000 { #clock-cells = <1>; }; + clk_vo: clock-controller@ffef528050 { + compatible = "thead,th1520-clk-vo"; + reg = <0xff 0xef528050 0x0 0xfb0>; + clocks = <&clk CLK_VIDEO_PLL>; + #clock-cells = <1>; + }; + dmac0: dma-controller@ffefc00000 { compatible = "snps,axi-dma-1.01a"; reg = <0xff 0xefc00000 0x0 0x1000>;