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: 1448 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pj1-f69.google.com (mail-pj1-f69.google.com [209.85.216.69]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 50ED73F062 for ; Tue, 7 Jul 2020 15:51:18 +0200 (CEST) Received: by mail-pj1-f69.google.com with SMTP id i24sf25169483pjx.9 for ; Tue, 07 Jul 2020 06:51:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1594129876; cv=pass; d=google.com; s=arc-20160816; b=eXEP7Gq82M1BXdTKrR0VsGmS0DLk28mdHoCPkdRyTkvhhW43bjZ5l/PeKKv5gvfCgZ Pdva1GP9/Ypit4JLJP2qJF/Dftp8OngobT+Y5SNFQa0gFFvD1O43vhxRGG1Vsre6mplD lNbfsK6wMKOGazrxDUrrnQwK9OAAt6leItSdAM/BUkXG6kPuSfltfqYyq4NEDfb9T0F9 a9Z8hACIULAls/xeW0W94oHkiglQ6G13HOBPyg3LZg5DYUAfbaAqvH4ZSKz57OilKfp0 KSRaH7OtJh3m3ABb46xat0BwGI18hMOuVb0/UYjFBPrqWbSRcLy+bKZYogJV9oIfCO+0 Ng1Q== 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=mZYbxLU4UgxK//KiadKsuaPKH1b/t0dzq67MiMqYJE0=; b=J7q6tBflFdcdN2/rXv6j0yF5T3faEef+q8xTSibHlaSd3fUy1CaKyuEplkUojEFtWA nJTCBbO9F4B3Kk+Gg5oz2g/HQzbZx/u8pcfEQzZNVVTrdOTh5PCounUv0M19ynGBkTcv twKbbplAnV8PwKiyG/2HrGU8wtVAisXw7Ykc6EpVDE36AwxOFmg8lcWuaXcpnINjOzlW shR6MLVMVtyII2PwmjZEltWZ2FfpI1wJxU1jXmAxecrnlI4H0hQ0+IsxHVxq1EeT6j0S 8cDAlIH1qnw7YfGEu3QKrDOxetKyclPFWZ80cq1IdQcGC0PrH0hkdQOdgbhOoES0s3j0 Alew== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=eaQzIk3G; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 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=mZYbxLU4UgxK//KiadKsuaPKH1b/t0dzq67MiMqYJE0=; b=ht4uUn/YDmXU6PP9/CHobyUY5PTR9An2VbxiQL9XE5T5+Cge2pvtuJLJxNFurjh3Wn 7I+w/KGyah/MetYkYIB7q0KcBsXTaGBAN92NNkkZPmpfVkdpoCWeceH2ui5GOjuGWgDA 1G6+JK+qxe0AZXbZHT/oz+sOyO2MNBgjRLlsU= 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=mZYbxLU4UgxK//KiadKsuaPKH1b/t0dzq67MiMqYJE0=; b=n1ASW6hLuETAqfuYeT2Lm2NBUUTRcdp7LPd3FJlnxeGm8ohdguVux8f5/cVM9vWQfx 6+urFSQ6dq8hYJupq7qKizeWfNE5iTftZYJ50NCV13NurSXK8yePn+fB75X/8YrZgEkH EGUbeswdoqYVIWPBIfhOLgr2x7FDpAcmntHxtexAWJA1IdPNsuMzKPy8NuKgwknpyRHx dlk8fuRkZBCv3cvUKN2jqwcACzrqUrfm6Uz3InyQdE6WHpeWAr+Nr42cZjxTzBzS/jvC o2WVkzOr3/y2nVKDuWrNK0NrvaXrYblm6QnP/h8qy69dqMcF4Z+ZKini2xBse3HP0Vkb HBow== X-Gm-Message-State: AOAM533MMKs14JtSDzy76n0ZFb59g+jLBaHVTfSERXq3gtd/NatNqkLE 1lAXejJWuAWa5YQF+SiYZpVPeK7J X-Google-Smtp-Source: ABdhPJzVaCi5HWuzD2Gg5qskz2qNkpxTP7TKD13DwmKSNfStQUQdIcT5NMZ3DePl5epDdxOTEAIYTQ== X-Received: by 2002:a17:902:9f93:: with SMTP id g19mr43760883plq.314.1594129876476; Tue, 07 Jul 2020 06:51:16 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a63:525b:: with SMTP id s27ls4482896pgl.11.gmail; Tue, 07 Jul 2020 06:51:16 -0700 (PDT) X-Received: by 2002:a62:8096:: with SMTP id j144mr50380006pfd.78.1594129876008; Tue, 07 Jul 2020 06:51:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594129876; cv=none; d=google.com; s=arc-20160816; b=RXMS6ILphbCKE5mDa2pH54reVyhVpPcR51n4LuaELqbE51Xh/5TVVQEXFNIuskx68Y Wb4vXlovE6T0ehOphyLCZj8EoPbgRR73BUJr4WXEW0z11QgEeYnOYNMH5ewfKtB+04x7 khqkdqGqYkrG7n6w0SN+YSYGTenldLcDcmopmN97L2UoSTx+jKb9vT7IBCirA97ruQG9 sEuvjY3If0e2FnUnJBuv/MMmNRx4xeJ8ZnpHbRkgchioayzm9vo05An0YuOiB8FTzhwY Y6WBZaNioKgS8t009omgc/Sn9YffKML1b8edq0oo1xs66+zGxVpj8lod3Y/pDPMin7aa Wl2g== 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=570L8wHPqY4gRv/5g1wc7q9ZAEAdwqWu9R9tzybHuTI=; b=zDL5hs+fCG78lWdPlkDRuUoQhydK1TqlJNBL96v9A05a9Vh7K1MPaFaKf/1C+niJvL N+eTd9ZTJL7F/16vCT9myM5L+yP2pHvRhQ5qVzm6E3deHEw7eAN16pWnHCh992S8/nzo 5qkczxcW9nUa3PbxRUPV7BGL0v2ICC+i6HbDkBvIAJ3WtNm5SGxmaZlJRTwJBB4pOXxh Nmi/VkXsoR87uwmQfIFulj09Y8zB2fsmMVPBLHJeORJdb2SgO352gdUyNgIah/ZTLCNx uvT4vqZV4RIN5VQm6UyRB37MrvirU+2EWu9SecJlf6jZhcKtJKabOYVZCKwtdhpIGGYY o+xQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=eaQzIk3G; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id d9sor29208944pgf.77.2020.07.07.06.51.15 for (Google Transport Security); Tue, 07 Jul 2020 06:51:15 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; 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 Cc: Suniel Mahesh , U-Boot-Denx , linux-rockchip@lists.infradead.org, linux-amarula , Jagan Teki 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-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=eaQzIk3G; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 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: , 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