From patchwork Mon Jul 20 18:51:05 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 11674467 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 E21C813B4 for ; Mon, 20 Jul 2020 18:52:07 +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 AF0A722482 for ; Mon, 20 Jul 2020 18:52:07 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="HS8D/Og1"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="ZgE/EUXh" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AF0A722482 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=ufgHYueAIcO22VrLHuZZh+YpEuUbOU36OWoph9g1Lgw=; b=HS8D/Og1ArWVS37xfj08g4a5u Sa9dVXweVGzWvOPRidUohvVNWRJ5+lHsH47EfOdh0x97p4NL5HyzAfdkjKXnbDENlsflE5Mow/hrZ OHYUQc1amkk+zgZ0e5CcSY2YN/hBN1LvHBIPuZ2sb5ie7qLkKA9tyCTv6nU1sRF5K/5e9lNorPn4M 3Ay+IwKaZF9gp8IYht213XopNQfL8+qmZAmi4vXTLRN7mqyE4UVHQiXgTEATr0/m5XwbMT0vWVZNe ZaJJngdBCaENAsBG7DHDdZGbWAfafVsFXAqoNoAeg7lIh3FCHhP/z5BD0vDySPCG66MIkpV3+DTbA f6pRsSdUw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxatP-0002o3-Ot; Mon, 20 Jul 2020 18:52:03 +0000 Received: from mail-pl1-x62c.google.com ([2607:f8b0:4864:20::62c]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxatN-0002ms-Ug for linux-rockchip@lists.infradead.org; Mon, 20 Jul 2020 18:52:02 +0000 Received: by mail-pl1-x62c.google.com with SMTP id o1so9100667plk.1 for ; Mon, 20 Jul 2020 11:52:01 -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=T8QuA43TktpDaBBV3tgNLdT+8FbMFHtLJrPqgs00wGs=; b=ZgE/EUXhJuShEQftO2nhH4f5Tu3uK2Bukk7PX/Jk0qJgBTfPE72FoxJ2tBH/yoFfYK jg7a3dJnR53ssNdYaWaVbwT798UaS6M7/ybJ7qLoNYyLiGEhbO5zxLgBN5NzQ/glc2pd 4Tg+jOR2d0p4VjDfuS0dXcm2Z9WUgrXDArYE4= 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=T8QuA43TktpDaBBV3tgNLdT+8FbMFHtLJrPqgs00wGs=; b=R6z7fv7kf4UdXcgDS35FAK0TV29N2o3pg+Gv/IQ/R9+4pQIezFMHUBmlYiyeO5+mf7 O2+poqKrPs+kD6Tb6e6omT6m8gJaXcdmgtn0Ja0RskC3urNZ0w2Xa/85V1gI3HIF1tLG +jVPYwfRCqVVW6qWT8ngsxpkS5qD2WjWpwpP3sLWH/D3Z06r2X/n5r2pzJChsoc01DhR 4WQSGfx9zRDZ1VXDxNDtiotCA8mBgueqPPrejxqy6illQFqpeRANqirEIFu4UE4HXq/9 u1VcuuwBDI4aWbUCbPYtzNgXJURY/WP4NpPE7q74rcecSNyT9nVpcdFf0ULPz0OzBA5o O+OA== X-Gm-Message-State: AOAM531nj2DcrkQuVPDzZ3BQMXMUy+5ckln61CJjEw26+dHKLif1+Zul ZZT6Yf4WozUzMqX/CqlvozbfHQ== X-Google-Smtp-Source: ABdhPJxginByqEYKiGmgWmo7sYDXmOm8x9qbOypPN/rMrjnzLmYR4Tyf59r1erpOFF/B39L0fXr/Mg== X-Received: by 2002:a17:902:a60e:: with SMTP id u14mr20021164plq.238.1595271119385; Mon, 20 Jul 2020 11:51:59 -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.51.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jul 2020 11:51:58 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Subject: [PATCH 01/16] ARM: dts: rockchip: Sync ROCKPi N8/N10 dts(i) from Linux Date: Tue, 21 Jul 2020 00:21:05 +0530 Message-Id: <20200720185120.671064-2-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_145202_023670_7B003771 X-CRM114-Status: GOOD ( 11.37 ) 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:62c 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 Sync ROCKPi N8/N10 dts(i) changes from Linux. commit ("ARM: dts: rockchip: Add Radxa Rock Pi N8 initial support") Signed-off-by: Suniel Mahesh Signed-off-by: Jagan Teki Reviewed-by: Kever Yang --- arch/arm/dts/rk3288-rock-pi-n8.dts | 2 +- arch/arm/dts/rk3288-vmarc-som.dtsi | 80 ++++++----------- arch/arm/dts/rk3399pro-rock-pi-n10.dts | 6 +- arch/arm/dts/rk3399pro-vmarc-som.dtsi | 87 +++++++++---------- .../dts/rockchip-radxa-dalang-carrier.dtsi | 65 +++++++------- 5 files changed, 104 insertions(+), 136 deletions(-) diff --git a/arch/arm/dts/rk3288-rock-pi-n8.dts b/arch/arm/dts/rk3288-rock-pi-n8.dts index c8637a50c1..c9894a60e7 100644 --- a/arch/arm/dts/rk3288-rock-pi-n8.dts +++ b/arch/arm/dts/rk3288-rock-pi-n8.dts @@ -7,8 +7,8 @@ /dts-v1/; #include "rk3288.dtsi" -#include "rk3288-vmarc-som.dtsi" #include +#include "rk3288-vmarc-som.dtsi" / { model = "Radxa ROCK Pi N8"; diff --git a/arch/arm/dts/rk3288-vmarc-som.dtsi b/arch/arm/dts/rk3288-vmarc-som.dtsi index 3cffe61cdf..7a9fd40e5b 100644 --- a/arch/arm/dts/rk3288-vmarc-som.dtsi +++ b/arch/arm/dts/rk3288-vmarc-som.dtsi @@ -7,35 +7,17 @@ #include #include -#include / { compatible = "vamrs,rk3288-vmarc-som", "rockchip,rk3288"; - ext_gmac: external-gmac-clock { - compatible = "fixed-clock"; - clock-frequency = <125000000>; - clock-output-names = "ext_gmac"; - #clock-cells = <0>; - }; - vccio_flash: vccio-flash-regulator { compatible = "regulator-fixed"; regulator-name = "vccio_flash"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; - startup-delay-us = <150>; vin-supply = <&vcc_io>; }; - - vcc_sys: vsys-regulator { - compatible = "regulator-fixed"; - regulator-name = "vcc_sys"; - regulator-min-microvolt = <5000000>; - regulator-max-microvolt = <5000000>; - regulator-always-on; - regulator-boot-on; - }; }; &emmc { @@ -45,23 +27,15 @@ non-removable; pinctrl-names = "default"; pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_pwr &emmc_bus8>; + vmmc-supply = <&vcc_io>; + vqmmc-supply = <&vccio_flash>; status = "okay"; }; &gmac { assigned-clocks = <&cru SCLK_MAC>; - assigned-clock-parents = <&ext_gmac>; - clock_in_out = "input"; - phy-mode = "rgmii"; phy-supply = <&vcc_io>; - pinctrl-names = "default"; - pinctrl-0 = <&rgmii_pins>; snps,reset-gpio = <&gpio4 RK_PA7 GPIO_ACTIVE_HIGH>; - snps,reset-active-low; - snps,reset-delays-us = <0 10000 50000>; - tx_delay = <0x30>; - rx_delay = <0x10>; - max-speed = <1000>; }; &i2c0 { @@ -80,37 +54,37 @@ #clock-cells = <1>; clock-output-names = "rk808-clkout1", "rk808-clkout2"; - vcc1-supply = <&vcc_sys>; - vcc2-supply = <&vcc_sys>; - vcc3-supply = <&vcc_sys>; - vcc4-supply = <&vcc_sys>; - vcc6-supply = <&vcc_sys>; - vcc7-supply = <&vcc_sys>; + vcc1-supply = <&vcc5v0_sys>; + vcc2-supply = <&vcc5v0_sys>; + vcc3-supply = <&vcc5v0_sys>; + vcc4-supply = <&vcc5v0_sys>; + vcc6-supply = <&vcc5v0_sys>; + vcc7-supply = <&vcc5v0_sys>; vcc8-supply = <&vcc_io>; vcc9-supply = <&vcc_io>; - vcc10-supply = <&vcc_sys>; - vcc11-supply = <&vcc_sys>; + vcc10-supply = <&vcc5v0_sys>; + vcc11-supply = <&vcc5v0_sys>; vcc12-supply = <&vcc_io>; vddio-supply = <&vcc_io>; regulators { vdd_cpu: DCDC_REG1 { + regulator-name = "vdd_arm"; regulator-always-on; regulator-boot-on; regulator-min-microvolt = <750000>; regulator-max-microvolt = <1400000>; - regulator-name = "vdd_arm"; regulator-state-mem { regulator-off-in-suspend; }; }; vdd_gpu: DCDC_REG2 { + regulator-name = "vdd_gpu"; regulator-always-on; regulator-boot-on; regulator-min-microvolt = <850000>; regulator-max-microvolt = <1250000>; - regulator-name = "vdd_gpu"; regulator-ramp-delay = <6000>; regulator-state-mem { regulator-off-in-suspend; @@ -118,20 +92,20 @@ }; vcc_ddr: DCDC_REG3 { + regulator-name = "vcc_ddr"; regulator-always-on; regulator-boot-on; - regulator-name = "vcc_ddr"; regulator-state-mem { regulator-on-in-suspend; }; }; vcc_io: DCDC_REG4 { + regulator-name = "vcc_io"; regulator-always-on; regulator-boot-on; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; - regulator-name = "vcc_io"; regulator-state-mem { regulator-on-in-suspend; regulator-suspend-microvolt = <3300000>; @@ -139,22 +113,22 @@ }; vcc_tp: LDO_REG1 { + regulator-name = "vcc_tp"; regulator-always-on; regulator-boot-on; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; - regulator-name = "vcc_tp"; regulator-state-mem { regulator-off-in-suspend; }; }; vcca_codec: LDO_REG2 { + regulator-name = "vcca_codec"; regulator-always-on; regulator-boot-on; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; - regulator-name = "vcca_codec"; regulator-state-mem { regulator-on-in-suspend; regulator-suspend-microvolt = <3300000>; @@ -162,11 +136,11 @@ }; vdd_10: LDO_REG3 { + regulator-name = "vdd_10"; regulator-always-on; regulator-boot-on; regulator-min-microvolt = <1000000>; regulator-max-microvolt = <1000000>; - regulator-name = "vdd_10"; regulator-state-mem { regulator-on-in-suspend; regulator-suspend-microvolt = <1000000>; @@ -174,22 +148,22 @@ }; vcc_wl: LDO_REG4 { + regulator-name = "vcc_wl"; regulator-always-on; regulator-boot-on; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; - regulator-name = "vcc_wl"; regulator-state-mem { regulator-on-in-suspend; }; }; vccio_sd: LDO_REG5 { + regulator-name = "vccio_sd"; regulator-always-on; regulator-boot-on; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <3300000>; - regulator-name = "vccio_sd"; regulator-state-mem { regulator-on-in-suspend; regulator-suspend-microvolt = <3300000>; @@ -197,22 +171,22 @@ }; vdd10_lcd: LDO_REG6 { + regulator-name = "vdd10_lcd"; regulator-always-on; regulator-boot-on; regulator-min-microvolt = <1000000>; regulator-max-microvolt = <1000000>; - regulator-name = "vdd10_lcd"; regulator-state-mem { regulator-off-in-suspend; }; }; vcc_18: LDO_REG7 { + regulator-name = "vcc_18"; regulator-always-on; regulator-boot-on; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; - regulator-name = "vcc_18"; regulator-state-mem { regulator-on-in-suspend; regulator-suspend-microvolt = <1800000>; @@ -220,29 +194,29 @@ }; vcc18_lcd: LDO_REG8 { + regulator-name = "vcc18_lcd"; regulator-always-on; regulator-boot-on; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; - regulator-name = "vcc18_lcd"; regulator-state-mem { regulator-off-in-suspend; }; }; vcc_sd: SWITCH_REG1 { + regulator-name = "vcc_sd"; regulator-always-on; regulator-boot-on; - regulator-name = "vcc_sd"; regulator-state-mem { regulator-off-in-suspend; }; }; vcc_lcd: SWITCH_REG2 { + regulator-name = "vcc_lcd"; regulator-always-on; regulator-boot-on; - regulator-name = "vcc_lcd"; regulator-state-mem { regulator-off-in-suspend; }; @@ -277,13 +251,11 @@ }; sdmmc_clk: sdmmc-clk { - rockchip,pins = - <6 RK_PC4 1 &pcfg_pull_none_drv_8ma>; + rockchip,pins = <6 RK_PC4 1 &pcfg_pull_none_drv_8ma>; }; sdmmc_cmd: sdmmc-cmd { - rockchip,pins = - <6 RK_PC5 1 &pcfg_pull_up_drv_8ma>; + rockchip,pins = <6 RK_PC5 1 &pcfg_pull_up_drv_8ma>; }; }; }; diff --git a/arch/arm/dts/rk3399pro-rock-pi-n10.dts b/arch/arm/dts/rk3399pro-rock-pi-n10.dts index 6ac2d4d721..bf026786fa 100644 --- a/arch/arm/dts/rk3399pro-rock-pi-n10.dts +++ b/arch/arm/dts/rk3399pro-rock-pi-n10.dts @@ -8,11 +8,15 @@ /dts-v1/; #include "rk3399.dtsi" #include "rk3399-opp.dtsi" -#include "rk3399pro-vmarc-som.dtsi" #include +#include "rk3399pro-vmarc-som.dtsi" / { model = "Radxa ROCK Pi N10"; compatible = "radxa,rockpi-n10", "vamrs,rk3399pro-vmarc-som", "rockchip,rk3399pro"; + + chosen { + stdout-path = "serial2:1500000n8"; + }; }; diff --git a/arch/arm/dts/rk3399pro-vmarc-som.dtsi b/arch/arm/dts/rk3399pro-vmarc-som.dtsi index 6fd17e8a81..37ed95d5f7 100644 --- a/arch/arm/dts/rk3399pro-vmarc-som.dtsi +++ b/arch/arm/dts/rk3399pro-vmarc-som.dtsi @@ -11,32 +11,6 @@ / { compatible = "vamrs,rk3399pro-vmarc-som", "rockchip,rk3399pro"; - - clkin_gmac: external-gmac-clock { - compatible = "fixed-clock"; - clock-frequency = <125000000>; - clock-output-names = "clkin_gmac"; - #clock-cells = <0>; - }; - - vcc12v_dcin: vcc12v-dcin-regulator { - compatible = "regulator-fixed"; - regulator-name = "vcc12v_dcin"; - regulator-always-on; - regulator-boot-on; - regulator-min-microvolt = <12000000>; - regulator-max-microvolt = <12000000>; - }; - - vcc5v0_sys: vcc5v0-sys-regulator { - compatible = "regulator-fixed"; - regulator-name = "vcc5v0_sys"; - regulator-always-on; - regulator-boot-on; - regulator-min-microvolt = <5000000>; - regulator-max-microvolt = <5000000>; - vin-supply = <&vcc12v_dcin>; - }; }; &cpu_l0 { @@ -61,23 +35,14 @@ &gmac { assigned-clocks = <&cru SCLK_RMII_SRC>; - assigned-clock-parents = <&clkin_gmac>; - clock_in_out = "input"; phy-supply = <&vcc_lan>; - phy-mode = "rgmii"; - pinctrl-names = "default"; - pinctrl-0 = <&rgmii_pins>; snps,reset-gpio = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>; - snps,reset-active-low; - snps,reset-delays-us = <0 10000 50000>; - tx_delay = <0x28>; - rx_delay = <0x11>; }; &i2c0 { clock-frequency = <400000>; - i2c-scl-rising-time-ns = <180>; i2c-scl-falling-time-ns = <30>; + i2c-scl-rising-time-ns = <180>; status = "okay"; rk809: pmic@20 { @@ -297,11 +262,48 @@ }; }; +&i2c1 { + i2c-scl-falling-time-ns = <30>; + i2c-scl-rising-time-ns = <140>; + status = "okay"; +}; + +&i2c2 { + clock-frequency = <400000>; + status = "okay"; + + hym8563: hym8563@51 { + compatible = "haoyu,hym8563"; + reg = <0x51>; + #clock-cells = <0>; + clock-frequency = <32768>; + clock-output-names = "hym8563"; + pinctrl-names = "default"; + pinctrl-0 = <&hym8563_int>; + interrupt-parent = <&gpio4>; + interrupts = ; + }; +}; + &io_domains { status = "okay"; bt656-supply = <&vcca_1v8>; - sdmmc-supply = <&vccio_sd>; gpio1830-supply = <&vccio_3v0>; + sdmmc-supply = <&vccio_sd>; +}; + +&pinctrl { + hym8563 { + hym8563_int: hym8563-int { + rockchip,pins = <4 RK_PD6 0 &pcfg_pull_up>; + }; + }; + + pmic { + pmic_int_l: pmic-int-l { + rockchip,pins = <1 RK_PC2 0 &pcfg_pull_up>; + }; + }; }; &pmu_io_domains { @@ -323,16 +325,7 @@ }; &tsadc { - status = "okay"; rockchip,hw-tshut-mode = <1>; rockchip,hw-tshut-polarity = <1>; -}; - -&pinctrl { - pmic { - pmic_int_l: pmic-int-l { - rockchip,pins = - <1 RK_PC2 0 &pcfg_pull_up>; - }; - }; + status = "okay"; }; diff --git a/arch/arm/dts/rockchip-radxa-dalang-carrier.dtsi b/arch/arm/dts/rockchip-radxa-dalang-carrier.dtsi index 3e54f38f0a..450e5bb5af 100644 --- a/arch/arm/dts/rockchip-radxa-dalang-carrier.dtsi +++ b/arch/arm/dts/rockchip-radxa-dalang-carrier.dtsi @@ -8,36 +8,44 @@ #include / { - chosen { - stdout-path = "serial2:1500000n8"; + clkin_gmac: external-gmac-clock { + compatible = "fixed-clock"; + clock-frequency = <125000000>; + clock-output-names = "clkin_gmac"; + #clock-cells = <0>; }; -}; -&gmac { - status = "okay"; -}; + vcc12v_dcin: vcc12v-dcin-regulator { + compatible = "regulator-fixed"; + regulator-name = "vcc12v_dcin"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <12000000>; + regulator-max-microvolt = <12000000>; + }; -&i2c1 { - status = "okay"; - i2c-scl-rising-time-ns = <140>; - i2c-scl-falling-time-ns = <30>; + vcc5v0_sys: vcc5v0-sys-regulator { + compatible = "regulator-fixed"; + regulator-name = "vcc5v0_sys"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + vin-supply = <&vcc12v_dcin>; + }; }; -&i2c2 { +&gmac { + assigned-clock-parents = <&clkin_gmac>; + clock_in_out = "input"; + phy-mode = "rgmii"; + pinctrl-names = "default"; + pinctrl-0 = <&rgmii_pins>; + snps,reset-active-low; + snps,reset-delays-us = <0 10000 50000>; + tx_delay = <0x28>; + rx_delay = <0x11>; status = "okay"; - clock-frequency = <400000>; - - hym8563: hym8563@51 { - compatible = "haoyu,hym8563"; - reg = <0x51>; - #clock-cells = <0>; - clock-frequency = <32768>; - clock-output-names = "hym8563"; - pinctrl-names = "default"; - pinctrl-0 = <&hym8563_int>; - interrupt-parent = <&gpio4>; - interrupts = <30 IRQ_TYPE_LEVEL_LOW>; - }; }; &pwm0 { @@ -68,12 +76,3 @@ &uart2 { status = "okay"; }; - -&pinctrl { - hym8563 { - hym8563_int: hym8563-int { - rockchip,pins = - <4 RK_PD6 0 &pcfg_pull_up>; - }; - }; -}; From patchwork Mon Jul 20 18:51:06 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 11674471 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 257A313B4 for ; Mon, 20 Jul 2020 18:52:15 +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 005ED22482 for ; Mon, 20 Jul 2020 18:52:14 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="qx35657F"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="bdNKOVAx" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 005ED22482 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=ZR0wawRYo9lbQp9bb1IZc5KVo3058Nqd8IwbZn1Rnkg=; b=qx35657FS2rqUeLOZ2oHCmc6p 0Sd3JiHSzngocB5z8nFC5Sxrnsqhdr+3sPSWULOb7tKpQx6wf2VHl2N1DVxPt5h5Bo3OPEvagsdn+ pIxFegBhSM4XHkzbNz7IYx/Ox8Q5CrtYLQTiUKJaMBYM9K6BGOz94fFT0SSwQmZeTbQW1YAJ1/cUN YvaHD4xg5B+3wTiTJKMtvhBUCyNXplXpVKB8TrsMW13CYDZ8Tkc3a7G8yP2ul6YKzsNbUpaPeoq6q B7B1B47JoUpjju6s3iFroylzsl4wXh0phJPxPyGMoCntK9/QuzBSaTAPbuiwCGFeLTyjSupbSNohQ Ru4k/Rlrg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxatX-0002pc-55; Mon, 20 Jul 2020 18:52:11 +0000 Received: from mail-pg1-x544.google.com ([2607:f8b0:4864:20::544]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxatV-0002ow-Kw for linux-rockchip@lists.infradead.org; Mon, 20 Jul 2020 18:52:10 +0000 Received: by mail-pg1-x544.google.com with SMTP id t6so10723314pgq.1 for ; Mon, 20 Jul 2020 11:52:08 -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=nnbCMMi5LKaWBTPjPAXIOzWtsWj6cLTiHNTJNZU36yQ=; b=bdNKOVAxu2IhOPC+ERBTyhfsuyvf6GZKkIPkfKxQLICPFBiYT0wuCcxqFq3wq2P+Ic SjQEk6hpNO/Iw97a5Ch0wOcEOIkI4sDPctSpb33/FiCY7aohT+o7yUadHMEyLaEL8YML nxDhZ55l+MflgZ/szgYjyZRlWHsE0hwuhVraA= 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=nnbCMMi5LKaWBTPjPAXIOzWtsWj6cLTiHNTJNZU36yQ=; b=Sb6ZSKDp/D+6WvqUZc36IWtuqoD6m8OZXpUw08J6DCMhP1uamm2/LKdeJMJxLM8KmM WUykCihIglqz7kCAfqIYJVftPaJUcZ28kZCxQnSQUWww/OOYkPudCFatldJdoRzvg/cV B49Eehxx3jAV9SWO93UKmrfi8P/elaFXlrLRlBc/IynNZx5P48ZyXBc6b/Vco4e1API+ tR0A6rCeNxMN+IIhpRYFwJzInyPnj/nlehKOuAIFe8uDi0HlQNY1s9+84exCcyJf+4fV 3WRzjJO4ZC9Evt2FaxAxa4uq24snTm5h7po+hDLcPZxgGtuL2LzMb6efSeIHM2GGJjXz g3lg== X-Gm-Message-State: AOAM533q8V3EL6l88OWChgm3HOjQo6/DWAGcf/maTteSjxdYVksox9Te EuIaHQtWGktRf40MIvN2nJtmUw== X-Google-Smtp-Source: ABdhPJwaes2D8CGU0RAl0BmEsTBMQej0sD6G7FTD59VG6jDai10t5OSF9E4dEBcyCa78D4E28sJADQ== X-Received: by 2002:a62:f206:: with SMTP id m6mr20405314pfh.260.1595271127365; Mon, 20 Jul 2020 11:52:07 -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.52.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jul 2020 11:52:06 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Subject: [PATCH 02/16] arm: dts: rockchip: Sync rk3288 dtsi from linux Date: Tue, 21 Jul 2020 00:21:06 +0530 Message-Id: <20200720185120.671064-3-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_145209_705445_46E83B25 X-CRM114-Status: UNSURE ( 8.48 ) 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:544 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 This sync has changes required to use HDMI CEC pin in U-Boot. Sync dts from linux v5.8-rc5 commit: "ARM: dts: rockchip: define the two possible rk3288 CEC pins" (sha1: 838980dd04e994bf81cf104fa01ae60802146b39) Signed-off-by: Suniel Mahesh Signed-off-by: Jagan Teki Reviewed-by: Kever Yang --- arch/arm/dts/rk3288.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/dts/rk3288.dtsi b/arch/arm/dts/rk3288.dtsi index 866fc08215..18b372db3a 100644 --- a/arch/arm/dts/rk3288.dtsi +++ b/arch/arm/dts/rk3288.dtsi @@ -1085,6 +1085,12 @@ #interrupt-cells = <2>; }; + hdmi { + hdmi_cec_c0: hdmi-cec-c0 { + rockchip,pins = <7 RK_PC0 2 &pcfg_pull_none>; + }; + }; + pcfg_pull_up: pcfg-pull-up { bias-pull-up; }; From patchwork Mon Jul 20 18:51:07 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 11674473 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 8D7BB138A for ; Mon, 20 Jul 2020 18:52:22 +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 6848922482 for ; Mon, 20 Jul 2020 18:52:22 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="ejYeDbDP"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="Q/XcJjiz" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6848922482 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=dTdNmRsva77GjbiSxNg85CigdHPgZkkEPmtySFZcFT8=; b=ejYeDbDPhgQa2U15+etlWElzt oGwKj3UnHVHCfmlF31/U7yVoFj9GrPXoWkZCgjp6ChnNA7Z5V4qG8lWC1ZS9AJKuowu787dQrRKJg I/KjsKQeTDKZCLMNuz/FBkf2oJG4xyys1ae2nOkT5nDjRJJr1ceSpqQTqSupPElsQbuxEbsM5yX73 d7UnFBImbS1ZFRU7a/WKUmHI/kfmVb0jhxYW33pUQT5+WWMkaNJOIlczD4OSNeY7G8R3bNYSEmpmC tn4rF6V0adzsHlWg+HF+7KjHZ5Znro/cUgpNUU6JNyPGCiAqUDkXd3O7gz3mJ8dw38NRiqnTFep70 VE+Zosgrg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxate-0002rc-G5; Mon, 20 Jul 2020 18:52:18 +0000 Received: from mail-pf1-x444.google.com ([2607:f8b0:4864:20::444]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxatb-0002qc-Ob for linux-rockchip@lists.infradead.org; Mon, 20 Jul 2020 18:52:16 +0000 Received: by mail-pf1-x444.google.com with SMTP id z3so9470956pfn.12 for ; Mon, 20 Jul 2020 11:52:15 -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=DHP2+gYJ4aLdOt0nif9x51u8Uev+ldn4aYaib4Nxiyc=; b=Q/XcJjizi8tnIhGuzS8djFK+KrBrhvFQPTaYiktp54WYgR1D/0TTa7NQPVDGOLTMXb 6FNOs/9kt3oBb8y75uPt+xSM+9XXvYqQmW+MuOeoTpz+eMUxojrKQ3BZq+emQL/c2V6J uP1TZrgf03L4Qa0cFfBMtylkh7ZLw+59Go76E= 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=DHP2+gYJ4aLdOt0nif9x51u8Uev+ldn4aYaib4Nxiyc=; b=eYZNvsRTqyk8y46Rq7BY3rlpzamgue3CMd79uBwJ/fE4JRtDL812ci+4M1rdz7fuaf dqVx9FSOjzAE0IS1cA+dzlGgZLcyr0Nqar0p3TvhT9nqpryF1MJE2S2sKv5MN2FHA/PB 7v7JK6AdbgnhXKhMbNaZm5av/uCP2aeFbNn1H2vxPSF9XcjbmE9vfc2sWQBBbljhvzPm AhnWHStn36j/UbQHJEE3i+fbdBzTn+6imHeNwbB6SHUvbR8jNVYjBEg8T7Ug+9OZjhVv IlYrBE2InA572llC9cV83L+oWXr4V6jE2zS/kcxoH903kg1kH1Wqe5ZX2G3lRMSZaKoB eBFQ== X-Gm-Message-State: AOAM531HgF6nIegRFsczA3zzbPsVHI8atx8jD+FFFn5Sh0YApaRXU2r6 X8ViH2FVPTbc/4tXUhWQwrzBMw== X-Google-Smtp-Source: ABdhPJzo1ajoGUMdALCbjrwVNEg+mBtl5xSJ12ijpL74nABXKxYqjfJ8aXAUcjlEJecG4c+QyinRpA== X-Received: by 2002:a62:2b0c:: with SMTP id r12mr21247891pfr.122.1595271133283; Mon, 20 Jul 2020 11:52:13 -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.52.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jul 2020 11:52:12 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Subject: [PATCH 03/16] ARM: dts: rockchip: Add usb host0 ohci node for rk3288 Date: Tue, 21 Jul 2020 00:21:07 +0530 Message-Id: <20200720185120.671064-4-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_145215_817869_1C42B905 X-CRM114-Status: GOOD ( 10.42 ) 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:444 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 rk3288 and rk3288w have a usb host0 ohci controller. Although rk3288 ohci doesn't actually work on hardware, but rk3288w ohci can work well. So add usb host0 ohci node in rk3288 dtsi and the quirk in ohci platform driver will disable ohci on rk3288. Signed-off-by: Jagan Teki --- arch/arm/dts/rk3288.dtsi | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/arch/arm/dts/rk3288.dtsi b/arch/arm/dts/rk3288.dtsi index 18b372db3a..22bb06cec5 100644 --- a/arch/arm/dts/rk3288.dtsi +++ b/arch/arm/dts/rk3288.dtsi @@ -431,7 +431,16 @@ status = "disabled"; }; - /* NOTE: ohci@ff520000 doesn't actually work on hardware */ + /* NOTE: doesn't work on RK3288, but fixed on RK3288W */ + usb_host0_ohci: usb@ff520000 { + compatible = "generic-ohci"; + reg = <0x0 0xff520000 0x0 0x100>; + interrupts = ; + clocks = <&cru HCLK_USBHOST0>; + phys = <&usbphy1>; + phy-names = "usb"; + status = "disabled"; + }; usb_host1: usb@ff540000 { compatible = "rockchip,rk3288-usb", "rockchip,rk3066-usb", From patchwork Mon Jul 20 18:51:08 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 11674475 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 5DEA0138A for ; Mon, 20 Jul 2020 18:52:36 +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 38CB522B51 for ; Mon, 20 Jul 2020 18:52:36 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="a6p/xmpp"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="p9VbagpC" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 38CB522B51 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=ID56Qato95MPTdnpzGwOvvLkU26Z9C6dgOZqKqeE4zk=; b=a6p/xmpp1P3KpvWXdqhKHDZB/ MOkN9jrmhG1/dgGeUdx5m60m6+nvYf3xmqHK/P5zE5V+zoXMJFAf983ljRfY2Bjh4f948A4M3lT/N HMSDQhGMdUBPF0e6o5hUDaGydYb5UZDWpr3oxNhu+VJX0h9w4Yu+K49R6hlU8gnH66FOiG8UOCMKG 0LMcQcs519byYGJcg/mBqsTp7eBrTN44WngDeF4SDflyUKwGZQrFupnKf3gPcIPVsbpWg+tptMVNM jc/eICsXAo4OJJtU4dRLu9gysa8upe3tzaL0hzHbsaYK6+6Ipu55BxFPeTTW9REDQVRVBpPocWG3Q QbJwU9uug==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxats-0002v0-9E; Mon, 20 Jul 2020 18:52:32 +0000 Received: from mail-pl1-x643.google.com ([2607:f8b0:4864:20::643]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxatp-0002tv-Q8 for linux-rockchip@lists.infradead.org; Mon, 20 Jul 2020 18:52:30 +0000 Received: by mail-pl1-x643.google.com with SMTP id q17so9078878pls.9 for ; Mon, 20 Jul 2020 11:52: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=JbtJJMPgoB6j63CRE61wXPJk6E6voEAVjADjkplQs8Q=; b=p9VbagpCC8FAaKmKJ3p7cNkecvFVhxOqCCKYTaUpQUdUmxm4yAbUCsWAdTHyITEtIK RJCVMx49qQjsHS6c27KUPFumFxVZo+iiTLrHorehqHz37yHaZEh79Pet1VicRbWm7Nk2 KFVY+20I6Lsx8dQitEc2xIp+6WEhOG3t+7oTk= 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=JbtJJMPgoB6j63CRE61wXPJk6E6voEAVjADjkplQs8Q=; b=m15J/9eUb6lepu71Cv4p2EWD0GT6Oqm0b8ILBdJcpAs+AJ2wcEpgj2XLTkCCyibvyM YaXM3Zvne2s0/Lhlq3BZFStWLj/231wyA0UyxsUJpmyHSqeYggVmCfopE+COGlbCEeQp UZ52anxFO2rtjOphEvh1FEWampO88i4MPrKi3jHteUG4HWBKoSzDZb7V+k5hEgTzf/Xm k7BX3RPVzjYFlIDy1rlvxlB5q+yuSqEF2bvwLNFfUUTZ3bYCz4LSrcyjLib+mrR6vk5n sqMuJNnwNSFnzataJzXHowANF40oPyqqyO/KB5qlPkySxVWFSk4AB4syf5fMglZTNi0T Zrlg== X-Gm-Message-State: AOAM532otVmzEqYDlURjDlhF8gSlGrfmzUUOoHRpdP9LdmLh+QrYpMWf BjtZDDjlNWjWJ0clz8AB4nplxA== X-Google-Smtp-Source: ABdhPJzb71wS3scruGMCg0R9sfo/lcxGYyRnT/rkGKZOnROHmeZZFJ3wIdVVC5iAGemMhPZlsJ+WQw== X-Received: by 2002:a17:90a:3567:: with SMTP id q94mr811994pjb.226.1595271147533; Mon, 20 Jul 2020 11:52:27 -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.52.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jul 2020 11:52:26 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Subject: [PATCH 04/16] ARM: dts: rockchip: Add USB for RockPI N8/N10 Date: Tue, 21 Jul 2020 00:21:08 +0530 Message-Id: <20200720185120.671064-5-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_145229_909367_E4D47410 X-CRM114-Status: GOOD ( 11.90 ) 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:643 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 Radxa dalang carrier board has 2x USB 2.0 and 1x USB 3.0 ports. This patch adds support to enable all these USB ports for N10 and N8 combinations SBCs. Note that the USB 3.0 port on RockPI N8 combination works as USB 2.0 OTG since it is driven from RK3288. Signed-off-by: Jagan Teki --- arch/arm/dts/rk3288-vmarc-som.dtsi | 42 ++++++++++ arch/arm/dts/rk3399pro-vmarc-som.dtsi | 78 +++++++++++++++++++ .../dts/rockchip-radxa-dalang-carrier.dtsi | 18 +++++ 3 files changed, 138 insertions(+) diff --git a/arch/arm/dts/rk3288-vmarc-som.dtsi b/arch/arm/dts/rk3288-vmarc-som.dtsi index 7a9fd40e5b..72a503e50d 100644 --- a/arch/arm/dts/rk3288-vmarc-som.dtsi +++ b/arch/arm/dts/rk3288-vmarc-som.dtsi @@ -258,4 +258,46 @@ rockchip,pins = <6 RK_PC5 1 &pcfg_pull_up_drv_8ma>; }; }; + + vbus_host { + usb1_en_oc: usb1-en-oc { + rockchip,pins = <0 RK_PC1 RK_FUNC_GPIO &pcfg_pull_up>; + }; + }; + + vbus_typec { + usb0_en_oc: usb0-en-oc { + rockchip,pins = <0 RK_PB5 RK_FUNC_GPIO &pcfg_pull_up>; + }; + }; +}; + +&usbphy { + status = "okay"; +}; + +&usb_host0_ehci { + status = "okay"; +}; + +&usb_host0_ohci { + status = "okay"; +}; + +&usb_host1 { + status = "okay"; +}; + +&usb_otg { + status = "okay"; +}; + +&vbus_host { + enable-active-high; + gpio = <&gpio0 RK_PC1 GPIO_ACTIVE_HIGH>; /* USB1_EN_OC# */ +}; + +&vbus_typec { + enable-active-high; + gpio = <&gpio0 RK_PB5 GPIO_ACTIVE_HIGH>; /* USB0_EN_OC# */ }; diff --git a/arch/arm/dts/rk3399pro-vmarc-som.dtsi b/arch/arm/dts/rk3399pro-vmarc-som.dtsi index 37ed95d5f7..111d6cf9a4 100644 --- a/arch/arm/dts/rk3399pro-vmarc-som.dtsi +++ b/arch/arm/dts/rk3399pro-vmarc-som.dtsi @@ -304,6 +304,18 @@ rockchip,pins = <1 RK_PC2 0 &pcfg_pull_up>; }; }; + + vbus_host { + usb1_en_oc: usb1-en-oc { + rockchip,pins = <4 RK_PD1 RK_FUNC_GPIO &pcfg_pull_up>; + }; + }; + + vbus_typec { + usb0_en_oc: usb0-en-oc { + rockchip,pins = <4 RK_PD2 RK_FUNC_GPIO &pcfg_pull_up>; + }; + }; }; &pmu_io_domains { @@ -324,8 +336,74 @@ max-frequency = <150000000>; }; +&tcphy0 { + status = "okay"; +}; + &tsadc { rockchip,hw-tshut-mode = <1>; rockchip,hw-tshut-polarity = <1>; status = "okay"; }; + +&u2phy0 { + status = "okay"; + + u2phy0_otg: otg-port { + phy-supply = <&vbus_typec>; + status = "okay"; + }; + + u2phy0_host: host-port { + phy-supply = <&vbus_host>; + status = "okay"; + }; +}; + + +&u2phy1 { + status = "okay"; + + u2phy1_host: host-port { + phy-supply = <&vbus_host>; + status = "okay"; + }; +}; + +&usb_host0_ehci { + status = "okay"; +}; + +&usb_host0_ohci { + status = "okay"; +}; + +&usb_host1_ehci { + status = "okay"; +}; + +&usb_host1_ohci { + status = "okay"; +}; + +&usbdrd3_0 { + status = "okay"; +}; + +&usbdrd_dwc3_0 { + status = "okay"; +}; + +&vbus_host { + enable-active-high; + gpio = <&gpio4 RK_PD1 GPIO_ACTIVE_HIGH>; /* USB1_EN_OC# */ + pinctrl-names = "default"; + pinctrl-0 = <&usb1_en_oc>; +}; + +&vbus_typec { + enable-active-high; + gpio = <&gpio4 RK_PD2 GPIO_ACTIVE_HIGH>; /* USB0_EN_OC# */ + pinctrl-names = "default"; + pinctrl-0 = <&usb0_en_oc>; +}; diff --git a/arch/arm/dts/rockchip-radxa-dalang-carrier.dtsi b/arch/arm/dts/rockchip-radxa-dalang-carrier.dtsi index 450e5bb5af..d2b6ead148 100644 --- a/arch/arm/dts/rockchip-radxa-dalang-carrier.dtsi +++ b/arch/arm/dts/rockchip-radxa-dalang-carrier.dtsi @@ -33,6 +33,24 @@ regulator-max-microvolt = <5000000>; vin-supply = <&vcc12v_dcin>; }; + + vbus_host: vbus-host { + compatible = "regulator-fixed"; + pinctrl-names = "default"; + pinctrl-0 = <&usb1_en_oc>; + regulator-name = "vbus_host"; /* HOST-5V */ + regulator-always-on; + vin-supply = <&vcc5v0_sys>; + }; + + vbus_typec: vbus-typec { + compatible = "regulator-fixed"; + pinctrl-names = "default"; + pinctrl-0 = <&usb0_en_oc>; + regulator-name = "vbus_typec"; + regulator-always-on; + vin-supply = <&vcc5v0_sys>; + }; }; &gmac { From patchwork Mon Jul 20 18:51:09 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 11674477 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 5A710138A for ; Mon, 20 Jul 2020 18:52:45 +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 343E822482 for ; Mon, 20 Jul 2020 18:52:45 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="NTcpV/xG"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="JBWTCv2z" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 343E822482 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=/I06BwZqX9oNJQHB+eimcpmlG3SvO3ZKTLzrmcxXsmU=; b=NTcpV/xG0s0qqClEB+8Aaw5Gl SiPZ1OayQqvstmwQywUu28cYMQ2DXuF+psZLur4vj5FsyVgrLjj3RcF/3IAtuRYAQ+/JuThQPU115 iI7Z7rDuV2uzLUKQ76WCAw14t3S3MbI8kHeT5lLz4SCCvu0g8FDLn5iuVBReD1zGIirGggn86Pmfd adP1O/2dVPl+UcxIUyQ51cPgh/Ac35HIAvPWtjp9nhyUgd0e372e15qT01ka+h+Qmui2VUc+cBDMJ alqcotaE8BhF5Zbi//vAZ7z/B7GcBf52zqgTcH7ev2lSy1xUTKhOgF4B3UbMzbT2H8N0DGVeavoJ5 yAiT/ZHiQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxau1-0002xU-0m; Mon, 20 Jul 2020 18:52:41 +0000 Received: from mail-pg1-x52c.google.com ([2607:f8b0:4864:20::52c]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxatz-0002wf-Bz for linux-rockchip@lists.infradead.org; Mon, 20 Jul 2020 18:52:40 +0000 Received: by mail-pg1-x52c.google.com with SMTP id e8so10714593pgc.5 for ; Mon, 20 Jul 2020 11:52:38 -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=mbQg8I2j2WRPQtTXxFUdkthGCYCS2Xi2I3dcAPhk3y4=; b=JBWTCv2zxCwUVodfOlqpFEcOKprtkMPYlPVNjaoVOMWJUrm0Vhf0I5Q00JNz3uGM2y gppvg+MKCNRad1bGBbgtF2ZhPRwPTpAa+9i9htsD/nxkDMXEC0euIzO9i8cmwgwQnpyc tAjlxDfAhqe5APlSCJmivUJ8QR0gkkdnYGQ5g= 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=mbQg8I2j2WRPQtTXxFUdkthGCYCS2Xi2I3dcAPhk3y4=; b=X6Wu4tKZhf916msxJVwQHb1bDX/gdbC/QSHVUzE4YW97k0Wv0WufNM4APUpbSmIYGo YpcKoGmkbwmVYp6V4ChNwvvYpwqfdDqxg+5RcO7TNvU8Vk+apS7kN/ZSEwLmLvA3AlrW dAV67wDN0e+ctXXZOadSLfYQoYNhkMu1PxsJOKmZXoGFflStu7AZUxnGvVs0hWUPyzqp McHOaNFwR+1ypMrdXK6um9g/mToqkIawgIET1Qy+ag9ixDuzEhwSCst9DLxhM4l9WhfF UvB231MDzYHbpDqkCBB8FQ0RqtiXMxIhUHLPf6nw6Q5v/NL/aM/Iqf0rXiQ/3XjMjpT6 kF9w== X-Gm-Message-State: AOAM533aJzhIrQrHH86hZGHB/LDAQWM1e0R492dxYzIVQi6bvVyfdEtj Sjh5gnq1VR7BfjUnk8JX68/EhA== X-Google-Smtp-Source: ABdhPJxZVzINL3ZWT7nf+WBiD1orlCMU+7fHXRevZuS/K7SlBtNcipNLSVSUTDfpZo+GYFmL0tZv1w== X-Received: by 2002:a62:6446:: with SMTP id y67mr21445654pfb.299.1595271157032; Mon, 20 Jul 2020 11:52:37 -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.52.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jul 2020 11:52:36 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Subject: [PATCH 05/16] arm: dts: rockchip: Add HDMI out for RockPI N8/N10 Date: Tue, 21 Jul 2020 00:21:09 +0530 Message-Id: <20200720185120.671064-6-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_145239_431184_4CC0AA04 X-CRM114-Status: UNSURE ( 9.42 ) 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:52c 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 This patch adds support to enable HDMI out for N10 and N8 combinations SBCs. Signed-off-by: Jagan Teki --- arch/arm/dts/rk3288-vmarc-som.dtsi | 10 ++++++++++ arch/arm/dts/rk3399pro-vmarc-som.dtsi | 12 +++++++++++ .../dts/rockchip-radxa-dalang-carrier.dtsi | 20 +++++++++++++++++++ 3 files changed, 42 insertions(+) diff --git a/arch/arm/dts/rk3288-vmarc-som.dtsi b/arch/arm/dts/rk3288-vmarc-som.dtsi index 72a503e50d..717cb3dc81 100644 --- a/arch/arm/dts/rk3288-vmarc-som.dtsi +++ b/arch/arm/dts/rk3288-vmarc-som.dtsi @@ -38,6 +38,12 @@ snps,reset-gpio = <&gpio4 RK_PA7 GPIO_ACTIVE_HIGH>; }; +&hdmi { + ddc-i2c-bus = <&i2c5>; + pinctrl-names = "default"; + pinctrl-0 = <&hdmi_cec_c0>; +}; + &i2c0 { clock-frequency = <400000>; status = "okay"; @@ -225,6 +231,10 @@ }; }; +&i2c5 { + status = "okay"; +}; + &pinctrl { pcfg_pull_none_drv_8ma: pcfg-pull-none-drv-8ma { drive-strength = <8>; diff --git a/arch/arm/dts/rk3399pro-vmarc-som.dtsi b/arch/arm/dts/rk3399pro-vmarc-som.dtsi index 111d6cf9a4..ebccc4a153 100644 --- a/arch/arm/dts/rk3399pro-vmarc-som.dtsi +++ b/arch/arm/dts/rk3399pro-vmarc-som.dtsi @@ -39,6 +39,12 @@ snps,reset-gpio = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>; }; +&hdmi { + ddc-i2c-bus = <&i2c3>; + pinctrl-names = "default"; + pinctrl-0 = <&hdmi_cec>; +}; + &i2c0 { clock-frequency = <400000>; i2c-scl-falling-time-ns = <30>; @@ -285,6 +291,12 @@ }; }; +&i2c3 { + i2c-scl-rising-time-ns = <450>; + i2c-scl-falling-time-ns = <15>; + status = "okay"; +}; + &io_domains { status = "okay"; bt656-supply = <&vcca_1v8>; diff --git a/arch/arm/dts/rockchip-radxa-dalang-carrier.dtsi b/arch/arm/dts/rockchip-radxa-dalang-carrier.dtsi index d2b6ead148..26b53eac47 100644 --- a/arch/arm/dts/rockchip-radxa-dalang-carrier.dtsi +++ b/arch/arm/dts/rockchip-radxa-dalang-carrier.dtsi @@ -66,6 +66,10 @@ status = "okay"; }; +&hdmi { + status = "okay"; +}; + &pwm0 { status = "okay"; }; @@ -94,3 +98,19 @@ &uart2 { status = "okay"; }; + +&vopb { + status = "okay"; +}; + +&vopb_mmu { + status = "okay"; +}; + +&vopl { + status = "okay"; +}; + +&vopl_mmu { + status = "okay"; +}; From patchwork Mon Jul 20 18:51:10 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 11674479 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 C332813B4 for ; Mon, 20 Jul 2020 18:52:52 +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 9D09522482 for ; Mon, 20 Jul 2020 18:52:52 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="qWgqPNba"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="bYYIcYpQ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9D09522482 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=sOvge0/bAxEZEAZ+iXdvyR1W4g4AItXthjctytwsICk=; b=qWgqPNba73dHvECkhP7iX5vLB GpHLNzq4GBXnibHtk/FYQJFAA58E8ZC71RCSoEQ30flzceEPIMAFtz6RgXRlUn1iJ+ZnHBak+MOJt KaF+dGbhR//wtduiXuHQcmPIG8SO6z13ldFm5GpWqWpnz6PgyrU3zvgncWRs4pqhlUM0CYQ5WRN/C 68CCA/atTiWkIziTY0qUPRWJDcJdIYkNCMfPtkzs6xWkNV8LEnnPH13IjDrlZ+iujDb5o03tcHCT4 ajGjIRY/PdjrZPoGK0EIRET+VLB2cwyJhhVJT6LK7Bdn+R2kGqg1z6tEfCoX3roaId92HzC6bRYwn uTdaYUNjA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxau7-0002zI-Eq; Mon, 20 Jul 2020 18:52:47 +0000 Received: from mail-pl1-x644.google.com ([2607:f8b0:4864:20::644]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxau5-0002yF-I2 for linux-rockchip@lists.infradead.org; Mon, 20 Jul 2020 18:52:46 +0000 Received: by mail-pl1-x644.google.com with SMTP id x9so9099180plr.2 for ; Mon, 20 Jul 2020 11:52:44 -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=wpUasnmB4o6Pjbrfjg8n3mDLTrXsnyIXa7b2j1DH0iA=; b=bYYIcYpQHHKbFZIUd77WzxOjmybp+AdAKSzRzzBt9pDOxcj34qm47OqiKAwCZ1rOA9 f9KT9N6oqnYN+xjVrsgwhOfxQS90M9YSfJI51Y3ntwS112gnCwZDqXBB0X11JgbwcP1g a4reYXetj1caQzYLRlkontvMMJyxW2jKHtLb4= 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=wpUasnmB4o6Pjbrfjg8n3mDLTrXsnyIXa7b2j1DH0iA=; b=moBrTIKRLwXz0XI7KZBTG3zZCSeFr8vApxHtVlml1zTu5c+oV+u0Q/WCo0Ofp1QWnu t5siT3c7vWFPBtApCjJhaZ05nSs43m9NxN51blD3dI/7nF+mXdmfvKCnMHWGgXeLA0t4 J8dYBHHMke3ujxAW08s9xuDhjdnOdFXpuuX+cCw+/VZNqiwxDldvsmkv/DjUZvBGhdy+ Eji9x26npbgl9jRyftck6Q7RHwd9KfzmmRjZpYSo2Qx9R4u0QNLgsYqvTm5lxuHfU6B0 0/b5/ZFeqvqHJkGOaQfe1/DTRZaPgiqGoX/C41iw660YEL9qTb5n9MxinXtu8iH2D9vk Q9dw== X-Gm-Message-State: AOAM532TfWjSENOldIdnhPowDNuR/q3UI7jaYCdBNu+5bWVuXFImmi0o lD1x68BAzhweGZf5QWaU2TLE9Q== X-Google-Smtp-Source: ABdhPJyKSxdqVNqs5H79tTDlWQup2h98y110x+yI7BUoO3UrIfDpY9w65g/NWTUzxrBYuaISRxr62A== X-Received: by 2002:a17:90b:1881:: with SMTP id mn1mr781562pjb.198.1595271163229; Mon, 20 Jul 2020 11:52:43 -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.52.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jul 2020 11:52:42 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Subject: [PATCH 06/16] arm64: dts: rockchip: Add PCIe for RockPI N10 Date: Tue, 21 Jul 2020 00:21:10 +0530 Message-Id: <20200720185120.671064-7-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_145245_628890_7B7D0C8A X-CRM114-Status: GOOD ( 10.81 ) 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:644 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 This patch adds support to enable PCIe for RockPI N10. Signed-off-by: Jagan Teki --- arch/arm/dts/rk3399pro-vmarc-som.dtsi | 40 +++++++++++++++++++++++++-- 1 file changed, 38 insertions(+), 2 deletions(-) diff --git a/arch/arm/dts/rk3399pro-vmarc-som.dtsi b/arch/arm/dts/rk3399pro-vmarc-som.dtsi index ebccc4a153..5d087be04a 100644 --- a/arch/arm/dts/rk3399pro-vmarc-som.dtsi +++ b/arch/arm/dts/rk3399pro-vmarc-som.dtsi @@ -11,6 +11,18 @@ / { compatible = "vamrs,rk3399pro-vmarc-som", "rockchip,rk3399pro"; + + vcc3v3_pcie: vcc-pcie-regulator { + compatible = "regulator-fixed"; + enable-active-high; + gpio = <&gpio4 RK_PD4 GPIO_ACTIVE_HIGH>; + pinctrl-names = "default"; + pinctrl-0 = <&pcie_pwr>; + regulator-name = "vcc3v3_pcie"; + regulator-always-on; + regulator-boot-on; + vin-supply = <&vcc5v0_sys>; + }; }; &cpu_l0 { @@ -142,7 +154,8 @@ regulator-min-microvolt = <900000>; regulator-max-microvolt = <900000>; regulator-state-mem { - regulator-off-in-suspend; + regulator-on-in-suspend; + regulator-suspend-microvolt = <900000>; }; }; @@ -177,7 +190,8 @@ regulator-min-microvolt = <1850000>; regulator-max-microvolt = <1850000>; regulator-state-mem { - regulator-off-in-suspend; + regulator-on-in-suspend; + regulator-suspend-microvolt = <1850000>; }; }; @@ -304,6 +318,22 @@ sdmmc-supply = <&vccio_sd>; }; +&pcie_phy { + status = "okay"; +}; + +&pcie0 { + ep-gpios = <&gpio0 RK_PB4 GPIO_ACTIVE_HIGH>; + max-link-speed = <2>; + num-lanes = <4>; + pinctrl-0 = <&pcie_clkreqnb_cpm>; + pinctrl-names = "default"; + vpcie0v9-supply = <&vcca_0v9>; /* VCC_0V9_S0 */ + vpcie1v8-supply = <&vcca_1v8>; /* VCC_1V8_S0 */ + vpcie3v3-supply = <&vcc3v3_pcie>; + status = "okay"; +}; + &pinctrl { hym8563 { hym8563_int: hym8563-int { @@ -311,6 +341,12 @@ }; }; + pcie { + pcie_pwr: pcie-pwr { + rockchip,pins = <4 RK_PD4 RK_FUNC_GPIO &pcfg_pull_up>; + }; + }; + pmic { pmic_int_l: pmic-int-l { rockchip,pins = <1 RK_PC2 0 &pcfg_pull_up>; From patchwork Mon Jul 20 18:51:11 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 11674481 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 9FB25138A for ; Mon, 20 Jul 2020 18:53:00 +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 7A13422482 for ; Mon, 20 Jul 2020 18:53:00 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="RjNPx7lL"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="Ril5p3N3" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7A13422482 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=pgCdnhZs6jto346ZXAY9v2HPzUZhXj80S4D7MUEzf3M=; b=RjNPx7lLFpu+LqBJKJYTgGRfR oYPD7yPpdKyB/qcDL+m+AWGtLOqFLHBGBIVHH5P4TGqJ0nd9HHyEaghQcHyKGH22w4vUB5snrr43p RhYzBJd5HDl3Uv5lWkCHBYr0yQ6Io99sxrQuSp6De3WEe5cDHfgqMqlPtHLfUBmf+2hxt3+9WQ9KU i746Sa6uPOXu/qKlJiNIqZEft5/o9g1L3hH8yeO7SEWNjoFgfZYMYMcMAF184OrKonYqtVAJLemPH OrNMi1/hqHJyDfLPZqQWT18cVxnd+YkWq3SwUEVhjyggGvc7GPaLChYOAxnBdJV3aHs6fLzF441Rr JiHOvjr5g==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxauG-00031m-SV; Mon, 20 Jul 2020 18:52:56 +0000 Received: from mail-pl1-x642.google.com ([2607:f8b0:4864:20::642]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxauE-00030l-AR for linux-rockchip@lists.infradead.org; Mon, 20 Jul 2020 18:52:55 +0000 Received: by mail-pl1-x642.google.com with SMTP id 72so9093474ple.0 for ; Mon, 20 Jul 2020 11:52:54 -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=0HK4g7TYqmmHN/W0eIFzrv/EvYg0eoJ9dUqmdaOVvAY=; b=Ril5p3N3PU5oMz/aeXJttBf2SLbgvGF+HAvqA72ifz38x4fHrWSG43v/sGfhdUNkjU 0ruFLeU3gN7oI/I4uALr1B740e2RdtLmfrgwlxW3go0rkU5spAXwzOfAdDRjXCOtf1g8 NElGFVRh88loIMYrEmuhCTfoMX/0YjikDFNmc= 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=0HK4g7TYqmmHN/W0eIFzrv/EvYg0eoJ9dUqmdaOVvAY=; b=TrCxJtK1UFojBK1NkX1VnZNXruI7prkO+gUTaVT77M0psq4rWWSOfdoOEdbO6CY9NC gEWopcKkRImnep0eY+mOXq9MdiwtHSkStMFvWZWIZzrjvUfFKycVP/xfBRV6V3cP7t36 XWqRnameEjP3b6seMTsRd/E2K+bL1A4ag4Z4jVKrfuvy186hYXRsBQv+Ij+3+UgdTExb 7gtGZznmbCkusWnztd66qxAWVOm/n9MJ67e1mVGzGasoludiu/Wf6a+QfwK/7J9ULO6G OWGFimX2R9qW9i9ah0gTpN6EiRgDlvbNKSy+w6sSn6Df7KskYir69fHfz8OASoat+tyB v12Q== X-Gm-Message-State: AOAM530Kz78N8NrK2patPY8zO34LgVzB7Fqgujxhuw67ACtagnyJkHiQ e1uBL8fDuVAfiR7jWkppYa/iMA== X-Google-Smtp-Source: ABdhPJx7jRKYoGEdUh7+Qb+LRJxKgJo5ZnOKwr22n9k/Z75Qc2+tH224erTErRqY2TVZsJ+PDEcemg== X-Received: by 2002:a17:902:b18b:: with SMTP id s11mr19508146plr.152.1595271172334; Mon, 20 Jul 2020 11:52:52 -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.52.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jul 2020 11:52:51 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Subject: [PATCH 07/16] configs: Enable USB host on Rock-PI-N10 Date: Tue, 21 Jul 2020 00:21:11 +0530 Message-Id: <20200720185120.671064-8-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_145254_404352_77F52D29 X-CRM114-Status: UNSURE ( 8.39 ) 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:642 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 USB 3.0 and 2.0 and related configs for the Rock-PI-N10 target, which hosts RK3399Pro-VMARC-SOM. Log: Bus usb@fe380000: USB EHCI 1.00 Bus usb@fe3c0000: USB EHCI 1.00 Bus dwc3: usb maximum-speed not found Register 2000140 NbrPorts 2 Starting the controller USB XHCI 1.10 scanning bus usb@fe380000 for devices... 1 USB Device(s) found scanning bus usb@fe3c0000 for devices... 1 USB Device(s) found scanning bus dwc3 for devices... cannot reset port 1!? 2 USB Device(s) found scanning usb for storage devices... 1 Storage Device(s) found => usb tree USB device tree: 1 Hub (480 Mb/s, 0mA) u-boot EHCI Host Controller 1 Hub (480 Mb/s, 0mA) u-boot EHCI Host Controller 1 Hub (5 Gb/s, 0mA) | U-Boot XHCI Host Controller | +-2 Mass Storage (5 Gb/s, 224mA) SanDisk Dual Drive 04019c9b2e1a58f24ee318c3c123aa5 => usb tree USB device tree: 1 Hub (480 Mb/s, 0mA) | u-boot EHCI Host Controller | +-2 Mass Storage (480 Mb/s, 224mA) SanDisk Dual Drive 04019c9b2e1a58f24ee318c3c123aa5 1 Hub (480 Mb/s, 0mA) u-boot EHCI Host Controller Signed-off-by: Suniel Mahesh Signed-off-by: Jagan Teki --- configs/rock-pi-n10-rk3399pro_defconfig | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/configs/rock-pi-n10-rk3399pro_defconfig b/configs/rock-pi-n10-rk3399pro_defconfig index c705ce01ce..e09e656fbc 100644 --- a/configs/rock-pi-n10-rk3399pro_defconfig +++ b/configs/rock-pi-n10-rk3399pro_defconfig @@ -19,6 +19,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 +37,23 @@ 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_USB_KEYBOARD=y +# CONFIG_USB_KEYBOARD_FN_KEYS is not set CONFIG_ERRNO_STR=y From patchwork Mon Jul 20 18:51:12 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 11674483 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 B99D013B4 for ; Mon, 20 Jul 2020 18:53:04 +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 947DD22482 for ; Mon, 20 Jul 2020 18:53:04 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="FMsQp2JF"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="G1A9guHE" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 947DD22482 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=dizs3+E8Hfu1UkniaP7vXMyqQ/zNpLxRtk/f+xkx508=; b=FMsQp2JFp0Aeuc2rym2G23kSW 8fAmGhAdEZtnKLzrzQovRuhcrlFLg/TzqzgPw3jb7oCYulyeqGN/4Pj+Qj/6LvqVWHKq+tUJTultp G+S5CMOHOkTJ5SmnP5+VdqzS9Mptn5d3jrbRkyfcFHc2OSk6EoOj8edz+KgOXedL8i4jItzFS5W6M WMMQU1x6a01T8jp4iSP+uavjLpdvHNrzp0nMu7kiloQLVi/esgqlabbCYIAhscYebX3t0yE1qE53l m+Vc8R1D7THmG8bexRYBM1JCyZbkzYSUC05KdHwpL/rvpLiDyoeRllO6topea/7XG++P78f/bQrXz /DoeWJ/iA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxauL-00033G-8P; Mon, 20 Jul 2020 18:53:01 +0000 Received: from mail-pf1-x444.google.com ([2607:f8b0:4864:20::444]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxauJ-00032B-0A for linux-rockchip@lists.infradead.org; Mon, 20 Jul 2020 18:53:00 +0000 Received: by mail-pf1-x444.google.com with SMTP id z3so9472049pfn.12 for ; Mon, 20 Jul 2020 11:52:58 -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=ivhzH5Wyb3uQFR5noyE3C7kZp4bbfexpUf3v7+y1AX8=; b=G1A9guHEUnfW69VOfXm0aGmM84sGYLV8313q7gt49K1xE8E7HgcUZR7wxKc25fzk9d 3Ai5pbvqFv4kaL7nxDpq6RqCTjo2suRH8V/6pk+3bX6+0UbKRqHPwtrj4wPHVdxXEFer O+HnDrJuGJcCcV4kw4SQKIiCOOvkvOvrqO+RY= 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=ivhzH5Wyb3uQFR5noyE3C7kZp4bbfexpUf3v7+y1AX8=; b=iK4LAKzpZJIMd3ynM0VYBlX0DvmVeKkRP2Ip9dtN+N2M9nGYy3UjxDkMIOnXNFca6v KBtIOOlSskAfIhJbpzwa4U+OfpqCMKNSfRufquC1XHKqhkD8FRwMC3CXgwMckyt/sEdL YOt0mTMcuBtjjNWxXmzHR1m1mFzXq9KiFQh0y/0KsVrjutzE2eSWAsbfkWgmWSzeIVY1 P0lX5l+sNtm5OpXv0MLi4zUcW2kybEj59cemNnI6AMd/eWIjoUcxdqgSVbi4YRr3VD+Y GZiKT4Ab/WsdPeOTEeb+RCFQUHsp9U1z9X8lzJS1gskYs5872rsowxnW4fWLFE/gC4If m/+A== X-Gm-Message-State: AOAM5301MZ5xOCag4QYJsZ4r+KqEYzGsx9PNCclYYPSQ9sfxPR6uBmkk l2iv1dUlII3/D4Kf68b9+Cv3Dw== X-Google-Smtp-Source: ABdhPJy+XubFXZ0y2teDkQUBJNQLXOf6QwSTjs9/4DYuTgWumxFYca07OC6m20lNGJdQ5HMyFcQJQQ== X-Received: by 2002:a63:545e:: with SMTP id e30mr20055370pgm.62.1595271177204; Mon, 20 Jul 2020 11:52:57 -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.52.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jul 2020 11:52:56 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Subject: [PATCH 08/16] configs: Enable HDMI output Date: Tue, 21 Jul 2020 00:21:12 +0530 Message-Id: <20200720185120.671064-9-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_145259_847570_EC487D98 X-CRM114-Status: UNSURE ( 8.79 ) 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:444 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 config options to get HDMI output on RockPI-N10 target which hosts a RK3399Pro-VMARC-SOM. Signed-off-by: Suniel Mahesh Signed-off-by: Jagan Teki --- configs/rock-pi-n10-rk3399pro_defconfig | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configs/rock-pi-n10-rk3399pro_defconfig b/configs/rock-pi-n10-rk3399pro_defconfig index e09e656fbc..ba2babe20f 100644 --- a/configs/rock-pi-n10-rk3399pro_defconfig +++ b/configs/rock-pi-n10-rk3399pro_defconfig @@ -9,6 +9,7 @@ CONFIG_NR_DRAM_BANKS=1 CONFIG_DEBUG_UART_BASE=0xFF1A0000 CONFIG_DEBUG_UART_CLOCK=24000000 CONFIG_DEBUG_UART=y +# 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 @@ -56,4 +57,8 @@ CONFIG_USB_DWC3=y CONFIG_USB_DWC3_GENERIC=y CONFIG_USB_KEYBOARD=y # CONFIG_USB_KEYBOARD_FN_KEYS is not set +CONFIG_DM_VIDEO=y +CONFIG_DISPLAY=y +CONFIG_VIDEO_ROCKCHIP=y +CONFIG_DISPLAY_ROCKCHIP_HDMI=y CONFIG_ERRNO_STR=y From patchwork Mon Jul 20 18:51:13 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 11674485 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 2D24E138A for ; Mon, 20 Jul 2020 18:53:15 +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 030E222482 for ; Mon, 20 Jul 2020 18:53:14 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="1MKjN6yZ"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="V0AM29rv" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 030E222482 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=6d7J/vBbZJea+DK9VFyfwSLQgy4DuqEOrPHYMDpcego=; b=1MKjN6yZp9r+wPtoFuuXm8MhR hmuzQPycgVNjp52pLvzhw/h3lUjXZwxlf4NOySx/btrefr2nSFar+N1FqIj9vNjGzY7r1NuXQwomf xpEdkaf3whcQeEFcU6XaO6EKHVcN1vZSX0JtHLRA0PlPwmXS0alrKKDafTfUmgO6SVrQa/fDEN88i 35biQgAYYEtVesG89fYQSmrPjQxwGmS0iDrNpGOHKEt47VMsznSZbc6DA7YF+KzEcnljW+zbOlOQA ut3HqeUkegyFiZTVq5JEDKAx4khd99oJ/KkREZTqTc4Xm1KWSgrey4+2YnVeB7V6f+AqcyI2gygxC 317lw4TXw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxauV-000368-4K; Mon, 20 Jul 2020 18:53:11 +0000 Received: from mail-pg1-x541.google.com ([2607:f8b0:4864:20::541]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxauT-00034q-4t for linux-rockchip@lists.infradead.org; Mon, 20 Jul 2020 18:53:09 +0000 Received: by mail-pg1-x541.google.com with SMTP id g67so10717433pgc.8 for ; Mon, 20 Jul 2020 11:53:08 -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=wsm6jM/UPrVl+g18X/BCAbCB+E47r6mSS3s4nQasxBg=; b=V0AM29rvyqlXZyNGJazXf10ai3/wuMckU7vUJYaCPHnn8Mmw9+uuJsUh0HI1ovHnZe 6VXqHkMdEEI/4mu7u1Mm7hXcdDspdHjMycC1lK+U/XXO+PFFarPDq9vb8N5GUc6wRGBz TgxDUkuUNExchSKsTaAiKghcuqPExNpDP0KfI= 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=wsm6jM/UPrVl+g18X/BCAbCB+E47r6mSS3s4nQasxBg=; b=uK/JLTOJeY5YsH5FwCCCNWwiO0ms3KtXDhLu5dzt4KwjoqMsAjACMaCVALPiZZ8YgI kBDlQ8EA3HRs2NEFv+9EhxvCVa7dQYF0uMlTH0XJ9Gjhg5BYmfozO75ih7THL7yu+uXX hInFsEvWXkmQwBlZ3hueXdRyXH/3h2/CH/vEsuKqo7kakIaXP1WHyynhWynNbbyVHX2u ifqlnzgQ0tJnmUCFDGiqM9Nweh6LNRkHibCHgQXPF+qrJmoMZxay/QbZu2uWBE/6S7yS UFhfrRJMy+IDebU6e8uA+ScxqKMwKhnwYGL+E7FQDNF7NU6DVgij9IBhkYLE4pLvFvB5 /70Q== X-Gm-Message-State: AOAM531ebT7dYoctklOiMwYIFIWAv4TxSqzEGtNEnJRBAjuO91qWCTH7 /YZThXr/DfJrva35uWGYOsREHaY6isxlAw== X-Google-Smtp-Source: ABdhPJw03qMJM4SZp+yy3ZUT0jbzrzeUNlmPUG5eTgbpGyv5xu4Et0r9b1e1n7sDE/fGi+5pkpqFUw== X-Received: by 2002:a63:7313:: with SMTP id o19mr20290876pgc.307.1595271186704; Mon, 20 Jul 2020 11:53:06 -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.52.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jul 2020 11:53:05 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Subject: [PATCH 09/16] configs: Enable USB Gadget for rock-pi-n10 Date: Tue, 21 Jul 2020 00:21:13 +0530 Message-Id: <20200720185120.671064-10-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_145309_239277_AE9C4EB4 X-CRM114-Status: UNSURE ( 9.17 ) 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:541 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-n10 target which hosts RK3399Pro-VMARC-SOM . Note: Connect the Host USB cable (Type A) to rock-pi-n10 USB 3.0 port on carrier board for fastboot. Signed-off-by: Suniel Mahesh Signed-off-by: Jagan Teki --- configs/rock-pi-n10-rk3399pro_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/rock-pi-n10-rk3399pro_defconfig b/configs/rock-pi-n10-rk3399pro_defconfig index ba2babe20f..895820fbe6 100644 --- a/configs/rock-pi-n10-rk3399pro_defconfig +++ b/configs/rock-pi-n10-rk3399pro_defconfig @@ -9,6 +9,7 @@ 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 @@ -55,8 +56,10 @@ 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 From patchwork Mon Jul 20 18:51:14 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 11674487 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 A1AB813B4 for ; Mon, 20 Jul 2020 18:53:28 +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 7C6DC22482 for ; Mon, 20 Jul 2020 18:53:28 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="091Z5QEc"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="WAy6UAYl" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7C6DC22482 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=RD38c+TnLITgym+wzpNVKWwEi80p0dQZhGsaGX9ad04=; b=091Z5QEc/9e9tDebHQ4Puf7zE 8CAQQfewTjYgJWKaw/lUzU+ynfVUx2UncrO9xcs8EhtH/iDVoA0FU7xLZn/GcpS/44r+ti+yha2Ow rZ3crCqgIhncOOZNOWd4vh0xwxLEc6epo0oV8M5gyBz17doQvs8K3hFMlowxOpVGm7e4NcratyMbo u4dCXWp6HL7kk89Ooul4urEppSYxX1BONRHxjJ+zWk/Htm6oRil9LnS5Q5AY+GRxxgdwl/hNXFSkx 9UhvaL58KkSy/8Fekqwrs5vdvX5C8uvWFOEl3XZaNOsnBQaFbIL14IFalzTbxdHIGYadlpf89B5Eg wtBjlLIfw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxaui-00039Q-P0; Mon, 20 Jul 2020 18:53:24 +0000 Received: from mail-pl1-x642.google.com ([2607:f8b0:4864:20::642]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxaug-00038W-Q8 for linux-rockchip@lists.infradead.org; Mon, 20 Jul 2020 18:53:23 +0000 Received: by mail-pl1-x642.google.com with SMTP id 72so9094140ple.0 for ; Mon, 20 Jul 2020 11:53:22 -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=ATxu64dtbT9B25BWZGL6QduzF+5r73Fomsm4jyK9p7E=; b=WAy6UAYlqvynnImY1HF76InDbZ9JkGIkpmTEFbGA6tsS651VK1fcpkzsKptuzLQILp IofK3a1lIpc8cEdNq6y2FT9YpP7EFNU4XmGrehyeOcNBobRTU14UvtT/EjtAb4J6h73b uaEqkfYY5LVNJe0CypwapZeLmqfzao/joUCJM= 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=ATxu64dtbT9B25BWZGL6QduzF+5r73Fomsm4jyK9p7E=; b=iZHztvbWEcfdrYLN2vsNGnWXwF5IdmPaMyLHWb1nGNoGQHAZeBb3OJ8eOCUkmqfuBJ AWpK5OLcpJ7FBJ4tBl5fXkyK4mX6BAqGN2jpGGYsPYOY6SJeIm1ZRngQlHSzrzsIw/Un IXlw0LqYiEZMCupsM8kko70v9XyZqtSc8oWjDeR2HTHyx5fCOxeeSKRIj+SXicqcCXj8 tfuC20Y2golqHQGAxtp+nInaJPyJUS44d1dZ3PMaSO8z/sSMbdFhAHDaN65QU7bXOlfy i6uXF4xlxssACbzztWbUun9ID2414mzKfnW5t9l+nx6Pwa3fs2ajTturgqhhLUvMJgq/ gNbA== X-Gm-Message-State: AOAM531hTyhFtM4qM876CiHXQ+xlN5scyEyE8wZ6m9JhYeTEkD7xFCTa HVrzjib0o+j22fnDC1NO/z5iPg== X-Google-Smtp-Source: ABdhPJzzaHQR0nX7J0vV+lgMTYCPaSbsZnCc5LGChO15RaFncbesszosFzX1Z4Jy8xYnoo3uBkpqpw== X-Received: by 2002:a17:90b:34d:: with SMTP id fh13mr695848pjb.99.1595271200966; Mon, 20 Jul 2020 11:53:20 -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.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jul 2020 11:53:20 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Subject: [PATCH 10/16] configs: Enable USB 2.0 on Rock-PI-N8 Date: Tue, 21 Jul 2020 00:21:14 +0530 Message-Id: <20200720185120.671064-11-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_145322_862494_179BD907 X-CRM114-Status: UNSURE ( 8.44 ) 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:642 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 USB 2.0 and related configs for the Rock-PI-N8 target, which hosts RK3288-VMARC-SOM. Log: Bus usb@ff500000: USB EHCI 1.00 Bus usb@ff540000: USB DWC2 Bus usb@ff580000: USB DWC2 scanning bus usb@ff500000 for devices... 2 USB Device(s) found scanning bus usb@ff540000 for devices... 1 USB Device(s) found scanning bus usb@ff580000 for devices... 1 USB Device(s) found scanning usb for storage devices... 1 Storage Device(s) found => usb tree USB device tree: 1 Hub (480 Mb/s, 0mA) | u-boot EHCI Host Controller | +-2 Mass Storage (480 Mb/s, 224mA) SanDisk Dual Drive 04019c9b2e1a58f24ee318c3c123aa5 1 Hub (480 Mb/s, 0mA) U-Boot Root Hub 1 Hub (480 Mb/s, 0mA) U-Boot Root Hub Signed-off-by: Suniel Mahesh Signed-off-by: Jagan Teki --- configs/rock-pi-n8-rk3288_defconfig | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/configs/rock-pi-n8-rk3288_defconfig b/configs/rock-pi-n8-rk3288_defconfig index 6b31e19eda..4cbb07d870 100644 --- a/configs/rock-pi-n8-rk3288_defconfig +++ b/configs/rock-pi-n8-rk3288_defconfig @@ -22,6 +22,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 +64,11 @@ 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_ERRNO_STR=y 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 From patchwork Mon Jul 20 18:51:16 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 11674491 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 9EBD713B4 for ; Mon, 20 Jul 2020 18:53:44 +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 79B9822482 for ; Mon, 20 Jul 2020 18:53:44 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="JZ5gQIjy"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="oQtvlDf6" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 79B9822482 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=RDXx8Vvd+8GluGRTcsg2Sn2Uv21C9Y3xiUvmH0xXbG8=; b=JZ5gQIjyycyCGupETYukZXtsT dHJpvbbYl5G9xTbKqI+SXS5EhAtFiKIByAIBa+SpqiOeOiCebL+AgATqsdERwGJdDW0bRUSXXsHiP X31bLtDEhGn2Eb/N4Dqt4WoIqYd7zCB7SRCLeTAnSR6sLWJZi/t3jItii1a7eYsSj+SD357To5Aqd IWyfopIxe5Oc8kN4rViDax8penfP/q05q3VOYRroiCyVbqkQLCqGAMswthNL0vbCYS9M0IIm5ktmc zHafu9UQFrof/fsLDc2MePbbpfa/PVwN4TLBg0MaQMr5bR0i4dnZTtWe3ZXMu7rKDrimf3HUIFDnI GB9EtCQbg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxauy-0003DC-Tu; Mon, 20 Jul 2020 18:53:40 +0000 Received: from mail-pf1-x444.google.com ([2607:f8b0:4864:20::444]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxauw-0003CL-Lk for linux-rockchip@lists.infradead.org; Mon, 20 Jul 2020 18:53:39 +0000 Received: by mail-pf1-x444.google.com with SMTP id a23so7885624pfk.13 for ; Mon, 20 Jul 2020 11:53:38 -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=3VBSFKUOY9MXfcZYLxIjWlt+g5ws/WOsWjwfRnfToQM=; b=oQtvlDf6Mzsz9unYp6gnsmQ60RxENzCNacytQkDhqHSU00cJn/cMRoEzQ2HZMIsaA3 3Zrqt7Tq4eEUbUP2TrNXUUOfRVidc+UzQiqBCImgHgWl4ZGls30e0q0QN2MUUVrbTMmc 1PqrOC3zY7v64BIWBQy381H//5W17iVBFc7o0= 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=3VBSFKUOY9MXfcZYLxIjWlt+g5ws/WOsWjwfRnfToQM=; b=lKvEpV269pjYrAnAMGSwyBCY4uNWHuX/J9XpnKwPvIZvOsqKN48xGAc+NFT0BYJ+si T796C4Uon4wwfutFC7u4SRjGPnigwu63H49iTpZstuFoC1f/pzoOHXN3fLUtYF/9Dbiw UoLIkiScHeJiRBXZ5ZVzxsg4GvSXiWv/wcLEos7aOE0071UIaXgP1jOPO2Rvu4aSogrW bQ3KKdhuTcOSotsxbjM3epE7l5JEv3Q5Vfnxx8zxZqvBTxk0JMvkJ+FIokZeGevHw4hz mqqB5JMeUNeg4GS8HGD5+CyQiGrHb694Ytyj4zJO3swtpEK45YliDD1yaFWrxlBRvrmZ TBdw== X-Gm-Message-State: AOAM533Vc0MURe49A/WQIYt4QrUHi6v2JQ/iFfIeCPWnSzjr9FKgseNo Jc5D0BZRvPkWmhOQso3yfBADTg== X-Google-Smtp-Source: ABdhPJxn5+tESdzyp14tCiwZHRchx4TCftiTwaAv+iQTgh4vpKH1dn9TZwyO72PKb4RODhWqgaOeIQ== X-Received: by 2002:a63:5013:: with SMTP id e19mr19811136pgb.68.1595271216889; Mon, 20 Jul 2020 11:53:36 -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.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jul 2020 11:53:36 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Subject: [PATCH 12/16] rk3288: rock-pi-n8: Add console settings Date: Tue, 21 Jul 2020 00:21:16 +0530 Message-Id: <20200720185120.671064-13-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_145338_756627_B3247755 X-CRM114-Status: UNSURE ( 9.40 ) 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:444 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 , Suniel Mahesh Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org From: Suniel Mahesh Add console settings like stdin, stdout and stderr as usbkbd and vidconsole respectively for rock-pi-n8 target. This would certainly help to detect the attached video devices (like HDMI) and print the console messages on display. Signed-off-by: Suniel Mahesh --- include/configs/evb_rk3288.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/configs/evb_rk3288.h b/include/configs/evb_rk3288.h index ddd7012c8f..e19fa90212 100644 --- a/include/configs/evb_rk3288.h +++ b/include/configs/evb_rk3288.h @@ -6,7 +6,11 @@ #ifndef __CONFIG_H #define __CONFIG_H -#define ROCKCHIP_DEVICE_SETTINGS +#define ROCKCHIP_DEVICE_SETTINGS \ + "stdin=serial,usbkbd\0" \ + "stdout=serial,vidconsole\0" \ + "stderr=serial,vidconsole\0" + #include #define CONFIG_SYS_MMC_ENV_DEV 0 From patchwork Mon Jul 20 18:51:17 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 11674493 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 5268B138A for ; Mon, 20 Jul 2020 18:53:54 +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 2D65822482 for ; Mon, 20 Jul 2020 18:53:54 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="VZJL8F4K"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="G+qdu2N3" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2D65822482 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=LSujb6Ec9DkPoyaxl9mprlvQ2s2Zmh7Jm+Tcf2iu9mA=; b=VZJL8F4K59jHnDQzClnrzZvMT 6MzdN6IJO9+Wm0cip/4dpduDbX0TyLbrV3ATM1uV6XuHu/H1i1gvb1RDgx4e/SyhlFdAWGnww/0DQ R9p3jgkVJtzqc4rqH2ccpF4bGxBm2Q1iGfmYtCjYZ+iJomn+Ss5lZaVGYSfCFGh16f2w5s/4j1eIA UJHNNGESoG0+eAjexP5r/L+Ef3QQ0P5HPBpwYVpPzoyVU9nN0op5M997/dvNbpd+D92yRJZrKr6ZV klE3xRGNlvyzhd6bqqR/1tjViaVxaAzOwt6DXmceEtY3NnIGZyLwWxDnxqJhcPsG1ViKSe93IRTry o0Ow+iiqQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxav7-0003FK-13; Mon, 20 Jul 2020 18:53:49 +0000 Received: from mail-pl1-x643.google.com ([2607:f8b0:4864:20::643]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxav5-0003Ei-DD for linux-rockchip@lists.infradead.org; Mon, 20 Jul 2020 18:53:48 +0000 Received: by mail-pl1-x643.google.com with SMTP id l6so9083733plt.7 for ; Mon, 20 Jul 2020 11:53:47 -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=APgNFxFaUs2syxhKszMlQe1xUkRg9dllSy0R7j0V0qE=; b=G+qdu2N3lEkldhXDBHSkSIke56Y+/njUm1Im0JogDvgzrVNGTm48tETENB3qbREftB ojQGlLeIZ3oYDE5vT+zbW+oZNmLYpSPYhWmt7468wVKzC9f2l8robCeJ0weeRGKLHtjR waNmTTMppkohzU2tM5ZU7/KJcXldgsZss4uTI= 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=APgNFxFaUs2syxhKszMlQe1xUkRg9dllSy0R7j0V0qE=; b=jJQQt8LOMN65xrzivCrIBtaaoyZ+no7BIA3fjD4UAB0xzIzgHmPhLmCRb0TNTIui7C XABvnmGBnrnaUKS8gHDMJbGMZGGkH8vMoAU2QJBgQsyMKu/J8j4Coykmc/LywXPUKjsd 7BerDSbEm7lFaTDWIVsjjgKcBqRlw6QFJtZlj5HkgUe9kKPI2GTZtEWBwT4COVApoiWP TIhLtIhC0D+gf6Jopg4CYLuvJqL4vCGnZNmCu/SmHmj45oJsYBD/SVsVurxUXUUbPfPK O9rmh9CGpVm9Y4K5rk8ImSS9UjOepcFLjZjHS70hOcD3FcsXkDv7tl8DYy+x7gCIFRwR q84A== X-Gm-Message-State: AOAM531aHalNYfasctmF5K/NaPqT5vL+C6fd54uydb/w6mYxZHI+7SzQ OIyh+XaY2ukVNeoVzpzmKMYFWA== X-Google-Smtp-Source: ABdhPJzHC/nva9bsvPBEZvwxlg9UBNkPs/UiIHlQrptUvtVD13VbTnuxjYwhdPz70ofvko8iVszGRg== X-Received: by 2002:a17:90a:3567:: with SMTP id q94mr816203pjb.226.1595271225589; Mon, 20 Jul 2020 11:53:45 -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.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jul 2020 11:53:44 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Subject: [PATCH 13/16] configs: Enable HDMI output for rock-pi-n8 Date: Tue, 21 Jul 2020 00:21:17 +0530 Message-Id: <20200720185120.671064-14-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_145347_457225_B11AA128 X-CRM114-Status: UNSURE ( 8.70 ) 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:643 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 , Suniel Mahesh Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org From: Suniel Mahesh Enable config options to get HDMI output on RockPI-N8 target which hosts a RK3288-VMARC-SOM. Signed-off-by: Suniel Mahesh --- configs/rock-pi-n8-rk3288_defconfig | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configs/rock-pi-n8-rk3288_defconfig b/configs/rock-pi-n8-rk3288_defconfig index aafa2cac2a..d218852d79 100644 --- a/configs/rock-pi-n8-rk3288_defconfig +++ b/configs/rock-pi-n8-rk3288_defconfig @@ -14,6 +14,7 @@ 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 @@ -74,4 +75,8 @@ 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 From patchwork Mon Jul 20 18:51:18 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 11674495 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 E4939138A for ; Mon, 20 Jul 2020 18:54:12 +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 BF60022482 for ; Mon, 20 Jul 2020 18:54:12 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="jr4B2t2o"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="W7NZcsse" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BF60022482 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=eficCn35rJJjSL14Y+K1LsRpuPKjYB2CANs2Cn+Iol0=; b=jr4B2t2oyCKc9yb0n1M8z2Gda 6HmMJxTrz5prCrbfCUNXsrEFOOaTO4DcY/3xTkyw2t8I4scAWqkVFlmSE5/1uzaEu3YcsU6jQsNm8 TtoDIZcBZRns+f/FYIfd4vKlDauADLan7hUSndmpjPnAhyujCktK3HKR9SaP4qB2nu1HMMEgQRTLe PXtV1A2Xc2I8pp5qFKmoLEFuELmLDBQ8g22RX193+Gu2XHEExo2iZbqyM3PY03v+EPLwTSotCJuL1 SygeUCap6UYQ+DZkIAUVpVTBl4t0qXSnMfFMRYYgnvk9NQaTQquyGYYOyryOEP1aYoP0zv+khJPta loSz2tvfA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxavQ-0003Jf-UV; Mon, 20 Jul 2020 18:54:08 +0000 Received: from mail-pg1-x531.google.com ([2607:f8b0:4864:20::531]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxavN-0003IW-Kv for linux-rockchip@lists.infradead.org; Mon, 20 Jul 2020 18:54:07 +0000 Received: by mail-pg1-x531.google.com with SMTP id e8so10716450pgc.5 for ; Mon, 20 Jul 2020 11:54:04 -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=4MMV525qxViZR2/Q75Dp8I3ujbQebC7F80+vvIQ6iJg=; b=W7NZcsse/oQNjfa1uvQHn3SzyleyGz53dcGtJOYwHChSJjdOP8h24t/kunHHqpkz7C 6UgaUPklsMGZIfAE+DtG0kUDhH5HhYOxg46p+hQ4oJOGLUmfpTmaQ8aUXXGzWwdhCk5h q+PYsN/2mc5A97zktY64IiW+rI/dcvgsgXwVU= 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=4MMV525qxViZR2/Q75Dp8I3ujbQebC7F80+vvIQ6iJg=; b=VPhd8WsNIejRyzmoxOH4dSeqUC+ICUVO7M9BAxECk2TbGDsdRh0N5ZhU/uVrpM0XFs KNHUQ+gbFNlFLfa4OeJtUHqzCyxviNwq+jGl60xZoMTANDgUF4as8rcynv/bcMc1wlvX w1fuzUGK24nQJup2Z/sye3kNxv+NYdzeIfGhuq9brq6EfcdlgLu5PjdEzm5NZHQFaNEh rHPHvi6nl8c8OLO3Wrb6+NZ600sQxzBysKm2UMf3BUaCYXSKlEEzW+Tx3jtnIwBpimsO v6m6mbpFwVJ+B9SZMksTabYq6RQ9meJ9jLMkA4Ei1J3b0yDVriDq/PqRHhp4GP54bHB1 yYVQ== X-Gm-Message-State: AOAM530uofEI+zdTAbUyECr27TOdd/WbfL5gD2d7LwGe9+WKZc3meFfx Cc6S8Ri8VcxQRGXLLqLp8KMiig== X-Google-Smtp-Source: ABdhPJwLqMBAWa0MDZyhzfS08Uhw3iQ+boERIqFQ0myF3/TE/KRlGsQBvhZuBK4nIMGz3bGzguz7VA== X-Received: by 2002:a65:448c:: with SMTP id l12mr19243236pgq.234.1595271242961; Mon, 20 Jul 2020 11:54:02 -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.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jul 2020 11:54:02 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Subject: [PATCH 14/16] rock-pi-n10: Enable PCI/NVME Date: Tue, 21 Jul 2020 00:21:18 +0530 Message-Id: <20200720185120.671064-15-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_145406_285425_1210D70D X-CRM114-Status: UNSURE ( 8.25 ) 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:531 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 Enable PCI/NVME for M.2 Slot on RockPI-4 boards. => nvme info Device 0: Vendor: 0x144d Rev: 4L1QCXB7 Prod: S35FNX0J623292 Type: Hard Disk Capacity: 122104.3 MB = 119.2 GB (250069680 x 512) Signed-off-by: Jagan Teki --- configs/rock-pi-n10-rk3399pro_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/rock-pi-n10-rk3399pro_defconfig b/configs/rock-pi-n10-rk3399pro_defconfig index 895820fbe6..2aa2fafaa4 100644 --- a/configs/rock-pi-n10-rk3399pro_defconfig +++ b/configs/rock-pi-n10-rk3399pro_defconfig @@ -21,6 +21,7 @@ CONFIG_TPL=y CONFIG_CMD_BOOTZ=y CONFIG_CMD_GPT=y CONFIG_CMD_MMC=y +CONFIG_CMD_PCI=y CONFIG_CMD_USB=y # CONFIG_CMD_SETEXPR is not set CONFIG_CMD_TIME=y @@ -39,6 +40,8 @@ CONFIG_MMC_SDHCI_ROCKCHIP=y CONFIG_DM_ETH=y CONFIG_ETH_DESIGNWARE=y CONFIG_GMAC_ROCKCHIP=y +CONFIG_NVME=y +CONFIG_PCI=y CONFIG_PHY_ROCKCHIP_INNO_USB2=y CONFIG_PHY_ROCKCHIP_TYPEC=y CONFIG_PMIC_RK8XX=y From patchwork Mon Jul 20 18:51:19 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 11674497 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 E0F7513B4 for ; Mon, 20 Jul 2020 18:54:24 +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 BAD7222482 for ; Mon, 20 Jul 2020 18:54:24 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="RogB9GA+"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="LsLLW6Qy" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BAD7222482 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=ZXuQSs/fFizsDdynn6nyhsztnjMNOek6IPFqpf6iS2k=; b=RogB9GA+JjfZrUCW0M/QetLB8 Qafb0jdlMxvevELNC9nh7yG72ChvHXMJ4TUSsHJh/7miW365hGaDnc5gXuSPjNYnWB8XS5LiqgOUG q1VNduF6oP+O+PKwu/K6cyBsup/DdZDShwAJrH83voG1bIgenedspCDUmDmJ0AU5KoQKXvYWoS5Tb RaH/xnWZGdgX8I6UfM1aZJBHOSRwqJ5itj5Ufhxoln1ZRLVQH7H5foI8O93Cig5YBxexXv6DaHBs7 b6tv9zqWxFX0yhzV1VocjVE1n4QhvLJKz+fi8zFuHCEq5rvzK48987ch9CbWo6kQv8GqW3TL3tA4a +FZvLhCEw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxavc-0003Mp-Ma; Mon, 20 Jul 2020 18:54:20 +0000 Received: from mail-pl1-x641.google.com ([2607:f8b0:4864:20::641]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxava-0003Lg-MJ for linux-rockchip@lists.infradead.org; Mon, 20 Jul 2020 18:54:19 +0000 Received: by mail-pl1-x641.google.com with SMTP id x9so9101396plr.2 for ; Mon, 20 Jul 2020 11:54:18 -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=/BAh0K3KCeG3dZm1wlv0glV+H+hZgMc4n0kGFmCIBX0=; b=LsLLW6Qy40R9keJRn5Zed8XJ8JapMa3tHlkP7ivcM7QZ+48e309omHY5881Ix7lAQg ZOIjCLXXXytSjUsdvcL+HjQDGMp5WaJJFp/nWEJ+FvtnMs5oaVr/JIqq/FYXu9fMIRVm DFdDc/GM/LcKMn4HRwIX2/4xGr/rR1olNw8uM= 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=/BAh0K3KCeG3dZm1wlv0glV+H+hZgMc4n0kGFmCIBX0=; b=YO9HR7BnSUR205kHy86ZiOj3SvEtrDw7z2h+sIfSD3KzXzBBZCCrFHWwFD0J0uSr0f JbH7/5COUiGD+w2Ox6eW6fkXS6k07WiPz+0uRnPLlEU8smw2Y0Mh8NJXduUSjlsUICKW ZPaDUIMcEEvvvhGyn18fDoYTOaXWjotUEgmC1lZTS29T2gJeSGjqKgMvABYJhqA1b4nH xIEySvSxCcRdzBvB2XeHRKRKM8xlz9STcg1CECOfLTTfZn/Iobf/bUau1CqTJUGZVZP3 xSHgM++CeHGxlSVYh2QkqOMvO+EJCGl2XwhonNGuqtDq+ZGXzx2Hepp4JeNKexCpmXz/ 7JLQ== X-Gm-Message-State: AOAM533Q/zdRWslJAI0Itmj2A8IAWfWRsF0zjyL0kpZC8XXtOf+4mlXI 82eNOKHJYWk5KJSqZs8T8YkbyQ== X-Google-Smtp-Source: ABdhPJygo8nJQJdVYfvY4UfQATxvH+KqyETxHWVKhNx+L1Dn2E7jFzjrhMpASVJkDnw5iODowU3nRg== X-Received: by 2002:a17:902:b905:: with SMTP id bf5mr18214241plb.250.1595271256442; Mon, 20 Jul 2020 11:54:16 -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.54.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jul 2020 11:54:15 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Subject: [PATCH 15/16] arm64: dts: rockchip: Add u-boot, spl-boot-order for ROCKPi N10 Date: Tue, 21 Jul 2020 00:21:19 +0530 Message-Id: <20200720185120.671064-16-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_145418_736706_A77C79F6 X-CRM114-Status: UNSURE ( 8.87 ) 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:641 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 Add u-boot,spl-boot-order for ROCKPi N10, so-that it can able to boot from eMMC and SDMMC in order. Signed-off-by: Jagan Teki --- arch/arm/dts/rk3399pro-rock-pi-n10-u-boot.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/dts/rk3399pro-rock-pi-n10-u-boot.dtsi b/arch/arm/dts/rk3399pro-rock-pi-n10-u-boot.dtsi index 946a0230db..7c66e1145a 100644 --- a/arch/arm/dts/rk3399pro-rock-pi-n10-u-boot.dtsi +++ b/arch/arm/dts/rk3399pro-rock-pi-n10-u-boot.dtsi @@ -5,3 +5,9 @@ #include "rk3399pro-u-boot.dtsi" #include "rk3399-sdram-lpddr3-4GB-1600.dtsi" + +/ { + chosen { + u-boot,spl-boot-order = "same-as-spl", &sdhci, &sdmmc; + }; +}; From patchwork Mon Jul 20 18:51:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 11674499 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 2D785138A for ; Mon, 20 Jul 2020 18:54:30 +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 0826022482 for ; Mon, 20 Jul 2020 18:54:29 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Dfn2WP5s"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="Mx9/oCGX" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0826022482 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=cXif9u7eMIQhPkTeoqDAAZmbdqXVoeYxe5jRaG+H1rU=; b=Dfn2WP5s93KPdQmr1ezZeYYNp 5/9OL+SuvnE/B295nZI7h2trNorc+3S1R2jjbGxm9sWUfq1g6O8DC0pV6aqVGpNaJJ1NEnMDGnhn5 zFijHQ6qaTsFp551Yp3tmFtAlpMKbYgiZ0h/MTejTbr7+UNcU1nRsD4HlsuFF55c6bN4kenV2Y0Fm HUpbYPO2OH2jHPPhG6cfuwH27M0xBUNp7aCcAPqEPun5fZKQzXF1AFkgt+WXBwV20UtCzokW7k9Hr 6+SDFdvzk12yhw4V2pT588Y8ecyPFhTU0Vxp6hTGxk2isK3M3ctf5HzDBILzwJxOKEy9GY8u31ggx s7qMzrUjA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxavi-0003OY-HR; Mon, 20 Jul 2020 18:54:26 +0000 Received: from mail-pj1-x1033.google.com ([2607:f8b0:4864:20::1033]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxavh-0003Nk-5Z for linux-rockchip@lists.infradead.org; Mon, 20 Jul 2020 18:54:25 +0000 Received: by mail-pj1-x1033.google.com with SMTP id a9so286557pjd.3 for ; Mon, 20 Jul 2020 11:54:24 -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=Ht6AN2uf+8Im4X59Mnajh0XAKY24NsDSozDPfpHjvLc=; b=Mx9/oCGXDEVuAgNwTBisN0D084UwXDElzPGYzrrCZ8OGNyPDpopYhpfMHOSQgmn0gV nlXlBCQABv5F3hlEDQj5H7IPBIvjnXLXD4C2bo2xCN95Q5j6EBywsjvAPJYZojHawM6W 928dXQAUy8PNCovmU/Re/M3o5gxZQ1m3u14BY= 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=Ht6AN2uf+8Im4X59Mnajh0XAKY24NsDSozDPfpHjvLc=; b=Bmug19OO13TYzsOK47alY+1ZmFnNpoaRMprfBqOVfgQPx7EJm9h3g53XjJqMVVHgII OvI5Nfc9dM2KUztczt0hB+q75o6U+c98aKbGTgeh6nvQHa9lbK0ZBspQPrrM3lEzR9Ia hxAEaIIzIM+CXyJ6JyFu0K4kGLOT3A3pOS00QtYjbyZ3rAQJ4Xmc9y5hSxqtN/L81vMQ GRrmrxv6gZPv8UGPJe5wEtzrQT3UmzCGoG5RhITpoGPeXnAZmvZF3Qi+dJmX9aMp8NH3 VlImvH4h+WL2enLcpPEnsi7V9eeezWq1+e8TdJb6S/kSOZ3dO474nemdJRzoUDFL+tn8 2zww== X-Gm-Message-State: AOAM530Q9vqB88L4qG6UamfJjphOpQo8sgaO0QE275mnQeeJzP0jZ8ws eL/WcHaZhmTY3DHuBP9IvphWow== X-Google-Smtp-Source: ABdhPJyOCziY5Q4mG7wxBUtmMOYL1IUVlX3hvXwYSwwIVHwlXwMuryuwhwSya7dlHYR1Li6G6+/GNw== X-Received: by 2002:a17:90a:3223:: with SMTP id k32mr773922pjb.121.1595271262884; Mon, 20 Jul 2020 11:54:22 -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.54.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jul 2020 11:54:22 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Subject: [PATCH 16/16] rock-p-n8/n10: Disable RAM_ROCKCHIP_DEBUG Date: Tue, 21 Jul 2020 00:21:20 +0530 Message-Id: <20200720185120.671064-17-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_145425_233771_8DEDF896 X-CRM114-Status: UNSURE ( 8.68 ) 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:1033 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 Disable ram rockchip debug driver for ROCKPi N8/N10 boards since we have verified ram in many instances with respective U-Boot versions. Signed-off-by: Jagan Teki --- configs/rock-pi-n10-rk3399pro_defconfig | 1 + configs/rock-pi-n8-rk3288_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/configs/rock-pi-n10-rk3399pro_defconfig b/configs/rock-pi-n10-rk3399pro_defconfig index 2aa2fafaa4..4a5bff44ef 100644 --- a/configs/rock-pi-n10-rk3399pro_defconfig +++ b/configs/rock-pi-n10-rk3399pro_defconfig @@ -48,6 +48,7 @@ CONFIG_PMIC_RK8XX=y CONFIG_REGULATOR_PWM=y CONFIG_REGULATOR_RK8XX=y CONFIG_PWM_ROCKCHIP=y +# CONFIG_RAM_ROCKCHIP_DEBUG is not set CONFIG_DM_RESET=y CONFIG_BAUDRATE=1500000 CONFIG_DEBUG_UART_SHIFT=2 diff --git a/configs/rock-pi-n8-rk3288_defconfig b/configs/rock-pi-n8-rk3288_defconfig index d218852d79..630ec6e491 100644 --- a/configs/rock-pi-n8-rk3288_defconfig +++ b/configs/rock-pi-n8-rk3288_defconfig @@ -64,6 +64,7 @@ CONFIG_REGULATOR_RK8XX=y CONFIG_PWM_ROCKCHIP=y CONFIG_RAM=y CONFIG_SPL_RAM=y +# CONFIG_RAM_ROCKCHIP_DEBUG is not set CONFIG_DEBUG_UART_SHIFT=2 CONFIG_SYSRESET=y CONFIG_USB=y