Received: by 2002:a05:7208:20d2:b0:82:bbfa:f723 with SMTP id z18csp52796rbz; Tue, 7 May 2024 10:16:01 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU869mCOt719HNG4fVqF6On71PlfkXGKDbi23C2B0ZPi3mlViOMLLbLbo/k3EZCnHpLSgnUNNpz4FoKO6M1esYzio7KoaJJjmDjTpN68A== X-Google-Smtp-Source: AGHT+IGZwkdEyyvZLnK1Z60RQDYoYf/g91fVlXmcCZbCCu1kZDBOCn9sdVxLUe+Q+3DqQTs7Wkii X-Received: by 2002:ae9:e605:0:b0:790:f43b:d88a with SMTP id af79cd13be357-792b27de46cmr31350385a.36.1715102161424; Tue, 07 May 2024 10:16:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715102161; cv=pass; d=google.com; s=arc-20160816; b=wgUi9raoUNRChG+SxFtJoE7JgD73eb5RrxCbyxq/dmpfF055O0Rte68LR6PMWLVDOw pCh/X8f9Z5D+A6LQW9jcuOziuZuvwA+XG6jc67MTU/tq6k9y0aWVRwc+41FAbjbumsKM 0aG3P10D/9H890q2dlJwdo6867tK2gDihXjNZL1z5he4mhwLvK1Q9H8hGBsA0WezDzHr n5LuwcUX49hMKlJC0orIn74ZKah9w0rap53xnCYJKJNyP8Ev44PsofGGiRVNtxm3k1gL HBR8oP/aw+kvJV97Jj1sdTpCRNXC8MV5Tr34nQTegbeL3GjU8RHBOZsSRTG1dE4o9884 cEHw== 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:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=2GIrttvXheSqzZiUQLCww8r4NlXBOs0jYqFU7kAkH8o=; fh=5WZZL3js0UI5ox9ocjSSpD9kBVdwHio61mxvOm/g4Ds=; b=nLKvqbciwJ1wNnFcbGnkCYzhEnOvgDUVycSs9MuMXT8p6+Yw2wq+Yso/1zgHeKihJt BB0WyLTPg7Z87Z64sjLcdVcgyztaoIXdH+LSAtUl05kUuWIewcMu3YQN8F7BBOK9bVuS XL35+CDyg/1CS3276z/TGoxSf9/Un6bVR3eRDB0PiTx7ikWLutYu5TFzm5WWOqGOol0h 8KDS1f2gtdv68RGvz78nCjtnQaxnAsAHuGaXWnN5B2GYv9MOf/0buHb+qbEPe+vftOw8 WiaE4jW0VE7sOz1j6zJxt/HwbnoASsMapHQ9mCDHKqjwHLL/8lKk1DZH1lf4wBV5L0ff S+YA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=J7y4Cghf; 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-171901-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-171901-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id f12-20020a05620a20cc00b007929b6d47b1si4347442qka.172.2024.05.07.10.16.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 May 2024 10:16:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-171901-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=J7y4Cghf; 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-171901-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-171901-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 210281C21E4E for ; Tue, 7 May 2024 17:16:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CA2D315E804; Tue, 7 May 2024 17:15:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="J7y4Cghf" Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) (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 1F613A951; Tue, 7 May 2024 17:15:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.19.142 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715102149; cv=none; b=Q4v2+mtH+jVPvTVJ8S2lTdmRMSNbSzvw4GSi4wZ2K4+X4bZiruHDKIBtpxlH8C6+di+dBDY2V1/TJpDyaQ3cGUiiZzWanSXSbInf+0n0WmCHz+xwWTlI7ycm7VrEHAsaJBZNNV5ppUlRPv5j2wkpWHCNVkY4fDg275Ikv0rT4uM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715102149; c=relaxed/simple; bh=Q/PO5tT0xhQtBGm3Jrv1EVhPRHZt11qBfXbZHXoBJwg=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=Je24K5Nb9YomsjI2XgScOj7oamLI64kWn6Xrg6WGnvadX8oH/NuHE0hOVuBG2rrcCA/K9VBirNiVe+a+7k+nzh/1fY0OOu3XJwkNNAOiKi+2Qpysel/r6MOHFt7CTVJAXhCwdtX8K5JOtxxS/Mlsu/PMsffq/geb4Ia0TtyjEPs= 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=J7y4Cghf; arc=none smtp.client-ip=198.47.19.142 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 lelv0265.itg.ti.com ([10.180.67.224]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 447HFX6A096082; Tue, 7 May 2024 12:15:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1715102133; bh=2GIrttvXheSqzZiUQLCww8r4NlXBOs0jYqFU7kAkH8o=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=J7y4CghfJntoOM36oWcEhs4WChhmSjpYGexzlPflcKWj/cH/XTbkndM6B1dK01E1F uSkQLUPqijPG9IvuC+TQjveYCZi3oXPoy6PSbjB0HJ9nPUahoMivIIjCYCPz5ZcX2J K3UeFjcxzhVnlEF94WDjJoINPnkKxfZCBfTWwaxA= Received: from DLEE106.ent.ti.com (dlee106.ent.ti.com [157.170.170.36]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 447HFXoJ015936 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 7 May 2024 12:15:33 -0500 Received: from DLEE110.ent.ti.com (157.170.170.21) 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; Tue, 7 May 2024 12:15:32 -0500 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DLEE110.ent.ti.com (157.170.170.21) 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; Tue, 7 May 2024 12:15:32 -0500 Received: from [10.249.42.149] ([10.249.42.149]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 447HFW70006845; Tue, 7 May 2024 12:15:32 -0500 Message-ID: <9c6f8999-715f-42e3-8d13-a5aef074dd5d@ti.com> Date: Tue, 7 May 2024 12:15:32 -0500 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 2/3] arm64: dts: ti: k3-j722s: Redefine USB1 node description To: Ravi Gunasekaran , , CC: , , , , , , , , References: <20240429120932.11456-1-r-gunasekaran@ti.com> <20240429120932.11456-3-r-gunasekaran@ti.com> Content-Language: en-US From: Andrew Davis In-Reply-To: <20240429120932.11456-3-r-gunasekaran@ti.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 On 4/29/24 7:09 AM, Ravi Gunasekaran wrote: > USB1 controller on J722S and AM62P are from different vendors. > Redefine the USB1 node description for J722S by deleting the > node inherited from AM62P dtsi. > > Signed-off-by: Ravi Gunasekaran > --- > arch/arm64/boot/dts/ti/k3-j722s.dtsi | 39 ++++++++++++++++++++++++++++ > 1 file changed, 39 insertions(+) > > diff --git a/arch/arm64/boot/dts/ti/k3-j722s.dtsi b/arch/arm64/boot/dts/ti/k3-j722s.dtsi > index beba5a3ea6cc..90725eeb3178 100644 > --- a/arch/arm64/boot/dts/ti/k3-j722s.dtsi > +++ b/arch/arm64/boot/dts/ti/k3-j722s.dtsi > @@ -13,6 +13,13 @@ > > #include "k3-am62p5.dtsi" > > +/* > + * USB1 controller on AM62P and J722S are of different IP. > + * Delete AM62P's USBSS1 node definition and redefine it for J722S. > + */ > + > +/delete-node/ &usbss1; > + > / { > model = "Texas Instruments K3 J722S SoC"; > compatible = "ti,j722s"; > @@ -120,6 +127,38 @@ > status = "disabled"; /* Needs lane config */ > }; > }; > + > + usbss1: cdns-usb@f920000 { MAIN domain items are defined in -main.dtsi files, for instance the USB node you are overriding was defined in k3-am62p-main.dtsi. This should go in a file named k3-j722s-main.dtsi. Andrew > + compatible = "ti,j721e-usb"; > + reg = <0x00 0x0f920000 0x00 0x100>; > + ranges; > + power-domains = <&k3_pds 278 TI_SCI_PD_EXCLUSIVE>; > + clocks = <&k3_clks 278 3>, <&k3_clks 278 1>; > + clock-names = "ref", "lpm"; > + assigned-clocks = <&k3_clks 278 3>; /* USB2_REFCLK */ > + assigned-clock-parents = <&k3_clks 278 4>; /* HF0SC0 */ > + #address-cells = <2>; > + #size-cells = <2>; > + status = "disabled"; > + > + usb1: usb@31200000{ > + compatible = "cdns,usb3"; > + reg = <0x00 0x31200000 0x00 0x10000>, > + <0x00 0x31210000 0x00 0x10000>, > + <0x00 0x31220000 0x00 0x10000>; > + reg-names = "otg", > + "xhci", > + "dev"; > + interrupts = , /* irq.0 */ > + , /* irq.6 */ > + ; /* otgirq */ > + interrupt-names = "host", > + "peripheral", > + "otg"; > + maximum-speed = "super-speed"; > + dr_mode = "otg"; > + }; > + }; > }; > > /* Main domain overrides */