From patchwork Wed Dec 6 15:00:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 13481902 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5E591C10F05 for ; Wed, 6 Dec 2023 15:01:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=zACb5DMKU07SkzvK7/2qDmN0zn9oaVbRMeutjBzsGX0=; b=2ozdfqLRI3k/4V ZAi2NNFksj1+LBQ45KsHbk2U8SFOqkQcHComZC8cf29TUVb2sem5sWB60aao1T3UET9pNfyn67ejN 4PaDk280JSqFtTbtteieL9ywsn+l84jgnkIHu1MhAAb7+mFdKRuIq3FaY3fK8fWvuHBMgx4yWKkdP gTBDcnQYn9ZOHbxrdGLlxh2Hk4YFslQj6OD6C5/tZvwHF/H++/8HxoTrMHnj2gZRUVHNH40h/nSbU C1dEgdLA5Yryt0vpCwdpFtwMvj7pSX37DrooKJ4lcwVUsDdIvMH3Tm+E7mJJKEobzCwv3bT0egZGI 8vRQtMrTPvS463hxcYtg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rAtOF-00AZwh-0F; Wed, 06 Dec 2023 15:00:43 +0000 Received: from mail-pf1-x435.google.com ([2607:f8b0:4864:20::435]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rAtOA-00AZui-0W for linux-arm-kernel@lists.infradead.org; Wed, 06 Dec 2023 15:00:39 +0000 Received: by mail-pf1-x435.google.com with SMTP id d2e1a72fcca58-6ce6f4d3dafso378372b3a.0 for ; Wed, 06 Dec 2023 07:00:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701874837; x=1702479637; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=EwFySKLErsyIDo+deKt5s13mq/FJiYcOWKZ90cKqeC0=; b=Jn+a3cEXH7F4gAFgE5l1qF9oE+AUU2zWS+nvRyOCfoBlbY7PWKtCxzCyHXAajHepZI PXP3+plba6O95dvPHxXncbWt16P/MfLIHooopjTEcLwKwC2+ULI9zTV301ExrG2zoPSy fqhMsGZtn7xXZ5nCSmrKLn3cCuOIy5THwdAAn1OnY04Nx1Yrlz/c5am28pmlzA1dSjuF 7mBt/iaruxiuqlmiZktOMlfo1k9PAvVj4BwhEwXBe102AfivhRqYl3oy39IQqSd5PErC L7mfO6HDk8BT1411SADOsUq1HyeVeSI/1Njg/pFaIZc5MmRk9HI2fWPHQDmLhQ5yD28H zWsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701874837; x=1702479637; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=EwFySKLErsyIDo+deKt5s13mq/FJiYcOWKZ90cKqeC0=; b=C6Ri0bmH4W8vfm1GZ3AVQCwXk3Mubtk/9+l9Ju4eoDwu1z+6DnVsi/fS37O7P+gJJa FUKuDxptLY6+gzgyuGlsX1jGol4Td1QHAHn0eQ86gXyBhYI5loyM7WW29rxmhDSOEUkx DUqmfm3bzztG1H0MV0/gRuQrBUusB9i9Soa6m7OSDjdrgcA7BYIWPK4VkYRA7qHfMFtx n//22+ghMj3eLqDoMqBNsQV5ym+ZycSIgpp4Ev2KOLe+9rufejU6hsP49/gIm7IGqYDL 3RHdH89lZQWxM2M6kprdU3zQQHdI2Tv8VCZJbxE/P+jEfkyJQEBdQchWuwPay1oPkMxU egAg== X-Gm-Message-State: AOJu0Yz9O0+908T9vp8iNy3wxTlFp+VKH+IQGIa8LOLtBrZYzstF+QCY SoRZRnnZTgfuajjFf85NwiY= X-Google-Smtp-Source: AGHT+IFdLLaFCCoWBKH8kdKJhH51ZozsNnVq6LMZJ4YebGPThIH1BgLKyxPYfrPfna2THI3aR8QgWg== X-Received: by 2002:a05:6a00:1914:b0:6cb:8347:c8b1 with SMTP id y20-20020a056a00191400b006cb8347c8b1mr2005263pfi.1.1701874837577; Wed, 06 Dec 2023 07:00:37 -0800 (PST) Received: from fabio-Precision-3551.. ([2804:14c:485:4b61:6764:e124:5ffc:3f5]) by smtp.gmail.com with ESMTPSA id b6-20020a056a0002c600b006ce7f1ab3bfsm86703pft.65.2023.12.06.07.00.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Dec 2023 07:00:37 -0800 (PST) From: Fabio Estevam To: shawnguo@kernel.org Cc: linux-arm-kernel@lists.infradead.org, Fabio Estevam Subject: [PATCH 4/6] ARM: dts: imx27-phytec-phycore-rdk: Move usbphy nodes out of simple-bus Date: Wed, 6 Dec 2023 12:00:21 -0300 Message-Id: <20231206150023.2305685-4-festevam@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231206150023.2305685-1-festevam@gmail.com> References: <20231206150023.2305685-1-festevam@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231206_070038_200046_F7647541 X-CRM114-Status: GOOD ( 10.53 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Fabio Estevam The USB PHY nodes should not be described under 'simple-bus'. Move it out of simple-bus. Signed-off-by: Fabio Estevam --- .../dts/nxp/imx/imx27-phytec-phycore-rdk.dts | 15 ++++++-------- .../dts/nxp/imx/imx27-phytec-phycore-som.dtsi | 20 +++++++------------ 2 files changed, 13 insertions(+), 22 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx27-phytec-phycore-rdk.dts b/arch/arm/boot/dts/nxp/imx/imx27-phytec-phycore-rdk.dts index 7f0cd4d3ec2d..b7df7f20ec04 100644 --- a/arch/arm/boot/dts/nxp/imx/imx27-phytec-phycore-rdk.dts +++ b/arch/arm/boot/dts/nxp/imx/imx27-phytec-phycore-rdk.dts @@ -48,15 +48,12 @@ regulator-2 { regulator-always-on; }; - usbphy { - usbphy2: usbphy@2 { - compatible = "usb-nop-xceiv"; - reg = <2>; - vcc-supply = <®_5v0>; - clocks = <&clks IMX27_CLK_DUMMY>; - clock-names = "main_clk"; - #phy-cells = <0>; - }; + usbphy2: usbphy { + compatible = "usb-nop-xceiv"; + vcc-supply = <®_5v0>; + clocks = <&clks IMX27_CLK_DUMMY>; + clock-names = "main_clk"; + #phy-cells = <0>; }; }; diff --git a/arch/arm/boot/dts/nxp/imx/imx27-phytec-phycore-som.dtsi b/arch/arm/boot/dts/nxp/imx/imx27-phytec-phycore-som.dtsi index dc316358a7d4..0e527d1f9e55 100644 --- a/arch/arm/boot/dts/nxp/imx/imx27-phytec-phycore-som.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx27-phytec-phycore-som.dtsi @@ -29,19 +29,13 @@ reg_5v0: regulator-1 { regulator-max-microvolt = <5000000>; }; - usbphy { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <0>; - - usbphy0: usbphy@0 { - compatible = "usb-nop-xceiv"; - reg = <0>; - vcc-supply = <&sw3_reg>; - clocks = <&clks IMX27_CLK_DUMMY>; - clock-names = "main_clk"; - #phy-cells = <0>; - }; + + usbphy0: usbphy { + compatible = "usb-nop-xceiv"; + vcc-supply = <&sw3_reg>; + clocks = <&clks IMX27_CLK_DUMMY>; + clock-names = "main_clk"; + #phy-cells = <0>; }; };