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: 127218 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:918b:0:b0:3e4:2afc:c1 with SMTP id s11csp41880vqg; Thu, 27 Jul 2023 15:17:10 -0700 (PDT) X-Google-Smtp-Source: APBJJlGbAUH7Ujyjf/sxdF7uWkHNqH9ESKmT3bY2HcDir01M2UCZllAsNx+YShPR7rfvC9uk0zes X-Received: by 2002:a05:6a20:a127:b0:133:e3e3:dc07 with SMTP id q39-20020a056a20a12700b00133e3e3dc07mr420770pzk.49.1690496229606; Thu, 27 Jul 2023 15:17:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690496229; cv=none; d=google.com; s=arc-20160816; b=Gvss0c+zMWoe2/GpzJS2qKXflz8KxTXA6x3+WqRg0kXD15gOCCwAjspQzCBLlf/DU4 Qs/GX8znBPRAuEEFXdAm+5cs0uy6nCsdl/baUJx4DJewd1wCAl/o2hGcYO9pfbPm/X7m 9EgR3/uXS/OxxlIADfu73WNBDk5a2468EpP4mx/dL25RQTncM9BkVWmC+6ag+whMfbqs cKpRdKNlX8s+M8MNZ9v+Umiv/bNszr8U3IfDht9uuLAQbBjtA4HCa0weYIE16+JBrp3R AcUEpUlm7r/DWYjyDrZVixwoHrSJOAKCHS/vtmPm85WO/25KD24O+1Rkr2YQpG+3g6Wv eOSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=m40TTdzUJgBT59AnP9PsBahkFfWecCyHP3ln170ZB58=; fh=arHEyEuWZlF99VKrh6xxMtrGoUvdlsvpYSYGEdDlimo=; b=wOo6MMM2IhAhJZOPpJAaf8IciQ4500cVXZFrM1YO1oz0BnJ/a3ZkPz3J6AftXlqqFG p8A9s9mjcb9JmlFK8fjTMgkwQKUin+7EEf1G/Q9k7YQS6VA8ps6CsUQ2sdpzNu49GGCh 0j1UH5m7uY1aqPLZRuUUK9V9fIS6KSrOHMRx2P7EdnvAYfjCkkwChJsCPW0LccQDOUh9 4FcPNMQT5Y0GfOXqwD7S9xn04KUvHItFXISV9JAckzNEFpsVcvkDM9xAXe4Bbl2uZfy7 PhHl2wW+8Pc4UJa55rLmNaFl1oU33vwNV0LqFZMglRXumry/3hX9y5a8e1TuCHmQ25e2 eHRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@me.com header.s=1a1hai header.b=GcD7aKhx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=me.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k62-20020a638441000000b0056384f1b5e3si1772511pgd.184.2023.07.27.15.16.56; Thu, 27 Jul 2023 15:17:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@me.com header.s=1a1hai header.b=GcD7aKhx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=me.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232868AbjG0VyB (ORCPT + 99 others); Thu, 27 Jul 2023 17:54:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59894 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232573AbjG0Vxb (ORCPT ); Thu, 27 Jul 2023 17:53:31 -0400 Received: from qs51p00im-qukt01080302.me.com (qs51p00im-qukt01080302.me.com [17.57.155.21]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D290435BC for ; Thu, 27 Jul 2023 14:53:01 -0700 (PDT) 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-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1772613774341403737 X-GMAIL-MSGID: 1772613774341403737 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"; + }; }; };