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: 1552 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pl1-f199.google.com (mail-pl1-f199.google.com [209.85.214.199]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 3F3003F03F for ; Tue, 21 Jul 2020 17:25:27 +0200 (CEST) Received: by mail-pl1-f199.google.com with SMTP id 67sf10550496pla.23 for ; Tue, 21 Jul 2020 08:25:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1595345126; cv=pass; d=google.com; s=arc-20160816; b=ZD1qntPAHE96uHcPHQ3663TbDJ/DuMFoDkzS254eiPWnNYzOraz6w35kXbN+mNU9US CXpgADYzDdy1VYQIu/F94e9cNQ2t9lMm+5rG5/RMuk8cFv3tv0Qih+PlooixMyeGQK+A wWpVDFNc3DRiUk0eWRjVH5ZI8n6GRPb4hoc+7dgtWR2gttBWmKwVJxCmJgX5PjPtFiNF DnqNAqrRTHH63IErBosVJb1dbTQdf1HGq3JjSqv8+m7izY05v9kT//1F5BSR7YUyYWTx hn5y1iNREdZgeUHNA2WXAybV/5vx9fOV/cpIiNpvCefzmabtRiO803kOkpQy2R6U/t/P jP5A== 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=RTLbGEvxACcOWwdkV4tx6thx7i0wVlwy5weme+V85k4=; b=UyfParIZK6UEnbUsneCm5Nr7NW27ePiyc1jNqYlmF2xgH++62wjtZtCMXa0aLQ1l9p BNbIDi6aFDelV/0brHP9n9dUzsxIwiUmnH1okOb8TurTrGzphaUztuIhRSaIZAopITVR AGJmHxKGMwaWR7d4Ji2F84DRSqQxBNcLmYPQPRLL3YVz9jDwOD8fH2bot8X0oe3kqHe3 LANMPo8qWLa3cf6xo8TveSQPYputOhMkAxsfkmtU0jY5IB6gMms3M+DlkbUhHbS3q96F RDwqUraJPZPlHTQeITwhHd5NH5dfGxjA+b3tdnEl7hCdO59mjRXksIvTLiRi4N1pytuC PuhQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="ersC/y5d"; 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=RTLbGEvxACcOWwdkV4tx6thx7i0wVlwy5weme+V85k4=; b=BSYdtwFsBPmDC1meKchsHZkXBHsLtW3TGIqTe9VCm3CKEKHFAbDRqPSux2dYc8gIKx sdUQKzAyqt0TEr3jUQp/e/sOO8CH5VZqg7qYBYOVqzjgfWAw6rvfJwxXmLQk98TcZQjw hqbHlufXgzcR/EnSgDg9nIP3UFKU+Pd1P7bWY= 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=RTLbGEvxACcOWwdkV4tx6thx7i0wVlwy5weme+V85k4=; b=tjtXXgsFtc08cegIRxDGZb+t07G0wYbMYVz9EEa0G3ladSz0c6xIPSASmVYzhDGqH4 50cjp7fCk7cJr2U/vLMOBxjr9UQPaxtBprTMx6MnN3KiCFcjNQfDp8fb1pNZHItnUWHh 7sYLk9UYGBntKcp6V+TAL3FerD1BcGhwGyO3GmQw2HFk8ERf0r/yxNBs1HCs2ObtgWBe wcGu8WsOS1iviYatkkUW4ZvpEQ4Ckftf3uOhawniPgA69HND+jEsswQE8uwVfrr3BFIy DSbQWOdVmcYscwExv7w66rsdb8QwQIrrHGhug3CGbOatBFM6ErGTctU4i48NH2p64WAZ l+mw== X-Gm-Message-State: AOAM5302KQKEeGkxDWYKL+uSUGrUuRuO0cESZJa8WXkcRaldjQrzIXAr Nhu4u45pqZFujpQs6pyW4+shkMMA X-Google-Smtp-Source: ABdhPJzk4jC54u2bzk9BcZGUc7YRVNZl30vRqSPiGjcdFKm8pT11rRlthPICP75i3YJ0va3DVuhpGw== X-Received: by 2002:a63:cc18:: with SMTP id x24mr22299962pgf.86.1595345126012; Tue, 21 Jul 2020 08:25:26 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a65:6715:: with SMTP id u21ls2910337pgf.8.gmail; Tue, 21 Jul 2020 08:25:25 -0700 (PDT) X-Received: by 2002:a63:e241:: with SMTP id y1mr23676988pgj.410.1595345125492; Tue, 21 Jul 2020 08:25:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595345125; cv=none; d=google.com; s=arc-20160816; b=Oju1NbZzpGy+kynip0aZO4XOrn/pNE3QLmpCFDQAK02KzO9CccflVn+Zc4snXemABj mrSxZY7xQjkZDjnZGEktN+hLRPgjats+z8/nRhqT15FSKESTf6ODk1HbP8f9wAr3gZiK cK02cwycPzoAtjlSswyVJxFROFArcBuoh8WtXbWxWhhEOctHQFBl4aBC4cCyKXaxj9Wb lnlcH52pG5UrkEQG5g/u+qymh4EvEiIWUnG77elcaMCt6c7fKz/xitQi3YfKlVe/I9du B7M0GXgiEly/grxUF7A2IfdemFtgwBJwt6TB6r9nGFveVYK+U1qfMYpRJ+jaDTm2B5cu 9YLA== 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=1V56pGQIniVrqgXDO83frWIINZCfp55+8rNGiY8vi0I=; b=1DM5xz6vhn+XhobJd7aFobfIhJX8w3MlHqFzQF49B2MLS08DaBM6EMb0UduT0tV49L WH0vLGR3F8khgsFJuk4jFllsfgYUpkyQKCCJ2q/z1jS1Oi5bkCdpe7JRM2Ia8c7WDBcG yETxG3VtWNmMm58hPBfdApSOTJEARBig8qmg5gyhFyvaPj+vE2lN3rAjhl/vSY40360u GQpwAon+wH4vVIZA7RscVbI6Tvzfl9goNewwDlj+Viv66FZ7/zpLdAvUI4s+sM1xbDRK dKhTsjfPGF9lTqT4ICRkLgudVb2y3UNgnHn1yCgfsVkphFws5nST/9Lp5QH353g9OS89 yOcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="ersC/y5d"; 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 k23sor25916321pll.69.2020.07.21.08.25.25 for (Google Transport Security); Tue, 21 Jul 2020 08:25:25 -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: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 Cc: Suniel Mahesh , U-Boot-Denx , linux-rockchip@lists.infradead.org, linux-amarula , Jagan Teki 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-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="ersC/y5d"; 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 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