From patchwork Mon Jul 20 18:51:15 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 11674489 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 F226813B4 for ; Mon, 20 Jul 2020 18:53:35 +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 CB21D22482 for ; Mon, 20 Jul 2020 18:53:35 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="W6xF9BC6"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="OVY4zCug" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CB21D22482 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=fGTFx/FdLvPIzc3EHsmlfQfapfcEUEpBXXHH3iNZqnU=; b=W6xF9BC6OUqRF4su4fQ5MjOiq 1l5KDhyKwyKPf2yz1TG3xQ365+eBpFFlMHYgGgLhH9Ey8DzakmVy3aHQwENS4mTVJQlgO56u/xkBO iVFvc8JDOITvZUzXrRHMnnA4bhN5yhZ+kqBpZX2ht7UK0ji7YpjlvSqtzz+3010aNxvf5ZYS8pS0d NTnW3DK75C0taaGEDdRjZ73PavF1XHQZZrie2gdND5jH8wgkG9LSvGe+w7+tWqn3hYMtQ6qYfbv1l 3Ryi3yJNgMxTN3MgnMbRmMMi5aN5gm8o2J4CQDsoIbICRt+Pp/2D8e4VcA4BSYVpHkzv5adpEtywS 6dVohVtcQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxauq-0003B5-7O; Mon, 20 Jul 2020 18:53:32 +0000 Received: from mail-pf1-x442.google.com ([2607:f8b0:4864:20::442]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxauo-0003AG-LV for linux-rockchip@lists.infradead.org; Mon, 20 Jul 2020 18:53:31 +0000 Received: by mail-pf1-x442.google.com with SMTP id s26so9480668pfm.4 for ; Mon, 20 Jul 2020 11:53:29 -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=l5nzmHlNsfWeT5GmeLHypjp6+nTT4JoSpHV6KrU0KeM=; b=OVY4zCugAAQ8bFM6wkk1bQ5GREGhvr7vqcjExs/5MJ7JVmJENHjVHqUNFKXb8gAJOl kSEJpdcXxdHakMBPHTHI6A0Wj9hc5Uh/bW8wlqrd/AHQHHsgh1NCYJxE0NEJ0Ng6PWs5 rG1Hj3P+Z+GLTbMIC1CZ02tTQSIed4Ek+0s/M= 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=l5nzmHlNsfWeT5GmeLHypjp6+nTT4JoSpHV6KrU0KeM=; b=Sk56HCHGgG1RLbblEYUm6inZYhSIUVT6SXdJ5736j2OrbpfuGJCHYetNSCoOFzHaE7 HrHryVuDmwLu3XPpxAaL5pUmN1b2GLR8u6ufmD4/hNV8udqyqri4JWgJUd1KP/Ky49SZ flPEq4yCc5c/bdDD8pxbr0qYgefvVFaNaVCZQkzLvAu1Mu2Hx4nK0rliKMUSz19BJkdg b35MDfcCwbTw8LJdEUdDImJ+Evofi5zR4+xnvwbk0hsWlJQF8uVwn75KqRQh0+ZL3X+a O+WKXBt+Ew+InI63/TDwUB/YVIXYFl0hlkInJpUAifLvqCel7Ii3uNFYxODob8heZy60 D3AQ== X-Gm-Message-State: AOAM530uxSeSty9GpJxrd601c8N6hyhqQwNtTdjiATvwBOX3c7XFWMtE dbgBpTbW1Y23xNTeNvL7gz3ygA== X-Google-Smtp-Source: ABdhPJwGC90WnKr1+ccUtHWQJuIYbjxVrVoH57z49dgYj8mNNjpJbMYfEbLd4y6yr1A0uWlyfkxF8g== X-Received: by 2002:a62:1d90:: with SMTP id d138mr21216065pfd.159.1595271208293; Mon, 20 Jul 2020 11:53:28 -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.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jul 2020 11:53:27 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Subject: [PATCH 11/16] configs: Enable USB Gadget on rock-pi-n8 Date: Tue, 21 Jul 2020 00:21:15 +0530 Message-Id: <20200720185120.671064-12-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_145330_720659_C7A71181 X-CRM114-Status: UNSURE ( 9.65 ) 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:442 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 fastboot and USB gadget related config options for rock-pi-n8 target which hosts RK3288-VMARC-SOM . Note: Connect the Host USB cable (Type A) to rock-pi-n8 USB 3.0 port on carrier board for fastboot. Signed-off-by: Suniel Mahesh Signed-off-by: Jagan Teki --- configs/rock-pi-n8-rk3288_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/rock-pi-n8-rk3288_defconfig b/configs/rock-pi-n8-rk3288_defconfig index 4cbb07d870..aafa2cac2a 100644 --- a/configs/rock-pi-n8-rk3288_defconfig +++ b/configs/rock-pi-n8-rk3288_defconfig @@ -11,6 +11,7 @@ CONFIG_NR_DRAM_BANKS=1 CONFIG_DEBUG_UART_BASE=0xff690000 CONFIG_DEBUG_UART_CLOCK=24000000 CONFIG_DEBUG_UART=y +# CONFIG_ANDROID_BOOT_IMAGE is not set CONFIG_USE_PREBOOT=y CONFIG_SILENT_CONSOLE=y CONFIG_DEFAULT_FDT_FILE="rk3288-rock-pi-n8.dtb" @@ -71,4 +72,6 @@ CONFIG_USB_DWC2=y CONFIG_ROCKCHIP_USB2_PHY=y CONFIG_USB_KEYBOARD=y # CONFIG_USB_KEYBOARD_FN_KEYS is not set +CONFIG_USB_GADGET=y +CONFIG_USB_GADGET_DWC2_OTG=y CONFIG_ERRNO_STR=y