Received: by 2002:a05:7412:d008:b0:f9:6acb:47ec with SMTP id bd8csp424850rdb; Wed, 20 Dec 2023 00:48:12 -0800 (PST) X-Google-Smtp-Source: AGHT+IF4IisITC/zmSy5RyKSNSWM7H5ygt0/TtSt4fqkanrr9hD0vQBNRdeEp9OyzuPqbaNAiubt X-Received: by 2002:a05:6122:1d0f:b0:4b6:bbf2:e650 with SMTP id gc15-20020a0561221d0f00b004b6bbf2e650mr4175924vkb.12.1703062092138; Wed, 20 Dec 2023 00:48:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703062092; cv=none; d=google.com; s=arc-20160816; b=iBUv8kO1M/h0nWyvT1w3/tan5PF6ppIT6ZFEViEcPWaBKgMp/9WXgf5eZ8S/63J72M qeu6xUmH7mr28dmBq2eW9afDtdxrT4aaDdxvfDwGPcfFidUPx854YlCZvR4DVn5+s+P0 X67mA2uNA907fav4nnFl437Sur/VhqY/U+djBbSaF3c3YNyYmqYnILHfP97AG2I5vQab o2xC2RVq+ntBmBb9v1vc2E+kHUP4TMPcaYq5H7bwMjBkXqz2ApPKxblSF+/wKYtmYeRP EoHWnGtBNDfClHhhBUpCHvK7eWrlOyhnpWPHAr83VeYtxCpH1k9OHc6SPNScyk8fX21H ZyPQ== 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=X9LGAY27xpx1JqeoglsfMbUhxtjjw3HthOQBp9+WDKbl9TLQDD/YAPcqEgu3fiJtY6 lL3LMLHtZpgicUR/+5EGivoXjL2YtkhE4DYf3AzuvMEmAcnWluhOK/mtfkLo7wMcJIuE /wgnHlUFqPANpsG9TTveNzA+RTIDZLIW7TC0/J2nqQfaSMSs28e8U70HYXo3FqxA1P2B m7ijWvCZjkigdNfum5YPSbFMDtYkAeRtc8M92L3L+2gHMO34WIIJsaDLvDQ5rXcRp5TX xVxRSVQ1Q/aDStmauSOcEXomrlj4xC1IgEC4Up0rrnKx/aI/nZozTSBzWSMo+fPubk/J 6srg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=5J8MzLQa; spf=pass (google.com: domain of linux-kernel+bounces-6597-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-6597-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 ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id bx9-20020a05622a090900b004237c5fa00csi28793986qtb.329.2023.12.20.00.48.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 00:48:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-6597-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=5J8MzLQa; spf=pass (google.com: domain of linux-kernel+bounces-6597-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-6597-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id B60C51C2127D for ; Wed, 20 Dec 2023 08:48:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EC1AF1F60A; Wed, 20 Dec 2023 08:47:30 +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="5J8MzLQa" 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 5391C1CAB3; Wed, 20 Dec 2023 08:47:27 +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 3BK6RIS2020454; Wed, 20 Dec 2023 09:46:49 +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=5J 8MzLQaskAPjpHPUjACMentSOKS0dRg+7B3xagfMHCAJ70qk0rFdSA5I35VKvuk4A GkYn6lbMuVVnIkKjfqVHk0MAErad8GZ0ptpv5yXo8hmZ7rgonwvmcjLzhO1UXuVK KmJAlE+HwhAGM9FaBPzHx9n9vZFODyRvutBzVkqH5Cwz5H91Xk4XZD9YfIIJ/oUb DMXgURNIhnu/5QZ4aP8ed/27HCq212hQeKzq7YfiInKTNaRpYn8NKfwgNXezDmyc P/GQI7uBGRTPJpPVx7JPVs8pLBa8pTsf1BpCqUbOX66kc+8428ktqt/WR26Mosc0 uUzb+e1iP/0rARxK/44Q== 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 3v14420a7n-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 20 Dec 2023 09:46:49 +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 B0220100063; Wed, 20 Dec 2023 09:46:48 +0100 (CET) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id A57E820A75C; Wed, 20 Dec 2023 09:46:48 +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 09:46:48 +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 v3 4/5] arm64: dts: st: add video decoder support to stm32mp255 Date: Wed, 20 Dec 2023 09:46:40 +0100 Message-ID: <20231220084641.2076428-5-hugues.fruchet@foss.st.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231220084641.2076428-1-hugues.fruchet@foss.st.com> References: <20231220084641.2076428-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-20_02,2023-12-14_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 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 = ; + clocks = <&ck_icn_p_vdec>; + }; + }; + }; }; -- 2.25.1