Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp4498629pxb; Tue, 31 Aug 2021 06:43:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzYBy0swGz1WaYXTBT11nB9iQSeHpTl+d2cNg1+SsHaYI9FYXLkoNUYU89IAUv/uuzl5ump X-Received: by 2002:a92:d790:: with SMTP id d16mr20684684iln.147.1630417406591; Tue, 31 Aug 2021 06:43:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630417406; cv=none; d=google.com; s=arc-20160816; b=k2Z9mkXCBlLUhmoJ4sI7igNsGWBX0LRIWzHFnS7VZJAzrngIQrmWFUECpqu7qlsY+Z gqf9/E/k1TbvFdz1Qwi0B8xXkClST5jp8oUc3CUoS6T706bkywOEo6nzA0QDYGhO6NEc Dfp2DRCxAmf0bVUY+0KY8do5Wbz56uKZeEWaVVS13LJXnuwgJIrgUcIyWYwJCu6bilea dFHFLKzqAuomdZtzah4PGfsWS0KSdFd1nnOI0yiHgISxvTl85udoWzifjBkDmvELl2mA kFSQqnwqUF091xoeCXPsZ/OYexhABdfQX2wi2D0vSTr7HW/5np3Z8TQedeoFMEa2a2Ow J2uw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=c26NehuqcimpKT1j1bnc733TXJ2Zh9Gkb+sYGg6YF5A=; b=YUI4Btr+1JODFxsgXBqN63GjISesynVzSgsS/OF4oDL82YpWwMyVWvRCL9wvQvFIV5 hnvqpDezNBsjzzI5KXwFZNkVgQ7sfzd0wfgWIDDdlbyhDQ7l1sgQgFq68DqSOsUDQEg1 MnXfjJKO8V2gi+9NtvF/YNjsSNAG+pPwzSshupF0vMGyzIonhTZT8h13cbCvRkjpTId0 /oJPknf8NVYwSmkq2lYvN9TCMtdJtJ6uFsOfRRfidzxFrYiWyerIpuAcDZ5JiA8RDaZX YmLBexC/3soWb0eabqLthKOJBNIUtS3WViyrXWHYI+rRJfgIIuvclOhBApSVF3F3v8MW YOVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=GAS+LoFT; 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 d10si18325841ios.58.2021.08.31.06.43.12; Tue, 31 Aug 2021 06:43:26 -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; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=GAS+LoFT; 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 S239381AbhHaNle (ORCPT + 99 others); Tue, 31 Aug 2021 09:41:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53938 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239099AbhHaNlX (ORCPT ); Tue, 31 Aug 2021 09:41:23 -0400 Received: from ssl.serverraum.org (ssl.serverraum.org [IPv6:2a01:4f8:151:8464::1:2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 23E40C061760; Tue, 31 Aug 2021 06:40:28 -0700 (PDT) Received: from mwalle01.kontron.local. (unknown [213.135.10.150]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id 857282224F; Tue, 31 Aug 2021 15:40:24 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1630417224; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=c26NehuqcimpKT1j1bnc733TXJ2Zh9Gkb+sYGg6YF5A=; b=GAS+LoFTKtjLYf5ax67A3QWZygN87j0CH6i5KvEEzQwjLSgF371JEyHAvzmTEEVYxFdYYT KM+dnLyAtVeor0EGRz2PBsVz232546ORqR+cRMC8VMc26BDqjD6dOdKVJY5hjeW7mwn3Lm NFcs4fJM4McPCJVYaZyiL9IFLddM6Tk= From: Michael Walle To: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Shawn Guo , Li Yang , Rob Herring , Vladimir Oltean , Michael Walle Subject: [PATCH 5/7] arm64: dts: ls1028a: disable usb controller by default Date: Tue, 31 Aug 2021 15:40:11 +0200 Message-Id: <20210831134013.1625527-6-michael@walle.cc> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210831134013.1625527-1-michael@walle.cc> References: <20210831134013.1625527-1-michael@walle.cc> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org One of the last devices which are enabled by default are the USB controllers. Although the pins are not multi-function pins, some boards might not use USB at all. Apply the "disabled-by-default" style also for the USB controllers and enable the controllers in the actual device tree of the boards. Signed-off-by: Michael Walle --- .../arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts | 8 ++++++++ arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts | 8 ++++++++ arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts | 5 +++++ arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 2 ++ 4 files changed, 23 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts index a92ecb331cdc..2c6266991c38 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts @@ -309,3 +309,11 @@ eeprom@50 { &lpuart1 { status = "okay"; }; + +&usb0 { + status = "okay"; +}; + +&usb1 { + status = "okay"; +}; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts index bfd14b64567e..f36f87858aef 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts @@ -335,3 +335,11 @@ &sai1 { &sata { status = "okay"; }; + +&usb0 { + status = "okay"; +}; + +&usb1 { + status = "okay"; +}; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts index d7b527272500..b0967b987f8a 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts @@ -287,6 +287,11 @@ &sata { status = "okay"; }; +&usb0 { + status = "okay"; +}; + &usb1 { dr_mode = "otg"; + status = "okay"; }; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi index 876dea668a90..c10c84d9495d 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi @@ -585,6 +585,7 @@ usb0: usb@3100000 { snps,dis_rxdet_inp3_quirk; snps,quirk-frame-length-adjustment = <0x20>; snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>; + status = "disabled"; }; usb1: usb@3110000 { @@ -595,6 +596,7 @@ usb1: usb@3110000 { snps,dis_rxdet_inp3_quirk; snps,quirk-frame-length-adjustment = <0x20>; snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>; + status = "disabled"; }; sata: sata@3200000 { -- 2.30.2