Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp8738rdb; Thu, 21 Dec 2023 00:49:53 -0800 (PST) X-Google-Smtp-Source: AGHT+IHbkDdKicq/WkLWjF80Ynr0eRIiSiPlr4mywQqhjn4Mx7/5z1qeC7RzB1GoWMnMRzIs+qkG X-Received: by 2002:a05:6402:2227:b0:54c:d8f6:1e16 with SMTP id cr7-20020a056402222700b0054cd8f61e16mr5691847edb.44.1703148593510; Thu, 21 Dec 2023 00:49:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703148593; cv=none; d=google.com; s=arc-20160816; b=rZpwnLCPdEQgoqIiXFAjZaNoyTiq4cTo/1KH7AGxjI4UUlW4zpcSlm8sIvd/z4KfnO ZalPeE8rkz627eb23BqAHKpoZ5sTaGtb8fgXlmRbWObPc8joOkNT4PdyoPVAvu/wRAjZ mbNDQxSyU1xejp8dNOc4il4iBlj/Wbj3nYqHo8AI2oipqm0wdfHcaEJgPNwaASTo6Vv6 f5P/Df/uYAKB4oDOF4VD0uPf9bmh4eR49OctomBWuDCTdNyB3R0WMqTZZcr0P8gqwqnq 8ajKyfVXomCQG8Da37D5601AHSd/P7Dp2eiIvSMSqaN80XiK/I1leb3e9c6s99CUNTIQ O2Jg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=gOTJOkgkUXjyDgxkghIjHED6KsoYJ6xYXo9usGGB+Xk=; fh=ErwLDw9+98Mb4Q3i5RoHr7UOS7Ns3CK5YbB+qheGbUs=; b=ye6elvil/R7AyC7s1u7Xotm38fBqPu2sagpKS8eDyH7NkC9jjRHXZdLne6u87Rzhza lfv7fs2U/mF0VNsDlcAnHV8HgPZLBqNCpD446FE9wvcQJ0pHSVG37Vr3DxkDSCmsPBZ4 Km/3yMoBgEueHqEz7BobA+XG65dlnUuT+iD8p6jKcsqFIeBFQsyd6ybmOiewIomWmWIo fo/+tEZdU28/0S5YVeHN1cvEcrDED0Kf2a+8LavO3mcA/I0zib7k7H/fRL7FZBfbYGPZ rXQrUuypY/q9d2gwEwHn2MiepXGMKdejR8Y6AiMETx0q+fX+kGsH5gDJXKMv2f5kwxPL 1TXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=S3N7+5JW; spf=pass (google.com: domain of linux-kernel+bounces-8017-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-8017-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id f3-20020a50d543000000b0054b3cc9e676si657934edj.111.2023.12.21.00.49.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Dec 2023 00:49:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-8017-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=S3N7+5JW; spf=pass (google.com: domain of linux-kernel+bounces-8017-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-8017-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 46B9A1F23B3A for ; Thu, 21 Dec 2023 08:49:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3C0AF208A1; Thu, 21 Dec 2023 08:48:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com header.b="S3N7+5JW" X-Original-To: linux-kernel@vger.kernel.org Received: from mx07-00178001.pphosted.com (mx07-00178001.pphosted.com [185.132.182.106]) (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 EDA441A712; Thu, 21 Dec 2023 08:48:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=foss.st.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=foss.st.com Received: from pps.filterd (m0241204.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.22/8.17.1.22) with ESMTP id 3BL25tNR020437; Thu, 21 Dec 2023 09:48:31 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s= selector1; bh=gOTJOkgkUXjyDgxkghIjHED6KsoYJ6xYXo9usGGB+Xk=; b=S3 N7+5JWbaYQu3rl+QBofEMvl8jgQepQSlS8Fd4YH20PDU3hLf82c88ijeMjAJc+q/ /Gx1qzv0MDmwkdVDIryHvd6wXS5Y7QwHAAKkWe27bcYf8PBrzzbitTW38Lg8eaqX c2ZDil6Vl2W7s3Fx9KbslGYPf2SC04CMw9/KHr+SVypBVFmNK53ZgBvkUfByj2HD Z7e96lWKIkjKV7LW8VIbc+p5GfOjsYXzvql5EDJQxIVgHQhGXjOpLWvJiuZGOMYo a/SToCJFt0ICXR0ij/a56GkYHs5awe6shdCY4s79VE4dGLAin97gByb1///sAeXc aJ66vbk8EICURNCTbL4g== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3v14426ap7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 21 Dec 2023 09:48:30 +0100 (CET) Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id DFDE7100053; Thu, 21 Dec 2023 09:48:29 +0100 (CET) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id D789622A6E9; Thu, 21 Dec 2023 09:48:29 +0100 (CET) Received: from localhost (10.201.20.120) by SHFDAG1NODE1.st.com (10.75.129.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Thu, 21 Dec 2023 09:48:29 +0100 From: Hugues Fruchet To: Ezequiel Garcia , Philipp Zabel , Andrzej Pietrasiewicz , Nicolas Dufresne , Sakari Ailus , Benjamin Gaignard , Laurent Pinchart , Daniel Almeida , Benjamin Mugnier , Heiko Stuebner , Mauro Carvalho Chehab , Hans Verkuil , , Maxime Coquelin , Alexandre Torgue , , Rob Herring , Krzysztof Kozlowski , Conor Dooley , , , , CC: Hugues Fruchet , Marco Felsch , Adam Ford Subject: [PATCH v5 5/5] arm64: dts: st: add video encoder support to stm32mp255 Date: Thu, 21 Dec 2023 09:47:23 +0100 Message-ID: <20231221084723.2152034-6-hugues.fruchet@foss.st.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231221084723.2152034-1-hugues.fruchet@foss.st.com> References: <20231221084723.2152034-1-hugues.fruchet@foss.st.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: EQNCAS1NODE3.st.com (10.75.129.80) To SHFDAG1NODE1.st.com (10.75.129.69) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-21_04,2023-12-20_01,2023-05-22_02 Add VENC hardware video encoder support to STM32MP255. Signed-off-by: Hugues Fruchet --- arch/arm64/boot/dts/st/stm32mp251.dtsi | 6 ++++++ arch/arm64/boot/dts/st/stm32mp255.dtsi | 7 +++++++ 2 files changed, 13 insertions(+) diff --git a/arch/arm64/boot/dts/st/stm32mp251.dtsi b/arch/arm64/boot/dts/st/stm32mp251.dtsi index 8fc7e9199499..5dd4f3580a60 100644 --- a/arch/arm64/boot/dts/st/stm32mp251.dtsi +++ b/arch/arm64/boot/dts/st/stm32mp251.dtsi @@ -58,6 +58,12 @@ ck_icn_p_vdec: ck-icn-p-vdec { compatible = "fixed-clock"; clock-frequency = <200000000>; }; + + ck_icn_p_venc: ck-icn-p-venc { + #clock-cells = <0>; + compatible = "fixed-clock"; + clock-frequency = <200000000>; + }; }; firmware { diff --git a/arch/arm64/boot/dts/st/stm32mp255.dtsi b/arch/arm64/boot/dts/st/stm32mp255.dtsi index aea5096dac3c..17f197c5b22b 100644 --- a/arch/arm64/boot/dts/st/stm32mp255.dtsi +++ b/arch/arm64/boot/dts/st/stm32mp255.dtsi @@ -14,6 +14,13 @@ vdec: vdec@480d0000 { interrupts = ; clocks = <&ck_icn_p_vdec>; }; + + venc: venc@480e0000 { + compatible = "st,stm32mp25-venc"; + reg = <0x480e0000 0x800>; + interrupts = ; + clocks = <&ck_icn_ls_mcu>; + }; }; }; }; -- 2.25.1