Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp415440rdb; Thu, 1 Feb 2024 12:09:29 -0800 (PST) X-Google-Smtp-Source: AGHT+IHOmm1YIjGaeDkflVyC7XZLM+i0+XP8wReM5SnoS8rnET9VRepBIkygcR0Jdj9RDiMeOcYm X-Received: by 2002:a05:6402:35c1:b0:55f:a7d6:fd6a with SMTP id z1-20020a05640235c100b0055fa7d6fd6amr3241605edc.5.1706818169651; Thu, 01 Feb 2024 12:09:29 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706818169; cv=pass; d=google.com; s=arc-20160816; b=CQ8OIR2e5gPRBGkWiVlwp1BETNHwDe3w17vxgG4i32x5G/rfy48HJ3Vg60TZVa6UGN 2hKk7rYMRBZEsfx7wqSDgoF1r2+twOc1eEFG30T3tStzwH5K9mOK/gHdwwunE7unrkyJ OO80rgPrm3gRVz7lBN9ZwEeYecv/DWyUDDFM+bsQ8souSu/tvn2FLIc8AiRd8PgObBUL sck8WSUFom4vxCXGszqt5coUX5f1tdALfWp9HVg9S7YcVGh6mwNDEoJvph79tzEesOte Rvnc1dZDyhbTrKax+5/zbIzRmiD6EwrE0KdK2YBEePUVlHZ/rzhX4b19kf3ZjZ9kzq79 Fp5Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=vq6l9bOA+9EPk9QsUKSbSwGB/jfjZrse3PWQvl2f88s=; fh=7vqudqHcUhGRIUQpMUxzK9yrRH8afgd72bu/Tp6XR0s=; b=qk6cQW2YMogfD1qJrZVfnqdTeXXNoe7TxhlqSGTXZcQ0FrHG9F3/ILYaT5w85ZswPD XtDMlwTiDgrWRpGh1peXBj2hJCMyMoPb8iWHRf9X7ns9gVMISy/uZQ5ot2KTAFcL0fNZ pqJq9gnqc4nSIyQH24TCbzyvJU3J7/ObPhk7WMiEK9wiW+8BPB9aK2AYVaRqAQo3F4Z1 z/N2Yfnh9VBIDgxQZs0Js7LWu/kic/jS0aVGfIn2fOtgvapz6LJYrI8lfveBDQ43+PF0 GA8y+pv1Zb6SXuoTQiIqsCQHradhhN780GlvFO+UO0CZ2UzwOLvHXPf6Z2ZmMRY6Mo+S HUZw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=ilFj2PNV; 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-48804-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48804-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com X-Forwarded-Encrypted: i=1; AJvYcCVF19i6EMKyTG6jlHxI91BgOXf+YFUAA2jHlYMC5rNvbDwfn3t/lnWiH+Qyvq6JSVF2AdboufLGfqpU/BZIHdIc7wUJF/asOWjYES9N2w== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id v29-20020a50a45d000000b0055efaddbf06si116114edb.492.2024.02.01.12.09.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 12:09:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-48804-linux.lists.archive=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=ilFj2PNV; 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-48804-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48804-linux.lists.archive=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 276A51F22F98 for ; Thu, 1 Feb 2024 20:09:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3D9BC85639; Thu, 1 Feb 2024 20:09:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="ilFj2PNV" Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) (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 510808527E; Thu, 1 Feb 2024 20:09:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.23.249 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706818159; cv=none; b=VQDIo4JjE9wMHuT6jnM3orpPI5GlDJjlnqS2N8R4hYtz16D1z7y06g0DYLyuzbtY8OB1MzIrsT3c5a/G6hM/XFKrUIIi6ZPxz0OwVmaFi/RiJ6Db5NgLANVZL13Bmy0AvaNaExbQ4ainbDXkAQN+gNU0PP8u2tLRo7QVd2uCqls= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706818159; c=relaxed/simple; bh=EW6zO50jNE8LEi7zqDDeFfEa1UehgXfcEViL8fAmN/Q=; h=Message-ID:Date:MIME-Version:Subject:To:References:From: In-Reply-To:Content-Type; b=Qiuj5G8Odi6XmIEkGWDByse5n3dkEQZKSG1ihgyKHCcg4ou9wZEEm7gaU2hMPGmXc/FkJdv1ooSNOrSqaqFmOb2hnOvfzPwCcBOQaKPxndV0LDudMzZJyf5C9a/jz/rx199etiA4Sf0xkJTQ+/UCECzMybgxFLT5fWvoHk16f04= 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=ilFj2PNV; arc=none smtp.client-ip=198.47.23.249 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 fllv0034.itg.ti.com ([10.64.40.246]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 411K8ti0025389; Thu, 1 Feb 2024 14:08:55 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1706818135; bh=vq6l9bOA+9EPk9QsUKSbSwGB/jfjZrse3PWQvl2f88s=; h=Date:Subject:To:References:From:In-Reply-To; b=ilFj2PNViSj3oGI7aFHI9l5HhTT8dv99TtnXaHP4OczwHHfgcQMrBgAPuOlwAeAka MBnpNgENPS+T3+Vms4Axp7YFP29OnsplmaAmNztNlVrDbDrG8iSkgme0km6uhJA8js koMcXWeCZ9zzlJd3NoAHUhp3F3VRgSUyii+33oAQ= Received: from DLEE114.ent.ti.com (dlee114.ent.ti.com [157.170.170.25]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 411K8tdI128262 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 1 Feb 2024 14:08:55 -0600 Received: from DLEE100.ent.ti.com (157.170.170.30) 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; Thu, 1 Feb 2024 14:08:54 -0600 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DLEE100.ent.ti.com (157.170.170.30) 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; Thu, 1 Feb 2024 14:08:54 -0600 Received: from [10.249.42.149] ([10.249.42.149]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 411K8rgh092262; Thu, 1 Feb 2024 14:08:53 -0600 Message-ID: <799640ba-3b7f-474b-8d70-64ed013e0755@ti.com> Date: Thu, 1 Feb 2024 14:08:53 -0600 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 1/6] arm64: dts: ti: k3-j784s4: Add Wave5 Video Encoder/Decoder Node Content-Language: en-US To: "Brnich, Brandon" , "Menon, Nishanth" , "Raghavendra, Vignesh" , 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_=2E_A_=2E_Prado?= , Marek Szyprowski , "linux-arm-kernel@lists.infradead.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "Etheridge, Darren" References: <20240131212625.1862775-1-b-brnich@ti.com> <20240131212625.1862775-2-b-brnich@ti.com> From: Andrew Davis In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 On 2/1/24 1:13 PM, Brnich, Brandon wrote: > Hi Andrew, > >> -----Original Message----- >> From: Davis, Andrew >> Sent: Thursday, February 1, 2024 12:35 PM >> To: Brnich, Brandon ; Menon, Nishanth ; >> Raghavendra, Vignesh ; Tero Kristo ; >> Rob Herring ; Krzysztof Kozlowski >> ; Conor Dooley ; >> Catalin Marinas ; Will Deacon >> ; Bjorn Andersson ; Geert >> Uytterhoeven ; Arnd Bergmann >> ; Konrad Dybcio ; Neil >> Armstrong ; NĂ­colas F . R . A . Prado >> ; Marek Szyprowski >> ; linux-arm-kernel@lists.infradead.org; >> devicetree@vger.kernel.org; linux-kernel@vger.kernel.org; Etheridge, Darren >> >> Subject: Re: [PATCH v3 1/6] arm64: dts: ti: k3-j784s4: Add Wave5 Video >> Encoder/Decoder Node >> >> On 1/31/24 3:26 PM, Brandon Brnich wrote: >>> This patch adds support for the Wave521cl on the J784S4-evm. >>> >>> Signed-off-by: Brandon Brnich >>> --- >>> arch/arm64/boot/dts/ti/k3-j784s4-evm.dts | 8 ++++++++ >>> arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi | 20 ++++++++++++++++++++ >>> arch/arm64/boot/dts/ti/k3-j784s4.dtsi | 2 ++ >>> 3 files changed, 30 insertions(+) >>> >>> diff --git a/arch/arm64/boot/dts/ti/k3-j784s4-evm.dts >>> b/arch/arm64/boot/dts/ti/k3-j784s4-evm.dts >>> index f34b92acc56d..7d37c11b4df4 100644 >>> --- a/arch/arm64/boot/dts/ti/k3-j784s4-evm.dts >>> +++ b/arch/arm64/boot/dts/ti/k3-j784s4-evm.dts >>> @@ -784,6 +784,14 @@ &main_gpio0 { >>> status = "okay"; >>> }; >>> >>> +&vpu0 { >>> + status = "okay"; >>> +}; >>> + >>> +&vpu1 { >>> + status = "okay"; >>> +}; >>> + >>> &mcu_cpsw { >>> status = "okay"; >>> pinctrl-names = "default"; >>> diff --git a/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi >>> b/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi >>> index f2b720ed1e4f..8b2623ac8160 100644 >>> --- a/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi >>> +++ b/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi >>> @@ -662,6 +662,26 @@ main_i2c6: i2c@2060000 { >>> status = "disabled"; >>> }; >>> >>> + vpu0: video-codec@4210000 { >>> + compatible = "ti,j721s2-wave521c", "cnm,wave521c"; >>> + reg = <0x00 0x4210000 0x00 0x10000>; >>> + interrupts = ; >>> + clocks = <&k3_clks 241 2>; >>> + clock-names = "vcodec"; >>> + power-domains = <&k3_pds 241 TI_SCI_PD_EXCLUSIVE>; >>> + status = "disabled"; >> >> Why are these default disabled? I don't see anything missing that would >> need to be added at the board level. You disable them just to re-enable them >> in the next patch. Leave these default enabled. > > I thought that disabled by default was the standard for node in dtsi files, where > they get specifically enabled in the particular dts file for the SoC. > Only disabled if there is missing information needed for the node to function that can only be added at the board level, e.g. pinmux usually. > In V4 I will remove the disabled by default. Should this apply to all platforms in > the series? Yes Andrew > >>> + }; >>> + >>> + vpu1: video-codec@4220000 { >>> + compatible = "ti,j721s2-wave521c", "cnm,wave521c"; >>> + reg = <0x00 0x4220000 0x00 0x10000>; >>> + interrupts = ; >>> + clocks = <&k3_clks 242 2>; >>> + clock-names = "vcodec"; >>> + power-domains = <&k3_pds 242 TI_SCI_PD_EXCLUSIVE>; >>> + status = "disabled"; >>> + }; >>> + >>> main_sdhci0: mmc@4f80000 { >>> compatible = "ti,j721e-sdhci-8bit"; >>> reg = <0x00 0x04f80000 0x00 0x1000>, diff --git >>> a/arch/arm64/boot/dts/ti/k3-j784s4.dtsi >>> b/arch/arm64/boot/dts/ti/k3-j784s4.dtsi >>> index 4398c3a463e1..93bb0cba1b48 100644 >>> --- a/arch/arm64/boot/dts/ti/k3-j784s4.dtsi >>> +++ b/arch/arm64/boot/dts/ti/k3-j784s4.dtsi >>> @@ -247,6 +247,8 @@ cbass_main: bus@100000 { >>> <0x00 0x30000000 0x00 0x30000000 0x00 >> 0x0c400000>, /* MAIN NAVSS */ >>> <0x41 0x00000000 0x41 0x00000000 0x01 >> 0x00000000>, /* PCIe1 DAT1 */ >>> <0x4e 0x20000000 0x4e 0x20000000 0x00 >> 0x00080000>, /* GPU */ >>> + <0x00 0x04210000 0x00 0x04210000 0x00 >> 0x00010000>, /* VPU0 */ >>> + <0x00 0x04220000 0x00 0x04220000 0x00 >> 0x00010000>, /* VPU1 */ >> >> Add these in sorted by memory address order. > > Will do in V4 as well. > >> >> Andrew >> >>> >>> /* MCUSS_WKUP Range */ >>> <0x00 0x28380000 0x00 0x28380000 0x00 >> 0x03880000>, > > Brandon