From patchwork Tue Jul 7 13:50:48 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 11648639 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 1CA2760D for ; Tue, 7 Jul 2020 13:51:22 +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 E82D82073E for ; Tue, 7 Jul 2020 13:51:21 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="HvjBsg7P"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="eaQzIk3G" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E82D82073E 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=p85EES977ZqLzCcClxXkgnR5QHjtHEBgOqR6GF8ljg8=; b=HvjBsg7Ppm3NyuPGs+nQUlyTY nnFfGGZ2QbrxTN08zgNJ3mNxCfE/plrq7b7AigasnDC47Pkxcy+AjrjRtiJKtGJb1ULD6+NP5UBJt O8KRP36ZgTBzMVayhth/vMqaGXZldqDpkzfUkVWcQIIWd4+Aagfcx6wxtY46wEq9h+WEvOxrpwx4J D8lQxDM6p8xmnvpk9+e+V5m/TKvL5w5ojqyKYwEZucEkShiFBm4QnUEWT+3U8MLbr1KC/bqhs1kPY 3yymJtU19jjztB8T8yrn7P3s3xiYy4rfPXvyfY+15wQo/7+3PBA6qqRYl5dku66caUG6QUvl7UzoF 8M9PJfhHw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jso0G-0006YK-9M; Tue, 07 Jul 2020 13:51:20 +0000 Received: from mail-pg1-x533.google.com ([2607:f8b0:4864:20::533]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jso0D-0006X8-FY for linux-rockchip@lists.infradead.org; Tue, 07 Jul 2020 13:51:18 +0000 Received: by mail-pg1-x533.google.com with SMTP id e18so20030531pgn.7 for ; Tue, 07 Jul 2020 06:51:17 -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=570L8wHPqY4gRv/5g1wc7q9ZAEAdwqWu9R9tzybHuTI=; b=eaQzIk3GjOQDN4E+iQO11VUQvonClCQXMurWFZQsC5z6PthjN+zhuLxu6sNreewDiE Fm8/gF50oxL4rZ95BvsJuhjq/dRJTf8uRIeB22qBNIymJXKPQF9ATwVxnhZCh9VUozfc TczhLrMz7FjBK3jT9JnWikycHmUh+ccni5hkI= 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=570L8wHPqY4gRv/5g1wc7q9ZAEAdwqWu9R9tzybHuTI=; b=kXMV/vqvxtPYU7nOLcmQpixwWGTtXrtsK7ozh0JkjHET1mMKcK2+CFT2SVPPnMM5dU aaa7dKmSsYoda0gj9zMR8gp9RzZXUBviBnKGwhVsUW163ffeaTi/TZ3MHJvS1iYh+EPl 0CTD08r8Fa67gnP7EF7bO6Obc1BvNNPU8qxEhWMT2wNAIpdwO8r3+l/08sFrD8uEf7Da gCe237xy0NZjujeAzMtHOZzv8n/9CvBZ2nQ/pegjR+90c9McR1pV7X/BJE5xEDF5VaUm uoV45aq7r+G4wqM9e+nemkH75dG0Y9X8bU2InDFW4/Xhd264hcHushJNqQu8qeCmaUbT 8aMQ== X-Gm-Message-State: AOAM533il0Qc2qOHMx5G0AdRuFDyh2MhuXAt9IuY8nq5OK4fXyqmeWnT +niaNr9IkldbQkYBJW8xAplHRA== X-Google-Smtp-Source: ABdhPJzYDCY5leTDHfEv6ijtHqN0/z+4hXCrRJlOHc6e6528nENC8/lkbhb01c5snsx5NC9wLzs60w== X-Received: by 2002:a63:2e86:: with SMTP id u128mr24873346pgu.228.1594129875735; Tue, 07 Jul 2020 06:51:15 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:11b1:83c1:7d95:bab3]) by smtp.gmail.com with ESMTPSA id 73sm22980495pfy.24.2020.07.07.06.51.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jul 2020 06:51:15 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Subject: [PATCH v3 5/6] roc-rk3399-pc: Enable USB Gadget Date: Tue, 7 Jul 2020 19:20:48 +0530 Message-Id: <20200707135049.9521-5-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200707135049.9521-1-jagan@amarulasolutions.com> References: <20200707135049.9521-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200707_095117_528586_F6BA559D X-CRM114-Status: UNSURE ( 9.14 ) 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:533 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an 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_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid 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 Enable DWC3 core, gadget for roc-rk3399-pc board. This would help to use fastboot by default. Signed-off-by: Jagan Teki Reviewed-by: Kever Yang --- Changes for v3: - collect kever review tag configs/roc-pc-mezzanine-rk3399_defconfig | 3 +++ configs/roc-pc-rk3399_defconfig | 3 +++ 2 files changed, 6 insertions(+) diff --git a/configs/roc-pc-mezzanine-rk3399_defconfig b/configs/roc-pc-mezzanine-rk3399_defconfig index b3c8f19e43..b2c370cc59 100644 --- a/configs/roc-pc-mezzanine-rk3399_defconfig +++ b/configs/roc-pc-mezzanine-rk3399_defconfig @@ -13,6 +13,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-mezzanine.dtb" CONFIG_DISPLAY_BOARDINFO_LATE=y # CONFIG_SPL_RAW_IMAGE_SUPPORT is not set @@ -65,7 +66,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 diff --git a/configs/roc-pc-rk3399_defconfig b/configs/roc-pc-rk3399_defconfig index edb327b46b..588d03952a 100644 --- a/configs/roc-pc-rk3399_defconfig +++ b/configs/roc-pc-rk3399_defconfig @@ -13,6 +13,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 @@ -62,7 +63,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