From patchwork Mon Jul 20 18:51: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: 1528 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 0F9973F03F for ; Mon, 20 Jul 2020 20:53:23 +0200 (CEST) Received: by mail-pf1-f197.google.com with SMTP id x62sf13333571pfc.20 for ; Mon, 20 Jul 2020 11:53:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1595271202; cv=pass; d=google.com; s=arc-20160816; b=lPi53sRg0GP7KJlaD9Nl/rkyRq2F4UMig3K9+0W9yI0gDGND4dA2tHqO0TsqPI9dGh A+am/+vqx3POpljCd43nvxgstILqRBlDXianESwcK9pC7queMki4klXJoUeTtNTZdrgn wekLWcIRLFQ70vCdLhQls7LuBnG/NLq2ba0yovSFoLAAPYCLEVQ2QPQMg4G6LM7NP6OH +cbD/2IOZMPCmLG0m4MVMjcB4w3c3QJgAe6p38U47GEmDP4xqvYsOpy9PA5fcg1cSca8 LdaBD8Krf2oEVjBTdAcBjWOMW4T1imi6LdPXrvjBptSyFUZpjS2VBBgE8ClZ4Y5xx8TB ZhWA== 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=hNFsbGoDzF64pT6j4ErJuWuBByJFU1DCYXONavns+3s=; b=WNy+2aINMWylWRPtfqqlloq7QoJJBS6cztINEWIbIxGczjg8SihOoKgtQgP5GGlA8k M5BD4K0oPzWDut0K97snHjOYRxYQVp7eZy+UE1waj63jDwuZ7cA4qDPg4fqxjj2nHKVe EkmeGt/3dZnMbdn2SWl4+qKUBzH/VlPYpVmd+gHSphyiJXGJod+zqfILSS83wbCglbvF dxDDuRw1hT4+Oj6svcz3+C5e4ffFhsvrcupy+6DBWfOFxvkutss+AP670E/XuR8Ne4sZ nFmBj3cl7JFL4EW1yys4Y4+E4vWvoXdEPkx0kPJWoLdvt9sA2bZKJr0m5bpFYHbYyYTO /0ew== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=WAy6UAYl; 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=hNFsbGoDzF64pT6j4ErJuWuBByJFU1DCYXONavns+3s=; b=Ix207EpBYvt7yc43biQ3htwGmQJklqF+ysnfsM84YI/KjhKqRcoQuM4dfjMqnwLYmb p3uvJygKThtAg0xBXeWUGspy1CfgYuQLVQtQL6mAp7PBOs8Srzerc3U+2dcxD+L8fpMW Vs5GmPxqfbNYM3U8vFVTj8+E5UwJGrYlLc4+U= 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=hNFsbGoDzF64pT6j4ErJuWuBByJFU1DCYXONavns+3s=; b=EsyxddrAaCOPi52TeZEfCp/i26LI+FsKRAqXiukiwb2+zLDk1UbIBezCPiMZQZ1GdL tKcKfw6Fh6P5BL3CeynvgDtM4NfIZZ7gkUPV6RIRt/eIbYZQoa27wh9UE73hDkl3D2Ux 4j/fPiQPj2A7SfsXkOKsVBi7zQDFuW6CAc0LQY+/fX4f+wddK6lk86Pq/01pTfnISraI AIeBRIhQzZ10ZTneMnPhQaMPVlZEhfBOGXDZbXV7lKtMhQ4oh1N33h36ErlmBy49j5PC tGF/WcdMd6fFtfW5EJ0bbFFYzV0BwqIo7T7cDJVrjXkSxoz/TV7q3kvxIHTpk82C0Nh9 PUOA== X-Gm-Message-State: AOAM532S28FLzsmxr9Xz27/rEKrz3XkZypbzqAz+6HH42uKIayKzqO3S raC/OY5CpqFpf7cY88CMaojWCQup X-Google-Smtp-Source: ABdhPJxMS5TvqkdvBViH+5SJo0OOAv4o+I8EIJIaVydkzHOMqbNkAtblRTcqR/bUV/HfJY5M9XNBSQ== X-Received: by 2002:a17:90a:9ea:: with SMTP id 97mr830274pjo.8.1595271201831; Mon, 20 Jul 2020 11:53:21 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:aa7:864e:: with SMTP id a14ls4914793pfo.7.gmail; Mon, 20 Jul 2020 11:53:21 -0700 (PDT) X-Received: by 2002:aa7:955a:: with SMTP id w26mr21335817pfq.137.1595271201301; Mon, 20 Jul 2020 11:53:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595271201; cv=none; d=google.com; s=arc-20160816; b=etCXqGELBuTSGuTFjMOeufzmayTXNpn0YrvrKAtKI3A0lU7NBzkkueXgV2syEvQ7Jg mXF65AD3/aKRhzSDCL1L5E4ZMJ9SCR+aiLqSeV/lGkWILQFgfG0Rr7GCWTQFDJcQJEEZ scAbhmxfFYG2eEOfWtHu9x9f6A1ezi4g3wJSMDaTudvpBLeMYaeN99o3Hvnzmorsw86P Ifnf+1ZS/KODjp4ZjflwZT044zz9dCruuzlk+3ENf7A3PXZVKQbaMiQC+DkkbWNajIZs NYE99HDUYTVTT4W/WboXgS9qEKNl+HvWkgRH/kL55UO8sDxhcYqZ6JWM9plU5q5fSw6k cgzw== 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=ATxu64dtbT9B25BWZGL6QduzF+5r73Fomsm4jyK9p7E=; b=uE4YcUts2k/YeU1ADWaMUR6BZ3JKpMygq8kWcsFzfc2fHXDiUJoPtqOheYUGcu9F2f R1+S2LF5VPTik8vU4PJ97YGbqiGEjwZyITZrDjY9kDywHYZhO2tB3uzZl6PW8zT8loKs vSfD2LvFjMJBMj4wyFpD+07X9owr2qxcDRQZ30I+esgKSXdQdHqhKdLEkYK+aOyX8fE2 ee3Ju2k6Az5wqlVOZxA987hF+SK9wIph5AEBFCkPMu2BfKk2uWhjeevEe/KKtAOlI/2n Xh1kX/xWDXxztfeZ426DWYCWsVThL28YNgqXivKfgsEbHZZ15IXhhtVrPSg48cwM5T+O b2aQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=WAy6UAYl; 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 l1sor583904pjh.3.2020.07.20.11.53.21 for (Google Transport Security); Mon, 20 Jul 2020 11:53:21 -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:a17:90b:34d:: with SMTP id fh13mr695848pjb.99.1595271200966; Mon, 20 Jul 2020 11:53:20 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:8c21:db7b:4558:fba3]) by smtp.gmail.com with ESMTPSA id m9sm306649pjs.18.2020.07.20.11.53.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jul 2020 11:53:20 -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 10/16] configs: Enable USB 2.0 on Rock-PI-N8 Date: Tue, 21 Jul 2020 00:21:14 +0530 Message-Id: <20200720185120.671064-11-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200720185120.671064-1-jagan@amarulasolutions.com> References: <20200720185120.671064-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=WAy6UAYl; 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: , From: Suniel Mahesh Enable USB 2.0 and related configs for the Rock-PI-N8 target, which hosts RK3288-VMARC-SOM. Log: Bus usb@ff500000: USB EHCI 1.00 Bus usb@ff540000: USB DWC2 Bus usb@ff580000: USB DWC2 scanning bus usb@ff500000 for devices... 2 USB Device(s) found scanning bus usb@ff540000 for devices... 1 USB Device(s) found scanning bus usb@ff580000 for devices... 1 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 | +-2 Mass Storage (480 Mb/s, 224mA) SanDisk Dual Drive 04019c9b2e1a58f24ee318c3c123aa5 1 Hub (480 Mb/s, 0mA) U-Boot Root Hub 1 Hub (480 Mb/s, 0mA) U-Boot Root Hub Signed-off-by: Suniel Mahesh Signed-off-by: Jagan Teki --- configs/rock-pi-n8-rk3288_defconfig | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/configs/rock-pi-n8-rk3288_defconfig b/configs/rock-pi-n8-rk3288_defconfig index 6b31e19eda..4cbb07d870 100644 --- a/configs/rock-pi-n8-rk3288_defconfig +++ b/configs/rock-pi-n8-rk3288_defconfig @@ -22,6 +22,7 @@ CONFIG_CMD_GPIO=y CONFIG_CMD_GPT=y CONFIG_CMD_I2C=y CONFIG_CMD_MMC=y +CONFIG_CMD_USB=y # CONFIG_CMD_SETEXPR is not set CONFIG_CMD_CACHE=y CONFIG_CMD_TIME=y @@ -63,4 +64,11 @@ CONFIG_RAM=y CONFIG_SPL_RAM=y CONFIG_DEBUG_UART_SHIFT=2 CONFIG_SYSRESET=y +CONFIG_USB=y +CONFIG_USB_EHCI_HCD=y +CONFIG_USB_EHCI_GENERIC=y +CONFIG_USB_DWC2=y +CONFIG_ROCKCHIP_USB2_PHY=y +CONFIG_USB_KEYBOARD=y +# CONFIG_USB_KEYBOARD_FN_KEYS is not set CONFIG_ERRNO_STR=y