From nobody Thu Nov 28 02:48:04 2024 Received: from st43p00im-ztbu10073701.me.com (st43p00im-ztbu10073701.me.com [17.58.63.183]) (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 AC44C1482E2 for ; Sun, 6 Oct 2024 20:43:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=17.58.63.183 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728247413; cv=none; b=pAP8RlE/a/C5OXrARR4wQOrlSD/BT23E+vl/vr89je58W6mCWw6Uxc9d5vpIPENVwiC/tpPQ/iNNAOqIWYxwuW5QTV/NyKgqA2CsL21gHEulKSbpQ751cEMeakOze3dCrGC92YAotn72vxpwBXmbfBfHT42zgVJgmiQI+/6Mnls= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728247413; c=relaxed/simple; bh=EI/3UdI8IR/fXqZ1OHE2zTuzdpyENKebHFscrx4Uqmo=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=AnOxl/Q+MxWUw6bTj0M7y0z7s+RBzsHgAH7jjXuNEFRpaAVKR1EHyC/pyg1+gKnSuXGDfmhtbk8ZiM/5kmb23ACcgKEu1KV1jgE9tzARoupjLweU56iUFw/vChQH//aheni/X8XH8BETHxK5vgkUaJGLzcjyc8oKwTaV7dhJgPc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=me.com; spf=pass smtp.mailfrom=me.com; dkim=pass (2048-bit key) header.d=me.com header.i=@me.com header.b=J1tEoALs; arc=none smtp.client-ip=17.58.63.183 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=me.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=me.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=me.com header.i=@me.com header.b="J1tEoALs" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1728247410; bh=xvq7xi7e69Ri9g5ozfmwagjAfSogeiQRw985VAu4la8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To; b=J1tEoALshDlqIHnbuzklg7BNWt/GurAKESHaED9kpND6j1W+u24PcpuTNnsa64C+8 KADL0cFQBiZoFM+ZHMQKNqkn+49M03WPgbfMBxNYt/CLdagT2cAfXw0VevRRtHEK5F moudiHk4nhEti6nR+Y0A8qM8KhBHhhYzgQrmpUqYmgdqP2rJ+5AHfRltz0Z+WwGIhD P/yAEg0uVZQMUdkQgJtKOaTm3IX3MeL2Vt+M/+7O9DCQmT0RpxuuC36YL4XSMU+dYc e9cN9ZSYWWJypikzsg48kKQZvzeYeJCSsLdoo4hN1sqODAN7FasN1cOGBaRWQxd6b5 1fA/Vwy9Wg5dQ== Received: from localhost (st43p00im-dlb-asmtp-mailmevip.me.com [17.42.251.41]) by st43p00im-ztbu10073701.me.com (Postfix) with ESMTPSA id 6D4541C021F; Sun, 6 Oct 2024 20:43:27 +0000 (UTC) From: Alain Volmat Date: Sun, 06 Oct 2024 20:42:50 +0000 Subject: [PATCH v2 2/3] ARM: dts: st: add node for the MALI gpu on stih410.dtsi Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20241006-sti-gpu-v2-2-c6bb408d6903@me.com> References: <20241006-sti-gpu-v2-0-c6bb408d6903@me.com> In-Reply-To: <20241006-sti-gpu-v2-0-c6bb408d6903@me.com> To: David Airlie , Daniel Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Patrice Chotard Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Alain Volmat X-Mailer: b4 0.14.2 X-Proofpoint-GUID: McR6wj_dioSVIM3FiabDJEyMI6kGf5og X-Proofpoint-ORIG-GUID: McR6wj_dioSVIM3FiabDJEyMI6kGf5og X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1051,Hydra:6.0.680,FMLib:17.12.62.30 definitions=2024-10-06_19,2024-10-04_01,2024-09-30_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 mlxscore=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 clxscore=1015 adultscore=0 mlxlogscore=588 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2308100000 definitions=main-2410060149 X-Apple-Remote-Links: v=1;h=KCk=;charset=UTF-8 Add the entry for the GPU (Mali400) on the stih410.dtsi Signed-off-by: Alain Volmat --- arch/arm/boot/dts/st/stih410.dtsi | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/arch/arm/boot/dts/st/stih410.dtsi b/arch/arm/boot/dts/st/stih4= 10.dtsi index a69231854f783b1b9fd685ba2822eb406e0ffdf5..d56343f44fda4e9e1de2e5efc86= e2d984bad14b4 100644 --- a/arch/arm/boot/dts/st/stih410.dtsi +++ b/arch/arm/boot/dts/st/stih410.dtsi @@ -285,5 +285,39 @@ cec@94a087c { resets =3D <&softreset STIH407_LPM_SOFTRESET>; hdmi-phandle =3D <&sti_hdmi>; }; + + gpu: gpu@9f00000 { + compatible =3D "st,stih410-mali", "arm,mali-400"; + reg =3D <0x9f00000 0x10000>; + /* LIMA driver needs 2 clocks, use the same for both */ + clocks =3D <&clk_s_c0_flexgen CLK_ICN_GPU>, + <&clk_s_c0_flexgen CLK_ICN_GPU>; + clock-names =3D "bus", "core"; + assigned-clocks =3D <&clk_s_c0_flexgen CLK_ICN_GPU>; + assigned-clock-rates =3D <400000000>; + resets =3D <&softreset STIH407_GPU_SOFTRESET>; + interrupts =3D , + , + , + , + , + , + , + , + , + ; + interrupt-names =3D "gp", + "gpmmu", + "pp0", + "ppmmu0", + "pp1", + "ppmmu1", + "pp2", + "ppmmu2", + "pp3", + "ppmmu3"; + + status =3D "disabled"; + }; }; }; --=20 2.43.0