From patchwork Tue Jul 21 15:24:43 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1554 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 9EDE93F03F for ; Tue, 21 Jul 2020 17:25:36 +0200 (CEST) Received: by mail-pj1-f69.google.com with SMTP id k7sf2419391pjw.2 for ; Tue, 21 Jul 2020 08:25:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1595345135; cv=pass; d=google.com; s=arc-20160816; b=TWZhXzcVXkZKAbXRjqvZ4814+h57Qeeeaq8/sXeB5l+Kx9zE0HYmDh9soqrp02Km2B ljYHUJ7hIQJkNKRXQJMSWaRUadcrDr1ysNWvwWJ5oJnQB4wNDP8vYveKD5a6Osjxy+WY UsOqIy+g7JI6sl8plgv+eYvZvSJJyZ7faGEUdk+wlOlsK9XjpqDcxJH7vcTBMj77Toh8 CkQkdP03pF/QMX1Yr4nYTh8UBtcIoYyrWYLuvwmIsdvfdCCe2T3oc6nVRQAPbQOMthoz JSMSw7laLkXDaaP9ALIHyXflu5e/KLNfmUH01iG0cG/e4Aut7yA/G/bDeOsQRjkDJNGw CT4Q== 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=ThqrBCiBrCfxK7gxamZMbqISpljqGEVRlKjFBnQYe6Q=; b=skahK0IYakkr3iSJDZTJZcv7Who4svzxZfwPpzffGKTCGcMJRNKZEGiHo8Z1FLEGpb OZsxcQmGdYxhyOBEcFIp0U25v4DT06T/ZLV7PDcBdsVe8GxoxLXKQVMm+WKBN6rhmUy6 y4bK4XTnIPqamJk04kGYOET9nT1MqbDx8ncZpP2aAgcjkS41hO/ClL1/PtEPYlOT6dy2 BjY3F5Z++YVDz3yGjVpaxPTez4PkNZw8RKfQ1KH5XpWXnc5UmjV+Qj+uBDU40D3W5Kf2 VLyYAtS8lOZVUrjUSAchBKDjqN6KwJ+liiRyWZ+4gvtEMBrJ2DBrPGsWfoYCCQzGNWP1 JSmQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=rGzPgsOC; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 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=ThqrBCiBrCfxK7gxamZMbqISpljqGEVRlKjFBnQYe6Q=; b=hm3Wk/CGMtB+swaHLR4VbMWe+nOBjYlfg3exf9OIoTf/d5mtMex+QhQrbVQEHCjfqx x+olWV6qRucGWDk+m0/Mfs59rU3KdY6Ejmyay1Sx/z5mJsT/FgJ4WPSHZpCoxHXBv2s0 XrDdV/L22g4e5JS0a8Ac8LmRcFaQY25FnKYTc= 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=ThqrBCiBrCfxK7gxamZMbqISpljqGEVRlKjFBnQYe6Q=; b=U4MFucgAV+7nGCnLVK5NMjdqwnySHfmBVl1hsG8V55Yi4GGTlRfFI16FB0L2VGikId 2ykBwy+La1y9GYBXMMU6bGXRqZkh09Ia/gi+YslnT5xQbZTPGbcjPRdVSwTluD8psDeN G3ZWZJTCfOOW4hxI4udEUTUNIbFMMY4N+KMyNvvVa4KrmonTmc/lmxlgzAanx431XfIg od45ltsqOIgkLF2imTrev0LK2mRYaI5kC0mLYQ3wetAOyr1NeiRuBdqzMJNZkJthNjLA Aj+KsNhyvHYoi+P2wK4Flt4DCCFgnaiH5cz36H0Ul4hBWvUha973+8nl0xUo96dXp5aV IV6Q== X-Gm-Message-State: AOAM533ZYB680ma2G1yIVkDsIYFGTYxD+5wOQnoPT1lCsKmp769hoaRE l8t+dfhg9pge/wWTfpKTfE7IEQcJ X-Google-Smtp-Source: ABdhPJw1o8gwWhsNAvGD4dc+ENI382ZPb339N5vDLu7Y+iborwbGkZcerAqUxvER7X5XQSJ5Ad8i2w== X-Received: by 2002:a63:7802:: with SMTP id t2mr23442539pgc.421.1595345135402; Tue, 21 Jul 2020 08:25:35 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:90a:1b4d:: with SMTP id q71ls1670411pjq.2.gmail; Tue, 21 Jul 2020 08:25:35 -0700 (PDT) X-Received: by 2002:a17:90a:3488:: with SMTP id p8mr5662742pjb.211.1595345134878; Tue, 21 Jul 2020 08:25:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595345134; cv=none; d=google.com; s=arc-20160816; b=l9G4g5btK4Px2s/dMUUL/UZ7Jhr/lgy1i6OVIbdbzrC7qf/yLmnMMjNvDVtPHljFYG pvGWiYWQmIdvO3XnbTQxRKL0ZR9hxCD7CYunxRrwB0q/JQ8BVK5XKL5nHOBnwugHWI3r apJKN3II5dt/O6SMW1O2zOKKSCI9yu9/Ux2CGgptMtv/PntTNLdbjg4TogT1lxfEorr5 fo9hldtSvtX7HPa8ug5MoS4ctnJvtC24TcCIEByvO8aEFxe2sUcfGmy+zKtRXZS3JUSQ 3yRe7G+l4sXHtS9st4T4Nt587wGylKeoduOP6XIEUkiK6Eix5rct7jGh/si/3g/52VXP MXJQ== 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=W7AdWOFp3xgLd1BPtduxrVIAjwvzB6JQCI9Mmp0mGkY=; b=NTFO/U6DYVotghQOyRBx4kV6FpYH1E/9WDkfnG903ZrscYJcyGCVS7//Lvlu/Kx45O ge3NXWivYaa43emYjkupI4owkepbyPBb7PrE/GGFabUbp0/Qz62geLAzEV7D3XK/BCBK uK4UIUPgb/Q05kNCS7LnashczLPpUyQ85WcipJt4BBjKh4OboJHmvwaA67Sffxo/kimK g24Ere+LPMX/R3bCeaqQJ24y9qttMZxtjTTnc0eEbzsoSAwgDseZOY+xZkOwfjngEu5D o8UxEp0JyGCwlje6lnAQmBB9U9OpCfG5TW5cXsCW9uWkYBOfSHYTRt24BRUpyIjJucYv Zs4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=rGzPgsOC; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id z23sor24393449pgv.57.2020.07.21.08.25.34 for (Google Transport Security); Tue, 21 Jul 2020 08:25:34 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a63:3cc:: with SMTP id 195mr22202344pgd.296.1595345134559; Tue, 21 Jul 2020 08:25:34 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:3df7:ef76:b2b5:fa14]) by smtp.gmail.com with ESMTPSA id h131sm2876838pfe.138.2020.07.21.08.25.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Jul 2020 08:25:33 -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 v2 09/12] rockchip: rock-pi-n8: Enable on board devices Date: Tue, 21 Jul 2020 20:54:43 +0530 Message-Id: <20200721152443.37602-10-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200721152443.37602-1-jagan@amarulasolutions.com> References: <20200721152443.37602-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=rGzPgsOC; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 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: , From: Suniel Mahesh Enable common on board devices for ROCKPi N8. - USB 2.0 Host - USB 2.0 OTG/Gadget - HDMI Out Signed-off-by: Suniel Mahesh Signed-off-by: Jagan Teki Reviewed-by: Kever Yang --- Changes for v2: - squash common device enablement configs/rock-pi-n8-rk3288_defconfig | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/configs/rock-pi-n8-rk3288_defconfig b/configs/rock-pi-n8-rk3288_defconfig index 6b31e19eda..d218852d79 100644 --- a/configs/rock-pi-n8-rk3288_defconfig +++ b/configs/rock-pi-n8-rk3288_defconfig @@ -11,8 +11,10 @@ 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_CONSOLE_MUX is not set CONFIG_DEFAULT_FDT_FILE="rk3288-rock-pi-n8.dtb" CONFIG_DISPLAY_BOARDINFO_LATE=y CONFIG_SPL_STACK_R=y @@ -22,6 +24,7 @@ CONFIG_CMD_GPIO=y CONFIG_CMD_GPT=y CONFIG_CMD_I2C=y CONFIG_CMD_MMC=y +CONFIG_CMD_USB=y # CONFIG_CMD_SETEXPR is not set CONFIG_CMD_CACHE=y CONFIG_CMD_TIME=y @@ -63,4 +66,17 @@ CONFIG_RAM=y CONFIG_SPL_RAM=y CONFIG_DEBUG_UART_SHIFT=2 CONFIG_SYSRESET=y +CONFIG_USB=y +CONFIG_USB_EHCI_HCD=y +CONFIG_USB_EHCI_GENERIC=y +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_DM_VIDEO=y +CONFIG_DISPLAY=y +CONFIG_VIDEO_ROCKCHIP=y +CONFIG_DISPLAY_ROCKCHIP_HDMI=y CONFIG_ERRNO_STR=y