Message ID | 20231220152732.2138260-5-hugues.fruchet@foss.st.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-7159-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:24d3:b0:fb:cd0c:d3e with SMTP id r19csp2725727dyi; Wed, 20 Dec 2023 07:37:51 -0800 (PST) X-Google-Smtp-Source: AGHT+IHt90dWe+VcZbAsVQAxId5l9nCQ8hn4+/89+EbbXK6zAcXrpov67HkBnkQ6RSI5mXNOP8Kk X-Received: by 2002:a17:903:2303:b0:1d3:6605:db02 with SMTP id d3-20020a170903230300b001d36605db02mr13543922plh.21.1703086671331; Wed, 20 Dec 2023 07:37:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703086671; cv=none; d=google.com; s=arc-20160816; b=gignB960YExmugVHFclLlArVV6LtcpEGxjj0vVXEaYIGsi/CrS+ACuQmvuHRD5FY0o XCyE1BoetXA0YJwJVa40zBJdU4JRj/nCEw/q/UvXsGwUTi5Jz5QgIaZS41pbXhQ1i7sw GSt4ddV7bFyzzVbVTUcHhko5A92Tah+SagQDhhBHnd+EidUH8h/zVBzbGoLVo8YYA31l kRpGt2WLFjHj5rTxk42Q8VL0esg5kYr1oWU5htTiVfjngboyadYjSlysLovgxatXjK8p pXheybiD84+aeItKrwsqnOvCVIIPXoudBbkNZlM9IOV0J8jcOm1iUpA+mdYj5rCKGknV af9A== 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=iSjyXXBlLU8CmpUXVSZCKnI2Y7L6CFxxoTsOMTlPK98=; fh=ErwLDw9+98Mb4Q3i5RoHr7UOS7Ns3CK5YbB+qheGbUs=; b=WbXqtZQlVOfkP/mlNTr1z2KqnH7lOnrNBVuaMoPNY3EEe/7zhZ53AcztZ/RX/eld1G a0+oAortINSf2grmydg/pW43eysVw4HxdwL/ASNlOw3MvOxMBzkxtXicTRwTZZ4hD7Yp qetZDe7Ai5pTQc/cIbhoi8GwE9Xi9Y9sSbdnF/zZ8PbKUXKoHeYZ8LTMgzuw4HEhkLWN JnDqFn7e7bVdGv8iIKVXHCbE8/cSbya1IIonuzj0dRlScgczdMckI2pFmDLxPvAd7nD3 +qHVsuLE/uh6EGP+HvxGcrYy1I3KPWngSoMlR3I1n6kPLFYUEjRdbHtA3lSdHjQUEYSI v6Ug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=KhtbhWjO; spf=pass (google.com: domain of linux-kernel+bounces-7159-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7159-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id j5-20020a170903024500b001d344ae7ac3si14640402plh.533.2023.12.20.07.37.50 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 07:37:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-7159-ouuuleilei=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=KhtbhWjO; spf=pass (google.com: domain of linux-kernel+bounces-7159-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7159-ouuuleilei=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 34FF2B21239 for <ouuuleilei@gmail.com>; Wed, 20 Dec 2023 15:29:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9B84547774; Wed, 20 Dec 2023 15:27:58 +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="KhtbhWjO" 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 7625E40BF6; Wed, 20 Dec 2023 15:27:54 +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 (m0288072.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.22/8.17.1.22) with ESMTP id 3BKA1oHs026362; Wed, 20 Dec 2023 16:27:38 +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=iSjyXXBlLU8CmpUXVSZCKnI2Y7L6CFxxoTsOMTlPK98=; b=Kh tbhWjOf5LxMDL1WJLS6C/KBUirveBb7F/SbLsuGQwDzoO4gAcOfUIts4cWjzWjZx u7Dcpk8spLwnZna+8WcwN9ymmCrpYs5a6Pv3KtguYn+JD3yeLGWb66hv9ygTS2zr c15Rc4JkP1RxH6fGu+pOvL7JqsHxP/xffuz9myWpHSf1uo0oGVHeXYXYS8jXDg0o RqGbf1bxJZOcaqpEw6ibUfTVHTgV2PLR/V2w0Hd4jXvx135epz+WlUOPkc0wRlg+ vn+JzPplBC0iprCy6AM+vhCxueqYr6QcCNU7DyGy95+MsUaT/nh7R9iEzxruGfUZ 0DDtGg59vhoHqk5e3BcA== 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 3v126m2ppv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 20 Dec 2023 16:27:38 +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 DFE65100057; Wed, 20 Dec 2023 16:27:37 +0100 (CET) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id D449921ED29; Wed, 20 Dec 2023 16:27:37 +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, 20 Dec 2023 16:27:37 +0100 From: Hugues Fruchet <hugues.fruchet@foss.st.com> To: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>, Philipp Zabel <p.zabel@pengutronix.de>, Andrzej Pietrasiewicz <andrzej.p@collabora.com>, Nicolas Dufresne <nicolas.dufresne@collabora.com>, Sakari Ailus <sakari.ailus@linux.intel.com>, Benjamin Gaignard <benjamin.gaignard@collabora.com>, Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>, Daniel Almeida <daniel.almeida@collabora.com>, Benjamin Mugnier <benjamin.mugnier@foss.st.com>, Heiko Stuebner <heiko@sntech.de>, Mauro Carvalho Chehab <mchehab@kernel.org>, Hans Verkuil <hverkuil@xs4all.nl>, <linux-media@vger.kernel.org>, Maxime Coquelin <mcoquelin.stm32@gmail.com>, Alexandre Torgue <alexandre.torgue@foss.st.com>, <linux-stm32@st-md-mailman.stormreply.com>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, <devicetree@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org>, <linux-kernel@vger.kernel.org>, <linux-rockchip@lists.infradead.org> CC: Hugues Fruchet <hugues.fruchet@foss.st.com>, Marco Felsch <m.felsch@pengutronix.de>, Adam Ford <aford173@gmail.com> Subject: [PATCH v4 4/5] arm64: dts: st: add video decoder support to stm32mp255 Date: Wed, 20 Dec 2023 16:27:31 +0100 Message-ID: <20231220152732.2138260-5-hugues.fruchet@foss.st.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231220152732.2138260-1-hugues.fruchet@foss.st.com> References: <20231220152732.2138260-1-hugues.fruchet@foss.st.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> 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-20_09,2023-12-20_01,2023-05-22_02 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785815809116513636 X-GMAIL-MSGID: 1785815809116513636 |
Series |
Add support for video hardware codec of STMicroelectronics STM32 SoC series
|
|
Commit Message
Hugues Fruchet
Dec. 20, 2023, 3:27 p.m. UTC
Add VDEC hardware video decoder support to STM32MP255.
Signed-off-by: Hugues Fruchet <hugues.fruchet@foss.st.com>
---
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 96859d098ef8..8fc7e9199499 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 = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&ck_icn_p_vdec>; + }; + }; + }; };