From patchwork Fri Jun 2 15:26:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 2894 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f197.google.com (mail-pf1-f197.google.com [209.85.210.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 8251E3F076 for ; Fri, 2 Jun 2023 17:26:55 +0200 (CEST) Received: by mail-pf1-f197.google.com with SMTP id d2e1a72fcca58-653843401fesf200822b3a.0 for ; Fri, 02 Jun 2023 08:26:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1685719614; cv=pass; d=google.com; s=arc-20160816; b=vbN4k1EwX2jn9pY2J1IBy7IF+beqG7w9DJrI9jWjYQY5Z61iG/2t8yP4z1BdPa6BE0 xi3GmtWR5MRxi9N9rngfWTte40Nn36ZwRva8sHiorh0OB9FxC12hMGVsl40bccgz3wR3 FZzuS8Md23mAcbQiXjnnMPIyxAoV77IpXF+SB1cIHVBhIGucHqjk0RUSn7sMH6vmwmpk 0KgejF4722vdpYId4S7sbew1wnHukz2XXWzvfTi3pQRd2nc3WO6SLraX2MqdjLkCke3t e9wUUsgUYO7Rcm0xyqLmdf1U2XUuMIn6+NFSpqAifVKeO+BU+byiagrnrIRXc3MqbwTd bEVA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=QUHKS69rrb5NxzhYWEJLlKmASYHlU4+498N6WZsHKGU=; b=wc5Oo6c2yOnQVay91K4U4ZzhSZTHwabhS7Vkcb7zWWWjegxpGq+OtWOTg3tUPy1bn6 v/mm3teC+/v/WlJc8lu/Be/9HvWQz+3vqdqeFGvPdQz+NztIsu0nUVjLxP39ckYpXvRN aOqCWOwIPiveBq4C+rIJiK6PcckARUw7XNFJgfCHHyWWmvwXc7BnxRaW6yc8Y4HtzZf5 dbnLJqLrCxEwe9DADwk32fqqjjDLnPIHcEU+pQ0JWaU+PGw/zvsY9BhP/u6agGgKIpYz 5Lu3+14lc8bFBEDNEwUrGj7p3xXU2GNZLqBUU3Hiy4/Z8mAcpiLj4yURDyvuOXluW8IS 5Sfw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Hdt0f949; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1685719614; x=1688311614; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=QUHKS69rrb5NxzhYWEJLlKmASYHlU4+498N6WZsHKGU=; b=IAtaFB8zz24Mkuz6PRaKhu6/N9sJN8fHpKXMj9KfZmWjf5jiLMB2wIF8iWOJndjKUD ducCXzLdkSLmFgKwi2izAdKmUyl183oI+nYcSWYJQfIRW0OlwzNPC8UtYdr9mR04IGft Ca1eEq9H0U8EFZ6XGrn36NHAUmb+V7DxqQlSQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685719614; x=1688311614; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :x-beenthere:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=QUHKS69rrb5NxzhYWEJLlKmASYHlU4+498N6WZsHKGU=; b=ZHcSKBQDyjt7f3UZy37wHYL8wSlnDl6jcypL2CIAJ7I+WD7lhmynTe+zYv1ZaHNruL 2w1/pxO0TPbrxwro+GBXJI9L5AzMooKn5PPYpTxgFcROGrZXbIgBuqGLByHHTQP16JVt LW3Gp339FyaHWuskF5yigIs9ptpRxL21Dg9n1HMhEprLXhgsDPfr+LhHmixtucV8iQix PCxjLqYFoyVByDRW8ieMrZoqNqjD17AUHoyCDq6I4i+Y5wcCkiFkR3CnAFY8EZJMRre9 6hpKHZvcN5OM69wAWazqTV2jBljIVsD+rrZT+M+fgHOjX6t+An2IAErGJSrJ529l7kry NrAw== X-Gm-Message-State: AC+VfDwZsrnw8tKok5/3X/aQ7vl8196gF9ErN+wRn/mpKS29VF2cKPFH Jo2NhH4vPQ9n5uWOuPh/IlTDuWqD X-Google-Smtp-Source: ACHHUZ4zjuaCjsy0BG50+3gblxolMWTNaDBlilm2mxLXivSJuyzVS2TJmnh3rwhaqN95D5sDmsS+Yg== X-Received: by 2002:a05:6a00:14cc:b0:643:96bc:b292 with SMTP id w12-20020a056a0014cc00b0064396bcb292mr11453122pfu.5.1685719614097; Fri, 02 Jun 2023 08:26:54 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a62:874d:0:b0:64d:430d:f271 with SMTP id i74-20020a62874d000000b0064d430df271ls989122pfe.0.-pod-prod-09-us; Fri, 02 Jun 2023 08:26:53 -0700 (PDT) X-Received: by 2002:a05:6a00:1a86:b0:647:d698:56d2 with SMTP id e6-20020a056a001a8600b00647d69856d2mr10085304pfv.27.1685719613053; Fri, 02 Jun 2023 08:26:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685719613; cv=none; d=google.com; s=arc-20160816; b=hYHjnhWz7cGAhvPrU+fPuQr0stuDC+EMyE7nxTXSUOS5+DDk+WyRrN0+SaPn3Hx4Lq Ar6xbl/pcv/leu0HH9WIAG1DUicofN6SqQf5UpAnKxA9on5LjdyM+w3be/KdEhIKtJ7c TJ25eL3VXCoe0tm0t83bl5UpA7sdOfTyNizcujmaDdUzBmuLDk27EQzW+LLZcH0qxJbq 4UbTsnNffZGss8R7M6LSulaEKcaDIL3quubSsLPTWyXo5PG+0Pqbgvxm67zg1LJNWgqz EICy9HGoiuVhD0y4mXBjPkfE3CsGKI2kyEhLHvQKpTo794CkEFppIqV9ooti8UZdY1zw 0K5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=acmPzQkwCRpa4gNRac38yGKNa2udCyWdiYFh+wHalMM=; b=XUtl7NaXU8UKOw3FHuJjx/1cPUR1LqxGEjGaIwwSDQ+DneszVyDrl81L3A7cS/ydfs dhOxqDk+uLvHJAkcDLVTAd7ztq8Wi8D7pgCOB/68BHNypDX6HBE6DNGZGNQHUWz6iZ/f bAkhBevB9+95TD6dtWKaQz2a+OIgcPlzX8jeCoFTZNNQbUh5e3LijVRIomzumGxTS2ok xH2s9yQcBERpua/RxTXpNgGcY8NCESbEz4EAXWN4lXaWB0UK5d9lgS35ft9Zmtfyk5sJ eozXnfzz4mqVNlEzc3H+KRJwbX1DT0mErXM7ElxEuvfIHLi0TC+1TNRZKvZbMIOl1VK5 F+fw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Hdt0f949; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id u13-20020a62790d000000b006410a6658d9sor330098pfc.6.2023.06.02.08.26.53 for (Google Transport Security); Fri, 02 Jun 2023 08:26:53 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a05:6a00:14cc:b0:643:96bc:b292 with SMTP id w12-20020a056a0014cc00b0064396bcb292mr11453061pfu.5.1685719612651; Fri, 02 Jun 2023 08:26:52 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:2003:4e14:c7e6:b770:ced9:e760]) by smtp.gmail.com with ESMTPSA id l3-20020a62be03000000b0063afb08afeesm1154124pff.67.2023.06.02.08.26.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Jun 2023 08:26:52 -0700 (PDT) From: Jagan Teki To: Kever Yang , Simon Glass , Philipp Tomsich Cc: Jonas Karlman , u-boot@lists.denx.de, linux-amarula@amarulasolutions.com, Jagan Teki Subject: [PATCH 1/7] arm64: dts: rockchip: Drop unused rk3328-xhci node Date: Fri, 2 Jun 2023 20:56:25 +0530 Message-Id: <20230602152631.106887-2-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230602152631.106887-1-jagan@amarulasolutions.com> References: <20230602152631.106887-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Hdt0f949; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , rk3328-xhci has been added due to the fact that the upstream dwc3 is unsupported. Moreover, the driver for rk3328-xhci is not added to the code tree. By considering these facts and unsupported rk3328-xhci this patch is dropping all related code from DT. However, the DWC3 is fixed now in dwc3-generic and RK3328 USB 3.0 is functional in upcoming patches. Let's drop it. Signed-off-by: Jagan Teki --- arch/arm/dts/rk3328-evb-u-boot.dtsi | 5 ----- arch/arm/dts/rk3328-roc-cc-u-boot.dtsi | 14 -------------- arch/arm/dts/rk3328-rock-pi-e-u-boot.dtsi | 5 ----- arch/arm/dts/rk3328-rock64-u-boot.dtsi | 15 --------------- arch/arm/dts/rk3328-u-boot.dtsi | 11 ----------- 5 files changed, 50 deletions(-) diff --git a/arch/arm/dts/rk3328-evb-u-boot.dtsi b/arch/arm/dts/rk3328-evb-u-boot.dtsi index 4bfa0c2330..f9c729d3bd 100644 --- a/arch/arm/dts/rk3328-evb-u-boot.dtsi +++ b/arch/arm/dts/rk3328-evb-u-boot.dtsi @@ -44,8 +44,3 @@ /* Integrated PHY unsupported by U-boot */ status = "broken"; }; - -&usb_host0_xhci { - vbus-supply = <&vcc5v0_host_xhci>; - status = "okay"; -}; diff --git a/arch/arm/dts/rk3328-roc-cc-u-boot.dtsi b/arch/arm/dts/rk3328-roc-cc-u-boot.dtsi index 27a454f017..2062f34bf8 100644 --- a/arch/arm/dts/rk3328-roc-cc-u-boot.dtsi +++ b/arch/arm/dts/rk3328-roc-cc-u-boot.dtsi @@ -48,20 +48,6 @@ bootph-pre-ram; }; -&usb_host0_xhci { - vbus-supply = <&vcc_host1_5v>; - status = "okay"; -}; - -/* - * This makes XHCI responsible for toggling VBUS. This is needed to work - * around an issue where either XHCI only works with USB 2.0 or OTG doesn't - * work, depending on how VBUS is configured. Having USB 3.0 seems better. - */ -&vcc_host1_5v { - /delete-property/ regulator-always-on; -}; - /* Need this and all the pinctrl/gpio stuff above to set pinmux */ &vcc_sd { bootph-pre-ram; diff --git a/arch/arm/dts/rk3328-rock-pi-e-u-boot.dtsi b/arch/arm/dts/rk3328-rock-pi-e-u-boot.dtsi index 088e21c76a..1f220c6dcd 100644 --- a/arch/arm/dts/rk3328-rock-pi-e-u-boot.dtsi +++ b/arch/arm/dts/rk3328-rock-pi-e-u-boot.dtsi @@ -45,11 +45,6 @@ bootph-pre-ram; }; -&usb_host0_xhci { - vbus-supply = <&vcc_host_5v>; - status = "okay"; -}; - /* Need this and all the pinctrl/gpio stuff above to set pinmux */ &vcc_sd { bootph-pre-ram; diff --git a/arch/arm/dts/rk3328-rock64-u-boot.dtsi b/arch/arm/dts/rk3328-rock64-u-boot.dtsi index c20a99a620..849854302e 100644 --- a/arch/arm/dts/rk3328-rock64-u-boot.dtsi +++ b/arch/arm/dts/rk3328-rock64-u-boot.dtsi @@ -48,21 +48,6 @@ bootph-pre-ram; }; -&usb_host0_xhci { - vbus-supply = <&vcc_host_5v>; - status = "okay"; -}; - -/* - * This makes XHCI responsible for toggling VBUS. This is needed to work - * around an issue where either XHCI only works with USB 2.0 or OTG doesn't - * work, depending on how VBUS is configured. Having USB 3.0 seems better. - */ -&vcc_host_5v { - /delete-property/ regulator-always-on; - /delete-property/ regulator-boot-on; -}; - /* Need this and all the pinctrl/gpio stuff above to set pinmux */ &vcc_sd { bootph-pre-ram; diff --git a/arch/arm/dts/rk3328-u-boot.dtsi b/arch/arm/dts/rk3328-u-boot.dtsi index 668f8ca29d..ce96ce40a7 100644 --- a/arch/arm/dts/rk3328-u-boot.dtsi +++ b/arch/arm/dts/rk3328-u-boot.dtsi @@ -26,17 +26,6 @@ 0x0 0xff720000 0x0 0x1000 0x0 0xff798000 0x0 0x1000>; }; - - usb_host0_xhci: usb@ff600000 { - compatible = "rockchip,rk3328-xhci"; - reg = <0x0 0xff600000 0x0 0x100000>; - interrupts = ; - snps,dis-enblslpm-quirk; - snps,phyif-utmi-bits = <16>; - snps,dis-u2-freeclk-exists-quirk; - snps,dis-u2-susphy-quirk; - status = "disabled"; - }; }; &cru {