Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp311093pxj; Thu, 27 May 2021 00:13:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzGdsIWqv+4HmwL5egpoQwohaVnFRwZlVdH38WTScNSUtC8mgF9PckldCUIDr0E7Cqul5I0 X-Received: by 2002:a6b:4e15:: with SMTP id c21mr1733171iob.116.1622099629238; Thu, 27 May 2021 00:13:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622099629; cv=none; d=google.com; s=arc-20160816; b=iX6hjgGEygRV5x4JkIgTLHxBs4u9TWHRaulgz6zsz83k49fQtGO0egSlyFLVt70Ama usBSBr9SFaWoYRO5J2+RS5Y4uvymw/m5Y/8rGliuDLRruOEheHTUvsaIbUPeB7FH1hkb a97zAJCQ9d3a6Z+VhA8XHUzL8Cz6WzD94EsBRPcpeAzbKGdffAY7br5ct5Q7JWhk10CD C2U0BANvr4CKv8EEEJUsqti4HhuQM1o9++n6fvCbQBD0ZywVmx3QF9/ETDc8IoUk4AGC 3RqESchBNxnKgEE39ADq8u/NWnL9XDFmf2nZTnsfO3O8k3lYW6fkdPTVvGxGR5ExIs07 0DUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=+6LMaayVbLcbTdaEX32Scz4HKcVhuePPGvvPq4IO2yQ=; b=e0qx4yWts7aBDGXcx1O2J72h4c/jIwgiBt/PC6R8UH97aFiUGwEVQ3YjkXGB9HZK6s F0EIAaXBMczI/avRBFO/DRhbAj7kJQBjErJcjrmfNk9S04Rz0n36Mq3vJ2c/jQK31oGC 7Ez/qCunKpQLuY50HyorU/3ocbTmWRh3QicTQzlfw3JE7sUO2p5CW1EcPikySAdoo/UA 0k7/wl4THxjOu3EWywE9cItFnzXt9mkjkerfTd42DVwZNkhrSHHwqWxOPEf4dV1ihlMx m+xC+ohdu2IV0/fA6c/vZ7RdQWaYjw1YuM7muJ6xVGHwWw8tXSnmIsP1YdaHBjix8pB9 6zqw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m18si1507108ili.129.2021.05.27.00.13.35; Thu, 27 May 2021 00:13:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234318AbhE0Ftk (ORCPT + 99 others); Thu, 27 May 2021 01:49:40 -0400 Received: from muru.com ([72.249.23.125]:60878 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232773AbhE0Ftj (ORCPT ); Thu, 27 May 2021 01:49:39 -0400 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 51A6980AE; Thu, 27 May 2021 05:48:10 +0000 (UTC) Date: Thu, 27 May 2021 08:48:01 +0300 From: Tony Lindgren To: Gowtham Tammana Cc: Suman Anna , bcousson@baylibre.com, robh+dt@kernel.org, linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Grygorii Strashko , Nisanth Menon Subject: Re: [PATCH v3] ARM: dts: dra7: Fix duplicate USB4 target module node Message-ID: References: <20210526213035.15448-1-g-tammana@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210526213035.15448-1-g-tammana@ti.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, * Gowtham Tammana [210526 21:30]: > diff --git a/arch/arm/boot/dts/am5718.dtsi b/arch/arm/boot/dts/am5718.dtsi > index ebf4d3cc1cfb..6d7530a48c73 100644 > --- a/arch/arm/boot/dts/am5718.dtsi > +++ b/arch/arm/boot/dts/am5718.dtsi > @@ -17,17 +17,13 @@ / { > * VCP1, VCP2 > * MLB > * ISS > - * USB3, USB4 > + * USB3 > */ > > &usb3_tm { > status = "disabled"; > }; > > -&usb4_tm { > - status = "disabled"; > -}; > - > &atl_tm { > status = "disabled"; > }; The above makes sense as usb4 is only on dra74x and should not be even available otherwise. > diff --git a/arch/arm/boot/dts/dra7-l4.dtsi b/arch/arm/boot/dts/dra7-l4.dtsi > index 149144cdff35..648d23f7f748 100644 > --- a/arch/arm/boot/dts/dra7-l4.dtsi > +++ b/arch/arm/boot/dts/dra7-l4.dtsi > @@ -4129,28 +4129,6 @@ usb3: usb@10000 { > }; > }; > > - usb4_tm: target-module@140000 { /* 0x48940000, ap 75 3c.0 */ > - compatible = "ti,sysc-omap4", "ti,sysc"; > - reg = <0x140000 0x4>, > - <0x140010 0x4>; > - reg-names = "rev", "sysc"; > - ti,sysc-mask = ; > - ti,sysc-midle = , > - , > - , > - ; > - ti,sysc-sidle = , > - , > - , > - ; > - /* Domains (P, C): l3init_pwrdm, l3init_clkdm */ > - clocks = <&l3init_clkctrl DRA7_L3INIT_USB_OTG_SS4_CLKCTRL 0>; > - clock-names = "fck"; > - #address-cells = <1>; > - #size-cells = <1>; > - ranges = <0x0 0x140000 0x20000>; > - }; > - But let's keep the target-module@140000 here as it puts it in the right location rather than directly on the ocp. Let's mark it with status = "disabled" in dra7-l4.dtsi, and add a comment noting it's only available on dra74x. So similar to what you had in your v1 patch, except disabled. > diff --git a/arch/arm/boot/dts/dra71x.dtsi b/arch/arm/boot/dts/dra71x.dtsi > index cad0e4a2bd8d..9c270d8f75d5 100644 > --- a/arch/arm/boot/dts/dra71x.dtsi > +++ b/arch/arm/boot/dts/dra71x.dtsi > @@ -11,7 +11,3 @@ > &rtctarget { > status = "disabled"; > }; > - > -&usb4_tm { > - status = "disabled"; > -}; > diff --git a/arch/arm/boot/dts/dra72x.dtsi b/arch/arm/boot/dts/dra72x.dtsi > index d403acc754b6..f3e934ef7d3e 100644 > --- a/arch/arm/boot/dts/dra72x.dtsi > +++ b/arch/arm/boot/dts/dra72x.dtsi > @@ -108,7 +108,3 @@ &pcie1_ep { > &pcie2_rc { > compatible = "ti,dra726-pcie-rc", "ti,dra7-pcie"; > }; > - > -&usb4_tm { > - status = "disabled"; > -}; Then the above change can be kept. > diff --git a/arch/arm/boot/dts/dra74x.dtsi b/arch/arm/boot/dts/dra74x.dtsi > index e1850d6c841a..60f2ab8d34d5 100644 > --- a/arch/arm/boot/dts/dra74x.dtsi > +++ b/arch/arm/boot/dts/dra74x.dtsi > @@ -49,7 +49,7 @@ dsp2_system: dsp_system@41500000 { > reg = <0x41500000 0x100>; > }; > > - target-module@48940000 { > + usb4_tm: target-module@48940000 { > compatible = "ti,sysc-omap4", "ti,sysc"; > reg = <0x48940000 0x4>, > <0x48940010 0x4>; And in dra74x.dtsi just set it enabled then :) Other than that looks good to me. Regards, Tony