From patchwork Tue Jun 6 17:09:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 2908 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 8B19C3F042 for ; Tue, 6 Jun 2023 19:10:17 +0200 (CEST) Received: by mail-pf1-f200.google.com with SMTP id d2e1a72fcca58-6533f8d4c29sf4483093b3a.0 for ; Tue, 06 Jun 2023 10:10:17 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1686071416; cv=pass; d=google.com; s=arc-20160816; b=S7bMs2F+PPQxYkMgMq57zdLubXIjUMxxvdfMZiUAmPVh8WKM2VzRzNBkTAbT+Qgsmx eXbISU8MRapguE4I6VUCj7A1fR5mSFs6ftO4HQrsU3AbK++zUTfbYKpZGQ2GbBZEoABv yN7lklhYyOwpwoSmzbMsf+kbxXsoNaJS4HI6Z5Ct0AmpjyChrXB6zJbuSF9R1a1gAI8u OCnwdbt93ezWrH+kDipNGXHzijCh2Au7uY8gW1qurk7lLH31wQ/TXripoiV6SRfOguRX ug5PCZeE+S8FLL4ehyBihTA4gCx/jC1Lx5rIbrRTRDyy1jeu7cdBBgdtl+/5BNitnHxq 1ViQ== 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=Bx+AQESo5AGWPgRsUkeXSpdvc+ZBkEUjCBVSVA0IEoY=; b=XKXMVq5jctct/lYXrRT6fzeF5qZZw/mcAhP7NK9MfpOyb16yBBmgUgBjLupE2eBPcS w+/xVR/UGRP/BkJWs2u76QiqnmbSRw8AF5e6bxbN3gljRUPlsvTodye/cSqWPGOSysvB aFPFWGRHWlg/RI/mfMER57Hrdp5ZSNZIWbYf/X0k8f+SDMKu6AglnA4E+sjlDak1LSIO lVS8ZQa8NJxWhxFUN/zM5t0G7/WWoFexr0P8tbN8tNYPrb3c3pOuqCFYSlnTHiG/5s9o Sir1Ew3AJDKFkGYnT8CF9TWnEAIoFvNfRExQMvj1ro8d0ossCgi2LuWoTILLGJxVX9iZ +eiQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Hx24G9Hh; 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=1686071416; x=1688663416; 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=Bx+AQESo5AGWPgRsUkeXSpdvc+ZBkEUjCBVSVA0IEoY=; b=kh3fo8IMrlSGAQBo+1WSBbyqNiMyAWbB3VVdkWKSrxzbts+zSe2PsBDHAE6LorOyO2 5+VxmNcrbKlTiXsAWWDTxaQX+gttdIMNwFNy4uyNQN7QzETaFIdSFgJT0FlLD5hw5Od+ wAkzCvDcL78zBsfRNCv3Hrk6SnfopkUdHLHZE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686071416; x=1688663416; 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=Bx+AQESo5AGWPgRsUkeXSpdvc+ZBkEUjCBVSVA0IEoY=; b=U92tu2ohGfLoTQv8bZRyqFeUuL4tHQ3/Xdd4nW4o6Ce3R6Hdtmv+bHzfbDmA+CTq3U DE2Mq1cmr4q8hz0M9zfDDjjKqalCEoDxXZWzyirWa+nQXXg+cN6FjFY6321kO/EEhDvJ 3bEztlwxXopmt88BCkrkFqDvIdzNNUhwlwZEVNWx+sQNdDXKk29HGZM8tVVt/wZApvBW 6bHwLEOLdCdjEu7LKgErHb+6h/EZw1miVDFCGUmvzkUDbC61yFw28LeWqpkUJSC3tpKQ eo86eeuTokqhA9klT+zh28FPocnupXoEobfY9+NMIBKhb1Q5uBtJPoJAsil+pFewxEBG Vcug== X-Gm-Message-State: AC+VfDwhMNrHAPnDZRvwqPZJX6Qokx4tvJH/SmGwfY1DxrkUsVNN7mxp 9PL+PgGSg067EcmS431dA6mobBwo X-Google-Smtp-Source: ACHHUZ748+f4fhTPtqawm/lV8pxzV96bsC0kAI0JSYnu+cQfMa/hmPWXyZ//m6weBn5sd0DXpWNRRw== X-Received: by 2002:a05:6a20:3d94:b0:106:11fa:192c with SMTP id s20-20020a056a203d9400b0010611fa192cmr307120pzi.61.1686071416380; Tue, 06 Jun 2023 10:10:16 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:90b:4f4d:b0:250:af56:cc86 with SMTP id pj13-20020a17090b4f4d00b00250af56cc86ls444504pjb.1.-pod-prod-03-us; Tue, 06 Jun 2023 10:10:15 -0700 (PDT) X-Received: by 2002:a17:902:b413:b0:1aa:d971:4623 with SMTP id x19-20020a170902b41300b001aad9714623mr2486389plr.38.1686071415355; Tue, 06 Jun 2023 10:10:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686071415; cv=none; d=google.com; s=arc-20160816; b=ehI0WXoNWg8gUHdCLjleDQyS4yaTpMj3proOYhr6fv0mItLoSDmAE8AerqxSFurqNi hYSBRMKYsB8RcTf7xBG2PzfJTxHpsmDEiLnfdQf7S6CnxJ+sP8mlYavAJLXfagPQmzf7 dx3usV61IoaPLaqrzOJXlz01g/ghTNi0N4XG5CqzAJAM0pNwJAI9s99Lcmc4mU0IkYXK Mmp5BUuBGXbLkIG5iHhKYUPGxdG388QYvk8/TATrRrOjvGH0BILTI51UiSgOqNVvOqdt 0sSDGQeD4R4Om3ehBaJe6wcmddDFG9IhhnAgqszx9ffScpqOUlyWx9XRpyEUk0+5ZxZ+ /jCA== 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=80pYqNdJ5lCjCACnDvqCVoLb9LyL5m3WjF6g4jpy/B4=; b=llDClKxAcmO/Jcpt4zKiDRlE92IlOwVrfAlUP9PG/dbT6+qwuA8S0f6jA8VnJDqoYJ j4wgeW3jFUeEB+bVB7N+WDaye9yWxPGJ+7On1HXUyjqrSNyCNIVPEqeSOHWh3QsXp3kH P4DqWE8faSAf8ux1XXrP1YFsUuextDDWiVWRG0CPIRVkNDYKwOz+DqpQSzRVaoYlB4j3 Cp3SHMwqDID8nMrZV8LxtpsmLaJHOoFu+ZfEJmDCHdxvELbuyl0ZHzR3pDBL57VhGFVG /Ylle7Vj3Bmykj5RSkvMwAIpR9iDhMAL/v+HbCyRXx7sUnOfr9VBJyaO5NQ0mVmwTXn4 WsmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Hx24G9Hh; 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 k5-20020a170902f28500b001b02afaf18esor4727199plc.0.2023.06.06.10.10.15 for (Google Transport Security); Tue, 06 Jun 2023 10:10:15 -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:903:208a:b0:1ad:c736:2090 with SMTP id d10-20020a170903208a00b001adc7362090mr2304297plc.3.1686071415049; Tue, 06 Jun 2023 10:10:15 -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.10.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Jun 2023 10:10:14 -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 v2 7/7] configs: rockchip: Enable USB2PHY for RK3328 boards Date: Tue, 6 Jun 2023 22:39:18 +0530 Message-Id: <20230606170918.45581-8-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=Hx24G9Hh; 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. => usb start starting USB... Bus usb@ff5c0000: USB EHCI 1.00 Bus usb@ff5d0000: USB OHCI 1.0 Bus usb@ff600000: generic_phy_get_bulk : no phys property Register 2000140 NbrPorts 2 Starting the controller USB XHCI 1.10 Bus usb@ff580000: USB DWC2 scanning bus usb@ff5c0000 for devices... 2 USB Device(s) found scanning bus usb@ff5d0000 for devices... 1 USB Device(s) found scanning bus usb@ff600000 for devices... 2 USB Device(s) found scanning bus usb@ff580000 for devices... 2 USB Device(s) found scanning usb for storage devices... 2 Storage Device(s) found => usb tree USB device tree: 1 Hub (480 Mb/s, 0mA) | u-boot EHCI Host Controller | +-2 Mass Storage (480 Mb/s, 500mA) TS-RDF5A Transcend 000000000009 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 | +-2 Human Interface (12 Mb/s, 98mA) Logitech USB Receiver => dm tree -s Class Index Probed Driver Name ----------------------------------------------------------- syscon 1 [ + ] syscon |-- syscon@ff450000 phy 0 [ + ] rockchip_usb2phy | `-- usb2phy@100 clk 2 [ + ] rockchip_usb2phy_clo | |-- usb480m_phy phy 1 [ + ] rockchip_usb2phy_por | |-- otg-port phy 2 [ + ] rockchip_usb2phy_por | `-- host-port sysinfo 0 [ + ] sysinfo_smbios |-- smbios usb 3 [ + ] dwc2_usb |-- usb@ff580000 usb_hub 3 [ + ] usb_hub | `-- usb_hub usb_dev_ge 0 [ + ] usb_dev_generic_drv | `-- generic_bus_3_dev_2 usb 0 [ + ] ehci_generic |-- usb@ff5c0000 usb_hub 0 [ + ] usb_hub | `-- usb_hub usb_mass_s 0 [ + ] usb_mass_storage | `-- usb_mass_storage blk 2 [ + ] usb_storage_blk | |-- usb_mass_storage.lun0 partition 4 [ + ] blk_partition | | |-- usb_mass_storage.lun0:1 partition 5 [ + ] blk_partition | | `-- usb_mass_storage.lun0:2 bootdev 3 [ ] usb_bootdev | `-- usb_mass_storage.lun0.bootdev usb 1 [ + ] ohci_generic `-- usb@ff5d0000 usb_hub 1 [ + ] usb_hub `-- usb_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 Reviewed-by: Kever Yang --- Changes for v2: - update commit message. 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