From patchwork Tue Jul 21 15:24:35 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 11675887 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 03BDE13A4 for ; Tue, 21 Jul 2020 15:25:10 +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 C20D32065F for ; Tue, 21 Jul 2020 15:25:09 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="R5RW2Hlx"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="K2nNePt/" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C20D32065F 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=smAteZ89UUqdjfaELm6EM8cRYrpwwzIb1UTOlJprfAs=; b=R5RW2HlxgYPue7YNZbkkkjVJk loJioW0E5/xj2dnSVNwU2lNifQ9CPGymtw7NSl0vmS2BJedAdwFGwYm6N1TpuH87SRpqesOsEk035 zu3ifypiwjDSnsEVPTFcwFMW0g8BwjqGUH6JDFhu4GIfzbk+2xUQbXqpiYZaJfXiVga5LOtYTYLVB 602Ci1Z/J9iamaOhbJZcG5sJTyX0IvJyWPpY3U/Yk/jA4N77YzUbTfQsrAmQpsuhSnPadJpbjuPcC uoOpGPRsuZkdo7MU5MbVbn1os1bNmpLWCo1fzmZC5DPT8o5zTTS3QHx5i3kgMY+lKU8hKTdOam6Mc IJTtjWciQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxu8i-0003nc-Ug; Tue, 21 Jul 2020 15:25:09 +0000 Received: from mail-pl1-x62f.google.com ([2607:f8b0:4864:20::62f]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxu8c-0003kQ-Gd for linux-rockchip@lists.infradead.org; Tue, 21 Jul 2020 15:25:07 +0000 Received: by mail-pl1-x62f.google.com with SMTP id m16so10407406pls.5 for ; Tue, 21 Jul 2020 08:25: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=koXcmoJxsFxSnqFtm6IVYLADtfiMSqoZAR5I26iDdRo=; b=K2nNePt/ayCvWqJn1tCUBy5DPoF8byC6wGrRjAi4uUVxVh67HohxOVsfvdvUSC99rd 3KPutXVOkPsQ+6/WiPohnCHdvVS0MnSluUig4MC3AQ3oMN9BswRB/h6m9vC4JysobwbO 9W7IzYmrfBwxiLUiDXCW6fm9k2lZ0/QCqxqTI= 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=koXcmoJxsFxSnqFtm6IVYLADtfiMSqoZAR5I26iDdRo=; b=Cn4wZ6iplPI78ejczFDvxa3ey43QiY1j7O7JO36EStfUKmd1s6qewg65pH35b6ORt1 ISFRQ4lg3X4NSabmrRcxTJxyGEZHbL3urbNH+Flu6ed4AFu3zGjAuLmBeVbX/z55paPj rtGw1qdPseIt1PjwJugFRX6vIPlSuIkLqSdGaJwJU3GXAmlVbwd1fodKlRBEaHS1Q2Tp u12eTmvfufszV2kH6OEq7JtOKQR6TyEPyyQD0MyMLpbLJM6urvXif8zqaytwVB5Xg0qs EGkOuIl+bQUtpRNfXHEPc80orZAACW05AnenMmJXD6Ux6fUblMcwQgaa7wHKKyzSKak8 5o7A== X-Gm-Message-State: AOAM531mJgqvpwLij7Or49DsXKvPOYwnyFZpB1VglQepEzhNcRdhdnNu OwQH8+Wo+fGVjGItkrNbQctTwA== X-Google-Smtp-Source: ABdhPJw9QMSEPKvVKLkQjpvIKVOCMh3KAZpw+l80SZxAXemUIoA+lxhyIGjtBY7OvB74aZAEpa9EKw== X-Received: by 2002:a17:90a:9515:: with SMTP id t21mr5225970pjo.5.1595345099879; Tue, 21 Jul 2020 08:24:59 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:3df7:ef76:b2b5:fa14]) by smtp.gmail.com with ESMTPSA id h131sm2876838pfe.138.2020.07.21.08.24.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Jul 2020 08:24:59 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Subject: [PATCH v2 01/12] ARM: dts: rockchip: Sync ROCKPi N8/N10 dts(i) from Linux Date: Tue, 21 Jul 2020 20:54:35 +0530 Message-Id: <20200721152443.37602-2-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200721152443.37602-1-jagan@amarulasolutions.com> References: <20200721152443.37602-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200721_112502_679713_D1943FCE X-CRM114-Status: GOOD ( 10.92 ) 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:62f 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 --- Changes for v2: - collect kerver r-b 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 Tue Jul 21 15:24:36 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 11675889 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 8F6C013B1 for ; Tue, 21 Jul 2020 15:25:20 +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 65C5F206E3 for ; Tue, 21 Jul 2020 15:25:20 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="uL6Av+VH"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="ZLl1ZOjr" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 65C5F206E3 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=gjnPuiNNj9rLRfJih/qGp+rqLNUV3ieBbetOX7qjkMY=; b=uL6Av+VHW87W89uWS2zaaCpOs 9hCnDS57vQFOPCkLsGFzbbY5+ISWD8i+lj8bGwWUDVke69SnxPOjnmRkFjzMa96A+aCc/5s8h57dg FfQtoQDNE7QBB7zf09rTgs4P9Q7RkYmM4adXIsrkGi2rnAxaZiiz9HhwqeHlcCoJ6mj4ji9FRnPKI E2gGxu1luUOhJ+krkcuj1OHGp5wJaz34wTeZXlperVn/jjJAgJgr9SkJIZfFydO3X+N+hgbOgh00d Weg9GhaRjfx+G5hJ+2pCCI/WMUfvuiY03hdDGfzcG6Glt8U6I1xcoMPnZWz/KNBPsD30py+BUW1wM F4p5ytm0w==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxu8t-0003sk-B8; Tue, 21 Jul 2020 15:25:19 +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 1jxu8f-0003lq-Sp for linux-rockchip@lists.infradead.org; Tue, 21 Jul 2020 15:25:18 +0000 Received: by mail-pl1-x643.google.com with SMTP id d7so1635900plq.13 for ; Tue, 21 Jul 2020 08:25:05 -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=XmCu9Q5gueIgV9VDDw12v5g5werPgTsCth7sqwQGBsI=; b=ZLl1ZOjrU6cIZqlSCp3BfCSIaapifmGTQePtOG96LV5ZPT3s/iiTzwBWL9hCsvtaSB I7g7/hpMM+FjqTU2rBtBFBDKQ4jkl958BcIXLukojFmq7nbh94ev3zUPdWi1P1oPo/BS jv5Gf/5E+wDd+0dXtCWa5qTcs/KbGeLDdAoKM= 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=XmCu9Q5gueIgV9VDDw12v5g5werPgTsCth7sqwQGBsI=; b=b7ykfKEKwLXv44LnwS8h4mla7Xy73f+BuCGjJXuEMw2On9a74Y4DWAGTV5lfNG8WfT tFR2/nXgH3FHSHukiJT3YAmv1nWubNaE1qwMeJYI2ybMxSKA2O0+HYhUOcusmBGR1bl2 vWOibMf0bEO2ao+tFoPZITzlUwoamai8FGPk0BGkDwe5oW1MvmyfCBpTiqpFGDDXQPaf 9CRypYTH4dX0LDco6YEZcOdj2SFjkgOSR6DGnQyO5ZknQMFIEt0Wn+m0/kCNt8b4KRM/ nOJ643InnymOHuVlsmOn+NDJJjMvB/ZvpvlFAAFTEE2bXrkZ+lm85NK+kGUTxR8Q3DD4 gNyQ== X-Gm-Message-State: AOAM532d/0lnhgXWqumvLz7pLeLWRpQk4rZpRywM5VAfyulW4t0pUghX crqw8ibpYR3e27ufTrMLAaJFiQ== X-Google-Smtp-Source: ABdhPJxIpN3yifHhNl3XXOZuw0yabYSWFQvrYyE/6KCqyHvpC4TaFPl+1Bj9DNPb2AUlodn1XSrOGA== X-Received: by 2002:a17:90a:f206:: with SMTP id bs6mr5457953pjb.48.1595345103557; Tue, 21 Jul 2020 08:25:03 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:3df7:ef76:b2b5:fa14]) by smtp.gmail.com with ESMTPSA id h131sm2876838pfe.138.2020.07.21.08.25.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Jul 2020 08:25:02 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Subject: [PATCH v2 02/12] arm: dts: rockchip: Sync rk3288 dtsi from linux Date: Tue, 21 Jul 2020 20:54:36 +0530 Message-Id: <20200721152443.37602-3-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200721152443.37602-1-jagan@amarulasolutions.com> References: <20200721152443.37602-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200721_112505_980204_05863854 X-CRM114-Status: UNSURE ( 8.32 ) 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 , 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 --- Changes for v2: - collect kerver r-b 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 Tue Jul 21 15:24:37 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 11675891 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 9C01F159A for ; Tue, 21 Jul 2020 15:25:23 +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 746FD206E3 for ; Tue, 21 Jul 2020 15:25:23 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="AZAF+8D1"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="KjgfwZIU" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 746FD206E3 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=VbnYYdWTtUriKlP5fUm86Yl4fS4SZkumNMCIxnvF+pw=; b=AZAF+8D1Mphojzh3ofAqCoE7D 7uomKfqbE9AL8bBbuYXwmTxK/ls/xxwERtxYqoklbfz4CCm0cUoAmiYQyps+YOwHHskVhg4Y5CR7h KX464rLTpuEbw9jdpYrWfA107/CedADsSU0OFL+o9yRcTV6LKVeeNVMSE9tJYHrUF9+Nlg0G2JFPZ AnAEIh491pJPSsVC0tgQHQNwAPspM6xUQTJnhmuUO9m1cOcj4Z5zeqtKrCsbs2dkpLCxIJZCRHcZb ebBhE/mu60VLzz0Kv06LlhesPQS7SZl4YzroMVbW7XpUcr3NjtLjQjnO/GWD/IOaau7BhNPGVx8mp 4m3MPS3Dw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxu8w-0003tt-65; Tue, 21 Jul 2020 15:25:22 +0000 Received: from mail-pj1-x1043.google.com ([2607:f8b0:4864:20::1043]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxu8k-0003nY-0E for linux-rockchip@lists.infradead.org; Tue, 21 Jul 2020 15:25:20 +0000 Received: by mail-pj1-x1043.google.com with SMTP id k1so1731339pjt.5 for ; Tue, 21 Jul 2020 08:25:09 -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=RRQJMfMOUyCEkYE2mTHnwCt1aViIDvYEYRPrKdHdJFU=; b=KjgfwZIUqQWEusLu5xRkr38PjvxiYO8nzbFGgPFeeF5cHoNbIQC+l15Mjsqny8c9eq wevXutYYN2z8R5XrlRNXzym4TzVq6QY+m1Ox4atwFObbbsZXQbFA5OpMqbY85iRFbMWx BDe6tCt+0NrQPKIu5Xs8jYzAsriYX5T9i/Ei8= 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=RRQJMfMOUyCEkYE2mTHnwCt1aViIDvYEYRPrKdHdJFU=; b=JMsTuIQwgZQtPByrPRF7ubI5u5sgTlRvAhl0IlMAsNvEqVUDk9A950Ys7wROPy+NK8 weFedZrIR2LVQQhIyM7+uClEMPHEjumnX3hM8nLgr6ydJEamk3LketYZpIwZMO+gB0/y 5HAoGS/8rK03cTTu2iIS0tdg8cYoxOvbcb4kBJDU0Vsr7q9sfHSXAMTBB6jLw4qU6Er+ a23eCKVvcXo99zDc2Ndk5ZSWv0kwbA2QfyLU+vjbKrO02mcQdQLgqJZSaIvtA4ZOxbZH S9unEEUI5tVdLgluLC2QvimfZ6OyCIeGucWdJjQ9LZuCjTDoT90NYSDDBZyMAgsNQvx9 tPJw== X-Gm-Message-State: AOAM530smdNtSR3RovcUszT0674LuynG5V1X7DZsyqVTKGeFoi8rNul5 rKX/20qkI3Xadr9UWfpQxBtFfA== X-Google-Smtp-Source: ABdhPJxNwm42Tt4x18cmhokfRaGSpl6LEUi6Csuw0+jXe1vBXHcE5gnx9Rw7WNRg60ssRycAEUQ0ng== X-Received: by 2002:a17:90a:6281:: with SMTP id d1mr5291086pjj.231.1595345107768; Tue, 21 Jul 2020 08:25:07 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:3df7:ef76:b2b5:fa14]) by smtp.gmail.com with ESMTPSA id h131sm2876838pfe.138.2020.07.21.08.25.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Jul 2020 08:25:07 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Subject: [PATCH v2 03/12] ARM: dts: rockchip: Add usb host0 ohci node for rk3288 Date: Tue, 21 Jul 2020 20:54:37 +0530 Message-Id: <20200721152443.37602-4-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200721152443.37602-1-jagan@amarulasolutions.com> References: <20200721152443.37602-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200721_112510_099342_A5E14B2D X-CRM114-Status: GOOD ( 10.49 ) 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:1043 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 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 Reviewed-by: Kever Yang --- Changes for v2: - none 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 Tue Jul 21 15:24:38 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 11675895 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 564EB159A for ; Tue, 21 Jul 2020 15:25: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 2F7F8206E3 for ; Tue, 21 Jul 2020 15:25: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="Od2FlLZk"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="vqQf8Bm4"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="i2CmEJaf" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2F7F8206E3 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=y93Xfh4a0h2o3Ug96TMYq6CQbcf7aAFLa/wCq2zIOkk=; b=Od2FlLZkt+FdSOwcnLx7DKRg9 pxR/J6rekqy5QTShUCvXkTX2PofqZRJBKJ9hUpjlJ9e23vrywwFYbj99eh6G0/XnOTJvCF0Ehk8Z8 6M+Uf8kUKEHz73A/D6r4mQQxgeqAst0NKTcNjauttykZWhcuOkqE+5m5bjgVXUyUdr/Hgmx3cwJRK PIPkU2oLIRdyvsMXlp+++yxgQectQqCwh9ef6lIm8L5OuGiTMsgmmhQzEdK8clTS0bke8T5rY+FwC w9HAXE+wLtdzOKVb8FYsVfsObniTUxma1t4NdystuYIZkWYOUYWkK/YI6Sn7vwebn9ZM/6YfVreI/ ntQMoksxA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxu96-0003zj-Sf; Tue, 21 Jul 2020 15:25:32 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxu93-0003x2-5M for linux-rockchip@merlin.infradead.org; Tue, 21 Jul 2020 15:25:29 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=WUEZCvXM6b4XdeRuAzykStbjmf+stosFsibv2H/fuuY=; b=vqQf8Bm4alVLcPCRJZ72DmHid2 SovFGHrdLcn2mTJsC6mo7pKTT9BVDDK4/aACTNo0lpm9C1P3EHgaZucQLpaHVMF9HaZ+7x8kkRi7S fS7IcJ+GcUxR1S7zoeLWeQlevNchbkdHLri6wuh43YXS7C1lM+cw7j86VDh2NBO71or3PS9sEBraE XZLVM7hLdiv9uoo8tOMmSCQfnu2Cc+kvO9vJrTADUYtFOG8A2QRY7NwvNNAX6rvC/yzx36nl0PcAV HwF7wFHGZTcc6H2i6pXI+0GcR2Jr5D/6OhD0im5N/p6xnHyigt/amjfwmjoeHTbhrh7VhpQ7ygGot 4wXi0PxQ==; Received: from mail-pj1-x1043.google.com ([2607:f8b0:4864:20::1043]) by casper.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxu8q-0003Xf-Mo for linux-rockchip@lists.infradead.org; Tue, 21 Jul 2020 15:25:27 +0000 Received: by mail-pj1-x1043.google.com with SMTP id b92so1834552pjc.4 for ; Tue, 21 Jul 2020 08:25:14 -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=WUEZCvXM6b4XdeRuAzykStbjmf+stosFsibv2H/fuuY=; b=i2CmEJafkjo7J6e543mtWxuQ7BV8qptSKRdAPSOhWwC9o8oK3znpAsfeLTfqE1yeeX 38sqTWa9U7LBwYeK3UyV8aCLOb6dKfJ7bUHWIzEZ0y4nxSCOo09HqVKnooasHXXKJZjo biqmc7zlm2ttxUXez7ZOa2DkvmOCBwPdq+Yc8= 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=WUEZCvXM6b4XdeRuAzykStbjmf+stosFsibv2H/fuuY=; b=Xbgf5lyOOcztDDGP03REvsxsmHjP36+IPcgBe5bnyOMC8N1sI8g+TJ4jAzjHIs1Gms CG4sNWnKT7Ys3ahPAzQzfudWO27ZFl0FlKpt91BpbhfBzmL1qA4JCSMUENINkbmfj6A9 YdZSRIMNSFFo7UAuaCG9RedsosFH2EUYXzqWWHKyUmcbElX/SxW4L8yHnp/jLfkO75bi YQbOwBwGRznzHcH/Hpoa3/oqZdSJskfPcTYCmM2stvRHoFSBC0pGYy+8/PIppXKVL90g XN31or1zRbOJNCKmJvX3iO53xQa2KysAtk0uO7vMzy3Pldd35zdnP+jcm7D8LmgaChgi BNYQ== X-Gm-Message-State: AOAM5327hQTeIPlTPIgF+2iVspJE2hZS8Rm3mXNeP0jqDos44sX/EIXE XrxMbhvzPg67RnVgOYWn7+/KnA== X-Google-Smtp-Source: ABdhPJx4Bg3JtxNouo1x47vGUJNyouFyGpDCtfHILG0yrhT5dnCdzjLHMioRxasG1w5ykL6SUdP0tw== X-Received: by 2002:a17:90a:ee95:: with SMTP id i21mr5543937pjz.77.1595345112809; Tue, 21 Jul 2020 08:25:12 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:3df7:ef76:b2b5:fa14]) by smtp.gmail.com with ESMTPSA id h131sm2876838pfe.138.2020.07.21.08.25.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Jul 2020 08:25:12 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Subject: [PATCH v2 04/12] ARM: dts: rockchip: Add USB for RockPI N8/N10 Date: Tue, 21 Jul 2020 20:54:38 +0530 Message-Id: <20200721152443.37602-5-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200721152443.37602-1-jagan@amarulasolutions.com> References: <20200721152443.37602-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200721_162518_501297_20079EA8 X-CRM114-Status: GOOD ( 13.83 ) X-Spam-Score: -2.1 (--) X-Spam-Report: SpamAssassin version 3.4.4 on casper.infradead.org summary: Content analysis details: (-2.1 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:1043 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's 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 Reviewed-by: Kever Yang --- Changes for v2: - none 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 Tue Jul 21 15:24:39 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 11675893 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 3E77013A4 for ; Tue, 21 Jul 2020 15:25:29 +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 0DE5D206E3 for ; Tue, 21 Jul 2020 15:25: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="QUa3JAHW"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="PdTyXb7C" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0DE5D206E3 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=WWtwvwug6DApEW3l59kkqhdp9d0zWmMPio9AJAuWi+w=; b=QUa3JAHWpqEYdvaj5keXr0Gq4 Z7DIPw59zBiKVWifV4G4KKV0j0y6w4kdgc9TkNMq8tovJ/NPOcy4Ghs0l4sR1Nsd3vVJ+scpshrO9 rp1Cd+B+dQjOKKIh/AS7EpSrf45qX2rEHwlEalkSWQHYzYrG7H6XYiDgmmyCWXkpuHelMrwlqDmU0 kg3GHMme+E95QrJoqIsK4C2N+/RZAsW3mqGz3kXC9WNmVdL1kxE8AbVDG0affEN6zjLzeJwfwuc+q Z3LmZQcg+7whR9FN10CmHVlcN4zChhlYZ7op0N2pAU0fHWsG/rYaSPnb8owYdAxzR26+AkIcCngP8 Va0ixisFw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxu91-0003wP-QI; Tue, 21 Jul 2020 15:25:27 +0000 Received: from mail-pg1-x529.google.com ([2607:f8b0:4864:20::529]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxu8s-0003rs-PA for linux-rockchip@lists.infradead.org; Tue, 21 Jul 2020 15:25:26 +0000 Received: by mail-pg1-x529.google.com with SMTP id t6so12107316pgq.1 for ; Tue, 21 Jul 2020 08:25: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=joy8u2NBkiROyFgip1Mi9O/zzQHfEAvXPZjqI1TN2ac=; b=PdTyXb7CRyxueH52qAjuAiiBdiKmce6udTMtXeWwWvXyJeXFfNECdHhnXnUj3SXjUN 1hOHtT4nTEKniL/iAKIwQEMQdsOlVFqmZeDPiLfeNl07X2xvSdRLchKuDkZAqUtPbbTF aPm/Ps5iTJXw2Wc2HjMiIVGC/swnknfFp3FpE= 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=joy8u2NBkiROyFgip1Mi9O/zzQHfEAvXPZjqI1TN2ac=; b=bzwUToV1nG56s7/2Zu3ui0J5KoHtX5ZRdqfgZ4T/k45DMrRrn6YDAayVQjePZSd3Ug QR2KdGjDfPnc9hahvYgt7SbUusD91Ekwb8o9QQDu1jYzevj4m8PV9mwcVpCkVstBGCw8 pzwx624OkmkSeUUjEIm8SI/Prj1+lVE+d73JJDzflvH6/0lQXQxrSM95lgNrB/eSR7Ir OVyQi2jUzL7WGMVwQ432Ksr3+0k6/f3IkBoi+VZHk6BgyPYxXdBc+rBQvQGlxfunbi5n 3MXGoKnVkgXVFHr+Y84pXUPBYpra/yGAccUiqXF/gsSLlQ5AbFb6jME3jGBXYOcfEJqp oz7Q== X-Gm-Message-State: AOAM530o56kv6+gLS4VVNfevYWCm3u4eNxtPVHvSXukVYQyCeKQDLZRU j9VDvhmuCnefD+UXzpuwOOQyLA== X-Google-Smtp-Source: ABdhPJxdY/fLn1A16E5o7PG70lpmUaJdukmyfghtFVK8h2MLq4XC+ZkHT43y/sB8de8b5QZUldqFCg== X-Received: by 2002:aa7:8818:: with SMTP id c24mr25411688pfo.68.1595345116420; Tue, 21 Jul 2020 08:25:16 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:3df7:ef76:b2b5:fa14]) by smtp.gmail.com with ESMTPSA id h131sm2876838pfe.138.2020.07.21.08.25.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Jul 2020 08:25:15 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Subject: [PATCH v2 05/12] arm: dts: rockchip: Add HDMI out for RockPI N8/N10 Date: Tue, 21 Jul 2020 20:54:39 +0530 Message-Id: <20200721152443.37602-6-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200721152443.37602-1-jagan@amarulasolutions.com> References: <20200721152443.37602-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200721_112518_867532_03456090 X-CRM114-Status: UNSURE ( 9.08 ) 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:529 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 Reviewed-by: Kever Yang --- Changes for v2: - none 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 Tue Jul 21 15:24:40 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 11675897 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 0AF3D13B1 for ; Tue, 21 Jul 2020 15:25:38 +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 D1E84206E3 for ; Tue, 21 Jul 2020 15:25:37 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="WQTHl0q4"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="hl+USTDx" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D1E84206E3 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=3b6gLWOWtmrrWkfOWawRVuPvcpiIGrbkXHE9LeZCkC8=; b=WQTHl0q4WtIlifDH8zny07wk9 i9BLH6bt8nd5tEUBHKfrymgL/fOcQwwIk8dssCmFmklszdK2LNQTehuQy1yKoOhI5y6DpkE8GDJF9 W6UtTHLFgEGoTaAwf2RbhWo84i/0QE4CrHW+1MqRcz5TzdGe8uBKIq/WZgpjJfCrmtZ6DPVBuytXb RZFq7ZAEJmt2mshQsbkvn5/Sl+DWb6LnCPMd4HYRIzA2FMJ2P8h+AiQEevcI1PEiTkS9eJeB8url3 DbUj6Efq417awFAYyeeD+lx/TbdURls1/K+bjylD2SFODDsb8tJdE17TeR4olFoIgGFqg90H97iQ7 P21h1QsQg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxu9A-000412-Iw; Tue, 21 Jul 2020 15:25:36 +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 1jxu8x-0003to-CR for linux-rockchip@lists.infradead.org; Tue, 21 Jul 2020 15:25:28 +0000 Received: by mail-pf1-x444.google.com with SMTP id q17so10875364pfu.8 for ; Tue, 21 Jul 2020 08:25: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=zKhxh2lgPaF4LV5PcwNy8PqcpiHuC77A0XY9JcDjdz4=; b=hl+USTDx/75Y+ez61lCIObMo3zpQcXSsrryqTBgCSfjpwAp2ufa+2B5b8ICF97Czqm u0X4hL0Cbyk/4HccBqvKE8S4D9/NXvCZXb+Aercwix1BcD/mP8hRVpe6V6MbUPaq2f4f 1KpZa2UTJekVd4V8E+SIFwCPHDpSNo6rf3QkQ= 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=zKhxh2lgPaF4LV5PcwNy8PqcpiHuC77A0XY9JcDjdz4=; b=W1HZBxBZCQbEswRjM+FG2EwPa5ZpRJUFVI+Ru/kKKTqhphG4Dk22PPo0sT14kXtSpe OyeCcMhzrPl7PdZ18zOD8KukLOYqbDZketeeBEsQNVB0taqXQltb1sWyHdAlZyva89sB fAUfWgD8FMYvpeQaGkkLKhTbk2M9BRDASN5vXteIu5rRCCqlDdTweLbbkdxvhwBAwaCO 4NMOLB4GE/277dIUKv5ydS0cWOq37s47ayMquLYAvQwmECyPS+jyzT9mG6lMM6XUPPmD DzveePhMSp/eNqcP2Rt0wOpTnGxnPQRfPVAsxtk2V5P1vjbHqf9eMLhT1KKWveJkD/vv STzQ== X-Gm-Message-State: AOAM531ue8AYrgDFwFm15osb/lQE+TwpWYOqgbtSRqTpPYiEw0JM4Grd jxX/VoT1ApfLrs63iraCHnd6BA== X-Google-Smtp-Source: ABdhPJxyFn9ioPgv4rh3+xZSYtEb7S2BhOF7rziu7Ka8DxuZJGG3irD4TlB644aSPGNfAjrQPzG4IQ== X-Received: by 2002:a65:640c:: with SMTP id a12mr23070683pgv.88.1595345121200; Tue, 21 Jul 2020 08:25:21 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:3df7:ef76:b2b5:fa14]) by smtp.gmail.com with ESMTPSA id h131sm2876838pfe.138.2020.07.21.08.25.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Jul 2020 08:25:20 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Subject: [PATCH v2 06/12] arm64: dts: rockchip: Add PCIe for RockPI N10 Date: Tue, 21 Jul 2020 20:54:40 +0530 Message-Id: <20200721152443.37602-7-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200721152443.37602-1-jagan@amarulasolutions.com> References: <20200721152443.37602-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200721_112523_593064_DB6525F5 X-CRM114-Status: GOOD ( 10.78 ) 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 This patch adds support to enable PCIe for RockPI N10. Signed-off-by: Jagan Teki Reviewed-by: Kever Yang --- Changes for v2: - none 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 Tue Jul 21 15:24:41 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 11675899 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 712E413A4 for ; Tue, 21 Jul 2020 15:25:40 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 45250206E3 for ; Tue, 21 Jul 2020 15:25:40 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="tyZiHSc1"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="ersC/y5d" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 45250206E3 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=TZ4DWjb4Ujg3tMpNYU57wI4Pl0AtlqJJ1u4CZJ048jo=; b=tyZiHSc1CP5N9vK4oIGamPXvI zkHdLulxDX/BAzPcFXtOd8iKIhTLVRbrbM46CWgHFA4DCEcH4RZTa0CV+ONvIo+0DSF0KeHPZh2HT 84sDgezmUxts8BOhVRe/d9e7P/oR7WgrkkvFNVVjxyjQIS36emUmt5CHzk2J5Gz051aYYdqP4IQ7i O40Zgn1md2SHomSvYlFzx/xPiXPiQtbn1mhoej0JuaV35NBHQBl9CL3VFP6zDNMSBSqzW4MwE8XlS T/FQNMeDP8C1W1uNLfQfCyiX9UNF5Rh72LVBtibMDGhYIDDJy9uPyyVtxkHekY2S6B85DHEO8FZCK 2JAmoVsCQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxu9C-00042B-VO; Tue, 21 Jul 2020 15:25:39 +0000 Received: from mail-pj1-x1043.google.com ([2607:f8b0:4864:20::1043]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxu90-0003vZ-V3 for linux-rockchip@lists.infradead.org; Tue, 21 Jul 2020 15:25:32 +0000 Received: by mail-pj1-x1043.google.com with SMTP id o22so1845631pjw.2 for ; Tue, 21 Jul 2020 08:25:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=1V56pGQIniVrqgXDO83frWIINZCfp55+8rNGiY8vi0I=; b=ersC/y5dguWGIJKDwzP0qk2hTC6B3mbpbQjIXKcJtooysJoSXL2RLlA0BPszEhSXvf ZfxJ3ra1bG+JvmCw8320tJXldjYxBOCs1jgrRm//bxCcB5/8DPXlquYk8edBEPAP8dca KI500x3wKkIUxs1Ne8ckWK5Vs0Is/7dQraN7w= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=1V56pGQIniVrqgXDO83frWIINZCfp55+8rNGiY8vi0I=; b=DK8A6sfuTDwqHvL2GoQm/HeNdy1Xc7rXtZFf8c0yFcT0yxFf5HN9l+v0UFZYPz+J0y AZOiqynjqENUdZI9/1GgX+dh8bXIT5j3mdB5234AiOWa5m6Q/VS++JOTws5Qhfkcj4UE VSvSXbOu8mM2XUp1iZ8KPt2SjL6kN8gjqsQ1bRNVLblP9OFaYGwXj1h3mwlHwX0zHAfY I7NtzowxldgIi29KXDEjLB4OA4Yekr7hIFAsbRmFtlzusYCEsWBqSXP1se6JtrQFlOhG KnqRu8fa6IpOLK9aClmAV7Cd4Mogiu1m2CLZsSyC3xawuVvQM61YTiO5e7yNVAk8DbZD DMPg== X-Gm-Message-State: AOAM533hdc7Bocx7Q1PBp/JjhTVn/k55EMcyCsT+igIjFz1qrQvaXvIB 3c8KI229/+4TwiMHAqCCZR4Hgg== X-Google-Smtp-Source: ABdhPJx33HAAtdHgOXWT66lv3DMZTDUjfAKqSSCuWVMR0Rta7RDduxd0OOiDEBohVh0JZZkyC7SKog== X-Received: by 2002:a17:902:e993:: with SMTP id f19mr22865189plb.305.1595345125181; Tue, 21 Jul 2020 08:25:25 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:3df7:ef76:b2b5:fa14]) by smtp.gmail.com with ESMTPSA id h131sm2876838pfe.138.2020.07.21.08.25.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Jul 2020 08:25:24 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Subject: [PATCH v2 07/12] rockchip: rock-pi-n10: Enable on board devices Date: Tue, 21 Jul 2020 20:54:41 +0530 Message-Id: <20200721152443.37602-8-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200721152443.37602-1-jagan@amarulasolutions.com> References: <20200721152443.37602-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200721_112527_055208_A75C1E14 X-CRM114-Status: UNSURE ( 8.47 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.6 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (0.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:1043 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.8 UPPERCASE_50_75 message body is 50-75% uppercase X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: U-Boot-Denx , linux-rockchip@lists.infradead.org, linux-amarula , Jagan Teki , Suniel Mahesh Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org From: Suniel Mahesh Enable common on board devices for ROCKPi N10. - USB 2.0 Host - USB 3.0 Host - USB 3.0 Gadget - HDMI Out Signed-off-by: Suniel Mahesh Signed-off-by: Jagan Teki Reviewed-by: Kever Yang --- Changes for v2: - squash common device enablement configs/rock-pi-n10-rk3399pro_defconfig | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/configs/rock-pi-n10-rk3399pro_defconfig b/configs/rock-pi-n10-rk3399pro_defconfig index c705ce01ce..895820fbe6 100644 --- a/configs/rock-pi-n10-rk3399pro_defconfig +++ b/configs/rock-pi-n10-rk3399pro_defconfig @@ -9,6 +9,8 @@ CONFIG_NR_DRAM_BANKS=1 CONFIG_DEBUG_UART_BASE=0xFF1A0000 CONFIG_DEBUG_UART_CLOCK=24000000 CONFIG_DEBUG_UART=y +# CONFIG_ANDROID_BOOT_IMAGE is not set +# CONFIG_CONSOLE_MUX is not set CONFIG_DEFAULT_FDT_FILE="rockchip/rk3399pro-rock-pi-n10.dtb" CONFIG_MISC_INIT_R=y CONFIG_DISPLAY_BOARDINFO_LATE=y @@ -19,6 +21,7 @@ CONFIG_TPL=y CONFIG_CMD_BOOTZ=y CONFIG_CMD_GPT=y CONFIG_CMD_MMC=y +CONFIG_CMD_USB=y # CONFIG_CMD_SETEXPR is not set CONFIG_CMD_TIME=y CONFIG_SPL_OF_CONTROL=y @@ -36,11 +39,29 @@ CONFIG_MMC_SDHCI_ROCKCHIP=y CONFIG_DM_ETH=y CONFIG_ETH_DESIGNWARE=y CONFIG_GMAC_ROCKCHIP=y +CONFIG_PHY_ROCKCHIP_INNO_USB2=y +CONFIG_PHY_ROCKCHIP_TYPEC=y CONFIG_PMIC_RK8XX=y CONFIG_REGULATOR_PWM=y CONFIG_REGULATOR_RK8XX=y CONFIG_PWM_ROCKCHIP=y +CONFIG_DM_RESET=y CONFIG_BAUDRATE=1500000 CONFIG_DEBUG_UART_SHIFT=2 CONFIG_SYSRESET=y +CONFIG_USB=y +CONFIG_USB_XHCI_HCD=y +CONFIG_USB_XHCI_DWC3=y +CONFIG_USB_EHCI_HCD=y +CONFIG_USB_EHCI_GENERIC=y +CONFIG_USB_DWC3=y +CONFIG_USB_DWC3_GENERIC=y +CONFIG_ROCKCHIP_USB2_PHY=y +CONFIG_USB_KEYBOARD=y +# CONFIG_USB_KEYBOARD_FN_KEYS is not set +CONFIG_USB_GADGET=y +CONFIG_DM_VIDEO=y +CONFIG_DISPLAY=y +CONFIG_VIDEO_ROCKCHIP=y +CONFIG_DISPLAY_ROCKCHIP_HDMI=y CONFIG_ERRNO_STR=y From patchwork Tue Jul 21 15:24:42 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 11675901 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 0D7D213B1 for ; Tue, 21 Jul 2020 15:25:50 +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 D4A89206E3 for ; Tue, 21 Jul 2020 15:25:49 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="lKIYJo33"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="WKnHVVrg" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D4A89206E3 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=PQYNrjZE+gM69Pg2o6aq0brMBJba47eQeuASn8+LAQo=; b=lKIYJo33wBjExh076Q/CiKSFJ oUX1rr7W8QUkQuSRneDZO6sdBlxDrio+hMzmKKXe25BXQMb7LP2gfDfwv8rz742csWTgXyYrMc3pT ohzmtlI5zGD04sZ6JBP4O7W9N/XmHll4JBpuauunpftVEaUd++ZBcKa7gKVzSIHKXZWg/UNbX4F+V h2qnln7kDWaSyjdJMF1hJeZxHia/9h3/x+GzdE9k66CTrVOHd6Sl4WthvyaNZxwB9bIWL4taGe6ca 9DIf1rBXLabh8jSP/PyKsm8X1CKejDXpsMnQpQ3TSAXL0obHdRU2S+z8p9z3dBewdO8ERfO/bAXRe sa3JPrq5w==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxu9L-00046n-BQ; Tue, 21 Jul 2020 15:25:47 +0000 Received: from mail-pj1-x1041.google.com ([2607:f8b0:4864:20::1041]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxu96-0003y9-4b for linux-rockchip@lists.infradead.org; Tue, 21 Jul 2020 15:25:45 +0000 Received: by mail-pj1-x1041.google.com with SMTP id k1so1731868pjt.5 for ; Tue, 21 Jul 2020 08:25:31 -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=fY0EDuJJMJnieQ5B2JBjD++2/rUpU97pXNIXkIR52r8=; b=WKnHVVrgYCdUxNGWRqoK/dwSaszcg04C/LQy4TxjqHX9nHXIkBB1SeBdEG49sj2ocs fDP4OtaZ4/u2LnHt2E+9oo+Ll1/WMqmEJ1YD9+Z5q0r4H2Hr9F8kpan5BuPbtA0Xqukh IcOefBXCb43sWsQMh2Jd9TW4cmpdKHB2iCGIY= 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=fY0EDuJJMJnieQ5B2JBjD++2/rUpU97pXNIXkIR52r8=; b=J7uckRdbCToevtdBLdMszXkKj5jfEQACRyHCyA9e4xKZkqZNP/7xXSLbpkrOjUOdOh Cg4Di1Jo9V7SxYcWnfRm8LXfugQf4Xlqnm8mRNGz9bgZTk7MudAKYyHxPHY9NGLFqgvR Dlj/lQtmZ6s+/L6o+C0L5Oi2V76DTuezVAFV3AQVF9ZbMWe6XqNV52tnVnMKpK/FzRTF rU6i2K+WAizwtTS8uoz46g82qg59kCJRoiqpXNshcA8Yn6vq6E5HBCSQvA74NRZrA/q/ nBmBC4bRPg88JVFYZ2uoOz+s4rvCMpzQzX9C18OWkVP7qiaZza6D80/p3G2RNoUA0hSM zRCA== X-Gm-Message-State: AOAM533crxr5GLIjz2AjQE/ldm85bOjtPUSApLqGjtC2Uwb8xl0o6l+y rqsF5P7iNDU9Hgc2+a7P0Sks2g== X-Google-Smtp-Source: ABdhPJy8HYuR7B+snn3bHbIceALjxZgICjUGnWy0oRfFw+K3OjypImB7VhizV6l0OevN+h/WIcjaww== X-Received: by 2002:a17:902:6b8c:: with SMTP id p12mr23453859plk.192.1595345129672; Tue, 21 Jul 2020 08:25:29 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:3df7:ef76:b2b5:fa14]) by smtp.gmail.com with ESMTPSA id h131sm2876838pfe.138.2020.07.21.08.25.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Jul 2020 08:25:29 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Subject: [PATCH v2 08/12] rockchip: evb_rk3288: Add console settings Date: Tue, 21 Jul 2020 20:54:42 +0530 Message-Id: <20200721152443.37602-9-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200721152443.37602-1-jagan@amarulasolutions.com> References: <20200721152443.37602-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200721_112532_340026_CDBFC1E1 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:1041 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 Add console settings like stdin, stdout and stderr as usbkbd and vidconsole respectively for evb-rk3288 targets. This would certainly help to detect the attached video devices (like HDMI) and print the console messages on display. Signed-off-by: Suniel Mahesh Signed-off-by: Jagan Teki Reviewed-by: Kever Yang --- Changes for v2: - update commit messaage 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 Tue Jul 21 15:24:43 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 11675903 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 81FDF13A4 for ; Tue, 21 Jul 2020 15:25:55 +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 5AB51206E3 for ; Tue, 21 Jul 2020 15:25:55 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="wnaL9VKO"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="pAIKcCUK"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="rGzPgsOC" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5AB51206E3 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=5Xhty+sZeRbUCxOkuPZS8hH9fqmwFLqHDMmfHFWLoWs=; b=wnaL9VKODvfPBDFM3JOvkVNgL ixuBtqUveq3ljE1iEmw7CS1G8F0xuAaiL4HzLAtD7xAtNZ6W9xSYAbHukxpR5sNMrc0crgTQn0czh QMUutxyEmDQL1uxkymQozeralpdlal+y4TIE47kFE87WtkdEh21aREafC1nhhWzeDZePempIZrLr4 XBVb63sAAdqxQuRFkJUWDqHsdfVnlhqKfe8K0JbtFCYyJPwksQAq20IBxHr4Mt2FVqBzKuGqUYbh5 NH15vY08ZmZC2Ji9EgHb94Jg95n5wlnY4rc3JMoulHVaqX9HIrRk8LTZ5BLf8SnfdSP/bVfWZYoj4 YXiWD4Qgw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxu9R-0004A6-T6; Tue, 21 Jul 2020 15:25:53 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxu9P-00048k-UR for linux-rockchip@merlin.infradead.org; Tue, 21 Jul 2020 15:25:51 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=W7AdWOFp3xgLd1BPtduxrVIAjwvzB6JQCI9Mmp0mGkY=; b=pAIKcCUKovc94YFQRsHAUKFYAf yNE638VDPf+f91w3Rw+yx1Z4WJgrduoMy8UFe/XJlJ2OmPaWNPCOgLrQCHH+tdM9EUSYw7bd/TumC 9uIHUg88CnM5tc38pZDfNVNPDPskwZ9rAKBJtP+YXpsNWC9YBSiG3ulFpv+aLxMiB5pkciK6K6srv 5WLQw7a70zDvP5v8dhQazDwK88eUr2jJMVQCvnYZHJawCncLAyGAWZdOrPxEOFowIox/E4OL0t1OK iEFpqMqYegqL4BxDBr5hqEAj1w4tBKRlP7UBRl2oampnvX3OidehYIkz4iTC9SskObCscE7unJBX/ ugHqNdKw==; Received: from mail-pg1-x543.google.com ([2607:f8b0:4864:20::543]) by casper.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxu9C-0003Zx-6c for linux-rockchip@lists.infradead.org; Tue, 21 Jul 2020 15:25:50 +0000 Received: by mail-pg1-x543.google.com with SMTP id t6so12107717pgq.1 for ; Tue, 21 Jul 2020 08:25:37 -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=W7AdWOFp3xgLd1BPtduxrVIAjwvzB6JQCI9Mmp0mGkY=; b=rGzPgsOCt5nTnPVrs5+nk45PsQyFHZSWnR4SmTsI2ks63bz800SBw7bDo5fViRALYD jtWYkNsdBO1hnGtIjgkY/lyrxcbHIurTYw1KzKloz1pG2TT7XPIV+gMLs7C6+Fqn2jCX 7CwFpcLGvGc1CMGSONF9EcQ5dM0CcwCG5kJms= 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=W7AdWOFp3xgLd1BPtduxrVIAjwvzB6JQCI9Mmp0mGkY=; b=se89abxl+7SnQqmXtwo48ggb7gv803NoImjImo3DNhi/UbE/tDhvqHVxN5qWgxbhxl 9oSouRo+oT3o1Odq0yFAFOYG7+YCOLwa0bizbvVIyv9xLcHujJwJjOuDO1p6w1eozOgp M8v8kBbEehPQUexPt6sTLY7idX8AXdl/JGEPxU/MPzL+KlhgOjH7LgqB0XZF8GgUXg8o BrW9T3G/QUVXj6BXkgkZ/bLB2Tar6pVgitkG/iggg1byUOFecg8SlKPUdXvrCLL3snKt QIsC5GjoHEzEq9Uo9pWa686XSUIwOqpdkgsnrbk1w4DeCeP7B0Ymq0gyLZ3LNSoGtouf 0qeQ== X-Gm-Message-State: AOAM532jzx6hKdaF3CWy4Swr320p6eRzzoHFB3P60zcXABmi9U47ENCb aBcXwzyfhNta+hEQOHux2555yA== X-Google-Smtp-Source: ABdhPJzDYZuYqFZaVuA8RxY6qrujstA3Ig/2aj5p5kEb7wYNPylsKNiJUvr9OMyF6Nd3A76Z54XDwQ== X-Received: by 2002:a63:3cc:: with SMTP id 195mr22202344pgd.296.1595345134559; Tue, 21 Jul 2020 08:25:34 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:3df7:ef76:b2b5:fa14]) by smtp.gmail.com with ESMTPSA id h131sm2876838pfe.138.2020.07.21.08.25.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Jul 2020 08:25:33 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Subject: [PATCH v2 09/12] rockchip: rock-pi-n8: Enable on board devices Date: Tue, 21 Jul 2020 20:54:43 +0530 Message-Id: <20200721152443.37602-10-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200721152443.37602-1-jagan@amarulasolutions.com> References: <20200721152443.37602-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200721_162539_931990_5829E6E0 X-CRM114-Status: UNSURE ( 9.71 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.1 (--) X-Spam-Report: SpamAssassin version 3.4.4 on casper.infradead.org summary: Content analysis details: (-2.1 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:543 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_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.0 UPPERCASE_50_75 message body is 50-75% uppercase X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: U-Boot-Denx , linux-rockchip@lists.infradead.org, linux-amarula , Jagan Teki , Suniel Mahesh Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org From: Suniel Mahesh Enable common on board devices for ROCKPi N8. - USB 2.0 Host - USB 2.0 OTG/Gadget - HDMI Out Signed-off-by: Suniel Mahesh Signed-off-by: Jagan Teki Reviewed-by: Kever Yang --- Changes for v2: - squash common device enablement configs/rock-pi-n8-rk3288_defconfig | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/configs/rock-pi-n8-rk3288_defconfig b/configs/rock-pi-n8-rk3288_defconfig index 6b31e19eda..d218852d79 100644 --- a/configs/rock-pi-n8-rk3288_defconfig +++ b/configs/rock-pi-n8-rk3288_defconfig @@ -11,8 +11,10 @@ CONFIG_NR_DRAM_BANKS=1 CONFIG_DEBUG_UART_BASE=0xff690000 CONFIG_DEBUG_UART_CLOCK=24000000 CONFIG_DEBUG_UART=y +# CONFIG_ANDROID_BOOT_IMAGE is not set CONFIG_USE_PREBOOT=y CONFIG_SILENT_CONSOLE=y +# CONFIG_CONSOLE_MUX is not set CONFIG_DEFAULT_FDT_FILE="rk3288-rock-pi-n8.dtb" CONFIG_DISPLAY_BOARDINFO_LATE=y CONFIG_SPL_STACK_R=y @@ -22,6 +24,7 @@ CONFIG_CMD_GPIO=y CONFIG_CMD_GPT=y CONFIG_CMD_I2C=y CONFIG_CMD_MMC=y +CONFIG_CMD_USB=y # CONFIG_CMD_SETEXPR is not set CONFIG_CMD_CACHE=y CONFIG_CMD_TIME=y @@ -63,4 +66,17 @@ CONFIG_RAM=y CONFIG_SPL_RAM=y CONFIG_DEBUG_UART_SHIFT=2 CONFIG_SYSRESET=y +CONFIG_USB=y +CONFIG_USB_EHCI_HCD=y +CONFIG_USB_EHCI_GENERIC=y +CONFIG_USB_DWC2=y +CONFIG_ROCKCHIP_USB2_PHY=y +CONFIG_USB_KEYBOARD=y +# CONFIG_USB_KEYBOARD_FN_KEYS is not set +CONFIG_USB_GADGET=y +CONFIG_USB_GADGET_DWC2_OTG=y +CONFIG_DM_VIDEO=y +CONFIG_DISPLAY=y +CONFIG_VIDEO_ROCKCHIP=y +CONFIG_DISPLAY_ROCKCHIP_HDMI=y CONFIG_ERRNO_STR=y From patchwork Tue Jul 21 15:28: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: 11675909 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 AA3F413B1 for ; Tue, 21 Jul 2020 15:28: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 83C5A206E9 for ; Tue, 21 Jul 2020 15:28: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="FycfgYgj"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="kVZmHnSO" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 83C5A206E9 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: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:In-Reply-To:References:List-Owner; bh=4As5wqx8Rrp6zPakJswNMTFSg3iVzaVF8KkSGqGt1K8=; b=FycfgYgjUq4Nb+U5d65xWVgoWq vWFOFI84avlcvw7I6tMGb1enLHSMDMQur+6M9xqCglfPe45B90zWiUYYri3VJS2t9t+boemdqMcgo 7UDXKY/NWSpxrSort1GCGYT8PT+2wtbxcf0nja1GhOg/GLrWXa1b0u0lstrnjU6iI8Gbrz9yDQJ5t kMAro+LLKhnooWpNQ04N/SJZAP0yKjtjYUUQWziA0Q7eSeTQag7Eg0ZHyhbiV/OAsIil0zzHZANmg r/5/Y/h+j7A7Va0ENOnE2uz7YjwANvQPOjO0lLX8QgOKeFXGufjoym1RiJ2BpCBpI2H6hrs+2Hjkg V2qqzFww==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxuBt-0004r4-LL; Tue, 21 Jul 2020 15:28:25 +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 1jxuBr-0004qj-Bc for linux-rockchip@lists.infradead.org; Tue, 21 Jul 2020 15:28:24 +0000 Received: by mail-pl1-x62c.google.com with SMTP id k4so10403002pld.12 for ; Tue, 21 Jul 2020 08:28: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:mime-version :content-transfer-encoding; bh=5p+LpYjpWYoxJJ2Uq6mYtslV5U/FikmCC8Ynogxz4r4=; b=kVZmHnSOowlArlp2x6mKXica3pwF+c9DGeLZ+EYRohHoFfHpBVAENyPUmoix9BXD7d 10F0S+PQJWyGGRAKRVvgAcf/moefIST9Erw3pH0cXxXVcUWWUTUvsa9q4EBxspzTpDQT LucVNXPTem3refyQTyEE/4tr4tarXW1IH2XE8= 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:mime-version :content-transfer-encoding; bh=5p+LpYjpWYoxJJ2Uq6mYtslV5U/FikmCC8Ynogxz4r4=; b=mffXFzrxzX/QuwcBwivBLFWPC5bOkzNu2UNFuXukIy8+f4dbiayb4asHFQ8qmVbFO+ 4a/VIz9OBXcTsRmK6o31VVMbQ3ocA23L7tz/2orAssK/J9J7qjpDshqeSVGrZtkbJr83 dB9R4CjeIf8pwwgH8w/F8zBvC8Alth1DH3HbLw9wZJVJ3274LHxD+2B8nXAHaAY1IRex nX2Cza1hfDGo/XxxdordKA6SQHsY47sF/8CEQd3cKLV1TFydES+pyQlN8a6J7WYFX/Sp xcIUSMKCwCW2VWoh59DzgGE/2iN91QsKunC7On+8VvfJ2JQcT8239HCeVzqEWa3/Lyk2 qtng== X-Gm-Message-State: AOAM533fRk3uxm8cdv5n7q7fot/4Im7mBeBliFhKARn9q32wxmvXXLBp Z8vrdTBNUuozts7NSNcT+kt+SQ== X-Google-Smtp-Source: ABdhPJxiZcwVLws9Y8fkQMZNZcAajZ9rYQGyhfZ5ijJDoQJuDv97NliBPynRcVxiu7JUifBxQbaGfQ== X-Received: by 2002:a17:902:6bca:: with SMTP id m10mr22883684plt.210.1595345301137; Tue, 21 Jul 2020 08:28:21 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:3df7:ef76:b2b5:fa14]) by smtp.gmail.com with ESMTPSA id n63sm21059584pfd.209.2020.07.21.08.28.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Jul 2020 08:28:20 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Subject: [PATCH v2 10/12] rockchip: rock-pi-n10: Enable PCI/NVME Date: Tue, 21 Jul 2020 20:58:07 +0530 Message-Id: <20200721152809.37927-1-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200721_112823_395669_9B0998D5 X-CRM114-Status: UNSURE ( 7.54 ) 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: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 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 Reviewed-by: Kever Yang --- Changes for v2: - none 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 Tue Jul 21 15:28: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: 11675911 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 CDB2C13B1 for ; Tue, 21 Jul 2020 15:28: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 A7F79206E9 for ; Tue, 21 Jul 2020 15:28:30 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="kxn7E6JV"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="kXv/jL+R" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A7F79206E9 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=tuz6HYNky0W0x1pjN1cn4C4onEgG7uHfXJZ1eItl9h0=; b=kxn7E6JVlGbth4ar9UVj7UMLG f1O0nQNAenVJBxF89770ySKEinz4QBlsxsy/ZxCYmf41d4L7qwcpLph/1iOj7mxGz/7d4fLJr6fwX D/X2RQnuvxYB3SnXV201snY19NK0JptvCW0vaskcO2U2C9xx7wugOHUq+Iw5F0N/y8gqZ04EGGHzp NQ5nEg1vlspn7i1R12iLXDIsrwSMbFFw0FJN1zvAECkzv9zDkv3FE7vHcRt1N+qyD4mKHFgUtaQ6X HtMClgNf4fYpCSq80gPkH2F8zrTL3OftHEcgS2RluVyYrhB0Bu4idUpPTmEI9lg/7zXaIV50mSRCe e1+aNd2Uw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxuBy-0004sC-2T; Tue, 21 Jul 2020 15:28:30 +0000 Received: from mail-pg1-x542.google.com ([2607:f8b0:4864:20::542]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxuBv-0004r5-50 for linux-rockchip@lists.infradead.org; Tue, 21 Jul 2020 15:28:27 +0000 Received: by mail-pg1-x542.google.com with SMTP id o13so12107676pgf.0 for ; Tue, 21 Jul 2020 08:28:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=obqZi5XhvDSQNvTOT31nNVpC/ASurCFKxwi8uRTguTU=; b=kXv/jL+RANOL58rgy0EqQl5x1pv3BNDZNkLLKOw/7KSP5Vrif6tzUjjE+TVMJMF37V 0WB3RwkXBqC6rFzqdm1CoX4DumxxnFYvOUapkSLw1VUnW/vGK49ZnANl5L0gbFhfHxYF XbYMJhmzJNTNagcN6tB4o5K6NQke6sfUyvwRE= 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=obqZi5XhvDSQNvTOT31nNVpC/ASurCFKxwi8uRTguTU=; b=IyYXWDRpjKTr6yLtGu8v+IrSHwRi4HtNMXIDgPmXci5HHVTUWZiiQc/ENgBAkGB0Pl 3qCGDWheKMIfqMb6RQUA+/uAfJmSIOGXTbGfDKQnoTtq50h1Fe0mnA5eELMEnZ1BjkQF 4eO0fdFiQsDuvMPyO21SfCWw+G2oWMiaFMmqujOr8DN2jt1sqQ0iX2YZbGikrAOu08Kp kRypSesUbWitkifX5EDB8oBqFBkfrzUcg97tr4Cfoq1iHCkrsx9hoZlQck5G96tbqZXq 3rNEOfCvFzkLg6QAr6E4FpH6N4R6W8FwIYpXh3OQUb737BBbX1TPFK6xv5zg2fU0Ek14 EAxw== X-Gm-Message-State: AOAM533n5BlbDXY1p5EhN3apwhZADatljIcsU2oR7V6XmnYe6m0oNge2 MFQexf6X8UW6Q4L39W0jr2S/Hg== X-Google-Smtp-Source: ABdhPJyzDcx9WzngVg485KjjvYyH6WUVhy9MUfMcxtJ+ZKQBDvoVTztHgOiqJPTrHuKmR/ZGRgjp4A== X-Received: by 2002:a65:620f:: with SMTP id d15mr22505916pgv.270.1595345304956; Tue, 21 Jul 2020 08:28:24 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:3df7:ef76:b2b5:fa14]) by smtp.gmail.com with ESMTPSA id n63sm21059584pfd.209.2020.07.21.08.28.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Jul 2020 08:28:24 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Subject: [PATCH v2 11/12] arm64: dts: rockchip: Add u-boot, spl-boot-order for ROCKPi N10 Date: Tue, 21 Jul 2020 20:58:08 +0530 Message-Id: <20200721152809.37927-2-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200721152809.37927-1-jagan@amarulasolutions.com> References: <20200721152809.37927-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200721_112827_223055_B6A5F98E X-CRM114-Status: UNSURE ( 8.77 ) 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:542 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 Reviewed-by: Kever Yang --- Changes for v2: - none 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 Tue Jul 21 15:28: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: 11675913 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 406EF13A4 for ; Tue, 21 Jul 2020 15:28:34 +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 1AFDA206E9 for ; Tue, 21 Jul 2020 15:28:34 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="u3HQ5za2"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="B/bFTb71" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1AFDA206E9 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=5NjAf28x7g8V2+wYGCmXj2YaEjbm6vpsm6G/Oc4mbw0=; b=u3HQ5za2PRZh11NN07rMM5HFN B3/2wwuKwA8oM5NEsASH2Bd6xQg0kSp+cLtNPwS4Zv2eFkDIFlwC1I/YuQ4DG4oyau6yALuNow4zW eW7vtY1GtmQO5vA3r7S92gnNcobuGau5l5E/duc3F24QE4Q03B88WQ9KH9q5tHE90hBbXksTLt/AA 6tOcDZc4a1l05zSJJBtiqIhGD8tW/qMLVHkED4cmZda4mGs9Fak8tDj4dToYWWwTMj5ufDIfvWIEE XlR1soG7ADn4B5d8qEB53tG+/yTD0e6BxuL20NvXMn4LXykk5LEbkSLm3Uy0EW6rvsGdqVhGd9K5J jMnBNxMLA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxuC1-0004tD-F3; Tue, 21 Jul 2020 15:28:33 +0000 Received: from mail-pf1-x434.google.com ([2607:f8b0:4864:20::434]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxuBz-0004sF-Qx for linux-rockchip@lists.infradead.org; Tue, 21 Jul 2020 15:28:32 +0000 Received: by mail-pf1-x434.google.com with SMTP id a24so10889596pfc.10 for ; Tue, 21 Jul 2020 08:28:31 -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=IO417sYOdkdj7twOQOk/DznLJZ1IuhJ6mYBs7P6CLDE=; b=B/bFTb719Ye/biBnVmU96s05Fp069eEBAJJ/F1sfW6AQ5VjhnLk2GpumTa0LTuOJch kcyPKrNttPMQGv8JtF+5tM7psC7C7vEM9SI0Y/ug307ylb7KGB6B7J2Tu1oWl2XVd3V/ jdm+LXFclneTQnJu02Xc/QhQkkphTaot7Sfwo= 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=IO417sYOdkdj7twOQOk/DznLJZ1IuhJ6mYBs7P6CLDE=; b=i+eNqu9PYGEZX3xO4d9eSphDHOof1yymSxk6ad1trZHWQDjx1TUoYVyBMTnfnrzsIO WcxTrZNczmDEmsJMHNyXOv6/2yZzlEv11dqftAv1bYI9PEAcH2NDqbeY4kLRK69SOptf vz3zob/61eiDlz/Mxo9t07T2UIvDYDiy+MgXNelcw1F2XM35/BSsqlsOO6CvPPgzm1d9 hRWYW+VAidGvW4vWEJW4EKUdEmqQUlEEarHlpYoFf1z+gpwBURVbIz0PBpP+4aUQo7dp 7TKzfzJWu0okZG4myT77EkLB5hAXUmLFTBOUm75x9UlZst/hv8A0Q1Bk+1notfcbvCbW 9Odg== X-Gm-Message-State: AOAM533ov40EXaJ7/KaEv+iW0LHibqgEG3ZP6ko9GJ/musg3zKQpnnIt r5Lm9mr4/ZQFZv6LA60SBYIX8g== X-Google-Smtp-Source: ABdhPJzx7AIvjl2n/1Pjmvn3YvW778RAl7gdEzV4C443oFw2ODgl4xG6E+ELP1zlff8YCK9fA8sZOg== X-Received: by 2002:aa7:91d3:: with SMTP id z19mr24049659pfa.119.1595345309568; Tue, 21 Jul 2020 08:28:29 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:3df7:ef76:b2b5:fa14]) by smtp.gmail.com with ESMTPSA id n63sm21059584pfd.209.2020.07.21.08.28.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Jul 2020 08:28:28 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Subject: [PATCH v2 12/12] rockchip: rock-p-n8/n10: Disable RAM_ROCKCHIP_DEBUG Date: Tue, 21 Jul 2020 20:58:09 +0530 Message-Id: <20200721152809.37927-3-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200721152809.37927-1-jagan@amarulasolutions.com> References: <20200721152809.37927-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200721_112831_887172_4AC9F939 X-CRM114-Status: UNSURE ( 8.76 ) 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:434 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 Reviewed-by: Kever Yang --- Changes for v2: - none 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