From patchwork Tue Jun 6 17:09:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 2902 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pj1-f70.google.com (mail-pj1-f70.google.com [209.85.216.70]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 9F74F3F042 for ; Tue, 6 Jun 2023 19:09:38 +0200 (CEST) Received: by mail-pj1-f70.google.com with SMTP id 98e67ed59e1d1-258b62c7a6bsf5624278a91.3 for ; Tue, 06 Jun 2023 10:09:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1686071377; cv=pass; d=google.com; s=arc-20160816; b=DP0qSLoRpSpgvn0fEpCjwZXqBlsQkKKWYquC/k+jH01WTimNqxR+dxfVo/cSc4FVs4 /0j1r1YRVkjHh77e+bvJ1z16yoAvW4N2XkSFEoc95g+kOMvKC4PFV7VoMEsCOFSictMg ya+47Sfp3FNMVUwjNshe0lYzNqPWGxI+cfofYB/m9JKktlqAmTl24NsKeZFmsxhxxWRK Vik1RL1CnAjsRiEE9DD7z9Gjp9Gu7c7otW+1kzFyJWFi4ABh/8shD2BhLgIDksI31kx4 CAOuStckwMHKw7SPXElc9ihydlWNs1fD4AdxSauWwxcrl17kI+cSdaXJxwAIYkWF8FtS rJ8A== 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=VtWxHosnOxp9yNmYWGv7GnVHK130DX05O55Kr4xQk1w=; b=s1a5lL+saCrjMwXbIldmx17sw7ySBMlLVDmTnu6insjXOH9o4hECit7EjYzkmIyAno pWv9rdWom3K0+CnUR4EuzPkr1+ItBwkUlEAhaH+nIHNzd6iPFVZmk8ou6dQIrSwiqFUn ba3PHsCF1aEQL7AdAAPSBhZfa6o+6ifnG98DN6QA8G0GQo0w/mLqKiocOBb+C8E4C4w5 /dHLCpNwsuKiTZY3fIUnprNEjsme129pTY5Lf+3w0xODl9d03g/p3i1pCKCV+YAtL4id rbxy4/iGDJi9ai+71v6TdVK+zLlP2s5iM6OVljPzLvVlq01XxTrXZqo9qQSkKywhKyqs 337Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="F5cnz/s0"; 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=1686071377; x=1688663377; 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=VtWxHosnOxp9yNmYWGv7GnVHK130DX05O55Kr4xQk1w=; b=nexyvkFSpCK7q2tAwC4FdgH4n6inWEj7jvjAw+JrXAoB4wu067bWEEl9dg5WrWur6U P+4z35tLZQOXYsb3Ki6ETcdOr+wR/SjSNq4L59sB2K5Foo+z2ZQi1NSOUNaRhQhHZ4SS OlFlP+GF782DJJQuwhGeBajImTmK2Xsld8PuQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686071377; x=1688663377; 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=VtWxHosnOxp9yNmYWGv7GnVHK130DX05O55Kr4xQk1w=; b=ciFkyI72FdcV2erp+xRbMJe5GFbSS2C1w+yBNoh8dV4nTiEmeqDLku4213oKgiuhjd 5nLUYK/vhO6nDutuPmYqnf6ksowGnj5rASk44QT569xECLuzpUUbOklKmlzu43cw/EvO W7Y5MKxURdlKKJvblyf0C3maYqUYs5EOYFbJogn7dwfNxPBOfxP/nJYrbFYPzpJiTCmF 4ID3ZvxlepXF5xm71d/WNLfbFz3RYFhMuDlPNnuOksldpJ5+zD83V087o2zOGyzHJEfZ 5p5TtEECO7Khw0dyB+qjnFBCpylVlEoGJFZSMvoJH0orv4olm9LytOpGDnD2zfsPDtf5 tlBA== X-Gm-Message-State: AC+VfDxEpNbzyGaU6pJJqJUNMJoRcOZQbOV5o+ZWndG8oeQwYkSr0Pu/ aZLuVTXvsMUdfF0IgdQ++t06E9MY X-Google-Smtp-Source: ACHHUZ7n9NE+pN7e2Vfmx1fBAzdLtv0Xau3rOSqnhXoWC6MNNmCZ3DZYJC9eaKZwzZpER0m4sLxMIw== X-Received: by 2002:a17:90a:190d:b0:258:9995:91cb with SMTP id 13-20020a17090a190d00b00258999591cbmr2121412pjg.49.1686071377142; Tue, 06 Jun 2023 10:09:37 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:90a:eb0e:b0:258:9cb3:81 with SMTP id j14-20020a17090aeb0e00b002589cb30081ls2467136pjz.0.-pod-prod-06-us; Tue, 06 Jun 2023 10:09:36 -0700 (PDT) X-Received: by 2002:a17:902:ed42:b0:1a9:21bc:65f8 with SMTP id y2-20020a170902ed4200b001a921bc65f8mr3100020plb.11.1686071375970; Tue, 06 Jun 2023 10:09:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686071375; cv=none; d=google.com; s=arc-20160816; b=lhN9S0x6ldLzpo7s4DXbJ0lUzYHqYXtFDwlOyXhXKP97Qsa0ouudhLFBRyfM/op2fT W6En/p6hbAdN+VhP4dvb38vFQAgqy2yyHqxXpOA9HmTrw5ZXjmZSQD/QW2XwOfaV8MBC d0tOUb8GLDOSS6ndHmc/LTQ1aZYCCynGeMOGu7FsSLVJ8gPLoMtKU8ce8xBikFD3tX5m mH2+k36mTCGLshwTR1K+LAu8XStVREJ+ub4y7Owo6Ai2U4isBtoE1yySfsPW+Zj2C8Qe Eq5NT53TVP7IGq3d9kGbPhSpO5lVI2WbGTau4l/h6LOpwLYOmTBzcITO55nyHv/wOFTs NLsA== 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=HEq2+2UnVjASLYEKjXejp1C6RG3WQAGJYmykPiWu3OA=; b=dF23cO0R43/xx/+MV/VPCUOy9pXsNAEeLHjvuvishhAfK5LWBUJxk0uRYQPzu81wr+ 9Wk4K7Qg2H+PpVtzIrKiTTdY06tovs+XgQXuIGG0vlp/4ght12bXFSVv+0Nv4eHd8cBk +Ng+n32m7JktCNfGr8UIVEFfQdyxwDHfbBHJ+EI/w2OyTzSiVRhXENbLLJYgMGlvAsmI enAdJXFEfmqRSkef/0trfcFq9q5RiI8qezuJHcsNHzSxjt4R1qclHU8sVKnvmhHjzBCV Vlw1WODARaA74DmRWVCp6BIbgpsFovlFgOKz3cfJel5sikDbBPIlkwFvN2b8+wbIKRLm WLLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="F5cnz/s0"; 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 l21-20020a170903005500b001b02e0ec4b4sor4761736pla.15.2023.06.06.10.09.35 for (Google Transport Security); Tue, 06 Jun 2023 10:09:35 -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:a17:902:d506:b0:1b1:9233:bbf5 with SMTP id b6-20020a170902d50600b001b19233bbf5mr3562544plg.57.1686071375644; Tue, 06 Jun 2023 10:09:35 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:2001:f7d3:5b78:1d82:fb5f:608c]) by smtp.gmail.com with ESMTPSA id bc8-20020a170902930800b001ab0159b9edsm8695129plb.250.2023.06.06.10.09.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Jun 2023 10:09:34 -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 v2 1/7] arm64: dts: rockchip: Drop unused rk3328-xhci node Date: Tue, 6 Jun 2023 22:39:12 +0530 Message-Id: <20230606170918.45581-2-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230606170918.45581-1-jagan@amarulasolutions.com> References: <20230606170918.45581-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="F5cnz/s0"; 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 Reviewed-by: Kever Yang --- Changes for v2: - none 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 {