Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp893824rdd; Wed, 10 Jan 2024 02:48:37 -0800 (PST) X-Google-Smtp-Source: AGHT+IFPD7+UDRTL7qEeRHDJ0/kW6XM6TLYf+2VRA44p0fmU3Gj/YR3c8JC65fc+tw94EoChQccW X-Received: by 2002:a05:6830:1202:b0:6dd:de6b:1ccd with SMTP id r2-20020a056830120200b006ddde6b1ccdmr407423otp.62.1704883717188; Wed, 10 Jan 2024 02:48:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704883717; cv=none; d=google.com; s=arc-20160816; b=jc0WcVknYRTURhFV4G4cLL19dm8z7woisqlEPrriTC+p/J0viYqb8Nq5wgmKmqxdLU 8vXpbC9S2YrDZxKHc5vdprYmcDjkmt+cYNBQXqRPdW1OV2wdbDMqTRd+aS3ODqUMaWyr KEdS4E/0MX3Z4xxioXjc0gxFT0wJ2mnWQBgWh/HEN0sYNMDssvEp5MsEUEhSz3ywMjjS sjLOPGWzUivcADnKziB872JK34HvZWVqfsfdYYG61pl7aciH631gNlZSMDZ1QvWoklP8 WCgYb/KyoDLMZMSC521HqpFw6gzaec25ZDB75t45A4/NqySCG7q9M00ZHHbDQXDex7Op N37A== 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=RzpMNEvKBGGGTMPiOngvcKf35zE8+NpmtuX2iQNIWo4=; fh=ErwLDw9+98Mb4Q3i5RoHr7UOS7Ns3CK5YbB+qheGbUs=; b=iCVyb6/t+TjlILOk+19mv7+8qT25ky7nd7bdjo2O3j6M+cNGueI/HRNYC0V4ObNWbf m8AT+TMOzvZbL3gVnx6zWIdQBCID4rjIAKHLwc7xsbolC0RvtoDseFX613YcSWn/Djue 3cEFR4dO08q5Qv/kADqp6Yc1JUOrgFnRfDS93yzOBNI+FZUlyb0TBVNy2Ps8x0iIZLpd lBzNLM3V0Z0N8sV3kNuxLdf819F61HnjDoLgGSyoLi8m0uy3WHFwqPJ7hRRMGWAlEx6J oo/fegzahwhp+BqKyE/Fs09nSu7wfqsG6HlEuksdeLwGF9O+FOuPRBu6SU1or9f3S5VI e0BA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=5KvR+K5t; spf=pass (google.com: domain of linux-kernel+bounces-22010-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22010-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 sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id y186-20020a638ac3000000b005cec9314a24si3191376pgd.394.2024.01.10.02.48.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jan 2024 02:48:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-22010-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=5KvR+K5t; spf=pass (google.com: domain of linux-kernel+bounces-22010-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22010-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 7B119B20A89 for ; Wed, 10 Jan 2024 10:48:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A240147A59; Wed, 10 Jan 2024 10:47:48 +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="5KvR+K5t" Received: from mx08-00178001.pphosted.com (mx08-00178001.pphosted.com [91.207.212.93]) (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 3B2F04779D; Wed, 10 Jan 2024 10:47:45 +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 (m0369457.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 40A9ZYnX004069; Wed, 10 Jan 2024 11:47:04 +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=RzpMNEvKBGGGTMPiOngvcKf35zE8+NpmtuX2iQNIWo4=; b=5K vR+K5tEzBimYP1uMuVUax+BLvN2FHxszYZDlzgsbJnVve2JjdKoaE6CF87RsRK/6 DxA+s2Qzaf42q8pAEj/+iGFxeaN+5SY2P9ku8eFyPkewxu8FUNF7btkX7L9h4nxF ZoRXaKx6s/U7gMb3S23DxEH/jdXAeGQy3fxmAU9OtpVW4ijcvQA3TmJ9nKHXxRGe 5hSrFDWp9J8w1VBYTZLgvNX2xMVxolx5AASIdQNUKO1j+py45TTWUeuVfyQ9ywUx NOrRtg9VDqxLFw5dmsUJ9uOQLtU6IWgkdk3shEh+oUu9iiLyLykvwwc3OdPH0DdV qd9e9lIS+TOgWvX+MKwQ== 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 3vfjpnwk0x-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 10 Jan 2024 11:47:04 +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 2C264100049; Wed, 10 Jan 2024 11:47:04 +0100 (CET) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 1FBB826C046; Wed, 10 Jan 2024 11:47:04 +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; Wed, 10 Jan 2024 11:47:03 +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: [RESEND PATCH v6 4/5] arm64: dts: st: add video decoder support to stm32mp255 Date: Wed, 10 Jan 2024 11:46:41 +0100 Message-ID: <20240110104642.532011-5-hugues.fruchet@foss.st.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240110104642.532011-1-hugues.fruchet@foss.st.com> References: <20240110104642.532011-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: SHFCAS1NODE1.st.com (10.75.129.72) 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=2024-01-05_08,2024-01-05_01,2023-05-22_02 Add VDEC hardware video decoder support to STM32MP255. Signed-off-by: Hugues Fruchet --- arch/arm64/boot/dts/st/stm32mp251.dtsi | 6 ++++++ arch/arm64/boot/dts/st/stm32mp255.dtsi | 10 ++++++++++ 2 files changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/st/stm32mp251.dtsi b/arch/arm64/boot/dts/st/stm32mp251.dtsi index 124403f5f1f4..cd6c4f627739 100644 --- a/arch/arm64/boot/dts/st/stm32mp251.dtsi +++ b/arch/arm64/boot/dts/st/stm32mp251.dtsi @@ -52,6 +52,12 @@ ck_icn_ls_mcu: ck-icn-ls-mcu { compatible = "fixed-clock"; clock-frequency = <200000000>; }; + + ck_icn_p_vdec: ck-icn-p-vdec { + #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 e6fa596211f5..aea5096dac3c 100644 --- a/arch/arm64/boot/dts/st/stm32mp255.dtsi +++ b/arch/arm64/boot/dts/st/stm32mp255.dtsi @@ -6,4 +6,14 @@ #include "stm32mp253.dtsi" / { + soc@0 { + rifsc: rifsc-bus@42080000 { + vdec: vdec@480d0000 { + compatible = "st,stm32mp25-vdec"; + reg = <0x480d0000 0x3c8>; + interrupts = ; + clocks = <&ck_icn_p_vdec>; + }; + }; + }; }; -- 2.25.1