From patchwork Mon Jul 20 18:51:11 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 11674481 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9FB25138A for ; Mon, 20 Jul 2020 18:53:00 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7A13422482 for ; Mon, 20 Jul 2020 18:53:00 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="RjNPx7lL"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="Ril5p3N3" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7A13422482 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=pgCdnhZs6jto346ZXAY9v2HPzUZhXj80S4D7MUEzf3M=; b=RjNPx7lLFpu+LqBJKJYTgGRfR oYPD7yPpdKyB/qcDL+m+AWGtLOqFLHBGBIVHH5P4TGqJ0nd9HHyEaghQcHyKGH22w4vUB5snrr43p RhYzBJd5HDl3Uv5lWkCHBYr0yQ6Io99sxrQuSp6De3WEe5cDHfgqMqlPtHLfUBmf+2hxt3+9WQ9KU i746Sa6uPOXu/qKlJiNIqZEft5/o9g1L3hH8yeO7SEWNjoFgfZYMYMcMAF184OrKonYqtVAJLemPH OrNMi1/hqHJyDfLPZqQWT18cVxnd+YkWq3SwUEVhjyggGvc7GPaLChYOAxnBdJV3aHs6fLzF441Rr JiHOvjr5g==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxauG-00031m-SV; Mon, 20 Jul 2020 18:52:56 +0000 Received: from mail-pl1-x642.google.com ([2607:f8b0:4864:20::642]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxauE-00030l-AR for linux-rockchip@lists.infradead.org; Mon, 20 Jul 2020 18:52:55 +0000 Received: by mail-pl1-x642.google.com with SMTP id 72so9093474ple.0 for ; Mon, 20 Jul 2020 11:52:54 -0700 (PDT) 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:content-transfer-encoding; bh=0HK4g7TYqmmHN/W0eIFzrv/EvYg0eoJ9dUqmdaOVvAY=; b=Ril5p3N3PU5oMz/aeXJttBf2SLbgvGF+HAvqA72ifz38x4fHrWSG43v/sGfhdUNkjU 0ruFLeU3gN7oI/I4uALr1B740e2RdtLmfrgwlxW3go0rkU5spAXwzOfAdDRjXCOtf1g8 NElGFVRh88loIMYrEmuhCTfoMX/0YjikDFNmc= 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:content-transfer-encoding; bh=0HK4g7TYqmmHN/W0eIFzrv/EvYg0eoJ9dUqmdaOVvAY=; b=TrCxJtK1UFojBK1NkX1VnZNXruI7prkO+gUTaVT77M0psq4rWWSOfdoOEdbO6CY9NC gEWopcKkRImnep0eY+mOXq9MdiwtHSkStMFvWZWIZzrjvUfFKycVP/xfBRV6V3cP7t36 XWqRnameEjP3b6seMTsRd/E2K+bL1A4ag4Z4jVKrfuvy186hYXRsBQv+Ij+3+UgdTExb 7gtGZznmbCkusWnztd66qxAWVOm/n9MJ67e1mVGzGasoludiu/Wf6a+QfwK/7J9ULO6G OWGFimX2R9qW9i9ah0gTpN6EiRgDlvbNKSy+w6sSn6Df7KskYir69fHfz8OASoat+tyB v12Q== X-Gm-Message-State: AOAM530Kz78N8NrK2patPY8zO34LgVzB7Fqgujxhuw67ACtagnyJkHiQ e1uBL8fDuVAfiR7jWkppYa/iMA== X-Google-Smtp-Source: ABdhPJx7jRKYoGEdUh7+Qb+LRJxKgJo5ZnOKwr22n9k/Z75Qc2+tH224erTErRqY2TVZsJ+PDEcemg== X-Received: by 2002:a17:902:b18b:: with SMTP id s11mr19508146plr.152.1595271172334; Mon, 20 Jul 2020 11:52:52 -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.52.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jul 2020 11:52:51 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Subject: [PATCH 07/16] configs: Enable USB host on Rock-PI-N10 Date: Tue, 21 Jul 2020 00:21:11 +0530 Message-Id: <20200720185120.671064-8-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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200720_145254_404352_77F52D29 X-CRM114-Status: UNSURE ( 8.39 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:642 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: U-Boot-Denx , linux-rockchip@lists.infradead.org, linux-amarula , Jagan Teki , Suniel Mahesh Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org From: Suniel Mahesh Enable USB 3.0 and 2.0 and related configs for the Rock-PI-N10 target, which hosts RK3399Pro-VMARC-SOM. 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 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... 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 | +-2 Mass Storage (5 Gb/s, 224mA) SanDisk Dual Drive 04019c9b2e1a58f24ee318c3c123aa5 => 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 EHCI Host Controller Signed-off-by: Suniel Mahesh Signed-off-by: Jagan Teki --- configs/rock-pi-n10-rk3399pro_defconfig | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/configs/rock-pi-n10-rk3399pro_defconfig b/configs/rock-pi-n10-rk3399pro_defconfig index c705ce01ce..e09e656fbc 100644 --- a/configs/rock-pi-n10-rk3399pro_defconfig +++ b/configs/rock-pi-n10-rk3399pro_defconfig @@ -19,6 +19,7 @@ CONFIG_TPL=y CONFIG_CMD_BOOTZ=y CONFIG_CMD_GPT=y CONFIG_CMD_MMC=y +CONFIG_CMD_USB=y # CONFIG_CMD_SETEXPR is not set CONFIG_CMD_TIME=y CONFIG_SPL_OF_CONTROL=y @@ -36,11 +37,23 @@ 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_DM_RESET=y CONFIG_BAUDRATE=1500000 CONFIG_DEBUG_UART_SHIFT=2 CONFIG_SYSRESET=y +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_DWC3=y +CONFIG_USB_DWC3_GENERIC=y +CONFIG_USB_KEYBOARD=y +# CONFIG_USB_KEYBOARD_FN_KEYS is not set CONFIG_ERRNO_STR=y