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 { From patchwork Fri Jun 2 15:26:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 2895 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f200.google.com (mail-pf1-f200.google.com [209.85.210.200]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 9A2663F076 for ; Fri, 2 Jun 2023 17:27:02 +0200 (CEST) Received: by mail-pf1-f200.google.com with SMTP id d2e1a72fcca58-64d443a1e2dsf1518506b3a.1 for ; Fri, 02 Jun 2023 08:27:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1685719621; cv=pass; d=google.com; s=arc-20160816; b=gETYT/cO4fnwhzxCJzK2RU7CEk3Cp7RhwxERjyNjhVa1+/9lI0QKoIX4g8fGAgkwPf sovw4J+d0gPhLVEwrfBDFcl4HXVtKPIFl4tgvlVNjs+P9KAEzyZQlrg/h6TcuyS2YKhb 8ifxlE8bwbpHvjYrI0i4keMjvI/uzMJ6cZzZU2mGdIDnZcbgc3PDEvfOeIN3DvSz4H7o 0Vidgys+wj5+8GqBO+jiqmsULKHVCrcVykrqRZ5QWlaQbcG9I2S3I6frVgrYwl5CGTW/ qFLLzc1KWr/PsqkYPymBaV4yQ/vy6qqpT1zd1u4SLrM32shg/uwGqXDFg8VXHYCRT3+Q 6hGQ== 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=yXpw+vQosp7v3RYY+TUVjSNJcNoWsArG3KlHKVAPlwU=; b=zx3UNhCcBQ/i0ioMoP7CrfvkefSD2ypieIIqq1hRpuHoyuHtVCUJeP86N3QAjKsXVA SHvro3OxELZZsFx6lTjLgVcNXWnUtXSYTR0MODJ4kwLI/Fl+d2TBDMLGjyy5GizmZ/Vn QnO25SzGdqk1ck9E4yLSl/SJ7iyZP/yhH5NxQg3ZlIx78z+qoT+4rPQumY5NYWOVsYwa gs+D3SLPeuOPCkUFow4uyck8n0lkx0R6rNvKFwLCOen2aPY7y/fssWKcZ+CEUUcNokby a/0fGz7dRGoD9hs3bqy/598QhFQU3yI+QF+yvOBlSK7orqjwsKrHN6uWkiRDKzRj23IV SbYw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="Cua4/Tqe"; 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=1685719621; x=1688311621; 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=yXpw+vQosp7v3RYY+TUVjSNJcNoWsArG3KlHKVAPlwU=; b=XXnOv46pXgp72XRN3Qr8rSunVYriu04inx5VGjhMyvjw7j+PKA0XV46TSfISgI4vfa zD1QAHCLcatFUElM2l+gjvm7tpZ3BHxAlzU9yO0jF+1PIPQEu+FuUnHhQY8IhdtncPSp E04Eyztwv8bQMfjD35gqRQ+Ug/xF+jNK2zJCE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685719621; x=1688311621; 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=yXpw+vQosp7v3RYY+TUVjSNJcNoWsArG3KlHKVAPlwU=; b=TE65D23Xeb6XN7kBZJgbeyhJzuYktfliVaq1UT1IXjnLmMMOrtdvdZcn+mYNNjMhTV G4s17pITP1Uma3TJ9NptrSxF0bH2PIk/BHftZ0Q/ginNCF14F1vR2rpGIOp8Tz14JCUF Loy71Rhmg6r7kzC4HLzRPoLUhSS69ve1jhch8VMuoT+NSCAJooJjUW9bEWAG/U3T4VMs r1PnSjLxFr5YHJrvdD+KFNzUl1EG7wCgDgM/sHjYVItuUDOlfbGlXIIWQk4XkuElvadL BD7t8xN1yb58TPYc/v6ld8exK/X17O2x2A0KJh1qkKfJLMu93t5nOeY14Qjf4jbOaLsZ BcMw== X-Gm-Message-State: AC+VfDyE6FN3PBD5IUlJpt6wujMQ8WYiz9RSE0DoiwdtW/X9HMezJxCR 7n0d44AvEed2ZU1vSIUOPeqFWKAv X-Google-Smtp-Source: ACHHUZ54d/EkllE1NIfSJgdhNp8yzMXcQjlvLt9p84Ijps4N+D4R5tT0ase0yRu3FAytbAVUcuCGSw== X-Received: by 2002:a05:6a00:148d:b0:63d:3c39:ecc2 with SMTP id v13-20020a056a00148d00b0063d3c39ecc2mr6200133pfu.12.1685719621350; Fri, 02 Jun 2023 08:27:01 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a62:87c5:0:b0:650:7fac:ea0c with SMTP id i188-20020a6287c5000000b006507facea0cls10642pfe.1.-pod-prod-00-us; Fri, 02 Jun 2023 08:27:00 -0700 (PDT) X-Received: by 2002:a05:6a00:2ea3:b0:646:f971:b179 with SMTP id fd35-20020a056a002ea300b00646f971b179mr7035602pfb.16.1685719620253; Fri, 02 Jun 2023 08:27:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685719620; cv=none; d=google.com; s=arc-20160816; b=d2cxNU1E0mQ4foPtvP5dmzZNuXym7LS49EWRUdPw2vEqbZqGumHUCw2uvS5r42MUik N/qE9RGyVDnnjUW69NoV/+KSz8aZbfF+gzqOJvgx44QCeD6BBsjjBNCWANX0WLutaqNP /QX0irzCeIr7XJ7wOxECuDvHcf0STrYWHFyRA6V4j4pyCOVoQl4ToeJFMIhl4DwTwTID 5SLb6jbzB61cSCgrSnst3lJQvd/W2IPwgaUn4OwhSM18VJ795gULlSve6ln4TwlXZYOu rFx1qH1Ee5aZ1nl3886z1QRdpC8/3+UkBeTzCx0ua9sAFP6lawW8b2deZNygxVSuwytF pppA== 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=ed1v78z0TJZnhm6z1MAbKtsRTFuX7RltHmCob7q0m9g=; b=rS76QlPTuSdS3ti/ee0iSEO9TsvLZGEJimJIHLi3tRVGERYfgMDK4X9YdTX45rIMQA NsjgFjEpJdPCQNjmVokCFTOZAAViFZ0jOSpV4VGgqKb7LgHtJ+ZsRnKKVLM4OQB6p0i2 ddLT2LneA5V6WSU2Ov0Oh/DTM/GbMyTuGZSn/9fq7gg8htJxgWLnppZCJt/fqRhsxjeE iqMh0ksZZ32Og+whka9/hkUIp4Fs76FAWfVlHmUtGNRxGFFJUo4CqIporsOOaFdhwJFW WqKVXn3n7Sg43Xf8+sfEBK5VsX9ZBYr9f7MtaCrgxjuAhWeNHBL/eE5Bg1+VR5QCXklJ hXRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="Cua4/Tqe"; 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 l4-20020a056a0016c400b006410a66a494sor1553358pfc.5.2023.06.02.08.27.00 for (Google Transport Security); Fri, 02 Jun 2023 08:27:00 -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:6a20:158e:b0:103:b585:b587 with SMTP id h14-20020a056a20158e00b00103b585b587mr5493231pzj.13.1685719619954; Fri, 02 Jun 2023 08:26:59 -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.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Jun 2023 08:26:59 -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 , Tianling Shen , David Bauer , Loic Devulder , Chen-Yu Tsai , Banglang Huang , "Matwey V . Kornilov" Subject: [PATCH 2/7] configs: Drop unused XHCI_DWC3 for RK3328 boards Date: Fri, 2 Jun 2023 20:56:26 +0530 Message-Id: <20230602152631.106887-3-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="Cua4/Tqe"; 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: , Driver support for rk3328 is not supported so drop this unused XHCI_DWC3. Cc: Tianling Shen Cc: David Bauer Cc: Loic Devulder Cc: Chen-Yu Tsai Cc: Banglang Huang Cc: Matwey V. Kornilov Signed-off-by: Jagan Teki --- configs/evb-rk3328_defconfig | 1 - configs/nanopi-r2c-rk3328_defconfig | 1 - configs/nanopi-r2s-rk3328_defconfig | 1 - configs/roc-cc-rk3328_defconfig | 1 - configs/rock-pi-e-rk3328_defconfig | 1 - configs/rock64-rk3328_defconfig | 1 - 6 files changed, 6 deletions(-) diff --git a/configs/evb-rk3328_defconfig b/configs/evb-rk3328_defconfig index 580ee502dc..5ab7abff9e 100644 --- a/configs/evb-rk3328_defconfig +++ b/configs/evb-rk3328_defconfig @@ -93,7 +93,6 @@ CONFIG_SYSRESET=y # CONFIG_TPL_SYSRESET is not set CONFIG_USB=y CONFIG_USB_XHCI_HCD=y -CONFIG_USB_XHCI_DWC3=y CONFIG_USB_EHCI_HCD=y CONFIG_USB_EHCI_GENERIC=y CONFIG_USB_OHCI_HCD=y diff --git a/configs/nanopi-r2c-rk3328_defconfig b/configs/nanopi-r2c-rk3328_defconfig index 84710c185b..6af874ca2c 100644 --- a/configs/nanopi-r2c-rk3328_defconfig +++ b/configs/nanopi-r2c-rk3328_defconfig @@ -97,7 +97,6 @@ CONFIG_SYSRESET=y # CONFIG_TPL_SYSRESET is not set CONFIG_USB=y CONFIG_USB_XHCI_HCD=y -CONFIG_USB_XHCI_DWC3=y CONFIG_USB_EHCI_HCD=y CONFIG_USB_EHCI_GENERIC=y CONFIG_USB_OHCI_HCD=y diff --git a/configs/nanopi-r2s-rk3328_defconfig b/configs/nanopi-r2s-rk3328_defconfig index 21d7a073e2..7b0fadbce9 100644 --- a/configs/nanopi-r2s-rk3328_defconfig +++ b/configs/nanopi-r2s-rk3328_defconfig @@ -97,7 +97,6 @@ CONFIG_SYSRESET=y # CONFIG_TPL_SYSRESET is not set CONFIG_USB=y CONFIG_USB_XHCI_HCD=y -CONFIG_USB_XHCI_DWC3=y CONFIG_USB_EHCI_HCD=y CONFIG_USB_EHCI_GENERIC=y CONFIG_USB_OHCI_HCD=y diff --git a/configs/roc-cc-rk3328_defconfig b/configs/roc-cc-rk3328_defconfig index 6b3bc75ae9..477179e80e 100644 --- a/configs/roc-cc-rk3328_defconfig +++ b/configs/roc-cc-rk3328_defconfig @@ -102,7 +102,6 @@ CONFIG_SYSRESET=y # CONFIG_TPL_SYSRESET is not set CONFIG_USB=y CONFIG_USB_XHCI_HCD=y -CONFIG_USB_XHCI_DWC3=y CONFIG_USB_EHCI_HCD=y CONFIG_USB_EHCI_GENERIC=y CONFIG_USB_OHCI_HCD=y diff --git a/configs/rock-pi-e-rk3328_defconfig b/configs/rock-pi-e-rk3328_defconfig index 9c67d0c5fe..633d5417a9 100644 --- a/configs/rock-pi-e-rk3328_defconfig +++ b/configs/rock-pi-e-rk3328_defconfig @@ -103,7 +103,6 @@ CONFIG_SYSRESET=y # CONFIG_TPL_SYSRESET is not set CONFIG_USB=y CONFIG_USB_XHCI_HCD=y -CONFIG_USB_XHCI_DWC3=y CONFIG_USB_EHCI_HCD=y CONFIG_USB_EHCI_GENERIC=y CONFIG_USB_OHCI_HCD=y diff --git a/configs/rock64-rk3328_defconfig b/configs/rock64-rk3328_defconfig index 74a9cc0a7d..ae761d08a1 100644 --- a/configs/rock64-rk3328_defconfig +++ b/configs/rock64-rk3328_defconfig @@ -100,7 +100,6 @@ CONFIG_SYSRESET=y # CONFIG_TPL_SYSRESET is not set CONFIG_USB=y CONFIG_USB_XHCI_HCD=y -CONFIG_USB_XHCI_DWC3=y CONFIG_USB_EHCI_HCD=y CONFIG_USB_EHCI_GENERIC=y CONFIG_USB_OHCI_HCD=y From patchwork Fri Jun 2 15:26:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 2896 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pg1-f197.google.com (mail-pg1-f197.google.com [209.85.215.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id F38893F076 for ; Fri, 2 Jun 2023 17:27:07 +0200 (CEST) Received: by mail-pg1-f197.google.com with SMTP id 41be03b00d2f7-53425d37f33sf1027036a12.3 for ; Fri, 02 Jun 2023 08:27:07 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1685719626; cv=pass; d=google.com; s=arc-20160816; b=HFY7lggwpmX7+LUCXaU/UDQATiRYsbzKOhgu5hmSXjLcXUrXsLrxXQXZNfbnwpL+WS sRF59JnICnDXt5OGh4/zXeIgUwJheOPCsj8Z2GiVsXGctVLsybbf0Up1NklfJXaVV++9 f0QYVFij9CaLXGNJgUtw9D+rpJZ6dzESkltJtX7/6KYPYagplwbf6hpZV+jr9bGMKXhx yh/10t9b+IPxMHasi6O52KiyHTxBZFcWYyy0bbCjYrMVpdnVnJCAq4SSwMgLiKvxx7+F 0KW7Zq8oxDWTffkkdEpYa1BdiIcspdtPVi8o2ZLeT+UPlJ6dPUWl7W3f8cii45kbjype e5Lg== 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=aCHbB3kaMQ625JOjmGLIRwXXyagkBXR5MbXGikl8sDE=; b=DdMTnFSMjVycP3Av2lqBg81+TJ6ga3a8sFQIscvO0/3LESUPBKeo1sDNi1ik9N2kgi kLWXT4MjWJapVjcKWsiZdbzgVtwKqSOGPAYjGAHEXa004RijiL3Sn7375zoUoQl97R3U 634vdDysBGgasJTm0CI/KgOptAbvIcZ4K5o9NJPSwITs/n6sTLDWfc8jDLsEKR6s7dZo qmQvrFt8X+aNdlbAClsiGHsHobpmKXwcyBfGfC/1x+G5lm7ILC7w8KebxWr41imxC6yD KlB0k7lvAwSh+gdeFG7yDKDF+64GWCQ1bElNGX9UBe0YiCnUtUM24FC4WCWQcT9HSiu0 eeLg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=M2foM8CY; 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=1685719626; x=1688311626; 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=aCHbB3kaMQ625JOjmGLIRwXXyagkBXR5MbXGikl8sDE=; b=SaVxl08MZGFKrJPvcFX/t2eta749PO3nlWyLRNTJJanS8A00c92InIwFmJJyWjdBB8 ZpUZQliS0lKs1eITQFKT5bxZ1DvMnaM5uy0JgOAzVW7JWM8CS1Hq4SL6PNFNMOqXJLb0 D6BdnWEoh2yldpUoevgfl0lzQY57mqEf53i6M= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685719626; x=1688311626; 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=aCHbB3kaMQ625JOjmGLIRwXXyagkBXR5MbXGikl8sDE=; b=WGoOv4Hr0p7b3kjfKcLuVMRJoWttNKqWI5L1oswRlOBLYwZKIC4gGayTs0GVWNLqjn SS0sS8gvD5m6HXZl2qDctfjawzog10ewuoHl0oDsbki4AwJAuU3ezvdRClxRIZKqPHG7 iUJ7hUd2uxOWkMdAoscVi8PqOJVmrZy6mNhplpS953SM3j6yJCtG6hvAouzWVNSIVLE7 ioGWyHKuXdwgCi54Se3LYQJ7E/BudPbxdEz/bQYbKyn9EBPgEkUxhc2sPseZrKBGgiAF BBWINqDuMFdKgzk/kc8GkXRRRqILXTaysAo803qmRXFe5pRD7n1S1lgrSUrW1FKOItS9 69+w== X-Gm-Message-State: AC+VfDwNjOB06WuzwlrnpFbYgsDL5ButvmrftVbddr30Zp2wMVBCGh3R r7UnHQw9QvhBgWqG/V2OcSbAnB1u6JBamSl5 X-Google-Smtp-Source: ACHHUZ5vkRzkRT9mF67hT6i6IzAupAIsXLBq9f0GxYpIKg4leVhCKeaHBo8f31EiRs7TZg/xQxu8FA== X-Received: by 2002:a05:6a20:4325:b0:10a:e73d:2572 with SMTP id h37-20020a056a20432500b0010ae73d2572mr11691678pzk.3.1685719626721; Fri, 02 Jun 2023 08:27:06 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a62:828a:0:b0:653:7d2a:7e8a with SMTP id w132-20020a62828a000000b006537d2a7e8als257557pfd.1.-pod-prod-04-us; Fri, 02 Jun 2023 08:27:06 -0700 (PDT) X-Received: by 2002:a05:6a00:8d3:b0:652:faa8:a5d1 with SMTP id s19-20020a056a0008d300b00652faa8a5d1mr1798610pfu.27.1685719625724; Fri, 02 Jun 2023 08:27:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685719625; cv=none; d=google.com; s=arc-20160816; b=bW7j/Z+lYjgkl7d54nJ6dc4hB6zpnCmFLrBGTGo69PEz1mSr/1veJsrfGB9KfwB2s1 2iSAXvq8xoJusQIrNRgf97lHr8+D9kEU6ej3msadY1Ed8GfF3mFXGT/JFPhx+uUQgSSj ftEaGFJuFjZ7DNa9zS37OuShioL0W8f3MW7+rXn44c1Be8X86/Rx4jicm0WeQRjMkOM9 lhr5ilhCxe4u4aIRMPu/eV2H4YbzXJjqgyr3uIyDoP1pln/PZBstEBr+qeJWvzZizrH0 +uWAgftMqRtem4yBDWZE2Asvxqamsk2NUk/xiPTqFACjApTuS9VzfPQDj48RIAa0vpst +OLw== 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=+Y2pWAcr4WkY+YsgZ/AHaVHEREo9hbuGbNuHfpfVulM=; b=iCOonlR6DjGjSexUiO7Zj5fIu9g/PPmrJJTfbi1AJxpnHnowxyCzSk6jsYVA5fDY6N 6xVfWE4iHOTbN3EsCmVevd7CZmOxk6+G3OXjTgDdrsR2tvJInyrddfm4GSDqHAixSt/C Sod8Hvlld2ZQO/P+c5MlX2wP5JSEOHoKW7psGiiX+cV8cHZqk+baC92uCZ94v7rjkzGN lTc66PqPmoUzn0gK5BI7ceZuD+D32JxAaH9NDUTf2kFVH3xfzGPWh+UjvsgY+dV+Zw5W gqQav5zsFAZa9jvJEFlwj1KzFEe/Pbm0zTVW7gBdMAaP6M4omfDyYemjoNt71MaxksmR hlRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=M2foM8CY; 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 p6-20020a622906000000b006410a66b32csor400063pfp.1.2023.06.02.08.27.05 for (Google Transport Security); Fri, 02 Jun 2023 08:27:05 -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:390c:b0:645:ac97:5295 with SMTP id fh12-20020a056a00390c00b00645ac975295mr10111619pfb.9.1685719625269; Fri, 02 Jun 2023 08:27:05 -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.27.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Jun 2023 08:27:04 -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 , Marek Vasut Subject: [PATCH 3/7] usb: dwc3-generic: Restrict single ctrl node for RK3328 Date: Fri, 2 Jun 2023 20:56:27 +0530 Message-Id: <20230602152631.106887-4-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=M2foM8CY; 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: , Like Rockchip RK3568, the RK3328 also have single node to represent the glue and ctrl for USB 3.0. So, use the driver data to use single ctrl for RK3328 DWC3. Cc: Marek Vasut Signed-off-by: Jagan Teki Reviewed-by: Marek Vasut --- Note: It has dependency with https://patchwork.ozlabs.org/project/uboot/patch/20230530102617.3413183-5-jonas@kwiboo.se/ drivers/usb/dwc3/dwc3-generic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/dwc3/dwc3-generic.c b/drivers/usb/dwc3/dwc3-generic.c index 5f8c2613a4..dcf420bafd 100644 --- a/drivers/usb/dwc3/dwc3-generic.c +++ b/drivers/usb/dwc3/dwc3-generic.c @@ -621,7 +621,7 @@ static const struct udevice_id dwc3_glue_ids[] = { { .compatible = "ti,dwc3", .data = (ulong)&ti_ops }, { .compatible = "ti,am437x-dwc3", .data = (ulong)&ti_ops }, { .compatible = "ti,am654-dwc3" }, - { .compatible = "rockchip,rk3328-dwc3" }, + { .compatible = "rockchip,rk3328-dwc3", .data = (ulong)&rk_ops }, { .compatible = "rockchip,rk3399-dwc3" }, { .compatible = "rockchip,rk3568-dwc3", .data = (ulong)&rk_ops }, { .compatible = "qcom,dwc3" }, From patchwork Fri Jun 2 15:26:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 2897 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 884863F076 for ; Fri, 2 Jun 2023 17:27:15 +0200 (CEST) Received: by mail-pf1-f197.google.com with SMTP id d2e1a72fcca58-6537ff2c93fsf213583b3a.2 for ; Fri, 02 Jun 2023 08:27:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1685719634; cv=pass; d=google.com; s=arc-20160816; b=D4VHNz4tDyXjU6ePwqEfPdswY6WYv83hI3R4ho+4/RZU4FuFeGomNkXlzdaV1UmxzA GGck7ugfqCjxye3Upot+Bw5sJnX71yIPZrFzQ198RBdo7KephpsR9uD1z5q9Kr+kf9Ld SB/APWFfPNR6XsuCIWmFKJU9qKbWmKrZCmUYrjGMVIHUTefi3iYnXYag/5HpTSXdaelS tQoT4nXJIm4Dl1oa/cxZx9YMojlm2GKgz9livvb6IEbfSk8xE38RJZuqJZMtLdYeAlpV 9ncdzcJXMbKsWeMa6rl5oNBPdcLcZ7Ipk8nYWRQFK7JxrOz2btoeX0Qnhu8N1CjALRXA wAUg== 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=CkpZ7TlsFyikL4KTxMsqhkEJw6jm7zbUZhnJ6a7gTWY=; b=SjgiPF1MoBDdShfugfyF0qocSxtb80WxpRPCMZG10UjW/ACO/J2hQxCYEN4yzhRzwK 53XkA6BaumCCmdJ5S6ZJwD/+wLiIqaTgadlPTBJR8G7erctKYYTqANef1QraIzNHUbsZ RtDdlEyutyzT/nS/Beh+HzgmPk0HBMZ2KVJ1o51T5pVGrxpvKSOgZWXhmq0IsPBE8gbM of4/iQ+kbBIQLU685rDfpYpUE+AOP9Di/vJzx0d6mfhmKzq/bfRbU7eHpzOmlINCyRCV JNUCptWy7uKXP5ICDcl4/yjWsjjUnM74KB7Bg9Y+JT7oQLKnEiDapagqngBRGD7/FUBe 9Huw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=HrwieaVI; 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=1685719634; x=1688311634; 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=CkpZ7TlsFyikL4KTxMsqhkEJw6jm7zbUZhnJ6a7gTWY=; b=EVNE2C5uhTrvQAB7sc2xvoVsuyHtIVSy8JRSSEWr2KmORXgXyRcBiv2NxmLBULswwr tJ8gA2bf0kliBgnIJ2mkIqEQR5FddJTOIsO9Lud0WTT78Fo2Rlen9TxTdsDb486TknKk v2XGeFxeUgWmDOSw4ZWZPgnU8+8GB+syteITI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685719634; x=1688311634; 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=CkpZ7TlsFyikL4KTxMsqhkEJw6jm7zbUZhnJ6a7gTWY=; b=ORjUlh1252XFWwtaxcIhiuOwdISiE6r8f/mybf1Nn4Mi1ouctQ8R3Jd3bOxTlLw+yu 2eFp72LQz5ogmVm7B4y8MA9wh86stuGS65/1LoKirxxcentX/0yYTPgJ1fk7oE2jfcn+ XRvQ5SY/0WGggNrLjoiH8pTMLYdBzyjbdAsYkd3o+zwf9QcGVXjY4dBuwWVeWa74kWAh FkC8DXyUyZleXTG0PhKUbSm5+p5dK9bk0yus25gKRcAqdi7J8uvdZmlbDdK896ETi2lt t0bqVVE1UOVDAT0d8swLWeV9jIbaQDfFnjEixFPO6sCjVnigZ2Wh43a0ERVqkTqKFEMp C7Gg== X-Gm-Message-State: AC+VfDwFRhhWXLI65IO86nveSe8/rlvm5UqZuVUsCBKnmk9TZ0wacKHG R5vZ7KXEum8z17FXYN9XCDFJlE+W X-Google-Smtp-Source: ACHHUZ4Wg9cQ5Jj1K1zSRUM+37NVxZduyZUT/s/pseJ/swo0nC3JYzg2c0/GX6UxOls5i3CbRQkdxw== X-Received: by 2002:a05:6a00:22d4:b0:63d:5de3:b3f2 with SMTP id f20-20020a056a0022d400b0063d5de3b3f2mr11272837pfj.18.1685719634257; Fri, 02 Jun 2023 08:27:14 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a62:8183:0:b0:653:8a1d:b391 with SMTP id t125-20020a628183000000b006538a1db391ls201721pfd.0.-pod-prod-02-us; Fri, 02 Jun 2023 08:27:13 -0700 (PDT) X-Received: by 2002:a05:6a00:181e:b0:63d:641f:5048 with SMTP id y30-20020a056a00181e00b0063d641f5048mr11077931pfa.16.1685719633265; Fri, 02 Jun 2023 08:27:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685719633; cv=none; d=google.com; s=arc-20160816; b=sxGmYFlmyH7CV+23CWuFf+WpXNb9RUR2flVcj04Uk2KIRSNiws55MhUMSzSLAmleWu 6vu0iesAr/I8Gctak+HHeSlB7qUOl2nXaxXaPjMMwsWvtpsm17n9ejjiU1yJdOIAs6Oq rc83rQbs85ZNH2gQkvkqDJssz6mTvqvFXN6/WgvQEdR3w78VXGY8dJ5oSLzoXuVnV80O 17TcPUN3nfuCNq4cVcNMVCECyeu0PmFHbHQqtbCiSpLHJ9K7flgJBx4iWx/PGVqFaPgp c5I/+bj5dnjnKYWZnaI2O2tGwTNKBJgQhargl9hyc2+SGEYD40dkwEMUkV0WAB2erlv5 /5bQ== 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=HVWD4X4gEtfPyrol4SKfUjO9qNt2IVFWILce5t4/6c0=; b=n+L4suPyl7ktcABfSHxQ2ALzX5J9Dew2+CqoWqRLnIvupWZ/akYYaGp2ywc28Mc+DN Xweo6DQ9YnNi34D2tE4WlN7ApWXw+MERAzTML4FZFZ8smmBN80pxrFNcqkCDJHTAR9nz IKuNx6eOOfTqYq3vcuMIiFrWiNcHGaqPULOXqPj7JZf5giGYd601/aXgcEvAh5i9/OT4 wa5UudU2tvDC9K9GFpn/OtlLovYeLHhRihomupC8MNviP3p/QxEP9em51XdEV5NtPaKc s14xInbC1AI+gDXvIWvFVgJZf7Z9CcXpme21n4mgmD9hdU4/agzbVpaV5Iq68pM1R7QG IDCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=HrwieaVI; 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 w82-20020a627b55000000b0064d122613d8sor335062pfc.2.2023.06.02.08.27.13 for (Google Transport Security); Fri, 02 Jun 2023 08:27:13 -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:6a20:4286:b0:10b:235c:d8c3 with SMTP id o6-20020a056a20428600b0010b235cd8c3mr11550748pzj.36.1685719632879; Fri, 02 Jun 2023 08:27:12 -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.27.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Jun 2023 08:27:12 -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 , Tianling Shen , David Bauer , Loic Devulder , Chen-Yu Tsai , Banglang Huang , "Matwey V . Kornilov" Subject: [PATCH 4/7] configs: Enable DWC3 USB 3.0 on RK3328 boards Date: Fri, 2 Jun 2023 20:56:28 +0530 Message-Id: <20230602152631.106887-5-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=HrwieaVI; 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: , Enable USB 3.0 in all RK3328 boards. => usb start starting USB... Bus usb@ff5c0000: ehci_generic usb@ff5c0000: Failed to get clocks (ret=-19) Port not available. Bus usb@ff5d0000: USB OHCI 1.0 Bus usb@ff600000: Register 2000140 NbrPorts 2 Starting the controller USB XHCI 1.10 Bus usb@ff580000: 1 USB Device(s) found scanning usb for storage devices... 1 Storage Device(s) found => usb tree USB device tree: 1 Hub (12 Mb/s, 0mA) U-Boot Root Hub 1 Hub (5 Gb/s, 0mA) | U-Boot XHCI Host Controller | +-2 Mass Storage (5 Gb/s, 224mA) SanDisk Dual Drive 040130e3ee554b7078843f4eb331646 1 Hub (480 Mb/s, 0mA) U-Boot Root Hub Cc: Tianling Shen Cc: David Bauer Cc: Loic Devulder Cc: Chen-Yu Tsai Cc: Banglang Huang Cc: Matwey V. Kornilov Signed-off-by: Jagan Teki --- configs/evb-rk3328_defconfig | 2 ++ configs/nanopi-r2c-rk3328_defconfig | 2 ++ configs/nanopi-r2s-rk3328_defconfig | 2 ++ configs/roc-cc-rk3328_defconfig | 2 ++ configs/rock-pi-e-rk3328_defconfig | 2 ++ configs/rock64-rk3328_defconfig | 2 ++ 6 files changed, 12 insertions(+) diff --git a/configs/evb-rk3328_defconfig b/configs/evb-rk3328_defconfig index 5ab7abff9e..5183d65451 100644 --- a/configs/evb-rk3328_defconfig +++ b/configs/evb-rk3328_defconfig @@ -69,6 +69,7 @@ CONFIG_FASTBOOT_BUF_ADDR=0x800800 CONFIG_FASTBOOT_CMD_OEM_FORMAT=y CONFIG_ROCKCHIP_GPIO=y CONFIG_SYS_I2C_ROCKCHIP=y +CONFIG_MISC=y CONFIG_MMC_DW=y CONFIG_MMC_DW_ROCKCHIP=y CONFIG_ETH_DESIGNWARE=y @@ -100,6 +101,7 @@ CONFIG_USB_OHCI_GENERIC=y CONFIG_USB_DWC2=y CONFIG_USB_DWC3=y # CONFIG_USB_DWC3_GADGET is not set +CONFIG_USB_DWC3_GENERIC=y CONFIG_USB_GADGET=y CONFIG_USB_GADGET_DWC2_OTG=y CONFIG_SPL_TINY_MEMSET=y diff --git a/configs/nanopi-r2c-rk3328_defconfig b/configs/nanopi-r2c-rk3328_defconfig index 6af874ca2c..fb0b8719fb 100644 --- a/configs/nanopi-r2c-rk3328_defconfig +++ b/configs/nanopi-r2c-rk3328_defconfig @@ -71,6 +71,7 @@ CONFIG_FASTBOOT_BUF_ADDR=0x800800 CONFIG_FASTBOOT_CMD_OEM_FORMAT=y CONFIG_ROCKCHIP_GPIO=y CONFIG_SYS_I2C_ROCKCHIP=y +CONFIG_MISC=y CONFIG_MMC_DW=y CONFIG_MMC_DW_ROCKCHIP=y CONFIG_ETH_DESIGNWARE=y @@ -104,6 +105,7 @@ CONFIG_USB_OHCI_GENERIC=y CONFIG_USB_DWC2=y CONFIG_USB_DWC3=y # CONFIG_USB_DWC3_GADGET is not set +CONFIG_USB_DWC3_GENERIC=y CONFIG_USB_GADGET=y CONFIG_USB_GADGET_DWC2_OTG=y CONFIG_SPL_TINY_MEMSET=y diff --git a/configs/nanopi-r2s-rk3328_defconfig b/configs/nanopi-r2s-rk3328_defconfig index 7b0fadbce9..79cb17d751 100644 --- a/configs/nanopi-r2s-rk3328_defconfig +++ b/configs/nanopi-r2s-rk3328_defconfig @@ -71,6 +71,7 @@ CONFIG_FASTBOOT_BUF_ADDR=0x800800 CONFIG_FASTBOOT_CMD_OEM_FORMAT=y CONFIG_ROCKCHIP_GPIO=y CONFIG_SYS_I2C_ROCKCHIP=y +CONFIG_MISC=y CONFIG_MMC_DW=y CONFIG_MMC_DW_ROCKCHIP=y CONFIG_ETH_DESIGNWARE=y @@ -104,6 +105,7 @@ CONFIG_USB_OHCI_GENERIC=y CONFIG_USB_DWC2=y CONFIG_USB_DWC3=y # CONFIG_USB_DWC3_GADGET is not set +CONFIG_USB_DWC3_GENERIC=y CONFIG_USB_GADGET=y CONFIG_USB_GADGET_DWC2_OTG=y CONFIG_SPL_TINY_MEMSET=y diff --git a/configs/roc-cc-rk3328_defconfig b/configs/roc-cc-rk3328_defconfig index 477179e80e..f5912ceca9 100644 --- a/configs/roc-cc-rk3328_defconfig +++ b/configs/roc-cc-rk3328_defconfig @@ -72,6 +72,7 @@ CONFIG_FASTBOOT_BUF_ADDR=0x800800 CONFIG_FASTBOOT_CMD_OEM_FORMAT=y CONFIG_ROCKCHIP_GPIO=y CONFIG_SYS_I2C_ROCKCHIP=y +CONFIG_MISC=y CONFIG_MMC_DW=y CONFIG_MMC_DW_ROCKCHIP=y CONFIG_PHY_REALTEK=y @@ -109,6 +110,7 @@ CONFIG_USB_OHCI_GENERIC=y CONFIG_USB_DWC2=y CONFIG_USB_DWC3=y # CONFIG_USB_DWC3_GADGET is not set +CONFIG_USB_DWC3_GENERIC=y CONFIG_USB_GADGET=y CONFIG_USB_GADGET_DWC2_OTG=y CONFIG_SPL_TINY_MEMSET=y diff --git a/configs/rock-pi-e-rk3328_defconfig b/configs/rock-pi-e-rk3328_defconfig index 633d5417a9..e86a6f7b1a 100644 --- a/configs/rock-pi-e-rk3328_defconfig +++ b/configs/rock-pi-e-rk3328_defconfig @@ -73,6 +73,7 @@ CONFIG_FASTBOOT_BUF_ADDR=0x800800 CONFIG_FASTBOOT_CMD_OEM_FORMAT=y CONFIG_ROCKCHIP_GPIO=y CONFIG_SYS_I2C_ROCKCHIP=y +CONFIG_MISC=y CONFIG_MMC_DW=y CONFIG_MMC_DW_ROCKCHIP=y CONFIG_ETH_DESIGNWARE=y @@ -101,6 +102,7 @@ CONFIG_SYSINFO=y CONFIG_SYSINFO_SMBIOS=y CONFIG_SYSRESET=y # CONFIG_TPL_SYSRESET is not set +CONFIG_USB_DWC3_GENERIC=y CONFIG_USB=y CONFIG_USB_XHCI_HCD=y CONFIG_USB_EHCI_HCD=y diff --git a/configs/rock64-rk3328_defconfig b/configs/rock64-rk3328_defconfig index ae761d08a1..4acbca0140 100644 --- a/configs/rock64-rk3328_defconfig +++ b/configs/rock64-rk3328_defconfig @@ -71,6 +71,7 @@ CONFIG_FASTBOOT_BUF_ADDR=0x800800 CONFIG_FASTBOOT_CMD_OEM_FORMAT=y CONFIG_ROCKCHIP_GPIO=y CONFIG_SYS_I2C_ROCKCHIP=y +CONFIG_MISC=y CONFIG_MMC_DW=y CONFIG_MMC_DW_ROCKCHIP=y CONFIG_SPI_FLASH_GIGADEVICE=y @@ -107,6 +108,7 @@ CONFIG_USB_OHCI_GENERIC=y CONFIG_USB_DWC2=y CONFIG_USB_DWC3=y # CONFIG_USB_DWC3_GADGET is not set +CONFIG_USB_DWC3_GENERIC=y CONFIG_USB_GADGET=y CONFIG_USB_GADGET_DWC2_OTG=y CONFIG_SPL_TINY_MEMSET=y From patchwork Fri Jun 2 15:26:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 2898 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pg1-f200.google.com (mail-pg1-f200.google.com [209.85.215.200]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 78E4F3F076 for ; Fri, 2 Jun 2023 17:27:20 +0200 (CEST) Received: by mail-pg1-f200.google.com with SMTP id 41be03b00d2f7-53fa457686esf2034786a12.0 for ; Fri, 02 Jun 2023 08:27:20 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1685719639; cv=pass; d=google.com; s=arc-20160816; b=wWGVQwohoLYKwR1kKXXabLPxNvv/DazwfhZyUHpdZUpTY/6WlJCn93S2mRJKuNrDI0 +d/NMGmcT4GezMMPYFN1hHsuWL/+QMHANIdvFhPPXyiZqlJRSIaq1fgc1i7WMuVgmwuD Ll2hjCH4orltdpvrjzS+iw+J/Uk0amNOuB6OjfZXsyybiym8Izr7dCFpMz1B7qYQs+dn c1hZtLc9vliDp9FUEdJdZhY91RfAI+Pytn2SkPIWfqqua/dhKTwWDSH49E/xNwAyZ093 bNMGoBoLvYHL64X9H77rOQY0PwOZeJPpc1l6GtiiZa3ZSmP1X4qjCN8YcKOWtVeykMvw GyXQ== 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=JsWfGWcElhKQkpDzYc7DAD7/szmfCsuV9uzJflH3xxg=; b=Uzk+xZO5yHZDKPpVyiFSgtJECQUOE4oZJwaTJQMt8x/RjWsUoymN8W4fonh5I56vZE 9fXSrTxCiq+YrD5GiBNeuE6xP/8FyKhQs2KQ1Tu7Zq/EXfqmAgCLG5sb7RcqaLlALo1i 7mpZj0NY257zhPKHNlxUg6rAspowEAKmnQjslmN8iPmJhU9kdVtTkCzjjmgEkSKR4YyJ /9aMW54lGcCKXfqPGYVA5nHgYgne4taw3M7ikEErPQoz+w9FVYOYT5+qoD7yOSu4aKTH NGvCmDwcFN1GDX8pMd2TMLdp/fhwHkSFlQ4UMamXv7oCg5ftr09+SFEnxuEFfkrEjy+p TP3g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=UejAV7JV; 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=1685719639; x=1688311639; 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=JsWfGWcElhKQkpDzYc7DAD7/szmfCsuV9uzJflH3xxg=; b=Rya+cYPmXLkM4skMV+Kk4YjTYoM6qeJiWXyOqdZuxrQO2jp856jmv2EgsSteivH15x cq8Y8siyG2r2XtD0BZBRa187w6B0pYBpLiDI7uuFiFPM8UfmecjSZfuF9ndIPWhY4VQL +NlpGtNVi7qD9krwuutrf3sUFeMecPwpkKfNM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685719639; x=1688311639; 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=JsWfGWcElhKQkpDzYc7DAD7/szmfCsuV9uzJflH3xxg=; b=BcunosJ9YJNx5FS+O74FwNkuqjp2e0TZ+cjv9g8jQF2cVzz/hzHCkfQ5qpTilBIINP 7BYGTk/jhItcFchVBsjzQF3eG1O6DwfHa9n1Fj/ZVMpKdkc33BRGab17wu2TdtBqSWD7 gRtTmLvahhD98E3mVpoBjazNXdjQ0QAygHzUCeYxRgowMQqFtjQ2Osvb5XCXOEjIKGxP DFd5DJGrulhT67BOQmZOjevVwV+FRG5wG4AGRdgHr9WB5RU/2rzRA5TiWYbB/Q8DIOhv +Q14pNfAcFE9n4z9wff8CNSdXiKwZj0yFU4y5kTn+J7yPtSxST8KMNi4wi2WEPqRANUV ejBQ== X-Gm-Message-State: AC+VfDz+ip3fvX8aHwHeajbM9rendrHpMt6BBrxc+Z0oYAotMUFDMEHB RDAlYWMkKhm5l6ggw/4+4f5Z7MKc X-Google-Smtp-Source: ACHHUZ6aqib27jTQw1Ek1pQ1lwdTn/1iJYCmgjOXjqpAHb3X4UgK7/ZJfrGa2/l1iUCMEIg57Ubobg== X-Received: by 2002:a05:6a20:2588:b0:110:f66c:a0e1 with SMTP id k8-20020a056a20258800b00110f66ca0e1mr6003008pzd.14.1685719638981; Fri, 02 Jun 2023 08:27:18 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a62:87c5:0:b0:650:7fac:ea0c with SMTP id i188-20020a6287c5000000b006507facea0cls10898pfe.1.-pod-prod-00-us; Fri, 02 Jun 2023 08:27:18 -0700 (PDT) X-Received: by 2002:a05:6a20:1456:b0:106:9266:4448 with SMTP id a22-20020a056a20145600b0010692664448mr5571786pzi.16.1685719637986; Fri, 02 Jun 2023 08:27:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685719637; cv=none; d=google.com; s=arc-20160816; b=IgiY/Dum3DQxCLkQftCLiOwapQ8JiPzxvoMf42qM4+2gNEHL96Cm27PgwLt7kkWT56 UaX2azbUG0sRrc2cncMddqVnGMA4CSPwxBCbrx1KjSK+YXj8Y14ZnQJuljCCR5asTFgE NKs5TpvisPEPN0ldOKgHw/6kcBKPoIRG8EntAaJLYyQb0M7LZyRuOO0btT8cltp8w+bZ Li/mh3T6tEA4QH5kDriNBT2q1HalA7wQfSLG+m272YgUyU8zW74784HOQEcvc8B9NpFU X/rMN8MOkjCs30d+aw3KediWjNzbHX6ko9Utx2Fsd7+2xAu1t0u1tzJyH95sEUssB0KN VySg== 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=TVddlRPNKzeLN6Ey4m9q5qhWx/T79IM3mz6a11IPSM0=; b=OVEd+a+WztpaPoHVk+URhazt9HjVtSRCQjt0uxxMVyrYt0pw/bQtlLXYIl0nrXN2XC DcmV13dJjje6uVJFeai0GAy1bnMXJvCHZWCWRisIcBDSfhgqszBMgnWKvkSu5A2Ykx2i R22Ki83whFIvUZsmFYNUqmtm3pNKbrnfnr9tFw5eaKHYy519ujxdy1creF1tNQe5kQEA JPt8c354jYPQLylM1TnauUTACY0qdI+eQM6E5iUHHfsOlRv+R3hvXQltm8z1JKmb5RTj OLOQZR0Eq0k5OMN9SDHUDWa7YgUg3ljvgVq5wYe5cckUOJ4fxxxWbQRKVctX7j/Zti0X EuMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=UejAV7JV; 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 g62-20020a625241000000b0064353c92d1csor338839pfb.2.2023.06.02.08.27.17 for (Google Transport Security); Fri, 02 Jun 2023 08:27:17 -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:a96:b0:63b:54e4:871b with SMTP id b22-20020a056a000a9600b0063b54e4871bmr6403667pfl.8.1685719637620; Fri, 02 Jun 2023 08:27:17 -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.27.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Jun 2023 08:27:17 -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 5/7] phy: rockchip-inno-usb2: Add USB2 PHY for RK3328 Date: Fri, 2 Jun 2023 20:56:29 +0530 Message-Id: <20230602152631.106887-6-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=UejAV7JV; 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: , USB2.0 Host and OTG controllers in RK3328 are using USB2PHY. Add support for it. Signed-off-by: Jagan Teki --- drivers/phy/rockchip/phy-rockchip-inno-usb2.c | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/drivers/phy/rockchip/phy-rockchip-inno-usb2.c b/drivers/phy/rockchip/phy-rockchip-inno-usb2.c index 8986a5543c..75aea2298f 100644 --- a/drivers/phy/rockchip/phy-rockchip-inno-usb2.c +++ b/drivers/phy/rockchip/phy-rockchip-inno-usb2.c @@ -267,6 +267,35 @@ static int rockchip_usb2phy_bind(struct udevice *dev) return ret; } +static const struct rockchip_usb2phy_cfg rk3328_usb2phy_cfgs[] = { + { + .reg = 0x100, + .port_cfgs = { + [USB2PHY_PORT_OTG] = { + .phy_sus = { 0x0100, 15, 0, 0, 0x1d1 }, + .bvalid_det_en = { 0x0110, 3, 2, 0, 3 }, + .bvalid_det_st = { 0x0114, 3, 2, 0, 3 }, + .bvalid_det_clr = { 0x0118, 3, 2, 0, 3 }, + .ls_det_en = { 0x0110, 0, 0, 0, 1 }, + .ls_det_st = { 0x0114, 0, 0, 0, 1 }, + .ls_det_clr = { 0x0118, 0, 0, 0, 1 }, + .utmi_avalid = { 0x0120, 10, 10, 0, 1 }, + .utmi_bvalid = { 0x0120, 9, 9, 0, 1 }, + .utmi_ls = { 0x0120, 5, 4, 0, 1 }, + }, + [USB2PHY_PORT_HOST] = { + .phy_sus = { 0x104, 15, 0, 0, 0x1d1 }, + .ls_det_en = { 0x110, 1, 1, 0, 1 }, + .ls_det_st = { 0x114, 1, 1, 0, 1 }, + .ls_det_clr = { 0x118, 1, 1, 0, 1 }, + .utmi_ls = { 0x120, 17, 16, 0, 1 }, + .utmi_hstdet = { 0x120, 19, 19, 0, 1 } + } + }, + }, + { /* sentinel */ } +}; + static const struct rockchip_usb2phy_cfg rk3399_usb2phy_cfgs[] = { { .reg = 0xe450, @@ -416,6 +445,10 @@ static const struct rockchip_usb2phy_cfg rk3588_phy_cfgs[] = { }; static const struct udevice_id rockchip_usb2phy_ids[] = { + { + .compatible = "rockchip,rk3328-usb2phy", + .data = (ulong)&rk3328_usb2phy_cfgs, + }, { .compatible = "rockchip,rk3399-usb2phy", .data = (ulong)&rk3399_usb2phy_cfgs, From patchwork Fri Jun 2 15:26:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 2899 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pj1-f71.google.com (mail-pj1-f71.google.com [209.85.216.71]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id EA74A3F076 for ; Fri, 2 Jun 2023 17:27:25 +0200 (CEST) Received: by mail-pj1-f71.google.com with SMTP id 98e67ed59e1d1-2563afb0150sf1982297a91.0 for ; Fri, 02 Jun 2023 08:27:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1685719644; cv=pass; d=google.com; s=arc-20160816; b=RWWxuaKScMrcXL4FHRhQFNjessbcdfMBpalDHXdEb4eY6sugZ4IHcezEUwqQT36z7E vx1sr768K2QYB+3cXd5KuEjlid4MclCXIUcWZMNtWwi9SQAdoDYK6sBhL+/Xk9AvQW1W GZCW2+QljkR88yC5AEEasfL47EWaghc99bSKYdAUTrF5SsjFuuelkrxc0JNpdnIA+A3Q qBS9R8PkL1xm5xtGbZDvXJFEawuMRbVnLFz44p9CzylHOz69norG+mphNUUZ8LGFOnBn 2pCR3HFqDwvjkEZLdudNdVxHl5T8cJm/ZajewobXTlI+lp4k3YmuSrwEU6veWFZgB6dg /V7w== 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=I9YMPeBxULqrvqfdyQNldvXC65tEWgnWU9ekEShZqII=; b=QOKnz3pE8z0Mr4ImSXW3DB1dCDe/ncJviUYa6GNCJqX3QMmuWN4JszpTCDXfpN8vbS nRJ0l0eb+7YvQFCUawhPQ5RzKo8r0crOMkNqfEtHbWeFfEyYMoz/KoThXCwsZfKwwonj 7M9kBOzWB47/BjvnnXR4sVid8G2OMzue1NEQlsx+nE6Q4sJ3yNR5xx/fZsDfbuV05r6m cC+CjZqnR9l6zl0u6G9sgz7RAPPcQfQSq6pmotcCXatpFvHSYXji6uENBygIsViLt/sB jdtVMKEyeYQ9dym7a7SW5yW+3L8VNWFefsKo59BfOJ0x0z80tWVkO6S/Tr/0jshVaxU3 HdcA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=kMEJD5XU; 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=1685719644; x=1688311644; 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=I9YMPeBxULqrvqfdyQNldvXC65tEWgnWU9ekEShZqII=; b=F9H8uVYqx9X9dEnhuEIl0sHyNecqb6qj1jcD7BbFE69GOGcrASlrVe48ozhpuhr5Eo aMzx4sBkb+DTj9eu9l5GKp4B4NvDvqTtrVdRRlT8aw1udQ9SSub1b0VcXoc0jWgOP8aP XJimDnqmYwz6mMoXHUZZLCNfT4IsCdR9w8Ido= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685719644; x=1688311644; 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=I9YMPeBxULqrvqfdyQNldvXC65tEWgnWU9ekEShZqII=; b=DBIHqL5sP3E5yexbUD5eBF9kvaQrk17c7XEolg5D0srHXOJc9HC08O0D/qNQ8oyZ0v KO9nVBaYxPi/24yXl3to/gHQ1F86zpF1D+qfNaMNgrxRafx8FSvPLXokY3kDYZH9jtZr h/mtxhtI8LpNxsKxYsyUEuqOykSSwRKD3egThq1aUfFd4VgA5V3JVoV9aXihdRn43dR/ HoEudeNj0W7VcT1I8QlvEsty2t9QMmKSdhc8+DbyUQN3hn7CTB2KvpUcbgskXXvgeOtT 5ToWvKscQO+cCGYtyjL4DjfkzpjWsbi60O3gupkpjvXAGxZ5JF278Mx/n6Adj3aHELQ0 Uc+w== X-Gm-Message-State: AC+VfDw/zuB5ePk6xayZ7P4eDVWeYqARAGJEjZMfMBsizHUSQGyv9HMZ w0lsAmpSO8Xxf0JPsv1ZCNz3/S7h X-Google-Smtp-Source: ACHHUZ6RxCnPuhGlIIDQZpPEwLKb/TDQoGLBsrhy24oMAeR/KqJFHTwkdQOINJschzewT1l3tJMeWg== X-Received: by 2002:a17:90a:c384:b0:253:9754:bed1 with SMTP id h4-20020a17090ac38400b002539754bed1mr285121pjt.6.1685719644724; Fri, 02 Jun 2023 08:27:24 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:90a:8a07:b0:24e:12c5:7242 with SMTP id w7-20020a17090a8a0700b0024e12c57242ls458734pjn.1.-pod-prod-08-us; Fri, 02 Jun 2023 08:27:24 -0700 (PDT) X-Received: by 2002:a05:6a20:1593:b0:10a:cbe6:69ef with SMTP id h19-20020a056a20159300b0010acbe669efmr15094546pzj.37.1685719643696; Fri, 02 Jun 2023 08:27:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685719643; cv=none; d=google.com; s=arc-20160816; b=ZklkzeXGfCotjGTRuVeBD0Pk0HZ8GkDgNddiicWuKIhgopH1hzE+pzcEGmVA8M3F3U SfiJDyp02FxbSLafGlgzs50fRMxD2T9BfwtZicHo/PtsvcGQX3QtYITr7XFGuVT1Uymu ciS33msVBDrxjHiQ7uwXl76SNykkF/BPu/DvrueKa+G0f4JyXYvsiGYXyUi8hpymKEKC bjXDI5fkGKB3wEvOie+nEBf6xzdfVA5gY2U1LLude9vsE1vM1reMpnHBGBxK7vAt4yUj Soa7Ay/h9yWXgI2+oP23AX5RT3mVehUAfFLMp2OxHbyg21zvZ+RBtrPKgJQIS0asGZcp VoZA== 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=+M48AIe8sSCNBevOvSp40wKr9DIBMraxxBuNltGYBmc=; b=J2AgNGfBR/0vqW7IyPc1PhTcUvxqwFGrrNe0lRK4HHUsJJDLgtzLjkJXa5l7lwzf2j yykeg6HhhKZ4uZZVh7mSYNvF745mr5SfIPDISM0gPFEpfOEIMzXDFnT8GG5iKBozzNO6 L0fSKeBYi41nwrswVynq5YxTv5gREg6iMcViRr3LUCAnmu/AdM0DnAOARlBa5R/u1UYm NI3ZmnlbgT/pDSrwNwM6ZKcDd+hYJ7lJbsCDjRNam8sqs+sp9CJsNl3WwfJBMiemqTad PuxJGAf3qtzNCghXbwxWE/UH4ARwTcpgDh8zj1cyzwBv9Fjuv1D/99J5/GGGUQNEiUZk 8qiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=kMEJD5XU; 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 r12-20020a63b10c000000b0053474410e7esor815835pgf.6.2023.06.02.08.27.23 for (Google Transport Security); Fri, 02 Jun 2023 08:27:23 -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:6a21:3884:b0:10e:d3a0:cddf with SMTP id yj4-20020a056a21388400b0010ed3a0cddfmr10584617pzb.12.1685719643446; Fri, 02 Jun 2023 08:27:23 -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.27.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Jun 2023 08:27:22 -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 , Lukasz Majewski , Sean Anderson Subject: [PATCH 6/7] clk: rockchip: rk3328: Return zero for USB480M clocks Date: Fri, 2 Jun 2023 20:56:30 +0530 Message-Id: <20230602152631.106887-7-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=kMEJD5XU; 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 u2phy has assigned-clock-rates on USB480M, return zero for them since the default rates will work fine. Cc: Lukasz Majewski Cc: Sean Anderson Signed-off-by: Jagan Teki --- drivers/clk/rockchip/clk_rk3328.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/rockchip/clk_rk3328.c b/drivers/clk/rockchip/clk_rk3328.c index 969b7a8581..0e9b506890 100644 --- a/drivers/clk/rockchip/clk_rk3328.c +++ b/drivers/clk/rockchip/clk_rk3328.c @@ -681,6 +681,7 @@ static ulong rk3328_clk_set_rate(struct clk *clk, ulong rate) case ACLK_GMAC: case PCLK_GMAC: case SCLK_USB3OTG_SUSPEND: + case USB480M: return 0; default: return -ENOENT; From patchwork Fri Jun 2 15:26:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 2900 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f200.google.com (mail-pf1-f200.google.com [209.85.210.200]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id C58493F076 for ; Fri, 2 Jun 2023 17:27:34 +0200 (CEST) Received: by mail-pf1-f200.google.com with SMTP id d2e1a72fcca58-64d2a8896fasf1086229b3a.1 for ; Fri, 02 Jun 2023 08:27:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1685719653; cv=pass; d=google.com; s=arc-20160816; b=JNitdkDJz5dXJJKwUSHv7Ix+ycpaxQg/r0umbVkXmFodkV5XCdS6ytBbQ+Oe3lacvB g5ztsp2rmUD9UCKkXO4D4Kwgo2OdDofLXeoFGdLzKccssh276cadro6GYxKREBDuxwDE 70kkAiZrWUaS9QrDZt0U9rYw/aM9fxvrgolXf/ftRa1rjs+qmxM8pqf4CsC1sGsdkqo3 7DZtNtzBjXwfRydSxBRC8uJF9PoY+b7IUTYSWkvpRgfhySsCfK1y0PwA52+n3xx50MQ+ aXKiY5xIFHShMQ/9/+DbZ3X6V8hNtbDR55omjMSI6w+DcvrT4w3sf53KDWrUbPj/FWlk Yi2g== 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=mYyNOI1NItdiTt26oSUzwJnNt73/wvQghJhzWK63I/g=; b=twsHMiIfSUCPREcJax6UsZOSuKSXYvdiPAHE2eEbRo7zfM9sDXQ8lMMbCg8udi3adb bDWaSB8UgQE8sHolGz7m3M82BWKVd3WMP9xlslgbhq3OncNrVz+R0qfC2DFdWAY4gP9F ha2wbgGgg1c3JrrOgCQPVeqZ0BtLVoyQ0cekDAzICdcomHYSaKhUv3F5FCuaDlYoeuzZ +Rp2KFqeel4MSGcmrtvUoYv3lzJGzPa1pLiit/SinraEcg9I2sgT23vAjZnKzA5DIuys Mf1dGOoq5WTUK6FkOuwx/CCpaz7ikWy9kQt+rJmFT3o/OATwcgvdRMln7kzLQrAg9VhV 2sNA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=qYCO2Na0; 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=1685719653; x=1688311653; 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=mYyNOI1NItdiTt26oSUzwJnNt73/wvQghJhzWK63I/g=; b=EZ79dV++oz2Dq1iRpLIbyN7d53zqP2qUwDRoOOnUwPLFzQ2fHivSJ7H0LRElZfrihw qO3LPrRGVys5zZWYQsladmjOeea51wrWiN9fS0lBtUMZHwu9p4YH02kyfpHJxlFtwI/A +KMGfBYwrd8CdJDd0OrAZWP00v1EE+Nhobgus= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685719653; x=1688311653; 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=mYyNOI1NItdiTt26oSUzwJnNt73/wvQghJhzWK63I/g=; b=jht6XJ+1FQXHdbwFeTA558CS/80MCrm5dRBCzSsR71+S+40Nws2JYlSTfEAI1kmEY6 wFLxzRIHB6FAlhGEKJliLTKfKYMKuUliE7Y5Areh+7eLyACPPqxpJkjzQZm2XumsMY1c WW2p5TNLmLR09uJwgbHroTSonAxaXo2oIeXUjNRwgBZPR31DBmjI2LTrPTTXG7IR6uXf LMewQMhDiqw49LIptyv7mn6VbSFPcqaCGz3LCejEp4YzOnnWbNzG9HpEc+2pln5RTPkJ e6pbXZBmN6MgKszS7XdMNED6RbmqvIzi+1Tf7t/85ajHfAnDeaRjQ86cBHD7rXCs/NBz nl7A== X-Gm-Message-State: AC+VfDwAQxcL7bRJdhO6Bzb5o87vn8T941ZSip/VJxpTPmHF7JbYYh7N DsIuOGJIH1sT+UiuJPtJCAhhDQYd X-Google-Smtp-Source: ACHHUZ64o0SGfLqOC7hiwDTy5UdmzWQvZxC1xTb3W6E3Ec7WclDtTRcozmvUvWxjBOSSR9Ytt2coow== X-Received: by 2002:a05:6a00:813:b0:63b:5496:7afa with SMTP id m19-20020a056a00081300b0063b54967afamr10946034pfk.11.1685719653643; Fri, 02 Jun 2023 08:27:33 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a62:8183:0:b0:653:8a1d:b391 with SMTP id t125-20020a628183000000b006538a1db391ls201965pfd.0.-pod-prod-02-us; Fri, 02 Jun 2023 08:27:31 -0700 (PDT) X-Received: by 2002:a05:6a00:22d4:b0:63d:5de3:b3f2 with SMTP id f20-20020a056a0022d400b0063d5de3b3f2mr11273523pfj.18.1685719651108; Fri, 02 Jun 2023 08:27:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685719651; cv=none; d=google.com; s=arc-20160816; b=t/A/vuy+r5aEQSXsQ/0D2ZiqLMfYTzN6UGJPCYgyMrwqo42nKmzUFMox3ZhfNEJ+8Y S59j3evmt9xeNo7isU5q+92lOrvtkrf49mIsl1FW7m0XNBG3utAb1SjVrZz+OfoRk9V9 UkIrSrQw8blcWCq5E549iwcJ1ZBsgDqmbUeBJ38fpLuAwBHAhb3rGbmOUR5+ubI1AheK 9f48WXgBUkXmlmRrZO52+QScQq0BRkrnWLO6xSwCn9f4hu3RODCApOqOtcDxSiHxOxxN KxXjDCwb2wmxlvb1bicUpUrOomF58FWRTOZCvJv2gjh+Z0Z4FB7ycYOKeaWnxigTvFCw EVlg== 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=DKgNoljT9vHEXiX/usp+NWVmPgNASj7O53oNj6GFPQU=; b=aNel7WquofgzDGvTbhtso/D9VybwF7+blPs0iQ2zx6Gh2ZLuUWrjxFxDjFf2x0+T1b bXkQrXEoqUylDT9dfnv6kDjBi+k7KWVemjNF4N9a+seC46wPF74otUJdp0GwOo97lnVV bEzRI2JSd/q6eCsBR2NwZCxOFLjOLG79IVXhoT5gui/UH3wTvFZCUin85OkG45aga8/h Fhme7VnHefEihbSTPxUfn4TbE1ZR0YxNqzCqrwnn8ZoGhw39OeQAC75Kh6JT21eWdDBj RkIKGdVtwYkfERDqBggXhXVyttRH1AUQAJczjyodfAys1xy3v3AjuRH/sNLUu0/qA29E Ju5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=qYCO2Na0; 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 a197-20020a621ace000000b00643889ce5e2sor331533pfa.6.2023.06.02.08.27.31 for (Google Transport Security); Fri, 02 Jun 2023 08:27:31 -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:1a8b:b0:64d:277c:4ab2 with SMTP id e11-20020a056a001a8b00b0064d277c4ab2mr10139825pfv.24.1685719650766; Fri, 02 Jun 2023 08:27:30 -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.27.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Jun 2023 08:27:30 -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 , Tianling Shen , David Bauer , Loic Devulder , Chen-Yu Tsai , Banglang Huang , "Matwey V . Kornilov" Subject: [PATCH 7/7] configs: rockchip: Enable USB2PHY for RK3328 boards Date: Fri, 2 Jun 2023 20:56:31 +0530 Message-Id: <20230602152631.106887-8-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=qYCO2Na0; 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: , Enable USB2PHY for all RK3328 boards. Cc: Tianling Shen Cc: David Bauer Cc: Loic Devulder Cc: Chen-Yu Tsai Cc: Banglang Huang Cc: Matwey V. Kornilov Signed-off-by: Jagan Teki --- configs/evb-rk3328_defconfig | 1 + configs/nanopi-r2c-rk3328_defconfig | 1 + configs/nanopi-r2s-rk3328_defconfig | 1 + configs/roc-cc-rk3328_defconfig | 1 + configs/rock-pi-e-rk3328_defconfig | 1 + configs/rock64-rk3328_defconfig | 1 + 6 files changed, 6 insertions(+) diff --git a/configs/evb-rk3328_defconfig b/configs/evb-rk3328_defconfig index 5183d65451..8f53aadbb6 100644 --- a/configs/evb-rk3328_defconfig +++ b/configs/evb-rk3328_defconfig @@ -74,6 +74,7 @@ CONFIG_MMC_DW=y CONFIG_MMC_DW_ROCKCHIP=y CONFIG_ETH_DESIGNWARE=y CONFIG_GMAC_ROCKCHIP=y +CONFIG_PHY_ROCKCHIP_INNO_USB2=y CONFIG_PINCTRL=y CONFIG_SPL_PINCTRL=y CONFIG_DM_PMIC=y diff --git a/configs/nanopi-r2c-rk3328_defconfig b/configs/nanopi-r2c-rk3328_defconfig index fb0b8719fb..583179d7c5 100644 --- a/configs/nanopi-r2c-rk3328_defconfig +++ b/configs/nanopi-r2c-rk3328_defconfig @@ -76,6 +76,7 @@ CONFIG_MMC_DW=y CONFIG_MMC_DW_ROCKCHIP=y CONFIG_ETH_DESIGNWARE=y CONFIG_GMAC_ROCKCHIP=y +CONFIG_PHY_ROCKCHIP_INNO_USB2=y CONFIG_PINCTRL=y CONFIG_SPL_PINCTRL=y CONFIG_DM_PMIC=y diff --git a/configs/nanopi-r2s-rk3328_defconfig b/configs/nanopi-r2s-rk3328_defconfig index 79cb17d751..f7ed71e412 100644 --- a/configs/nanopi-r2s-rk3328_defconfig +++ b/configs/nanopi-r2s-rk3328_defconfig @@ -76,6 +76,7 @@ CONFIG_MMC_DW=y CONFIG_MMC_DW_ROCKCHIP=y CONFIG_ETH_DESIGNWARE=y CONFIG_GMAC_ROCKCHIP=y +CONFIG_PHY_ROCKCHIP_INNO_USB2=y CONFIG_PINCTRL=y CONFIG_SPL_PINCTRL=y CONFIG_DM_PMIC=y diff --git a/configs/roc-cc-rk3328_defconfig b/configs/roc-cc-rk3328_defconfig index f5912ceca9..4ac3c9403b 100644 --- a/configs/roc-cc-rk3328_defconfig +++ b/configs/roc-cc-rk3328_defconfig @@ -79,6 +79,7 @@ CONFIG_PHY_REALTEK=y CONFIG_PHY_GIGE=y CONFIG_ETH_DESIGNWARE=y CONFIG_GMAC_ROCKCHIP=y +CONFIG_PHY_ROCKCHIP_INNO_USB2=y CONFIG_PINCTRL=y CONFIG_SPL_PINCTRL=y CONFIG_DM_PMIC=y diff --git a/configs/rock-pi-e-rk3328_defconfig b/configs/rock-pi-e-rk3328_defconfig index e86a6f7b1a..277f691d4d 100644 --- a/configs/rock-pi-e-rk3328_defconfig +++ b/configs/rock-pi-e-rk3328_defconfig @@ -78,6 +78,7 @@ CONFIG_MMC_DW=y CONFIG_MMC_DW_ROCKCHIP=y CONFIG_ETH_DESIGNWARE=y CONFIG_GMAC_ROCKCHIP=y +CONFIG_PHY_ROCKCHIP_INNO_USB2=y CONFIG_PHY=y CONFIG_PINCTRL=y CONFIG_SPL_PINCTRL=y diff --git a/configs/rock64-rk3328_defconfig b/configs/rock64-rk3328_defconfig index 4acbca0140..5e36612bb8 100644 --- a/configs/rock64-rk3328_defconfig +++ b/configs/rock64-rk3328_defconfig @@ -77,6 +77,7 @@ CONFIG_MMC_DW_ROCKCHIP=y CONFIG_SPI_FLASH_GIGADEVICE=y CONFIG_ETH_DESIGNWARE=y CONFIG_GMAC_ROCKCHIP=y +CONFIG_PHY_ROCKCHIP_INNO_USB2=y CONFIG_PINCTRL=y CONFIG_SPL_PINCTRL=y CONFIG_DM_PMIC=y