Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp821249ybt; Tue, 7 Jul 2020 00:47:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwUcE4uXP9gfmJmbePNtEe34vS4zRIODAk1ZnKApuKWALA5xFCBM1BLVVo70aqh5w7WDZXm X-Received: by 2002:a05:6402:b1a:: with SMTP id bm26mr58667838edb.144.1594108074424; Tue, 07 Jul 2020 00:47:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594108074; cv=none; d=google.com; s=arc-20160816; b=ZLc8u0+UsUh3JB17Qwp95epzKvYJH+fZ2Y3EVNS1tzBz2IrAADEd5PDEXr9+rIXA/y OUtoasZmWbh7f1qHEPjhJkyQd5BnIw7fnDK8/j4vs+7XI99Oe0MNQWguZwd5iCKFsmNc k4zTjKGGjQRXrJIZ6Tkn6UnUV2tt/45HpM9AT17hbdQYHrgOFVHAFJL2UJDD6hsAjLwL wi7m57ayD+rzUv/YobNDGR52FYdJbfUWY8bI0Q6x1McwsMWSL/+CB6w/5vQfbYAdUTiw frOOSDaMjb7xx4lKLouMW6rBJ3NGX0ZZcOmm0DiIFwCf82/8xoQli6egt/7wuf6lbnKi xXhw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=szMBmmeN6igJbHZLjGIQJMeND2TDutpFM6E4Uq7PTDM=; b=JjMtoTMw+b6K87RSBmpTGvOL+yuBP2Q/U1wK7cBT2/NcwAIWueBX1X9kld1Ri4UsM0 JpnIrNeT7J2M1aZ/Ez6Emoh9aZmpOEdyhZgI4tPXMR/Knh80sNOuUPWGAEIxXOC29/UU 6FRQsZ4iBXjkks9k5XnTHSBarHQtGfxZcgE5T2n90wCLYvtI8Zx5dfUi1oqs8PhYlRDM 6qx8tLmhg9zruorJhCs/bz0p+xV6dWklyBJLbjxtkXd9qdle5oN26eY6M+W7zEaFN05e vnWNrHHQj2ykaRZ98MZlKl73vjojVlhy31MppSr8hXvShG7Xt5T3EUZ9Lr8SgfmPIrje /sNA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a2si14644798edq.272.2020.07.07.00.47.30; Tue, 07 Jul 2020 00:47:54 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728125AbgGGHq6 (ORCPT + 99 others); Tue, 7 Jul 2020 03:46:58 -0400 Received: from inva020.nxp.com ([92.121.34.13]:51980 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726540AbgGGHq6 (ORCPT ); Tue, 7 Jul 2020 03:46:58 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 13D731A09D1; Tue, 7 Jul 2020 09:46:56 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id D8C561A09EC; Tue, 7 Jul 2020 09:46:52 +0200 (CEST) Received: from localhost.localdomain (mega.ap.freescale.net [10.192.208.232]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 84100402C8; Tue, 7 Jul 2020 15:46:48 +0800 (SGT) From: Ran Wang To: Shawn Guo , Li Yang , Rob Herring Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Ran Wang Subject: [PATCH] arm64: dts: ls1043a: update USB nodes status to match board config Date: Tue, 7 Jul 2020 15:40:31 +0800 Message-Id: <20200707074031.13943-1-ran.wang_1@nxp.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ls1043a-rdb and ls1043a-qds board’s default HW config (such as pin mux selection) would not enable some USB controllers’ data path, which causing over-current detected on those controllers. This will hit the case of ‘xhci driver prevent bus suspend if a root hub port detected over-current condition’, causing system failed to be suspended. So disable them in device tree to resolve this issue. Signed-off-by: Ran Wang --- arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dts | 4 ++++ arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts | 8 ++++++++ arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 3 +++ 3 files changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dts b/arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dts index 1aac81d..fea167d 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dts @@ -148,4 +148,8 @@ }; }; +&usb0 { + status = "okay"; +}; + #include "fsl-ls1043-post.dtsi" diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts index bfa9d95..3516af4 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts @@ -209,3 +209,11 @@ fsl,tdm-interface; }; }; + +&usb0 { + status = "okay"; +}; + +&usb1 { + status = "okay"; +}; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi index 3b641bd..c6d8dcb 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi @@ -677,6 +677,7 @@ snps,quirk-frame-length-adjustment = <0x20>; snps,dis_rxdet_inp3_quirk; snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>; + status = "disabled"; }; usb1: usb3@3000000 { @@ -687,6 +688,7 @@ snps,quirk-frame-length-adjustment = <0x20>; snps,dis_rxdet_inp3_quirk; snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>; + status = "disabled"; }; usb2: usb3@3100000 { @@ -697,6 +699,7 @@ snps,quirk-frame-length-adjustment = <0x20>; snps,dis_rxdet_inp3_quirk; snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>; + status = "disabled"; }; sata: sata@3200000 { -- 2.7.4