From patchwork Wed Jan 31 21:26:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brandon Brnich X-Patchwork-Id: 194959 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:693c:2685:b0:106:209c:c626 with SMTP id mn5csp35418dyc; Wed, 31 Jan 2024 13:30:05 -0800 (PST) X-Google-Smtp-Source: AGHT+IES1hrvTZJx8HN8k3/HWkZEmuK7vSm4IZYKPmB2nSOh0iLLVOMrhTDMO8vFTvqVT9SEP+SU X-Received: by 2002:a05:6402:290a:b0:55e:c6e3:5e24 with SMTP id ee10-20020a056402290a00b0055ec6e35e24mr1832778edb.36.1706736605510; Wed, 31 Jan 2024 13:30:05 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706736605; cv=pass; d=google.com; s=arc-20160816; b=PF3AcpU5pB2ah/2druacP4Yv63bhj+txv6ziPJACjSr/v7fCbhUyDTUD1C4XIHd8F+ mfYfXL9y8vE1PySHe5s18bbb8Kl/y4kH9xhl6LrUzJCM+jlE3uMWnTWhTz/hUhB+1oCG 9W5u8E4aCuKccxG1JqAj/QOvTkiZ3MECrix82chbny6AqzAaN6IqR/bGcd8DHTPHPSJz EqBpAQ5iwv3IQ87DVwh+RYAqTSRq58WsQElW/YZp4wT0m+ptwxGJjRZnbQg4jnYhBgRg YqTohj6+2Qo1Hld0lVzrRRRiHxmFzn7eE1D8p1/Vjvm5njaIBterDhWS7PmA1E83SfQ5 uNzA== ARC-Message-Signature: i=2; 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=a+CrFxA52My7KPBlxg7kYJKUOgXW8bGCoxdEVMO/YQE=; fh=iBPaWTkuhpV0x2S8iptiK76nuRJtjhWuVuK9eJxWRU0=; b=YBjGn4RXrzSIExo64Y3VZ6rHfS655i2zbzKxAAYXexn8G2k3i0BAYxuhFpGqMWRp8i BMq3Jpa5ynLoVmWnh4gwVRmkl46tKTEdNgmRsjCd+AUHPPeHeQV/mNWwrNO3FWRFHgje tl5wMgPJDhkRFyiqnoOII+zrMbPBtvjdeLAq6je2u5rRkw4Qr7XMdqFNpfZ0iQqGaePd PSGQgjdPMh3XWEX/hRrmXOSFK29BPR95Wu9EoegAyXZ5T/L5Bh/Nh5RjtB4fkfGZnSun O9vDkqYjuevmBQds4yCEsFDyEuHTnbfX17bdzuqqdS/HrnumsGVFAI+suvpFWJL+YTnY cEFQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=okVkBh0N; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-47166-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-47166-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com X-Forwarded-Encrypted: i=1; AJvYcCXpF30UYIH54nONpb0sxqE9KYZ/QFYwHFwR3nOuPqFryasmkBIG73A7ELVgu96Ro6plCjgF5TYdYdrqq5dp1Tz0oR6BZg== Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id cs5-20020a0564020c4500b0055c63c8dcd5si6123924edb.504.2024.01.31.13.30.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 13:30:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-47166-ouuuleilei=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=@ti.com header.s=ti-com-17Q1 header.b=okVkBh0N; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-47166-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-47166-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.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 2412B1F26C00 for ; Wed, 31 Jan 2024 21:30:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BB24C39FCE; Wed, 31 Jan 2024 21:27:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="okVkBh0N" Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) (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 5297B39AE6; Wed, 31 Jan 2024 21:27:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.19.141 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706736469; cv=none; b=JKVSkiBYzV869BR7EYcdIpy5qjp5aHwTXGe5/PB6JxuV8SBfT2eKw15ajcZzvjNMiaPaix8wYfsLwgDgXV93x8UnuHf5F/sjyiSDUjL9OEEMoA5xvTycy6Hz7it715dMHlmlgfrts4UzgSbAJwkknbaNSyFnXSGTFKcmJLsuQqQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706736469; c=relaxed/simple; bh=b34DzFJ4AZO2g8PMxqDg2FDrKqMy46Tr7YLgYwWX3+4=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=BUBij3/qSAoFYKV2IFb66UhTIm+pTJIYpuaXf+bTFZcHBMd1NHNd87lrqD6+auNJHjmPDPA7AtqB+sHIiaKy250zjj/TGRwChkdVwF/XB5/PaCqN49HukoLklk8QoXeacI+sHLDDgnFd9hftaQQMVn8vk/idedrp/SC2qcVFRA0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=okVkBh0N; arc=none smtp.client-ip=198.47.19.141 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 40VLR3bT119725; Wed, 31 Jan 2024 15:27:03 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1706736423; bh=a+CrFxA52My7KPBlxg7kYJKUOgXW8bGCoxdEVMO/YQE=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=okVkBh0N8h3myU7puqYNE9wLzvYaYkBq/OCni5HyQmEF2Hv39mqJUSmO9HdndDMIY yYFOBUcbeECQYFg+I+0KCy03rKYFMLetZPn8ybt6EboeuVh+WBrYpqByOcWKbinQoE c4tf9OThMVpUfyqaJqtC8CONcpNX3qgSiwprbTDY= Received: from DLEE114.ent.ti.com (dlee114.ent.ti.com [157.170.170.25]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 40VLR337041062 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 31 Jan 2024 15:27:03 -0600 Received: from DLEE106.ent.ti.com (157.170.170.36) by DLEE114.ent.ti.com (157.170.170.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Wed, 31 Jan 2024 15:27:03 -0600 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DLEE106.ent.ti.com (157.170.170.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Wed, 31 Jan 2024 15:27:03 -0600 Received: from udba0500997.dhcp.ti.com (udba0500997.dhcp.ti.com [128.247.81.249]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 40VLQfKS028966; Wed, 31 Jan 2024 15:27:02 -0600 From: Brandon Brnich To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Catalin Marinas , Will Deacon , Bjorn Andersson , Geert Uytterhoeven , Arnd Bergmann , Konrad Dybcio , Neil Armstrong , =?utf-8?q?N=C3=ADcolas_F_=2E_R_?= =?utf-8?q?=2E_A_=2E_Prado?= , Marek Szyprowski , , , , Darren Etheridge CC: Brandon Brnich Subject: [PATCH v3 3/6] arm64: dts: ti: k3-j721s2-main: Add Wave5 Video Encoder/Decoder Node Date: Wed, 31 Jan 2024 15:26:22 -0600 Message-ID: <20240131212625.1862775-4-b-brnich@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240131212625.1862775-1-b-brnich@ti.com> References: <20240131212625.1862775-1-b-brnich@ti.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789643042954210057 X-GMAIL-MSGID: 1789643042954210057 From: Darren Etheridge Add the Chips and Media wave521cl video decoder/encoder node on J721S2. Signed-off-by: Darren Etheridge Signed-off-by: Brandon Brnich --- arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts | 4 ++++ arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi | 10 ++++++++++ 2 files changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts b/arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts index c6b85bbf9a17..0b1bcb4b5b57 100644 --- a/arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts +++ b/arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts @@ -502,3 +502,7 @@ &main_mcan5 { pinctrl-0 = <&main_mcan5_pins_default>; phys = <&transceiver4>; }; + +&vpu { + status = "okay"; +}; diff --git a/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi b/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi index ea7f2b2ab165..5b4cd3dc3b60 100644 --- a/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi @@ -716,6 +716,16 @@ main_i2c6: i2c@2060000 { status = "disabled"; }; + vpu: video-codec@4210000 { + compatible = "ti,j721s2-wave521c", "cnm,wave521c"; + reg = <0x00 0x4210000 0x00 0x10000>; + interrupts = ; + clocks = <&k3_clks 179 2>; + clock-names = "vcodec"; + power-domains = <&k3_pds 179 TI_SCI_PD_EXCLUSIVE>; + status = "disabled"; + }; + main_sdhci0: mmc@4f80000 { compatible = "ti,j721e-sdhci-8bit"; reg = <0x00 0x04f80000 0x00 0x1000>,