From patchwork Tue Jul 21 15:24:41 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 11675899 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 712E413A4 for ; Tue, 21 Jul 2020 15:25:40 +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 45250206E3 for ; Tue, 21 Jul 2020 15:25:40 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="tyZiHSc1"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="ersC/y5d" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 45250206E3 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=TZ4DWjb4Ujg3tMpNYU57wI4Pl0AtlqJJ1u4CZJ048jo=; b=tyZiHSc1CP5N9vK4oIGamPXvI zkHdLulxDX/BAzPcFXtOd8iKIhTLVRbrbM46CWgHFA4DCEcH4RZTa0CV+ONvIo+0DSF0KeHPZh2HT 84sDgezmUxts8BOhVRe/d9e7P/oR7WgrkkvFNVVjxyjQIS36emUmt5CHzk2J5Gz051aYYdqP4IQ7i O40Zgn1md2SHomSvYlFzx/xPiXPiQtbn1mhoej0JuaV35NBHQBl9CL3VFP6zDNMSBSqzW4MwE8XlS T/FQNMeDP8C1W1uNLfQfCyiX9UNF5Rh72LVBtibMDGhYIDDJy9uPyyVtxkHekY2S6B85DHEO8FZCK 2JAmoVsCQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxu9C-00042B-VO; Tue, 21 Jul 2020 15:25:39 +0000 Received: from mail-pj1-x1043.google.com ([2607:f8b0:4864:20::1043]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxu90-0003vZ-V3 for linux-rockchip@lists.infradead.org; Tue, 21 Jul 2020 15:25:32 +0000 Received: by mail-pj1-x1043.google.com with SMTP id o22so1845631pjw.2 for ; Tue, 21 Jul 2020 08:25:26 -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=1V56pGQIniVrqgXDO83frWIINZCfp55+8rNGiY8vi0I=; b=ersC/y5dguWGIJKDwzP0qk2hTC6B3mbpbQjIXKcJtooysJoSXL2RLlA0BPszEhSXvf ZfxJ3ra1bG+JvmCw8320tJXldjYxBOCs1jgrRm//bxCcB5/8DPXlquYk8edBEPAP8dca KI500x3wKkIUxs1Ne8ckWK5Vs0Is/7dQraN7w= 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=1V56pGQIniVrqgXDO83frWIINZCfp55+8rNGiY8vi0I=; b=DK8A6sfuTDwqHvL2GoQm/HeNdy1Xc7rXtZFf8c0yFcT0yxFf5HN9l+v0UFZYPz+J0y AZOiqynjqENUdZI9/1GgX+dh8bXIT5j3mdB5234AiOWa5m6Q/VS++JOTws5Qhfkcj4UE VSvSXbOu8mM2XUp1iZ8KPt2SjL6kN8gjqsQ1bRNVLblP9OFaYGwXj1h3mwlHwX0zHAfY I7NtzowxldgIi29KXDEjLB4OA4Yekr7hIFAsbRmFtlzusYCEsWBqSXP1se6JtrQFlOhG KnqRu8fa6IpOLK9aClmAV7Cd4Mogiu1m2CLZsSyC3xawuVvQM61YTiO5e7yNVAk8DbZD DMPg== X-Gm-Message-State: AOAM533hdc7Bocx7Q1PBp/JjhTVn/k55EMcyCsT+igIjFz1qrQvaXvIB 3c8KI229/+4TwiMHAqCCZR4Hgg== X-Google-Smtp-Source: ABdhPJx33HAAtdHgOXWT66lv3DMZTDUjfAKqSSCuWVMR0Rta7RDduxd0OOiDEBohVh0JZZkyC7SKog== X-Received: by 2002:a17:902:e993:: with SMTP id f19mr22865189plb.305.1595345125181; Tue, 21 Jul 2020 08:25:25 -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.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Jul 2020 08:25:24 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Subject: [PATCH v2 07/12] rockchip: rock-pi-n10: Enable on board devices Date: Tue, 21 Jul 2020 20:54:41 +0530 Message-Id: <20200721152443.37602-8-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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200721_112527_055208_A75C1E14 X-CRM114-Status: UNSURE ( 8.47 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.6 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (0.6 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:1043 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 0.8 UPPERCASE_50_75 message body is 50-75% uppercase 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 common on board devices for ROCKPi N10. - USB 2.0 Host - USB 3.0 Host - USB 3.0 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-n10-rk3399pro_defconfig | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/configs/rock-pi-n10-rk3399pro_defconfig b/configs/rock-pi-n10-rk3399pro_defconfig index c705ce01ce..895820fbe6 100644 --- a/configs/rock-pi-n10-rk3399pro_defconfig +++ b/configs/rock-pi-n10-rk3399pro_defconfig @@ -9,6 +9,8 @@ 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_CONSOLE_MUX is not set CONFIG_DEFAULT_FDT_FILE="rockchip/rk3399pro-rock-pi-n10.dtb" CONFIG_MISC_INIT_R=y CONFIG_DISPLAY_BOARDINFO_LATE=y @@ -19,6 +21,7 @@ CONFIG_TPL=y CONFIG_CMD_BOOTZ=y CONFIG_CMD_GPT=y CONFIG_CMD_MMC=y +CONFIG_CMD_USB=y # CONFIG_CMD_SETEXPR is not set CONFIG_CMD_TIME=y CONFIG_SPL_OF_CONTROL=y @@ -36,11 +39,29 @@ CONFIG_MMC_SDHCI_ROCKCHIP=y CONFIG_DM_ETH=y CONFIG_ETH_DESIGNWARE=y CONFIG_GMAC_ROCKCHIP=y +CONFIG_PHY_ROCKCHIP_INNO_USB2=y +CONFIG_PHY_ROCKCHIP_TYPEC=y CONFIG_PMIC_RK8XX=y CONFIG_REGULATOR_PWM=y CONFIG_REGULATOR_RK8XX=y CONFIG_PWM_ROCKCHIP=y +CONFIG_DM_RESET=y CONFIG_BAUDRATE=1500000 CONFIG_DEBUG_UART_SHIFT=2 CONFIG_SYSRESET=y +CONFIG_USB=y +CONFIG_USB_XHCI_HCD=y +CONFIG_USB_XHCI_DWC3=y +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_KEYBOARD_FN_KEYS is not set +CONFIG_USB_GADGET=y +CONFIG_DM_VIDEO=y +CONFIG_DISPLAY=y +CONFIG_VIDEO_ROCKCHIP=y +CONFIG_DISPLAY_ROCKCHIP_HDMI=y CONFIG_ERRNO_STR=y