From patchwork Thu Jul 27 21:51:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alain Volmat X-Patchwork-Id: 13330805 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 C669BC00528 for ; Thu, 27 Jul 2023 21:53: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=vH+AghIIV5kDkfxDKI+XI5wV/M9QYTBTwIlP75WHlPM=; b=PClWzVIGHcf6Hc +uJa88jOsd7fFWk4juBrwYtlFJYSjlewzGY10dNMxVShoFnh6zxuU+PDrQeQxGqKtu98euxObIA5h AEunYWYAjBM5E/tBGziwmrDsfN8F2dsj1yGdMkna7gFK0mYlRiVoH7JT5jcLn7pdhXVdt3bkG1Uky fF6FgoE7DSP8Oae0KZCVT5P5T8HlOCXO5SCcQYp8lQZ3rrnnjIpdOUaBJiCFC5bEB9tNdUxJv5Fb3 eL0WaR4nWwuQqPQ7gy/6dJUf3XaJvEFE/s2wetQowzfmWy6fQdhpVJMEWc5ZCM/7qcFnrTdT5adWk B0fp2ja1QgnEoQ8oxL5A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qP8v6-000emL-2t; Thu, 27 Jul 2023 21:53:16 +0000 Received: from qs51p00im-qukt01080302.me.com ([17.57.155.21]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qP8uq-000egj-0v for linux-arm-kernel@lists.infradead.org; Thu, 27 Jul 2023 21:53:01 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1690494779; bh=m40TTdzUJgBT59AnP9PsBahkFfWecCyHP3ln170ZB58=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=GcD7aKhxI99Fz/Jf/VgmfP70t9bGrJkA0mYxZW4KiylLb4arx3fXy849ewttmtJTQ G+J4IUFYPahoQGqmNlC2R27qgLvn7ssAq8d6towHzpAeGnG1ZSKMa92MTJb0NQX4pL X5Jn5irZgj3R40Ok92JgL6+sPmmiY66p84FkL9HjmRzrWhYg0r7ojSEy9lCbfPT4oZ h4L7tqzrJNKE2GLHRuFX++48aDu/7khar80ka4oU8jOD+gTnyT44l6ODztGOlSTo23 209P9WzL1meteUEBHSLQQhXbJaTBZ+lJtD0m9qBO+MUmZRh7xv5z5FTl/u4/AFUs9k KAWsjX6ujPr/Q== Received: from localhost (qs51p00im-dlb-asmtp-mailmevip.me.com [17.57.155.28]) by qs51p00im-qukt01080302.me.com (Postfix) with ESMTPSA id 932B811403EF; Thu, 27 Jul 2023 21:52:58 +0000 (UTC) From: Alain Volmat To: Patrice Chotard , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Alain Volmat , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 13/14] ARM: dts: sti: add the gpu node for the MALI-400 on stih418.dtsi Date: Thu, 27 Jul 2023 21:51:37 +0000 Message-Id: <20230727215141.53910-14-avolmat@me.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230727215141.53910-1-avolmat@me.com> References: <20230727215141.53910-1-avolmat@me.com> MIME-Version: 1.0 X-Proofpoint-GUID: _dD8OySoFpugRYp-dxMmbch864BM7qHt X-Proofpoint-ORIG-GUID: _dD8OySoFpugRYp-dxMmbch864BM7qHt X-Proofpoint-Virus-Version: =?utf-8?q?vendor=3Dfsecure_engine=3D1=2E1=2E170-?= =?utf-8?q?22c6f66c430a71ce266a39bfe25bc2903e8d5c8f=3A6=2E0=2E425=2C18=2E0?= =?utf-8?q?=2E572=2C17=2E0=2E605=2E474=2E0000000_definitions=3D2022-01-11=5F?= =?utf-8?q?01=3A2022-01-11=5F01=2C2020-02-14=5F11=2C2020-01-23=5F02_signatur?= =?utf-8?q?es=3D0?= X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 malwarescore=0 clxscore=1015 suspectscore=0 mlxscore=0 mlxlogscore=598 adultscore=0 phishscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2307270199 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230727_145300_381703_B928CA84 X-CRM114-Status: GOOD ( 10.07 ) 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 gpu node for the MALI-400 found on stih418 soc. Signed-off-by: Alain Volmat --- arch/arm/boot/dts/st/stih418.dtsi | 34 +++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/arch/arm/boot/dts/st/stih418.dtsi b/arch/arm/boot/dts/st/stih418.dtsi index b41de235fffa..965931da5a3f 100644 --- a/arch/arm/boot/dts/st/stih418.dtsi +++ b/arch/arm/boot/dts/st/stih418.dtsi @@ -268,5 +268,39 @@ vtg_aux: sti-vtg-aux@a800200 { status = "disabled"; }; + + gpu: gpu@9f00000 { + compatible = "arm,mali-400"; + reg = <0x9f00000 0x10000>; + /* LIMA driver needs 2 clocks, use the same for both */ + clocks = <&clk_s_c0_flexgen CLK_ICN_GPU>, + <&clk_s_c0_flexgen CLK_ICN_GPU>; + clock-names = "bus", "core"; + assigned-clocks = <&clk_s_c0_flexgen CLK_ICN_GPU>; + assigned-clock-rates = <400000000>; + resets = <&softreset STIH407_GPU_SOFTRESET>; + interrupts = , + , + , + , + , + , + , + , + , + ; + interrupt-names = "gp", + "gpmmu", + "pp0", + "ppmmu0", + "pp1", + "ppmmu1", + "pp2", + "ppmmu2", + "pp3", + "ppmmu3"; + + status = "disabled"; + }; }; };