From patchwork Tue Jul 7 13:50:46 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 11648635 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 25B3860D for ; Tue, 7 Jul 2020 13:51:13 +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 F20222073E for ; Tue, 7 Jul 2020 13:51:12 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="1hObblDC"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="icJXs0jg" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org F20222073E 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=OGLTrl/xlNFTIuNzYpRLqengrj4tKMKPHVZwZBY0PC0=; b=1hObblDCLahOzHg0Ol0aAry67 LbSA1orMtld8rw5vtqUWqs2WPAyQBLC26qPlmUTgnoFiAkBSLeNAREUkK1n1PJ8KBjIANeq7/S6DO PxSncyGssEBvRtOJUYrXE+G+pGGgVbG9AMVQnnP8zgfvxiSpMplZSwvSaQkmHKPqjQTOyGS6j3IIF Hp7M14DuKifx94S90YLzWYL/L3DUEJbShT56WZ8rQ+pAETqTjHRe2M4kahxfEoz6IMkZ7CoXQ4WmO l2x6tG8FM8kwvEO/PQ1nlvGoKX08jpx/metmE5oMqe5gffTQWcvalrwFa3UiQ4woiKGMsvf2T8Eox vDG6y+15w==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jso07-0006Vb-8t; Tue, 07 Jul 2020 13:51:11 +0000 Received: from mail-pl1-x644.google.com ([2607:f8b0:4864:20::644]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jso05-0006UY-Rj for linux-rockchip@lists.infradead.org; Tue, 07 Jul 2020 13:51:10 +0000 Received: by mail-pl1-x644.google.com with SMTP id s14so16771646plq.6 for ; Tue, 07 Jul 2020 06:51:09 -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=ZklUhPKXUi8jNXq7qrID4uU3s+n83RLbPThqzwemmaE=; b=icJXs0jgmG2irIx78Qyts6XjT5aWBBaBNYGb/AGuxRTxGbYZOS36k7fup3blT4kVWL ku4uT6vysw8qDglzZi1H02UDLtiNuh3QkUlovSQ8HuVSBn6aXYBiHf5KHmtscZ1RJeQB QJhRGTc9mdoC242XdTbHuEPsjck5PX8+qN1PA= 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=ZklUhPKXUi8jNXq7qrID4uU3s+n83RLbPThqzwemmaE=; b=QT6TksNWEgqcSmfa0Pd/NQ240U5uY6aZLqM6IP8GZ7L76KVNcB5Npmtzwb/basDz/L xpQUWIawWRvfl/jyC8fzI67LnmJIXH0IQlS7FYA+alXtl54RWUZxY3guSB+7CSrqcqTQ YrFJyizBLwUpkFw65dtPJjktl3QZr/Vq2yyFM68NleiZnID6/b4GiiyxqUs1p0aexQLx j9TQikA1BbcNm2SROsGkI/wXwdLkvzgAAmtb8VC+LKfkTmHOGmC9ZRJER7T7LQ1Np2Pj yah+x8ukd+otbxdDDrKu4XGlhxdESybPGjweiuV4iHljtU5aJJps56UKd2MZTI+kNX87 nVZA== X-Gm-Message-State: AOAM531qIrrn/RZnUdkqqP9JOgvIH+4ddcX3hIvBSHiZCy5HhSCxbb4K 9Elddz1q1ZUrSmK9YORxKKFwGQ== X-Google-Smtp-Source: ABdhPJwuEomcKU4znFGvjJ2b+6eYhL3vGgzhqi/Eb7xsvxC4jhYg33Fr7B6PlqHJJ8vWWKsYOjfjpw== X-Received: by 2002:a17:902:a515:: with SMTP id s21mr38535139plq.192.1594129867764; Tue, 07 Jul 2020 06:51:07 -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.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jul 2020 06:51:07 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Subject: [PATCH v3 3/6] rock-pi-4: Enable USB Gadget Date: Tue, 7 Jul 2020 19:20:46 +0530 Message-Id: <20200707135049.9521-3-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_095109_930269_D5C61425 X-CRM114-Status: UNSURE ( 8.85 ) 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:644 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 USB gadget for rock-pi-4 boards. This would help to use fastboot by default. Note: Connect the Host USB cable (Port A or C) to rock-pi-4 Upper USB 3.0 port. Signed-off-by: Jagan Teki Reviewed-by: Kever Yang --- Changes for v3: - collect kever review tag configs/rock-pi-4-rk3399_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/rock-pi-4-rk3399_defconfig b/configs/rock-pi-4-rk3399_defconfig index f3eeef0293..a4b322074c 100644 --- a/configs/rock-pi-4-rk3399_defconfig +++ b/configs/rock-pi-4-rk3399_defconfig @@ -8,6 +8,7 @@ CONFIG_NR_DRAM_BANKS=1 CONFIG_DEBUG_UART_BASE=0xFF1A0000 CONFIG_DEBUG_UART_CLOCK=24000000 CONFIG_DEBUG_UART=y +# CONFIG_ANDROID_BOOT_IMAGE is not set CONFIG_DEFAULT_FDT_FILE="rockchip/rk3399-rock-pi-4.dtb" CONFIG_MISC_INIT_R=y CONFIG_DISPLAY_BOARDINFO_LATE=y @@ -57,6 +58,7 @@ CONFIG_USB_EHCI_HCD=y CONFIG_USB_EHCI_GENERIC=y CONFIG_USB_DWC3=y CONFIG_USB_DWC3_GENERIC=y +CONFIG_USB_GADGET=y CONFIG_USB_HOST_ETHER=y CONFIG_USB_ETHER_ASIX=y CONFIG_USB_ETHER_ASIX88179=y