Received: by 2002:a05:7412:9c0d:b0:e4:3794:b17d with SMTP id lr13csp2456803rdb; Tue, 10 Oct 2023 02:17:58 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEwXaldZREgfH2XWfmJjeg1yI/2NObXf2m7Qy7h0PmxEAGBZyOxuM+YUQAcp38XZ+wcq+0X X-Received: by 2002:a05:6808:8c2:b0:3a7:b1de:bb70 with SMTP id k2-20020a05680808c200b003a7b1debb70mr17445942oij.6.1696929477766; Tue, 10 Oct 2023 02:17:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696929477; cv=none; d=google.com; s=arc-20160816; b=qCU/hOg3F6PlT7UI4Mezp92EB4L5DubgRWMtBzO3tGy03nowXo9h+Q78N9Dl6SCHYU Sao+aIYoWAqo1udywjgNXO1LLlHx2Gmb5lePWEoF1IEkTzwnTMY6PLOV/KUH3/j+02io fV5Mnz0Rz76Tt85ca/JjWgZswdevD51JtLBtBd+YDJLR4aZDy9AVEAbIzT9TbO3gaHaX JqZcAWJog6FbAtIf2G1mOkKmhPjWPMOJORWBfjqwRMHKerrb/pQi3bsmvH2KCg6axt1K 7RJX6qFEncOx+84kXCDeExLp1PRRj63noMT3v1slc5GDY1d4CsqU5oqFl2rIQ9Mb/Ilw qYiw== 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=T5MiUAV6PT2UEf7VgGIgJamw/ZL7py/BSs4Pfg3naxQ=; fh=ErwLDw9+98Mb4Q3i5RoHr7UOS7Ns3CK5YbB+qheGbUs=; b=qTNlN+xnnECdW1J5ZQnJp7O8vsiqwEOs0yuCBo7NMECpYjB1NZ9E0FapBe2/G78iZU rF7iMHcp/Ot9gCiaa+LaMkVR01FJxb8Sf4uHvuv2pa1HDqKOOCMdxnWeptqzrVJ0cIId 8MiiCiwRPMjebLJ4NNesD2iHwNhLJ+/utfs5CEJmoPxaTtQePXmjvr1x4zm0s/+1i8jv DZfH0svGE1W/4U/BmGSQxqBYU+1/Lt1h0SSkJSUOLJxCHfWdXnHgzWcVkc0C1unhY5PR iMn8F1lcRCG51p1tsFE00vWu5wBthXTBOcI0zb5wo2qdQJanEb0YhZMTrgKOPI1EfsHN KDgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=V4E4iwGT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id z16-20020a656650000000b0057823b96685si11295126pgv.681.2023.10.10.02.17.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Oct 2023 02:17:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=V4E4iwGT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id D40F981393FE; Tue, 10 Oct 2023 02:17:43 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229959AbjJJJR3 (ORCPT + 99 others); Tue, 10 Oct 2023 05:17:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58260 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229585AbjJJJRT (ORCPT ); Tue, 10 Oct 2023 05:17:19 -0400 Received: from mx08-00178001.pphosted.com (mx08-00178001.pphosted.com [91.207.212.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 13206A7; Tue, 10 Oct 2023 02:17:17 -0700 (PDT) Received: from pps.filterd (m0369457.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.22/8.17.1.22) with ESMTP id 39A84k8x027316; Tue, 10 Oct 2023 11:16:50 +0200 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=T5MiUAV6PT2UEf7VgGIgJamw/ZL7py/BSs4Pfg3naxQ=; b=V4 E4iwGTPrtPxEx8EenPPxlMkbaZM6lvnGpZ+U1a8G8WAHeffKB8n+86Hv6Uwn6fIO C1wCfjRFl4ENJZ7Q3EuBNe/j627Oc3H8XclF/WINH+iDDRGqc8jUkTT8CtR/inZK kbRq/OVa+beBN7KtP07pUOrHhoK417gBjBYzYyFRNB9KSvko9Y3wDSQpGmbn268b Sp57088FrVTbKtRE99SKS99YDVA5liiMfNAd8ClyvROPebkq2Gn1VE6XJacwDCo0 pxHjkgugCDApO4RB3/ADv2KJYnOi4bRaIVGXadtXTX69y6CZlMqy2dbhtojNBlwr wvdgoFaUpuLNlsu+DZ5w== 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 3tkj9gs37p-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 10 Oct 2023 11:16:50 +0200 (MEST) Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 2C01210005A; Tue, 10 Oct 2023 11:16:50 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 2015A21BF63; Tue, 10 Oct 2023 11:16:50 +0200 (CEST) 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; Tue, 10 Oct 2023 11:16:49 +0200 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 v2 4/5] arm64: dts: st: add video decoder support to stm32mp255 Date: Tue, 10 Oct 2023 11:16:42 +0200 Message-ID: <20231010091643.3666290-5-hugues.fruchet@foss.st.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231010091643.3666290-1-hugues.fruchet@foss.st.com> References: <20231010091643.3666290-1-hugues.fruchet@foss.st.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.201.20.120] 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.267,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-10-10_04,2023-10-09_01,2023-05-22_02 X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED 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-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 10 Oct 2023 02:17:44 -0700 (PDT) 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 5268a4321841..0ca421ede0ae 100644 --- a/arch/arm64/boot/dts/st/stm32mp251.dtsi +++ b/arch/arm64/boot/dts/st/stm32mp251.dtsi @@ -46,6 +46,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