From patchwork Tue Jun 9 14:05:12 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1352 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pl1-f198.google.com (mail-pl1-f198.google.com [209.85.214.198]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 46AB03F06D for ; Tue, 9 Jun 2020 16:05:36 +0200 (CEST) Received: by mail-pl1-f198.google.com with SMTP id n20sf11047009plp.8 for ; Tue, 09 Jun 2020 07:05:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1591711534; cv=pass; d=google.com; s=arc-20160816; b=bSJyNts/BneaL8u4d+aNk29xxD/KV6BMqY3BfX2IAg5/+TUCQFJWdXNGqhmNt5VDJs aLD0P5YGjsOxpyO/QulP/ZkPU/98oI4l4McAS65A06idtOs/SYbk4PvjVHOGuLJFPv6s bCo8TN+VK1/IPyUzpoCoY1vFlpBnDwK/IOuPXsuslx35ghF3a7aeadqWmuaQyBu6Aqeq AfCKe6yfc3XFNwMr27FReOrL8CC/nJXRzJNaI8iXrsjdPjcHXiYwqAyZfhoqSccG/ABT iM/5kEnC6+N3jV6aDM16sC/mYPbf2FKE8uQNj6zZec7SpoMQtO5leqh57PCkf937THb1 LByQ== 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:message-id:date:subject:cc:to :from:dkim-signature; bh=Ut+rBrcX1OgU85ZAMxJwOSYfVw4aeNEWIveIG27EplY=; b=ks0Ho8WFeMdrkx3185+VVIA0XJItF96EDjj6jfKFEJA+QnGYnKftzzVais8TWubKB0 zFlU18fFtYkbGtrK7wIm8Br+a5j5VaLznGRCy3qUNDgnzjnNlg8l2EQ4QehOHGxfHfmr ailBy/pqFgINqwp6ad/14m08U1CaAyD7EM+M3ATy1CIdYdWqLQum3ozqKpXp5fNcP7p3 CaZtbRtxZ4Hj3ty4rbck2YWcti7ccrCZMb6Rmoarg/lMEgZuCkLK396V1RVkkLmrif9A KUBWW64wtwvu8fa/01795yHlu9Xir4TgO4DMrDukuDW2a7/kJ5QNE/6CQ+92UGwnGsJs uCWw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=gRuTPJoR; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=Ut+rBrcX1OgU85ZAMxJwOSYfVw4aeNEWIveIG27EplY=; b=aJhra/D1HNhyTEskBOcpexd5YG6BgghkeqSY7cji44FA3bRsatYI7fk2DnDCqejYnG xquFNV7XgUE0BGF4CzgW0X6LjSlCc46LvOAyRm94OrTSsuyQFUyLvjXGtwBQojmTUESR ebKx3JnESMx5l3oDgytXXnbMOzSchFQriDyso= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:x-spam-checked-in-group:list-post:list-help :list-archive:list-unsubscribe; bh=Ut+rBrcX1OgU85ZAMxJwOSYfVw4aeNEWIveIG27EplY=; b=FYRUjfnknZqTGE3Ck2frosCTnFxmO2i47Tf0fxv3DfPSTG+xETMygcfRrbnKa8WvXr QNBtbXtcSGhtwio/9/4yhuuxuMUtZwJgWiS4RmrZDYU9SQ1ICvYBJi7BfmSOcD7p0o9Q 8iWEJPiHf6PM9rJWjChSy9GYHzfHSDwBD5aaQRoE5xtRYTAqJEmiHB4aZEltIZwyOAbK gEfvCtgCXoWCBLo9nUA45lZrmXP/50Mv7dfE5Qko++lcrGQe60IQ3xRKFsPlt7B4FtyA v+UN9Sa8uDwEiDu7LEMRHLQztpiOhlZUg+oa36DVliAerkOkTeP0D4mr69hQiGq/dH9m Z68Q== X-Gm-Message-State: AOAM533P8JGfC96nUyNHTXh7OehFrxdgdKhyHy0kGqHRD/kcVo9QCKUx daSED0CFX602PjrMHFv+ZMWJG42w X-Google-Smtp-Source: ABdhPJxLFRwOwp5gCnnrqwmQ5Vhf7ZsGJHwfFjgiRkzj9WTy6Op+oGnqwIojGuybgcfrmQ78NK/MZw== X-Received: by 2002:a17:902:d352:: with SMTP id l18mr3553959plk.68.1591711534046; Tue, 09 Jun 2020 07:05:34 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a63:c910:: with SMTP id o16ls5501215pgg.4.gmail; Tue, 09 Jun 2020 07:05:33 -0700 (PDT) X-Received: by 2002:a62:aa07:: with SMTP id e7mr24618862pff.87.1591711533476; Tue, 09 Jun 2020 07:05:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591711533; cv=none; d=google.com; s=arc-20160816; b=e3IykiXcbHFSxC2O81Z75596E1SH/1EBMlBa6WwXhVVVdA65yqyQiJl2RyOEmg1oTf 51C4IypcogNcpTQeXmGIkeldiJaT2NZY5LmpI1AHZVHqxTwtO/SLPAyUADQTC9mVhjH4 IKZ0zS2U5QPoZcemqVIv2Kte2zS09Mfi38GDkqh4vjMesgDd9iHMFwQWLSSAua7ZLtzZ uwwUtEReSm1COkjtnU0kBBIPwBwI2fFDrYxTfwNgUgXKGooIAO2Pd96XnNttfh/Bha9A ql58V7igimBk7mtUTWRirydtvjwG+N5qrhKEtdYsQs4+iIaQHDKc3u7oEJvp0RwrfujN hNMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=ydfIA3jg12tx+Lzfbo4klwL95OwxMw4oe6fuWc3p+0U=; b=ZJJsjmj6YK2ycTZP6CAsvQn6qzOu/ASQASdva4kqPbtVYEzY15p4qqEmSsoJlplqt0 BR/kgSSYIYSr2dNbH8L+WzNzD8U33lIQyNLuFzBpTMiKH9YH2Bwrz2mzix2tCu8wIsFg BYuOWVAZJnbksNI5GIo8qwOFETKcW5rtIzevd7xJfLS8U0TrTOavgcHfqh5ZdAWaV772 5BLBRMZAZHzsk/24edQX9WmoDq7YcRk4Bhv9BID78A5jvcSPtci5iFPkYVHAAidpBaWp F4XP90fuZvkhpjA/YUVBYTty5Fz2ATNC1fitZj16Z69vcUuoFaeLNPd/gfqAFTdB00VO lhbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=gRuTPJoR; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id n22sor13776203pfu.77.2020.06.09.07.05.33 for (Google Transport Security); Tue, 09 Jun 2020 07:05:33 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:aa7:9052:: with SMTP id n18mr27072700pfo.319.1591711532581; Tue, 09 Jun 2020 07:05:32 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:6575:fcd2:e4d4:715a]) by smtp.gmail.com with ESMTPSA id e12sm8961817pgi.40.2020.06.09.07.05.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jun 2020 07:05:30 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Cc: Suniel Mahesh , U-Boot-Denx , linux-rockchip@lists.infradead.org, linux-amarula , Jagan Teki , Tom Cubie Subject: [PATCH 1/3] rock-pi-4: Enable USB3 Host Date: Tue, 9 Jun 2020 19:35:12 +0530 Message-Id: <20200609140514.132579-1-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 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=gRuTPJoR; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@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 USB3.0 Host support for RockPI-4 boards. Note that the Upper USB3.0 port is marked as otg and lower USB3.0 port marked as host, so this below log capture when USB3.0 mass storage plug in at lower USB 3.0 port. Log: Bus usb@fe380000: USB EHCI 1.00 Bus usb@fe3c0000: USB EHCI 1.00 Bus dwc3: usb maximum-speed not found Register 2000140 NbrPorts 2 Starting the controller USB XHCI 1.10 Bus dwc3: usb maximum-speed not found Register 2000140 NbrPorts 2 Starting the controller USB XHCI 1.10 scanning bus usb@fe380000 for devices... 1 USB Device(s) found scanning bus usb@fe3c0000 for devices... 1 USB Device(s) found scanning bus dwc3 for devices... 1 USB Device(s) found scanning bus dwc3 for devices... cannot reset port 1!? 2 USB Device(s) found scanning usb for storage devices... 1 Storage Device(s) found => usb tree USB device tree: 1 Hub (480 Mb/s, 0mA) u-boot EHCI Host Controller 1 Hub (480 Mb/s, 0mA) u-boot EHCI Host Controller 1 Hub (5 Gb/s, 0mA) U-Boot XHCI Host Controller 1 Hub (5 Gb/s, 0mA) | U-Boot XHCI Host Controller | +-2 Mass Storage (5 Gb/s, 224mA) SanDisk Dual Drive 040130e3ee554b7078843f4eb331646 Cc: Tom Cubie Signed-off-by: Jagan Teki --- configs/rock-pi-4-rk3399_defconfig | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configs/rock-pi-4-rk3399_defconfig b/configs/rock-pi-4-rk3399_defconfig index 0d86fdc895..2487872219 100644 --- a/configs/rock-pi-4-rk3399_defconfig +++ b/configs/rock-pi-4-rk3399_defconfig @@ -28,6 +28,7 @@ CONFIG_ENV_IS_IN_MMC=y CONFIG_SYS_RELOC_GD_ENV_ADDR=y CONFIG_ROCKCHIP_GPIO=y CONFIG_SYS_I2C_ROCKCHIP=y +CONFIG_MISC=y CONFIG_MMC_DW=y CONFIG_MMC_DW_ROCKCHIP=y CONFIG_MMC_SDHCI=y @@ -35,11 +36,14 @@ CONFIG_MMC_SDHCI_ROCKCHIP=y CONFIG_DM_ETH=y CONFIG_ETH_DESIGNWARE=y CONFIG_GMAC_ROCKCHIP=y +CONFIG_PHY_ROCKCHIP_INNO_USB2=y +CONFIG_PHY_ROCKCHIP_TYPEC=y CONFIG_PMIC_RK8XX=y CONFIG_REGULATOR_PWM=y CONFIG_REGULATOR_RK8XX=y CONFIG_PWM_ROCKCHIP=y CONFIG_RAM_RK3399_LPDDR4=y +CONFIG_DM_RESET=y CONFIG_BAUDRATE=1500000 CONFIG_DEBUG_UART_SHIFT=2 CONFIG_SYSRESET=y @@ -48,6 +52,8 @@ CONFIG_USB_XHCI_HCD=y CONFIG_USB_XHCI_DWC3=y CONFIG_USB_EHCI_HCD=y CONFIG_USB_EHCI_GENERIC=y +CONFIG_USB_DWC3=y +CONFIG_USB_DWC3_GENERIC=y CONFIG_USB_HOST_ETHER=y CONFIG_USB_ETHER_ASIX=y CONFIG_USB_ETHER_ASIX88179=y From patchwork Tue Jun 9 14:05:13 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1353 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pl1-f197.google.com (mail-pl1-f197.google.com [209.85.214.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id C96553F06D for ; Tue, 9 Jun 2020 16:05:40 +0200 (CEST) Received: by mail-pl1-f197.google.com with SMTP id bh7sf14565370plb.2 for ; Tue, 09 Jun 2020 07:05:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1591711539; cv=pass; d=google.com; s=arc-20160816; b=BkxEVsYLFkkiopgj/hVESA5LBTzb/06ah/z/vMsjncmJmZbblByykAYOGQDrzM5w8x 9P1pfJ2Azuj0hF4XJanzcnMAzbsQXER1bLL7+MUYm+AEhM+8GcYASVMW6M1865e8hmmr AzCryjd0wSGXk3lkZ3mHVViSIwIPWaVS/4yqYde5P4akhnjLldqv8WcVFUPLO+zHJWKH Vf8VNWDrtj6a6yPW5hM+4G7R1zOdaIvEbYp74JWaJ0MJ+p8TE0QJkYzAxAA5uzcYkfnj GWGX73x+WV0f050yCRnw1D4iEnMc+a5qVl091ts4h8588dHOMv2HKmdLibOAxACY0jDL 6A0Q== 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=vzmFAXQplVfYlNknOVIDOkP2c6gZxC8yqIY8dJYcH6Q=; b=lmjviqaNItlBnR+jipIITrzQWAer7DH/fNC3ACmyOOm//eNm3z1FA3m8V6/HWX92CD SlsdGuBuM+Buaej3IkcBUZ5L93t6wyf6GI0x7R7qF1b84+rIk4ODSVODWrcrVuk67s50 FVyrvK2JrYqodBCK880bEF6bojjbqqGu14jisRYQzibYuCYr+kl7ZWtxBxcjC40spsrK Qt5LQ2EXHWnNZ+iHYmmDLzjTRrU2gcV3Kf8uE6uGBpQG95Ox7Yb1pf2xTI8ngtjP6i2h RaqejU7Uhn4S9qWdvJFRq55NyrVrmogKLtOcO6qh4DZ1/TOVQk1nXo0ZBjq1g5WF5VCZ PQ2Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=GKcboC4L; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=vzmFAXQplVfYlNknOVIDOkP2c6gZxC8yqIY8dJYcH6Q=; b=LmGdoeLrsiz1cvwuICPbnWPjayxhIBIo6PRKm/JL6BuTRZxN9IjgzhAjpWL5ng3nVc z+U3fbwx9iVeToR4fEAj7owz5VjPQiE+P/O1OdfRkwbcHmKX0/NAwG4HzYl9Z8wJvXkS EoUsXfgyq6Osauvv45kNqdv2txY2lNlj7U1Hk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=vzmFAXQplVfYlNknOVIDOkP2c6gZxC8yqIY8dJYcH6Q=; b=hk4ui2gJLUbcqZ6BLFKDyzceLk18v+LQ+4pq89uoxCs7NPMHYRz4GnKjGv9ZDWsIwd 7flJENYKRYPErz5VED/p847Dw/Eh8LBiksnuY8z5hQMpAntV9gDCJQk2duLmf4MtHKuR DSfTD8xuV/kQ/VyVAgK4cIZ0rNwPX9UsrJc691GOXU3HKYivUPG/IlYGCOwqLMeYfsrI /2UE/dbh9f/OmdfVSlAiQucv9u5Q4q/tGUZ+vBpzX1nI0wp1YLnrEe/Zp3WpZ4IlFzPt Yj4OGcWSFUGd1gY1U7EBiGm26FAY89K+AxD4VtZ76rmWSQ28qr6Q09xN+EZimY2KjRNS Bn1A== X-Gm-Message-State: AOAM531jonch65dPgNTh0Nyz9TK+NWhWkT6C/qG4IlMGLXeRFybw0FK3 BrLN4lJLOSQmmnKo9mMjg4iZGKPE X-Google-Smtp-Source: ABdhPJwMaG8KR+hWkCM0GYOB+WZi2XzFawb60W4Onu7xFpuixpJLKAW0r3+js+L2xlIdR/NZemyKSw== X-Received: by 2002:a17:90a:d083:: with SMTP id k3mr5286423pju.8.1591711539308; Tue, 09 Jun 2020 07:05:39 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:b10a:: with SMTP id q10ls4138921plr.0.gmail; Tue, 09 Jun 2020 07:05:39 -0700 (PDT) X-Received: by 2002:a17:90a:46ce:: with SMTP id x14mr5049505pjg.121.1591711538789; Tue, 09 Jun 2020 07:05:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591711538; cv=none; d=google.com; s=arc-20160816; b=SJCQwAe1YKHX6rzkjgf6243Ccg+0a2+1SDuuLyO5uOzRn7mtil2yKYLEjn+aI/hKJk 4SLJtPaHaTPPGPlojS3xbHChPHMk7FC2VzTeiFqhbgTaH/gZGYsNfNj4lGD+uUXEv2g5 jfwzzRFkXz7yWH+r7jxwkiHXXm1d0vpIqKGDWz8Z1VM8lvWHMG+q0FcwsgQPO3YEZzub iOohGUa26890yorqzb+RWjDFBzBFtv+k/yr66nDw5p5477tEidTIF7eU5Xb3FRyAB4n9 lsQSJrxqYcWZgb49lnP+gUf/nG1oYwnFCYORJ1O+ErPCqs6RebkRNplnKj4Pm5mcnASL PnBw== 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=DeHnVKGp+S6n8ErjnNmprOR3Rq9PiFaV957cClQPU7s=; b=oWaadtBkYi1oV6THfaoi4Cjt9t6HKqOb3S+iHWKpLHAWZo9L/0uflRKmwE1yEQLY9W JW8hfbbV0iPqvxs9Uah8xqT/gL1hYGnmLDPSt4pxlPv4BCgR+eiac3RzpqO++DBCNDMA 2eOtcj1Y9cbE3jIQCK8nId5f2EqXig6KizboKDohuUH3no3Oqm3gEsDVq7mCGCvKvGar LIQedTrq/l1cMfMIMxTObme3BQ6qYaxl88dmomRsOH+CEObZP8pM7yY6DpN3Un5b/9Cq slt+VOr35Gj2SElrIIUx3Q1b128ezP4JchGbadcfA/EDbsEEoA9DQj586vGsqKsnmXau 4cbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=GKcboC4L; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@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 q10sor13583893pff.41.2020.06.09.07.05.38 for (Google Transport Security); Tue, 09 Jun 2020 07:05:38 -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:aa7:9537:: with SMTP id c23mr25520613pfp.149.1591711538488; Tue, 09 Jun 2020 07:05:38 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:6575:fcd2:e4d4:715a]) by smtp.gmail.com with ESMTPSA id e12sm8961817pgi.40.2020.06.09.07.05.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jun 2020 07:05:37 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Cc: Suniel Mahesh , U-Boot-Denx , linux-rockchip@lists.infradead.org, linux-amarula , Jagan Teki , Tom Cubie Subject: [PATCH 2/3] rock-pi-4: Enable PCI/NVME Date: Tue, 9 Jun 2020 19:35:13 +0530 Message-Id: <20200609140514.132579-2-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200609140514.132579-1-jagan@amarulasolutions.com> References: <20200609140514.132579-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=GKcboC4L; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@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 PCI/NVME for M.2 Slot on RockPI-4 boards. => nvme info Device 0: Vendor: 0x144d Rev: 2B2QEXM7 Prod: S4EUNG0MC10012Y Type: Hard Disk Capacity: 238475.1 MB = 232.8 GB (488397168 x 512) Cc: Tom Cubie Signed-off-by: Jagan Teki --- configs/rock-pi-4-rk3399_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/rock-pi-4-rk3399_defconfig b/configs/rock-pi-4-rk3399_defconfig index 2487872219..f3eeef0293 100644 --- a/configs/rock-pi-4-rk3399_defconfig +++ b/configs/rock-pi-4-rk3399_defconfig @@ -18,6 +18,7 @@ CONFIG_TPL=y CONFIG_CMD_BOOTZ=y CONFIG_CMD_GPT=y CONFIG_CMD_MMC=y +CONFIG_CMD_PCI=y CONFIG_CMD_USB=y # CONFIG_CMD_SETEXPR is not set CONFIG_CMD_TIME=y @@ -36,6 +37,8 @@ CONFIG_MMC_SDHCI_ROCKCHIP=y CONFIG_DM_ETH=y CONFIG_ETH_DESIGNWARE=y CONFIG_GMAC_ROCKCHIP=y +CONFIG_NVME=y +CONFIG_PCI=y CONFIG_PHY_ROCKCHIP_INNO_USB2=y CONFIG_PHY_ROCKCHIP_TYPEC=y CONFIG_PMIC_RK8XX=y From patchwork Tue Jun 9 14:05:14 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1354 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pl1-f197.google.com (mail-pl1-f197.google.com [209.85.214.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 2F7633F06D for ; Tue, 9 Jun 2020 16:05:46 +0200 (CEST) Received: by mail-pl1-f197.google.com with SMTP id c18sf14610287pls.5 for ; Tue, 09 Jun 2020 07:05:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1591711545; cv=pass; d=google.com; s=arc-20160816; b=0BfrZZXDqe18KDLOPPAWdXbdWknF+UMRZc8FtIldbwiFmKDe6jWRkNM01YHm1xfIcq z6ux+JZsHgwJ61JPzHtjpOqxmy66RqBZO/h8BZPJJ5M+H8O05v8JoNqI5Gg5NEmx4GZH XjlM1+Fb2lF6WbbY9VxaEbNUUvgaLwZL5Km5uhrTNBVmN/iWrcmon5WSQ82oxIv1aOtM dC7etqoeUZo73icArqXt20sGbdB+mpItc8yh88pfKK4D+VwSMOeOtx8l/7z3lcf0NbVQ pFto8LcwMyfDEvn9HA4S3DgzCg97Wgep5P5FlmEQTJ2Qa8oGzENCegmg7bS1s797XU8z 2skw== 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=tVjAcxDUObNKN/rch8Q0PH6WMPxtVIp3XhhbEItB3fI=; b=hIbv5zdPsjq3b2CSlMZ/8hkyw1dDwRyRysiIx+WB+vezCaC21jL2WPqzs1os2mUc5h 1IfkxfNZ3vQRhNG+UMN4+aGyJCeo29u9aRX79zdgjBqT2PUSkxSL3ik+fkc4Wd+3gV6h PAPxjJ4ia8F3m1PEDVBJH7IR64eNdgE03ap21Kes7C7ev9JglbeXSfnhUXYP+4UpSdFf 6I1VKyGr1CdhZ3JNa8RMU04/S9+L63pr0/jMB22hPMszFpbcu0JAfofHgKEdY66GYOG/ pmtwMatCBAFuJMX3ilElmy9k45Z0XSKV0PyM7MnR0R6udVNGaNvSgYJBrz/nhihBSYxh QYSw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=JBJSiEHI; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=tVjAcxDUObNKN/rch8Q0PH6WMPxtVIp3XhhbEItB3fI=; b=cQzl/7YxXnw/7imSF5sFeqIcc7dYDBlHyLw/vlqWhCtMLizlHhfF765XRRpdUp/tLI MPVpqOHWpTnRPI4NWwPcCe2W3PnLUn6ef0F9WF348+WjA8DNLd+pm/8tWM/x0jwcgh3r f5Ljc5yES6wmkoLu0GhumPr/uezsLQXOa6tSk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=tVjAcxDUObNKN/rch8Q0PH6WMPxtVIp3XhhbEItB3fI=; b=eJK2KEoVJn0Pgmv9YsBeKIk3PGasukV3luaTBe7K5sfADt7I4FyYjwFemy/s9+Igcu iFlYi84QxaTz/pg5s9aSQvkxuRYNBreLTMJTLEK+N8hEXRtmVkcRTquedmHmrQH176Qy Wox6w07va1BROUEs88ivlnxOLf7GTfTtPVcALiBGHwE8bRlkUfjXt7JgVMNurCbK94cM PhUzT8mUXDfGGk39sONGkWvYNhZn+vwjb8YK2auQQlOHzFZ1UuKvgzH1+FGywROz3lCe iZ3F3HzmWapc2nymKORA8JcEWw4TLXS/QICK718O8WHFhcc83CvGYXcLDtvxm2dRXV4e C1aQ== X-Gm-Message-State: AOAM530Lc6x6stadnPv4ta+w8oBicV3CwNXwWYj2eJ07ALAc+bVAimls XXiEX3YAXTVUsFemVet7KMag6Nuw X-Google-Smtp-Source: ABdhPJzpslxMSpnEyBSIequ4ZcCmwTnyT4KGBGnFtTqJBWlVOVCfNlCg/ii0uLNpamCD2IuyNlMA1Q== X-Received: by 2002:a17:90b:e89:: with SMTP id fv9mr5001778pjb.131.1591711544914; Tue, 09 Jun 2020 07:05:44 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:90a:c70d:: with SMTP id o13ls1512326pjt.0.gmail; Tue, 09 Jun 2020 07:05:44 -0700 (PDT) X-Received: by 2002:a17:90a:df98:: with SMTP id p24mr5117962pjv.135.1591711544391; Tue, 09 Jun 2020 07:05:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591711544; cv=none; d=google.com; s=arc-20160816; b=M014ZtAqw3NW9tSjwpJentAibnZt0o/vnPVVPT/n8cAHIE3MbpNEQON7wJh9fs0+C/ c0hjG7lrD9XL3OrfyOopYKJLJG9Ib7EfoIIfvwMlB3d8xoUdrPhNxuWDnleTo/NZm+b1 Uv0GsUso+CwXsfOm6Prcd29X36Ee5YfWoGWh1OukydvIgKDHp/zNlfl/Cwh9fRigtN/L YC/rnAxQjV6UUlEOm1o32//vr5QCzTtElGFaqMS6iOETuk7fmNK0WaNfzQ451Xd00Dzi UUqO+1Nw7668XOAoMkE2/oHGUT7hXj7a4mRSu8px2TKhB7PCZr1yZK0zvN/S4AL/oC8K Qwhg== 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=f9CrqcnaefmHITTXwApYWeo0mtWKOQnGsVEcpxOXfhI=; b=lAMxAlITKKgea1RvwOka38S6I+xheUKdDcl/uvfN8ZvWNJBJ2B9aC0dOC8NGQ+xuN/ cPIgprRK+t+or84XLGawqBuZraAEW1IDnABoK4mIt8QoKrmIwSLDraS065+kID/K4p+h LquGzzx3YAIiFf44WvKpJjgHKddE8zxLj5/8zz9LpsY/YG2Yi9lA8K8VLqx1j0DP743F LAEzQPBBUJHMlCHxROXclAMjJZBsGrkKrKwauLd+AxXsbSlIgsNhWSghRlK+uGAtO1YD 0gpXT/L3Es7fmBvK24Tc7iPCkIQ0hFM91GIUvPcV0u4t8S2QEGQpDbgA2zO8pDkrrUWL VI/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=JBJSiEHI; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id g12sor13639979pfq.76.2020.06.09.07.05.44 for (Google Transport Security); Tue, 09 Jun 2020 07:05:44 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a62:1654:: with SMTP id 81mr26437119pfw.137.1591711544093; Tue, 09 Jun 2020 07:05:44 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:6575:fcd2:e4d4:715a]) by smtp.gmail.com with ESMTPSA id e12sm8961817pgi.40.2020.06.09.07.05.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jun 2020 07:05:42 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Cc: Suniel Mahesh , U-Boot-Denx , linux-rockchip@lists.infradead.org, linux-amarula , Jagan Teki Subject: [PATCH 3/3] roc-rk3399-pc: Enable USB Gadget Date: Tue, 9 Jun 2020 19:35:14 +0530 Message-Id: <20200609140514.132579-3-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200609140514.132579-1-jagan@amarulasolutions.com> References: <20200609140514.132579-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=JBJSiEHI; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@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 DWC3 core, gadget for roc-rk3399-pc board. This would help to use fastboot by default. Signed-off-by: Jagan Teki Tested-by: Suniel Mahesh --- configs/roc-pc-rk3399_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/roc-pc-rk3399_defconfig b/configs/roc-pc-rk3399_defconfig index 80e7001481..046fb73858 100644 --- a/configs/roc-pc-rk3399_defconfig +++ b/configs/roc-pc-rk3399_defconfig @@ -12,6 +12,7 @@ CONFIG_DEBUG_UART_CLOCK=24000000 CONFIG_SPL_SPI_FLASH_SUPPORT=y CONFIG_SPL_SPI_SUPPORT=y CONFIG_DEBUG_UART=y +# CONFIG_ANDROID_BOOT_IMAGE is not set CONFIG_DEFAULT_FDT_FILE="rockchip/rk3399-roc-pc.dtb" CONFIG_DISPLAY_BOARDINFO_LATE=y # CONFIG_SPL_RAW_IMAGE_SUPPORT is not set @@ -61,7 +62,9 @@ CONFIG_USB_EHCI_HCD=y CONFIG_USB_EHCI_GENERIC=y CONFIG_USB_DWC3=y CONFIG_USB_DWC3_GENERIC=y +CONFIG_ROCKCHIP_USB2_PHY=y CONFIG_USB_KEYBOARD=y +CONFIG_USB_GADGET=y CONFIG_USB_HOST_ETHER=y CONFIG_USB_ETHER_ASIX=y CONFIG_USB_ETHER_ASIX88179=y