From patchwork Mon Jul 20 18:51:05 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1519 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pg1-f200.google.com (mail-pg1-f200.google.com [209.85.215.200]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 4C1A33F080 for ; Mon, 20 Jul 2020 20:52:03 +0200 (CEST) Received: by mail-pg1-f200.google.com with SMTP id n32sf14332970pgb.22 for ; Mon, 20 Jul 2020 11:52:03 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1595271121; cv=pass; d=google.com; s=arc-20160816; b=mnD4cL/K5+Lw8cCd3H/TkLRiuIa/W9kfT6+r1qX1iNrTAQNbxXFpzyjYX/ezZc6++P kGoMltkpZ9OPJrAkF1Y2n25IC3nmwSE0BU+Kk/kCblknSRuqeQoo/vbzHZ0LNQaseZgJ hBM1aGlG4PBPt2V5TpQV8S8XfghNeXK6xDvxqopBo0Ar85reGEns+D5Oz0dmLNYjBg5m C/thXFsSX0FRj6ub5GnxJCrD+dZBcDzsDX0BwEZxcNO5Bak437w8j5qEwQu0FNYLHWYu sv2wIeUaiC2tnSA7XbgoIs0QO4XQc/ziT+9FazgeqVrbxvSrH3eACN7me+AWtOMXG8+M DPlw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=jPEWor6IxI7Uq1zWApsPtiuADdR3NfECQNlU9sHih98=; b=vJ0c1VoR2aBX8p0q7JTOh6YWcv0XQlfwTKwQHIVhI/o6kA/a5rFiR8XnvPoh6MJDje JLK5UHXvbO9vPNA0jLnrP8YUeFzblClEEAFYPdhiONbaqSAZSztDwcIYlYDG4EiGHfZ6 bSuGLa+9kZLm2FzaXct25iLa3xU976+GAPaiE+oEITuG8vH5gdcROwSm6a1y8m+/KG0V Gj+HgYeP7wD95c28aLVbQH5zJMMnFs3rbx6rp5Qg0UZWgUQaLbThVli/4UwASPf6hg7a T3LQfFKIxWht6+GVwCAG9bVYs+g+O/lCB/Sup9Q8id8QefrC0J182LKdEtu3LvX5qcRT zPww== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="ZgE/EUXh"; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=jPEWor6IxI7Uq1zWApsPtiuADdR3NfECQNlU9sHih98=; b=IAJasxyrMV57URE5ZqKbwFFBXhOCvewht8qBTJFoJDBvyAhyuI7gvLJjAtO6rWYyKm SVzcyAlJhBXxufaNrfqXubmx5shBBo7I6Gq+l7QAasDV6UCnufVFPLcnz+ZDApYM9FY5 /UyOL7jUVEUzlEJLopBKZl16y1dLuxksm3Dpw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=jPEWor6IxI7Uq1zWApsPtiuADdR3NfECQNlU9sHih98=; b=EGVWVvXmxLGZ1zeYArM+lYyTxX7FnddoauqIq4HEllOCjILQsv+GDEmzqLju2XZrrk JtRRn5yI5hS4cb1dm3lESV4SYzc/MhgW2YoWF27IwC5xem5OqDSkib0CsLiUnYecgqiA v3fGmw63/nc0G/t4D6PnxlINmup2Ijx5ek97qng44zMK9WaGFJFMA23YE5E0kgNAAV2N otcQ5rXaD1l7FmYJMDBpia8qqux+SVnWqw/wGvwZmKEyCrA7lGR93q8ltigotCMalPRh uAVmBpVZNZ+DUAnD3ioD7UZZ41GM2ufX2JTI2duGtMQg0y/oslGr19PhAHQf7Kz/FPZj Ra4Q== X-Gm-Message-State: AOAM532eOGVR6vqsxSMPcUzUg0RTed6KLm6wIbXXpt+sY8kyUi2o9foJ yH/la6cAyIkyGs40q79+f3K74Fo7 X-Google-Smtp-Source: ABdhPJydqcOW6P5H3QkvYzKekfGHKmbADnAe2sHtnd7EfK2Aq84cF6xOLrtnjHQwM/s2A35nehSyfQ== X-Received: by 2002:aa7:9638:: with SMTP id r24mr21776406pfg.297.1595271121045; Mon, 20 Jul 2020 11:52:01 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a62:ce4d:: with SMTP id y74ls4914758pfg.3.gmail; Mon, 20 Jul 2020 11:52:00 -0700 (PDT) X-Received: by 2002:a05:6a00:1514:: with SMTP id q20mr21269446pfu.243.1595271120478; Mon, 20 Jul 2020 11:52:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595271120; cv=none; d=google.com; s=arc-20160816; b=Tg+lNmgAOBk6tucN/oGBIX8OXSHOjB1TVvcdlVCevDZZVTPdjdGFIBu3hg79uJiCNB JRuoq/EGvbv6o4Cg1D2Zycvg7Gf4p2PBUrnkCFQO0luePuNrHJfa9FpRu1oLWc8yE0OF AOSLXHr/VZdsYUjodBTJrgWZ/wArlaVcP37c/GBdUAXwkIeSe0A0n1S784BcOj+3tuYY PrVuPv9v8wYu5WAf/veYtZTMIFwJVLLhZmgD7xQxG70PX3brxiom57qtHInh90OeEz7d EKVcyqokP0MdJrIFSa2YpwK1XlMksdTyszpdeloiW8Y8TIYzpweyt+2VNE8dXnTpZIgS nmBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=T8QuA43TktpDaBBV3tgNLdT+8FbMFHtLJrPqgs00wGs=; b=G5WfFpPIbadAkUmQ85GwtVs63W74vYv647/ZKw35+BqDjZhL6tg+/NFYAHfXz4CgO/ 02DF89ghFeRKqcwYQKmp3te6SqvCeAvRg0ENl5VuwYxLzWNeuqYZA1oyo/zUbwpwIuI1 511+mChnyflSHW5uD40YRIJ7lZ5JtiWmgOJ10b+wRdNjeRnSbaGp76hHzlThN4oij0Uk 4kQBKEdNkJof7nUW0bPhY0swrfoFskOe/f1oxa2TVaMCKEGU7vf0w9TQTx4Y0Yb99ovu XlsuzNhlM3VhifNjzDZfPSJteaD6pHJtxTKO8cBLcMV4R7DiUFMzbcSems08FB7kB2yy KVww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="ZgE/EUXh"; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id d4sor22505099plo.37.2020.07.20.11.51.59 for (Google Transport Security); Mon, 20 Jul 2020 11:51:59 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a17:902:a60e:: with SMTP id u14mr20021164plq.238.1595271119385; Mon, 20 Jul 2020 11:51:59 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:8c21:db7b:4558:fba3]) by smtp.gmail.com with ESMTPSA id m9sm306649pjs.18.2020.07.20.11.51.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jul 2020 11:51:58 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Cc: Suniel Mahesh , U-Boot-Denx , linux-rockchip@lists.infradead.org, linux-amarula , Jagan Teki Subject: [PATCH 01/16] ARM: dts: rockchip: Sync ROCKPi N8/N10 dts(i) from Linux Date: Tue, 21 Jul 2020 00:21:05 +0530 Message-Id: <20200720185120.671064-2-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200720185120.671064-1-jagan@amarulasolutions.com> References: <20200720185120.671064-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="ZgE/EUXh"; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Sync ROCKPi N8/N10 dts(i) changes from Linux. commit ("ARM: dts: rockchip: Add Radxa Rock Pi N8 initial support") Signed-off-by: Suniel Mahesh Signed-off-by: Jagan Teki Reviewed-by: Kever Yang --- arch/arm/dts/rk3288-rock-pi-n8.dts | 2 +- arch/arm/dts/rk3288-vmarc-som.dtsi | 80 ++++++----------- arch/arm/dts/rk3399pro-rock-pi-n10.dts | 6 +- arch/arm/dts/rk3399pro-vmarc-som.dtsi | 87 +++++++++---------- .../dts/rockchip-radxa-dalang-carrier.dtsi | 65 +++++++------- 5 files changed, 104 insertions(+), 136 deletions(-) diff --git a/arch/arm/dts/rk3288-rock-pi-n8.dts b/arch/arm/dts/rk3288-rock-pi-n8.dts index c8637a50c1..c9894a60e7 100644 --- a/arch/arm/dts/rk3288-rock-pi-n8.dts +++ b/arch/arm/dts/rk3288-rock-pi-n8.dts @@ -7,8 +7,8 @@ /dts-v1/; #include "rk3288.dtsi" -#include "rk3288-vmarc-som.dtsi" #include +#include "rk3288-vmarc-som.dtsi" / { model = "Radxa ROCK Pi N8"; diff --git a/arch/arm/dts/rk3288-vmarc-som.dtsi b/arch/arm/dts/rk3288-vmarc-som.dtsi index 3cffe61cdf..7a9fd40e5b 100644 --- a/arch/arm/dts/rk3288-vmarc-som.dtsi +++ b/arch/arm/dts/rk3288-vmarc-som.dtsi @@ -7,35 +7,17 @@ #include #include -#include / { compatible = "vamrs,rk3288-vmarc-som", "rockchip,rk3288"; - ext_gmac: external-gmac-clock { - compatible = "fixed-clock"; - clock-frequency = <125000000>; - clock-output-names = "ext_gmac"; - #clock-cells = <0>; - }; - vccio_flash: vccio-flash-regulator { compatible = "regulator-fixed"; regulator-name = "vccio_flash"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; - startup-delay-us = <150>; vin-supply = <&vcc_io>; }; - - vcc_sys: vsys-regulator { - compatible = "regulator-fixed"; - regulator-name = "vcc_sys"; - regulator-min-microvolt = <5000000>; - regulator-max-microvolt = <5000000>; - regulator-always-on; - regulator-boot-on; - }; }; &emmc { @@ -45,23 +27,15 @@ non-removable; pinctrl-names = "default"; pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_pwr &emmc_bus8>; + vmmc-supply = <&vcc_io>; + vqmmc-supply = <&vccio_flash>; status = "okay"; }; &gmac { assigned-clocks = <&cru SCLK_MAC>; - assigned-clock-parents = <&ext_gmac>; - clock_in_out = "input"; - phy-mode = "rgmii"; phy-supply = <&vcc_io>; - pinctrl-names = "default"; - pinctrl-0 = <&rgmii_pins>; snps,reset-gpio = <&gpio4 RK_PA7 GPIO_ACTIVE_HIGH>; - snps,reset-active-low; - snps,reset-delays-us = <0 10000 50000>; - tx_delay = <0x30>; - rx_delay = <0x10>; - max-speed = <1000>; }; &i2c0 { @@ -80,37 +54,37 @@ #clock-cells = <1>; clock-output-names = "rk808-clkout1", "rk808-clkout2"; - vcc1-supply = <&vcc_sys>; - vcc2-supply = <&vcc_sys>; - vcc3-supply = <&vcc_sys>; - vcc4-supply = <&vcc_sys>; - vcc6-supply = <&vcc_sys>; - vcc7-supply = <&vcc_sys>; + vcc1-supply = <&vcc5v0_sys>; + vcc2-supply = <&vcc5v0_sys>; + vcc3-supply = <&vcc5v0_sys>; + vcc4-supply = <&vcc5v0_sys>; + vcc6-supply = <&vcc5v0_sys>; + vcc7-supply = <&vcc5v0_sys>; vcc8-supply = <&vcc_io>; vcc9-supply = <&vcc_io>; - vcc10-supply = <&vcc_sys>; - vcc11-supply = <&vcc_sys>; + vcc10-supply = <&vcc5v0_sys>; + vcc11-supply = <&vcc5v0_sys>; vcc12-supply = <&vcc_io>; vddio-supply = <&vcc_io>; regulators { vdd_cpu: DCDC_REG1 { + regulator-name = "vdd_arm"; regulator-always-on; regulator-boot-on; regulator-min-microvolt = <750000>; regulator-max-microvolt = <1400000>; - regulator-name = "vdd_arm"; regulator-state-mem { regulator-off-in-suspend; }; }; vdd_gpu: DCDC_REG2 { + regulator-name = "vdd_gpu"; regulator-always-on; regulator-boot-on; regulator-min-microvolt = <850000>; regulator-max-microvolt = <1250000>; - regulator-name = "vdd_gpu"; regulator-ramp-delay = <6000>; regulator-state-mem { regulator-off-in-suspend; @@ -118,20 +92,20 @@ }; vcc_ddr: DCDC_REG3 { + regulator-name = "vcc_ddr"; regulator-always-on; regulator-boot-on; - regulator-name = "vcc_ddr"; regulator-state-mem { regulator-on-in-suspend; }; }; vcc_io: DCDC_REG4 { + regulator-name = "vcc_io"; regulator-always-on; regulator-boot-on; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; - regulator-name = "vcc_io"; regulator-state-mem { regulator-on-in-suspend; regulator-suspend-microvolt = <3300000>; @@ -139,22 +113,22 @@ }; vcc_tp: LDO_REG1 { + regulator-name = "vcc_tp"; regulator-always-on; regulator-boot-on; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; - regulator-name = "vcc_tp"; regulator-state-mem { regulator-off-in-suspend; }; }; vcca_codec: LDO_REG2 { + regulator-name = "vcca_codec"; regulator-always-on; regulator-boot-on; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; - regulator-name = "vcca_codec"; regulator-state-mem { regulator-on-in-suspend; regulator-suspend-microvolt = <3300000>; @@ -162,11 +136,11 @@ }; vdd_10: LDO_REG3 { + regulator-name = "vdd_10"; regulator-always-on; regulator-boot-on; regulator-min-microvolt = <1000000>; regulator-max-microvolt = <1000000>; - regulator-name = "vdd_10"; regulator-state-mem { regulator-on-in-suspend; regulator-suspend-microvolt = <1000000>; @@ -174,22 +148,22 @@ }; vcc_wl: LDO_REG4 { + regulator-name = "vcc_wl"; regulator-always-on; regulator-boot-on; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; - regulator-name = "vcc_wl"; regulator-state-mem { regulator-on-in-suspend; }; }; vccio_sd: LDO_REG5 { + regulator-name = "vccio_sd"; regulator-always-on; regulator-boot-on; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <3300000>; - regulator-name = "vccio_sd"; regulator-state-mem { regulator-on-in-suspend; regulator-suspend-microvolt = <3300000>; @@ -197,22 +171,22 @@ }; vdd10_lcd: LDO_REG6 { + regulator-name = "vdd10_lcd"; regulator-always-on; regulator-boot-on; regulator-min-microvolt = <1000000>; regulator-max-microvolt = <1000000>; - regulator-name = "vdd10_lcd"; regulator-state-mem { regulator-off-in-suspend; }; }; vcc_18: LDO_REG7 { + regulator-name = "vcc_18"; regulator-always-on; regulator-boot-on; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; - regulator-name = "vcc_18"; regulator-state-mem { regulator-on-in-suspend; regulator-suspend-microvolt = <1800000>; @@ -220,29 +194,29 @@ }; vcc18_lcd: LDO_REG8 { + regulator-name = "vcc18_lcd"; regulator-always-on; regulator-boot-on; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; - regulator-name = "vcc18_lcd"; regulator-state-mem { regulator-off-in-suspend; }; }; vcc_sd: SWITCH_REG1 { + regulator-name = "vcc_sd"; regulator-always-on; regulator-boot-on; - regulator-name = "vcc_sd"; regulator-state-mem { regulator-off-in-suspend; }; }; vcc_lcd: SWITCH_REG2 { + regulator-name = "vcc_lcd"; regulator-always-on; regulator-boot-on; - regulator-name = "vcc_lcd"; regulator-state-mem { regulator-off-in-suspend; }; @@ -277,13 +251,11 @@ }; sdmmc_clk: sdmmc-clk { - rockchip,pins = - <6 RK_PC4 1 &pcfg_pull_none_drv_8ma>; + rockchip,pins = <6 RK_PC4 1 &pcfg_pull_none_drv_8ma>; }; sdmmc_cmd: sdmmc-cmd { - rockchip,pins = - <6 RK_PC5 1 &pcfg_pull_up_drv_8ma>; + rockchip,pins = <6 RK_PC5 1 &pcfg_pull_up_drv_8ma>; }; }; }; diff --git a/arch/arm/dts/rk3399pro-rock-pi-n10.dts b/arch/arm/dts/rk3399pro-rock-pi-n10.dts index 6ac2d4d721..bf026786fa 100644 --- a/arch/arm/dts/rk3399pro-rock-pi-n10.dts +++ b/arch/arm/dts/rk3399pro-rock-pi-n10.dts @@ -8,11 +8,15 @@ /dts-v1/; #include "rk3399.dtsi" #include "rk3399-opp.dtsi" -#include "rk3399pro-vmarc-som.dtsi" #include +#include "rk3399pro-vmarc-som.dtsi" / { model = "Radxa ROCK Pi N10"; compatible = "radxa,rockpi-n10", "vamrs,rk3399pro-vmarc-som", "rockchip,rk3399pro"; + + chosen { + stdout-path = "serial2:1500000n8"; + }; }; diff --git a/arch/arm/dts/rk3399pro-vmarc-som.dtsi b/arch/arm/dts/rk3399pro-vmarc-som.dtsi index 6fd17e8a81..37ed95d5f7 100644 --- a/arch/arm/dts/rk3399pro-vmarc-som.dtsi +++ b/arch/arm/dts/rk3399pro-vmarc-som.dtsi @@ -11,32 +11,6 @@ / { compatible = "vamrs,rk3399pro-vmarc-som", "rockchip,rk3399pro"; - - clkin_gmac: external-gmac-clock { - compatible = "fixed-clock"; - clock-frequency = <125000000>; - clock-output-names = "clkin_gmac"; - #clock-cells = <0>; - }; - - vcc12v_dcin: vcc12v-dcin-regulator { - compatible = "regulator-fixed"; - regulator-name = "vcc12v_dcin"; - regulator-always-on; - regulator-boot-on; - regulator-min-microvolt = <12000000>; - regulator-max-microvolt = <12000000>; - }; - - vcc5v0_sys: vcc5v0-sys-regulator { - compatible = "regulator-fixed"; - regulator-name = "vcc5v0_sys"; - regulator-always-on; - regulator-boot-on; - regulator-min-microvolt = <5000000>; - regulator-max-microvolt = <5000000>; - vin-supply = <&vcc12v_dcin>; - }; }; &cpu_l0 { @@ -61,23 +35,14 @@ &gmac { assigned-clocks = <&cru SCLK_RMII_SRC>; - assigned-clock-parents = <&clkin_gmac>; - clock_in_out = "input"; phy-supply = <&vcc_lan>; - phy-mode = "rgmii"; - pinctrl-names = "default"; - pinctrl-0 = <&rgmii_pins>; snps,reset-gpio = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>; - snps,reset-active-low; - snps,reset-delays-us = <0 10000 50000>; - tx_delay = <0x28>; - rx_delay = <0x11>; }; &i2c0 { clock-frequency = <400000>; - i2c-scl-rising-time-ns = <180>; i2c-scl-falling-time-ns = <30>; + i2c-scl-rising-time-ns = <180>; status = "okay"; rk809: pmic@20 { @@ -297,11 +262,48 @@ }; }; +&i2c1 { + i2c-scl-falling-time-ns = <30>; + i2c-scl-rising-time-ns = <140>; + status = "okay"; +}; + +&i2c2 { + clock-frequency = <400000>; + status = "okay"; + + hym8563: hym8563@51 { + compatible = "haoyu,hym8563"; + reg = <0x51>; + #clock-cells = <0>; + clock-frequency = <32768>; + clock-output-names = "hym8563"; + pinctrl-names = "default"; + pinctrl-0 = <&hym8563_int>; + interrupt-parent = <&gpio4>; + interrupts = ; + }; +}; + &io_domains { status = "okay"; bt656-supply = <&vcca_1v8>; - sdmmc-supply = <&vccio_sd>; gpio1830-supply = <&vccio_3v0>; + sdmmc-supply = <&vccio_sd>; +}; + +&pinctrl { + hym8563 { + hym8563_int: hym8563-int { + rockchip,pins = <4 RK_PD6 0 &pcfg_pull_up>; + }; + }; + + pmic { + pmic_int_l: pmic-int-l { + rockchip,pins = <1 RK_PC2 0 &pcfg_pull_up>; + }; + }; }; &pmu_io_domains { @@ -323,16 +325,7 @@ }; &tsadc { - status = "okay"; rockchip,hw-tshut-mode = <1>; rockchip,hw-tshut-polarity = <1>; -}; - -&pinctrl { - pmic { - pmic_int_l: pmic-int-l { - rockchip,pins = - <1 RK_PC2 0 &pcfg_pull_up>; - }; - }; + status = "okay"; }; diff --git a/arch/arm/dts/rockchip-radxa-dalang-carrier.dtsi b/arch/arm/dts/rockchip-radxa-dalang-carrier.dtsi index 3e54f38f0a..450e5bb5af 100644 --- a/arch/arm/dts/rockchip-radxa-dalang-carrier.dtsi +++ b/arch/arm/dts/rockchip-radxa-dalang-carrier.dtsi @@ -8,36 +8,44 @@ #include / { - chosen { - stdout-path = "serial2:1500000n8"; + clkin_gmac: external-gmac-clock { + compatible = "fixed-clock"; + clock-frequency = <125000000>; + clock-output-names = "clkin_gmac"; + #clock-cells = <0>; }; -}; -&gmac { - status = "okay"; -}; + vcc12v_dcin: vcc12v-dcin-regulator { + compatible = "regulator-fixed"; + regulator-name = "vcc12v_dcin"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <12000000>; + regulator-max-microvolt = <12000000>; + }; -&i2c1 { - status = "okay"; - i2c-scl-rising-time-ns = <140>; - i2c-scl-falling-time-ns = <30>; + vcc5v0_sys: vcc5v0-sys-regulator { + compatible = "regulator-fixed"; + regulator-name = "vcc5v0_sys"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + vin-supply = <&vcc12v_dcin>; + }; }; -&i2c2 { +&gmac { + assigned-clock-parents = <&clkin_gmac>; + clock_in_out = "input"; + phy-mode = "rgmii"; + pinctrl-names = "default"; + pinctrl-0 = <&rgmii_pins>; + snps,reset-active-low; + snps,reset-delays-us = <0 10000 50000>; + tx_delay = <0x28>; + rx_delay = <0x11>; status = "okay"; - clock-frequency = <400000>; - - hym8563: hym8563@51 { - compatible = "haoyu,hym8563"; - reg = <0x51>; - #clock-cells = <0>; - clock-frequency = <32768>; - clock-output-names = "hym8563"; - pinctrl-names = "default"; - pinctrl-0 = <&hym8563_int>; - interrupt-parent = <&gpio4>; - interrupts = <30 IRQ_TYPE_LEVEL_LOW>; - }; }; &pwm0 { @@ -68,12 +76,3 @@ &uart2 { status = "okay"; }; - -&pinctrl { - hym8563 { - hym8563_int: hym8563-int { - rockchip,pins = - <4 RK_PD6 0 &pcfg_pull_up>; - }; - }; -}; From patchwork Mon Jul 20 18:51:06 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1520 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f199.google.com (mail-pf1-f199.google.com [209.85.210.199]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 5E5513F080 for ; Mon, 20 Jul 2020 20:52:09 +0200 (CEST) Received: by mail-pf1-f199.google.com with SMTP id z16sf13280839pfq.7 for ; Mon, 20 Jul 2020 11:52:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1595271128; cv=pass; d=google.com; s=arc-20160816; b=QKKwdl+AYqrDKe7DSXuNY1Msu3NvKCcdAra2CQXHM9QwwAKoALyepVvCQDqd+G6WE0 DhAP/eID9tuBe9bx1Y5BHXTGl3z67q6Qu9ZFMJpJ+aVmqg4IS7lEbs1S8C6L/GjY/Szq C6U2nkzfGHDK53XxEuZUr+RyltthYwDDi7i6snxzy78AgRgdCJY4Q61zqYspBTVugOdV W90kqCs/huzoVxX5TU5PpJMApnTdU+3IWXTQ2c7IqRo5VnQt8C30UURJxoDD13O84pOz oEH5aNf3ya2IWIZtSBW5OfUP/s0xQI9e9Mjzhz8j62W6nFvzddvunz4awFbKZscPH+zc kssQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=0XyxuELcJZyYTkNYb6LL0nDlPnzxRhUVrTd68hxv+2E=; b=t70o6B9og+MW0kD+Rq+avqakdknaPbsQjFqZZ6kYLoxQ/lVf9yr7dcGJdhQlwU2Wz+ 0GjXfOP1yjsuKYU7b08FZTblj/kCD8ZsVEJXXiRQFJ9931ZNt+L6jodLq7RNRGf9PlW8 qDx/UZHgR6VyZWvCMe2Vgy1TdZyMK0RQa7Vh2CzWP0s5/7HJr6shkmTGNtS70OaEZcN9 2jOoiwiTa7O9SFEt1O9+NZogvibr1+h1SL3iQH2d03sXSRJgKh9j4lZ7kGZT2TIMsixs m+E0m/hSY/9yCtFHOjKBoDA5NDKatPqF+YZWWsj9wzwCHsQg39fGAjAOL6tBFAgIavua +MvA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=bdNKOVAx; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=0XyxuELcJZyYTkNYb6LL0nDlPnzxRhUVrTd68hxv+2E=; b=aCdsPjWkrDSi2o0hVwo+8CtAox9N8S7ImovdlS9REY3d2jw7TWvoLjDbhWC7WGkgEV 7ydMH/xEXBUqVzGmgh21uPWR+nZzw6nSbMOCqxf9VIIS/91TXJBBPaXbYuSKETuV6dK6 zZ9aEHHQxWmONT7oEMEcdAdoTVLgLgxNEjCgw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=0XyxuELcJZyYTkNYb6LL0nDlPnzxRhUVrTd68hxv+2E=; b=LciOgsUYSLHLbtvbyjOVXJ0IuM5pDtagXpC00yCpDQ70iXTzx4dnMlkJWt5QCJbPiv Gxh2YelT798Dt1ufLb6Aj1yaKg4Ay44phF/fE1CJqEMzaBDz9JNELBJ8dYR8NMgoTRky yePzB9au54VJcMT8xLoToaGBruqYxcPpRzVs7FnjvuRU9kWVTiKHdUu6mGAl4UFfehqc hGCYjkanQAgYc7Q6j3l53mk17dbjuPv6nqWyn7X6/nvidNr3QB/LjA+iZL9c/FZ41FWC HcWYZgNoYNRBerWPvQ0x9I61FQ7zQMzGngOWMs3RML9ObrdZA2C5fODGXi/0at2a1qAn 1GnQ== X-Gm-Message-State: AOAM5323+RDKWNp1OOHNqwslVvDZZsQZw76nxBbfnMCWLz9X2STMgUiD p4M86Kz8VmwfFlhY1kbIJgCWsRaF X-Google-Smtp-Source: ABdhPJyfgv9F7vUoO1mc7+o1Zo9PTmPXOHwgl76isxVMUw+qQm11mRGozx0DBL9p0BTJUTgMzwPBdA== X-Received: by 2002:a17:902:9b8f:: with SMTP id y15mr19992472plp.322.1595271128153; Mon, 20 Jul 2020 11:52:08 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a62:8c01:: with SMTP id m1ls4916268pfd.2.gmail; Mon, 20 Jul 2020 11:52:07 -0700 (PDT) X-Received: by 2002:a63:6c1:: with SMTP id 184mr20403489pgg.262.1595271127677; Mon, 20 Jul 2020 11:52:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595271127; cv=none; d=google.com; s=arc-20160816; b=vzVYT8mbKeKsVcMnoaMIGnjFhSADb6MvNsJY64iA8+zHFaZ05HR1pDQUFSTl/nQCo9 2hTNU8NPag0hhmEpL4LbDVSPt8DpQafPzEivutwVXD4kIwSTfD/wwhtysK5+uOw6YCMN eXi0/cgDLuLMqcMGd2iyI/cYIIraDwu0l/IgegOeLb36fUpttK3I7nptw++p0i1oyv5+ 9kjmtpMwsLaTs9X+Rb0rwqndBFiXTszUYw0bN1k9uEg/EdUlCQDhixPs4zAY9mr/OyeM HYd00iA7PxRhXj0GNpYQ9SeKsi5VrNqa74SMl+5IS1VzdHR7ZSOT/JyyWkcLgQoOWxkJ q+Gg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=nnbCMMi5LKaWBTPjPAXIOzWtsWj6cLTiHNTJNZU36yQ=; b=077V8uslysWOJwuEeTke00xE4kXGkbsm282PYEv5kyCRweKF3rAcHbt6P8FKATWWVm mQRvQy5+XLT5l3LtG5WCHpeUi/C3oSfoEmMIwFd9td52vG31cuCwO5Y4PRmFYMMXJYHy d2JIo37cZJefaOQqJoHlGycM6O9hQcbAtisWx29d4WZL7FtKRRSzHqbopAWobaMhvMNZ 8Y+c9VuSiLcsleMcen22iG+ehD6LVfEf1jfIV9ykKBkNo8NB1WoWn32Wr//EY4AJ3CA6 NCNVXMjauPmjLqojZqkelRxcRyO13unIn27id7Tr8HPoCZr0vsDPAZI/AbdadZLOVkPJ sVxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=bdNKOVAx; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id j3sor21346719pff.75.2020.07.20.11.52.07 for (Google Transport Security); Mon, 20 Jul 2020 11:52:07 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a62:f206:: with SMTP id m6mr20405314pfh.260.1595271127365; Mon, 20 Jul 2020 11:52:07 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:8c21:db7b:4558:fba3]) by smtp.gmail.com with ESMTPSA id m9sm306649pjs.18.2020.07.20.11.52.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jul 2020 11:52:06 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Cc: Suniel Mahesh , U-Boot-Denx , linux-rockchip@lists.infradead.org, linux-amarula , Jagan Teki Subject: [PATCH 02/16] arm: dts: rockchip: Sync rk3288 dtsi from linux Date: Tue, 21 Jul 2020 00:21:06 +0530 Message-Id: <20200720185120.671064-3-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200720185120.671064-1-jagan@amarulasolutions.com> References: <20200720185120.671064-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=bdNKOVAx; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Suniel Mahesh This sync has changes required to use HDMI CEC pin in U-Boot. Sync dts from linux v5.8-rc5 commit: "ARM: dts: rockchip: define the two possible rk3288 CEC pins" (sha1: 838980dd04e994bf81cf104fa01ae60802146b39) Signed-off-by: Suniel Mahesh Signed-off-by: Jagan Teki Reviewed-by: Kever Yang --- arch/arm/dts/rk3288.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/dts/rk3288.dtsi b/arch/arm/dts/rk3288.dtsi index 866fc08215..18b372db3a 100644 --- a/arch/arm/dts/rk3288.dtsi +++ b/arch/arm/dts/rk3288.dtsi @@ -1085,6 +1085,12 @@ #interrupt-cells = <2>; }; + hdmi { + hdmi_cec_c0: hdmi-cec-c0 { + rockchip,pins = <7 RK_PC0 2 &pcfg_pull_none>; + }; + }; + pcfg_pull_up: pcfg-pull-up { bias-pull-up; }; From patchwork Mon Jul 20 18:51:07 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1521 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pl1-f197.google.com (mail-pl1-f197.google.com [209.85.214.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 352593F080 for ; Mon, 20 Jul 2020 20:52:16 +0200 (CEST) Received: by mail-pl1-f197.google.com with SMTP id c15sf10966845plz.15 for ; Mon, 20 Jul 2020 11:52:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1595271135; cv=pass; d=google.com; s=arc-20160816; b=tZH/ZPKYCSqb3qFd70cqd8LoDn8Zqk0tfLJ4W2PARLfvBmuve23ff3sprcF8DLfjCz SzRUq/YTjLy5+ThPD4nM7mAZnPA1gxlbJT/iqmesxGcu12xQQwsgdEk5gBKH+QIg/DCD ZRkj7qHAaClzFSYiKpULlwA4nQCe+7PJbJNyGAPWyYz3jNY0Q5BaaLogGLB3kKAW2brf zlCKhT4vDFcaVQL+Am/9VZgsIVRvkfJ2puVXt8uwRU4CzgZYb4LcIZAGo66+WyGu6d6t g065UWlieJtjzwOlthFQvM0yKuXy3WrXVepypANl7nrdsQ1+QOS1LfhvSTB2B7vZNGBw c81g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=C3Hu9E5RqwCj4BJu6SDy7959QrGS3N/+ml0embbp5KE=; b=cRQRpNhw7nE4rLi970SQ7LPiut/OSOZ0/UmwB1Q+TMHjptZ59QZey3JGfy3VmTSUpg aDInNeTIP8pjaa6FlQ4b6jGp6ztKsoxKsIEp3ALF67ntLcKAO7K1AJdtkNb2WUvdQgsH oxwKp0BM1FlqSj+Qj3ofdZq0nS93ewBGALJT2a0c67coQR0YwaS/gIuSJfpC+rph1lJa FvBfhh2MfV6bHbpZ0J0LoNSdTlHm80e4zetMKeBd9BWTYqyN66bJKEqi+wi7VL3cpwC7 HAZ8g8jXZpPFoU0FHu6/IfQEziG15vQGIBclgTbNig53NGsKzgDEkZ+olbj+xbgo+pam aGBQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="Q/XcJjiz"; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=C3Hu9E5RqwCj4BJu6SDy7959QrGS3N/+ml0embbp5KE=; b=TV8Q4nuX0YpjjHrwS53sez/LX8eUhNtrKKiJpgMwyf6ecQgiH2UGYWEqqvpkVLOP8R EZskEm/39K/Qk12ebk2yl7QE6lk6Ca0xCskJRrqZeV6veEZ8NhUOLjxIVA3Dilw/8Rrk st9n0u+V1s2ZEkoY9nQjtV9QdUviDViPkhylg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=C3Hu9E5RqwCj4BJu6SDy7959QrGS3N/+ml0embbp5KE=; b=dr1xn3p7e38/9G6HcEpCAl9wuPFKQPzYb2tUUNXCkTCDnZWdEd9F1l10FfkSUQjMGc BjY+26jTq8j0xRESIcO/FRJrCmPFA+pMHcNG1CEvb9CUT7C+uttN6uSjW6YHCkyQ0eCG LTpkKe/sFMwzuR2QIf9c3BGsWhTJlx4TKRvJrUwGHJsxqI7p1Xh9ZFfqtsB8hJ3iwn0U Tj8idBt+DejRXyIg+sRTsfW5w4Sh2HLj27UtMe5hOXtKdqVPjQXiz/2mlfDVTktSEFoZ JMvHtQ0euGxEome8iZSjUqakdtuP+2wWoVyy4gFVHbjIHomdHqVMBlRAeyJA30WytqWR KM8Q== X-Gm-Message-State: AOAM532o2OXr9BuosP+8BXf1zpiTIy0Z56ekpxFYolTO6XQyEmZtz9Hy Dl8ZQH5rYJAk+Oi+RUEDqZOLVBj6 X-Google-Smtp-Source: ABdhPJxJmupR2VfrfgYjDYJnMzqvzliZXvCGYCRU6hGiMQSMAZ7pj+Ua8TofqHIEhGx0PXQprdlohQ== X-Received: by 2002:a65:66c4:: with SMTP id c4mr5986715pgw.442.1595271134235; Mon, 20 Jul 2020 11:52:14 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:90a:26aa:: with SMTP id m39ls13998pje.0.experimental-gmail; Mon, 20 Jul 2020 11:52:13 -0700 (PDT) X-Received: by 2002:a17:902:a3c7:: with SMTP id q7mr19297088plb.20.1595271133691; Mon, 20 Jul 2020 11:52:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595271133; cv=none; d=google.com; s=arc-20160816; b=hNhwY4cs8pVZUPOFDKzSdDbYZd9zNOM8Jbx1EYjFK6AiI32D59+ISLQplljcqwXsaK GV4btIIVVoMprEJieJ6i4FIoTqKgJzj0q652bTNNKBlczLLthccMPuZGG3TaTYkRm27k Z0z6XBF/guYNtADvI0+N7g/JlfAxUZ+NAzJNfTlU73P8IvpAdB6wHS63qVBCU9Buma1w tKKXeK0lHF1Oiv5hrnqkZOajohE3TE7dQURoVds0H0LVc7fnG+N+PWka78E2W0y/hR3s rLiNo7h8gRym7mp7g5fflpD9Z12TIL/gyUroG2xpIVAMcuhknGuTPtGExjSF6CljzMHU wDoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=DHP2+gYJ4aLdOt0nif9x51u8Uev+ldn4aYaib4Nxiyc=; b=06W0OtyT+JKDrTwPpZ71+255Lner5kk3V0iSFJ1/tMctz4YJdcQyPJFwFhbMGExGzq tYmRGe+YBXcpsYRNCdB5oseA8Ob5gUPEGJUPI+dtkTd/V3JF7Yfozm/Ik8AsFJBrTotY pTYAz7HO9YsnLHdXQYr5jruEA35HFzHCLyTcCApeX74oL0e/R6sRT5rcF7YRJ1XahlzI DqOSumWAO0WUgnCuAMppgUVVD69yLkTQzZgk9AyZRtIHkIkuEQrZJsSwLuU2svaPnCxT bFohB6zlF9r6///SJS2aC1gvbZR9Iz8gYF7BR94w3ZhrP4s2FQnhx9bi6B88TYjJR5fU i/uA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="Q/XcJjiz"; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id a14sor21604292pfl.57.2020.07.20.11.52.13 for (Google Transport Security); Mon, 20 Jul 2020 11:52:13 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a62:2b0c:: with SMTP id r12mr21247891pfr.122.1595271133283; Mon, 20 Jul 2020 11:52:13 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:8c21:db7b:4558:fba3]) by smtp.gmail.com with ESMTPSA id m9sm306649pjs.18.2020.07.20.11.52.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jul 2020 11:52:12 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Cc: Suniel Mahesh , U-Boot-Denx , linux-rockchip@lists.infradead.org, linux-amarula , Jagan Teki Subject: [PATCH 03/16] ARM: dts: rockchip: Add usb host0 ohci node for rk3288 Date: Tue, 21 Jul 2020 00:21:07 +0530 Message-Id: <20200720185120.671064-4-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200720185120.671064-1-jagan@amarulasolutions.com> References: <20200720185120.671064-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="Q/XcJjiz"; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , rk3288 and rk3288w have a usb host0 ohci controller. Although rk3288 ohci doesn't actually work on hardware, but rk3288w ohci can work well. So add usb host0 ohci node in rk3288 dtsi and the quirk in ohci platform driver will disable ohci on rk3288. Signed-off-by: Jagan Teki --- arch/arm/dts/rk3288.dtsi | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/arch/arm/dts/rk3288.dtsi b/arch/arm/dts/rk3288.dtsi index 18b372db3a..22bb06cec5 100644 --- a/arch/arm/dts/rk3288.dtsi +++ b/arch/arm/dts/rk3288.dtsi @@ -431,7 +431,16 @@ status = "disabled"; }; - /* NOTE: ohci@ff520000 doesn't actually work on hardware */ + /* NOTE: doesn't work on RK3288, but fixed on RK3288W */ + usb_host0_ohci: usb@ff520000 { + compatible = "generic-ohci"; + reg = <0x0 0xff520000 0x0 0x100>; + interrupts = ; + clocks = <&cru HCLK_USBHOST0>; + phys = <&usbphy1>; + phy-names = "usb"; + status = "disabled"; + }; usb_host1: usb@ff540000 { compatible = "rockchip,rk3288-usb", "rockchip,rk3066-usb", From patchwork Mon Jul 20 18:51:08 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1522 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pl1-f199.google.com (mail-pl1-f199.google.com [209.85.214.199]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id A987B3F080 for ; Mon, 20 Jul 2020 20:52:29 +0200 (CEST) Received: by mail-pl1-f199.google.com with SMTP id c15sf10967047plz.15 for ; Mon, 20 Jul 2020 11:52:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1595271148; cv=pass; d=google.com; s=arc-20160816; b=Sr9kib5rVpKx3varsCJGEbW3LdNyOapTvI77PYzP8Qkr1kl12Uo7SHmrNkGLioAQFK RNBQ/0E0b0M+bMzKJH4CN1e6aDKFxcfk5EKzb8Sn1H4Fhs2CDFtMNagtfMZGjh/A4ibc 0nHugswwcPt5gspWfny7z+9rS0TNXPO2f5gtPj/0P8VcuOkSuMdvzGeQ+A+2KRlHHveX 1N97+8vVQ4h0xLh5Zg6wvZj3W8RZASHyYpoP4RltPkqqcLP7MkmCQ5zoq1cqe6kF/ou9 LSzKtVNdeiwxFQG7xWV3xKzvnJkFLbhKf4HGwhcDNGNuabfmrMJ94MuusBcT16v3mV4j pUJg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=31d5hSidliw6xwlrEi9HuZzxsxa9we8LElh71Z1YMlc=; b=SXPumbjpjc+VA9r7MI5REUPv7dHIUkRBo6qmL+cR3osOtSc4iz0uaWCH/PyJg9CDVj Yps5FSiTyh3UJXT8wuZ+W6diKSUCz0gBlLeDyLuBHhZpelGHo2QdgDbVKSW5TA9PEgLD DlvyzARxikRbq3ifRvQO5wDgtdRCURdcn3pAgekm5//+rlWOliAr/JIAtBH3H9zfi2CP 38G+KgfcdpUzX377mVYn66KgJYDlPPUkP8WT85jWzSofKA+kLMtar14hbc2wvlED5pmE IxLIDAkSLgH7wonyeeRwgzK+J1aXrLQ6RhO62nOPCmMNE3wReDMH9qiofdb0VFc0FM+F fyAQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=p9VbagpC; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=31d5hSidliw6xwlrEi9HuZzxsxa9we8LElh71Z1YMlc=; b=HtXsH53S6fK3yMwJtHRDxXbuF6fq6i46jwwRROZ7sIQx+AZV8UdWLFyDowHL6YPKoh j8UndmrcAIHoI9afQ9ZSq1+VY6jdC1Gbk2wh5dFvlX0cqxfRo4YV+T6FIkzUvFFnepEV wLud8Nj/yee3NyUcnXL3LHbgACS8KC9fUZCog= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=31d5hSidliw6xwlrEi9HuZzxsxa9we8LElh71Z1YMlc=; b=cEa+zi4S2NycVQTraGhPOxQBtYtCuoc7D95NKvk88wFiCrgmV/8e0XmicI5j+KjC+9 j+/ZEtzxayWKQ5YHY4GjWNeWFVtt7Ut36JRXJgrVGfwTR8yFA26O9lYIbUweyN5XsmQk lPWxnq/E55ye2u4cJXNMYj7216NOR2X+ooeo0SROJak1kSJF4OfXurT0UWI9uU9/xis1 pUzj9BZOhjk425Hw4m3l+y+gfUjFl2KAmyVdrRitVXNXEL7nDAfwDToOMJHvYSSnpZCJ vQviUd5A73+4H6GO8h+C67ZqW6s7Tj5j4RJJC20t8QtN7GsD3UqARXe+0nEysEyf+pns oikg== X-Gm-Message-State: AOAM53173fye13IhGKsScbbOzoGu5Itta+w8N9NC5HXCsbPnCBaAopPu TIdby/DRv9pTsSiO3aB+lx0wKBLh X-Google-Smtp-Source: ABdhPJx6+vq9cuDfVweVBdGUNbyBkBen4pFFC/Wh6INy9MKbLtq21FsGWtB2m/c95rv5LnZpAlCU5g== X-Received: by 2002:a17:90a:c68e:: with SMTP id n14mr771196pjt.182.1595271148350; Mon, 20 Jul 2020 11:52:28 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a63:525b:: with SMTP id s27ls2088609pgl.11.gmail; Mon, 20 Jul 2020 11:52:28 -0700 (PDT) X-Received: by 2002:aa7:87c7:: with SMTP id i7mr20893012pfo.174.1595271147851; Mon, 20 Jul 2020 11:52:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595271147; cv=none; d=google.com; s=arc-20160816; b=hAmUQig0LACF15rGyJYgF9udc2omRXjEWbRQnOvwlw8GwAw0YRbhCcSP2Ou1xHE5p6 BwIeMWE8nmH0MEXm0EDljUxv84MsbX49KHpLoNNute13njt3LApMZAxHyFScUIKr0RFO JlUOZkIEprev44cMgpeHC/txuj3F4go/w9N/RN5HWqLZXTJAbYvWUaXX1GSYU8Pr17BK 9Y5ZnXhoNorK/FEMS55/uOlYcjXqyfCxKRzobii/0CcW98rE6KtTf1OvIInIi6YTN/Zq uYxSb1bzqPJJT3Y1fnYMcBveNF2tBstCYp+UlgLKD+akIjI81/sEPZo4VG3SABlmCJZ1 +J6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=JbtJJMPgoB6j63CRE61wXPJk6E6voEAVjADjkplQs8Q=; b=ZLHFH6GqwVEbg07s8IRwvv6uhyy49qXRIZz9wXpAsfbF53uxpbEd0V43XXRPPSHJib RIjmLoXJVyFElmDwJCvpu6Ku0P3uw7ZA3sNa55IPXp8hlfTvWkmkrOcbieRfFMnEdBYn Yh+E8SN7ClvtAsdmFjKSs9FChag7Jfu7cesgc8iX8H+yI+gZw3J06bWUTBXnUAjNUf97 Zw0bdv3BbXLh2ecmiAZUX5AW0R/o/8C9M8AjEjEVUmtR9B1T0uYU7F5QSTv1CS/7ICeS 6zDGDzsBtwmuJjO+Ec3PeZA5S57kHRBuwcP49mvBk9SI+lrWHlcQsRJhv27ky/NynIXz MO8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=p9VbagpC; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id my14sor585077pjb.1.2020.07.20.11.52.27 for (Google Transport Security); Mon, 20 Jul 2020 11:52:27 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a17:90a:3567:: with SMTP id q94mr811994pjb.226.1595271147533; Mon, 20 Jul 2020 11:52:27 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:8c21:db7b:4558:fba3]) by smtp.gmail.com with ESMTPSA id m9sm306649pjs.18.2020.07.20.11.52.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jul 2020 11:52:26 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Cc: Suniel Mahesh , U-Boot-Denx , linux-rockchip@lists.infradead.org, linux-amarula , Jagan Teki Subject: [PATCH 04/16] ARM: dts: rockchip: Add USB for RockPI N8/N10 Date: Tue, 21 Jul 2020 00:21:08 +0530 Message-Id: <20200720185120.671064-5-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200720185120.671064-1-jagan@amarulasolutions.com> References: <20200720185120.671064-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=p9VbagpC; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Radxa dalang carrier board has 2x USB 2.0 and 1x USB 3.0 ports. This patch adds support to enable all these USB ports for N10 and N8 combinations SBCs. Note that the USB 3.0 port on RockPI N8 combination works as USB 2.0 OTG since it is driven from RK3288. Signed-off-by: Jagan Teki --- arch/arm/dts/rk3288-vmarc-som.dtsi | 42 ++++++++++ arch/arm/dts/rk3399pro-vmarc-som.dtsi | 78 +++++++++++++++++++ .../dts/rockchip-radxa-dalang-carrier.dtsi | 18 +++++ 3 files changed, 138 insertions(+) diff --git a/arch/arm/dts/rk3288-vmarc-som.dtsi b/arch/arm/dts/rk3288-vmarc-som.dtsi index 7a9fd40e5b..72a503e50d 100644 --- a/arch/arm/dts/rk3288-vmarc-som.dtsi +++ b/arch/arm/dts/rk3288-vmarc-som.dtsi @@ -258,4 +258,46 @@ rockchip,pins = <6 RK_PC5 1 &pcfg_pull_up_drv_8ma>; }; }; + + vbus_host { + usb1_en_oc: usb1-en-oc { + rockchip,pins = <0 RK_PC1 RK_FUNC_GPIO &pcfg_pull_up>; + }; + }; + + vbus_typec { + usb0_en_oc: usb0-en-oc { + rockchip,pins = <0 RK_PB5 RK_FUNC_GPIO &pcfg_pull_up>; + }; + }; +}; + +&usbphy { + status = "okay"; +}; + +&usb_host0_ehci { + status = "okay"; +}; + +&usb_host0_ohci { + status = "okay"; +}; + +&usb_host1 { + status = "okay"; +}; + +&usb_otg { + status = "okay"; +}; + +&vbus_host { + enable-active-high; + gpio = <&gpio0 RK_PC1 GPIO_ACTIVE_HIGH>; /* USB1_EN_OC# */ +}; + +&vbus_typec { + enable-active-high; + gpio = <&gpio0 RK_PB5 GPIO_ACTIVE_HIGH>; /* USB0_EN_OC# */ }; diff --git a/arch/arm/dts/rk3399pro-vmarc-som.dtsi b/arch/arm/dts/rk3399pro-vmarc-som.dtsi index 37ed95d5f7..111d6cf9a4 100644 --- a/arch/arm/dts/rk3399pro-vmarc-som.dtsi +++ b/arch/arm/dts/rk3399pro-vmarc-som.dtsi @@ -304,6 +304,18 @@ rockchip,pins = <1 RK_PC2 0 &pcfg_pull_up>; }; }; + + vbus_host { + usb1_en_oc: usb1-en-oc { + rockchip,pins = <4 RK_PD1 RK_FUNC_GPIO &pcfg_pull_up>; + }; + }; + + vbus_typec { + usb0_en_oc: usb0-en-oc { + rockchip,pins = <4 RK_PD2 RK_FUNC_GPIO &pcfg_pull_up>; + }; + }; }; &pmu_io_domains { @@ -324,8 +336,74 @@ max-frequency = <150000000>; }; +&tcphy0 { + status = "okay"; +}; + &tsadc { rockchip,hw-tshut-mode = <1>; rockchip,hw-tshut-polarity = <1>; status = "okay"; }; + +&u2phy0 { + status = "okay"; + + u2phy0_otg: otg-port { + phy-supply = <&vbus_typec>; + status = "okay"; + }; + + u2phy0_host: host-port { + phy-supply = <&vbus_host>; + status = "okay"; + }; +}; + + +&u2phy1 { + status = "okay"; + + u2phy1_host: host-port { + phy-supply = <&vbus_host>; + status = "okay"; + }; +}; + +&usb_host0_ehci { + status = "okay"; +}; + +&usb_host0_ohci { + status = "okay"; +}; + +&usb_host1_ehci { + status = "okay"; +}; + +&usb_host1_ohci { + status = "okay"; +}; + +&usbdrd3_0 { + status = "okay"; +}; + +&usbdrd_dwc3_0 { + status = "okay"; +}; + +&vbus_host { + enable-active-high; + gpio = <&gpio4 RK_PD1 GPIO_ACTIVE_HIGH>; /* USB1_EN_OC# */ + pinctrl-names = "default"; + pinctrl-0 = <&usb1_en_oc>; +}; + +&vbus_typec { + enable-active-high; + gpio = <&gpio4 RK_PD2 GPIO_ACTIVE_HIGH>; /* USB0_EN_OC# */ + pinctrl-names = "default"; + pinctrl-0 = <&usb0_en_oc>; +}; diff --git a/arch/arm/dts/rockchip-radxa-dalang-carrier.dtsi b/arch/arm/dts/rockchip-radxa-dalang-carrier.dtsi index 450e5bb5af..d2b6ead148 100644 --- a/arch/arm/dts/rockchip-radxa-dalang-carrier.dtsi +++ b/arch/arm/dts/rockchip-radxa-dalang-carrier.dtsi @@ -33,6 +33,24 @@ regulator-max-microvolt = <5000000>; vin-supply = <&vcc12v_dcin>; }; + + vbus_host: vbus-host { + compatible = "regulator-fixed"; + pinctrl-names = "default"; + pinctrl-0 = <&usb1_en_oc>; + regulator-name = "vbus_host"; /* HOST-5V */ + regulator-always-on; + vin-supply = <&vcc5v0_sys>; + }; + + vbus_typec: vbus-typec { + compatible = "regulator-fixed"; + pinctrl-names = "default"; + pinctrl-0 = <&usb0_en_oc>; + regulator-name = "vbus_typec"; + regulator-always-on; + vin-supply = <&vcc5v0_sys>; + }; }; &gmac { From patchwork Mon Jul 20 18:51:09 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1523 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pl1-f198.google.com (mail-pl1-f198.google.com [209.85.214.198]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 0757E3F03F for ; Mon, 20 Jul 2020 20:52:39 +0200 (CEST) Received: by mail-pl1-f198.google.com with SMTP id p6sf10941973plo.8 for ; Mon, 20 Jul 2020 11:52:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1595271158; cv=pass; d=google.com; s=arc-20160816; b=SCthdTjLjiXJ9WQjn4C048zWn3mcnvAF9pglZ3PCQ7i9YmYPt0x91DFUgeSPm2SpwG ez8GTlA/CaEhZpr0DRkettDNX9lBMm7pw4ZQOW4I8TX+fsgwh1Ne1ExzVynvkVr1FzHM tGF87INn51HwKUfvM5O7G21ugNRnUwHyjj6ckXsuWv1C8kjkNcb1LkDpI5JWkKPFhR7J mTEqe4WNqlQBZCbiSaZOhHyzrTnt5pf6Xp/w7Q9ef8A0/1RX7CSUZmnd7TfQv96i7Cd3 QaGFmf6tpNCoeVV1JiEopMn9g7XozV4V7mtpxwwVkfBEhJveeth2tbZFM8mRzt/krrqL mouw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=TqOsQywjM/7qDAFX7edk3iDkf5M6bJ6LHS+abvxyvbs=; b=crUu5StTVSvzQQ9GbxKn09pU0eCNHZagG2jDPGlBp/E+YmnxjyYyIecaijG7ITJ3Hu WoYmJRIF2Q0HpoKl49V2tUwIOhDE/wAwo+TeCS7C4NWW1KyVOsGeEFrYfo2CC3c74haC 6LC6x1dWK1NmkPERJeJmpqB7UlELGUOdKQP/jgfNn0D8fkhO+nPEM5kxuNsY1Cr/I1SA f6dqno61gDDVMmgiX4mL4fnFQmqjdo0sH4l1FjYfwmYdmK4TiuVG08uvb1cdxyJDC/z5 GCOK2TgGrKGWjX9/V+RrV1ItIGoau5a6rdHD4lKC9CbbK/SKDbPsano2xcx7VTN7ELtu Vk/w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=JBWTCv2z; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=TqOsQywjM/7qDAFX7edk3iDkf5M6bJ6LHS+abvxyvbs=; b=AB/9qSrWHjUV4C6VZD26E30FafEHddmFLoVnSWQLQLwF9hNLGZZ5+mImMaMZXzaiIi YeANCdPY27V99OCDzfOlX4QFlN78/xth6eSX/VanguCdYrGV+KpLla0sRjp/3lYQpJet wYskTlAjZ33qQ/VCtV20QuUapUjo2v9GhdH3c= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=TqOsQywjM/7qDAFX7edk3iDkf5M6bJ6LHS+abvxyvbs=; b=s4kBQ4X1ZdzO5iI31E8bHqQXuY7QjdrGQ+Y/63CqHwWHBOPBmojBATU80SuTMYwklm Llo6s6t5l3VHLJ3Za7qTAhYVmT1yBQkU6RmHdBmmIP+yRjqLZWjS5TMGfsqIyuYy8vOZ oTwSMjTxC0LKhVRwbSpQEL4Kh61EFe8RzHtFyz7ixmtSFO/FNdaoEMv5hVvjf3rie3tw UWyUjqLjo3PvDLTsIB1P6ZdMS/SypSaune9uauMBmUXrxjYmsfmckWF0bVt7XwW+fv+K tfE0xMUxhZYzWwe/I8zwGIQTNvVckL7jEwLF9ChjnYPcHaaAsldRH7vA48CZ5JZ5fbTU kcmA== X-Gm-Message-State: AOAM533mwPW/pIztApXL/fI+NRz2sFBggRqD/6Q7mRV0uwxw6vKCpb4j XH7zPxTHbWhDxisl1CYs1gyr5Eqo X-Google-Smtp-Source: ABdhPJwUiPqmP4pQys/f+UHB+r3oth4agybuwcuh3eCOpUszJsFtBvPJ4TVaL0uZL06xEO8dwcTZlQ== X-Received: by 2002:a17:90a:d809:: with SMTP id a9mr814131pjv.40.1595271157803; Mon, 20 Jul 2020 11:52:37 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:be15:: with SMTP id r21ls1747945pls.11.gmail; Mon, 20 Jul 2020 11:52:37 -0700 (PDT) X-Received: by 2002:a17:90a:3525:: with SMTP id q34mr801138pjb.192.1595271157349; Mon, 20 Jul 2020 11:52:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595271157; cv=none; d=google.com; s=arc-20160816; b=q3lfOrx56e65jsoW0eJvCM2zksSzUWjHT51ydiTYqpYnk63GrTaN76qQZTK39+thYW QBTQHGL5QJv8JAXZZg6B4r6Q2PhW1OM490jzbj8GFgJbrwIvrkcy+62cyY+zQjSj+JQP y/lFsO9ulUteyp2ztR7d1Mp384flWlcrnsuETDitPIWUIW/qfI9bD04dvvwYHlEX9UEn yuTGbvQ1VYJ6Pl30gnvJItoroKPv2CxZYLJAzOpCcdo5p5prqFJW/4dKQUC5mLiCs/Ch lcbwGte94xOkrA6KX/HfDP2nQHgTYivKFt4n0u0CMLyayeUkI9RWxthKgJLQqHL7zXVb Hrlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=mbQg8I2j2WRPQtTXxFUdkthGCYCS2Xi2I3dcAPhk3y4=; b=vZdQabgGG6z+tqLzd/GWm1gnGO8D9NQk7uXPwhPQ0I7s/HdqzMHuIzVarjEm04r68C QyrL+QFHCn+MDMfnu3ERa7B4DAIuP9TUFlQB0RPHdPxYsopUVP4z2VWbQnpxNHoJPvhl LwP01HWioWjg50Av0SoyijWc/S6EP3cdS3XeMKr98Y91XiUucPWrktNL4HNGY5ofxSL9 r2iDQdCoEQhOor2/EqIjEG2mgQvXGXi+Yf7DFn1Un0iMsQZdBZFaRAOageu1SnSNyBYj KGbElzSxbBxa8pA6DXlQ2njDW7879dfIpxgJenw9ZApv6yMMMbJoTCOwpy2k0Cr6ctyf JVAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=JBWTCv2z; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id u2sor21366927pfk.28.2020.07.20.11.52.37 for (Google Transport Security); Mon, 20 Jul 2020 11:52:37 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a62:6446:: with SMTP id y67mr21445654pfb.299.1595271157032; Mon, 20 Jul 2020 11:52:37 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:8c21:db7b:4558:fba3]) by smtp.gmail.com with ESMTPSA id m9sm306649pjs.18.2020.07.20.11.52.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jul 2020 11:52:36 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Cc: Suniel Mahesh , U-Boot-Denx , linux-rockchip@lists.infradead.org, linux-amarula , Jagan Teki Subject: [PATCH 05/16] arm: dts: rockchip: Add HDMI out for RockPI N8/N10 Date: Tue, 21 Jul 2020 00:21:09 +0530 Message-Id: <20200720185120.671064-6-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200720185120.671064-1-jagan@amarulasolutions.com> References: <20200720185120.671064-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=JBWTCv2z; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , This patch adds support to enable HDMI out for N10 and N8 combinations SBCs. Signed-off-by: Jagan Teki --- arch/arm/dts/rk3288-vmarc-som.dtsi | 10 ++++++++++ arch/arm/dts/rk3399pro-vmarc-som.dtsi | 12 +++++++++++ .../dts/rockchip-radxa-dalang-carrier.dtsi | 20 +++++++++++++++++++ 3 files changed, 42 insertions(+) diff --git a/arch/arm/dts/rk3288-vmarc-som.dtsi b/arch/arm/dts/rk3288-vmarc-som.dtsi index 72a503e50d..717cb3dc81 100644 --- a/arch/arm/dts/rk3288-vmarc-som.dtsi +++ b/arch/arm/dts/rk3288-vmarc-som.dtsi @@ -38,6 +38,12 @@ snps,reset-gpio = <&gpio4 RK_PA7 GPIO_ACTIVE_HIGH>; }; +&hdmi { + ddc-i2c-bus = <&i2c5>; + pinctrl-names = "default"; + pinctrl-0 = <&hdmi_cec_c0>; +}; + &i2c0 { clock-frequency = <400000>; status = "okay"; @@ -225,6 +231,10 @@ }; }; +&i2c5 { + status = "okay"; +}; + &pinctrl { pcfg_pull_none_drv_8ma: pcfg-pull-none-drv-8ma { drive-strength = <8>; diff --git a/arch/arm/dts/rk3399pro-vmarc-som.dtsi b/arch/arm/dts/rk3399pro-vmarc-som.dtsi index 111d6cf9a4..ebccc4a153 100644 --- a/arch/arm/dts/rk3399pro-vmarc-som.dtsi +++ b/arch/arm/dts/rk3399pro-vmarc-som.dtsi @@ -39,6 +39,12 @@ snps,reset-gpio = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>; }; +&hdmi { + ddc-i2c-bus = <&i2c3>; + pinctrl-names = "default"; + pinctrl-0 = <&hdmi_cec>; +}; + &i2c0 { clock-frequency = <400000>; i2c-scl-falling-time-ns = <30>; @@ -285,6 +291,12 @@ }; }; +&i2c3 { + i2c-scl-rising-time-ns = <450>; + i2c-scl-falling-time-ns = <15>; + status = "okay"; +}; + &io_domains { status = "okay"; bt656-supply = <&vcca_1v8>; diff --git a/arch/arm/dts/rockchip-radxa-dalang-carrier.dtsi b/arch/arm/dts/rockchip-radxa-dalang-carrier.dtsi index d2b6ead148..26b53eac47 100644 --- a/arch/arm/dts/rockchip-radxa-dalang-carrier.dtsi +++ b/arch/arm/dts/rockchip-radxa-dalang-carrier.dtsi @@ -66,6 +66,10 @@ status = "okay"; }; +&hdmi { + status = "okay"; +}; + &pwm0 { status = "okay"; }; @@ -94,3 +98,19 @@ &uart2 { status = "okay"; }; + +&vopb { + status = "okay"; +}; + +&vopb_mmu { + status = "okay"; +}; + +&vopl { + status = "okay"; +}; + +&vopl_mmu { + status = "okay"; +}; From patchwork Mon Jul 20 18:51:10 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1524 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pl1-f197.google.com (mail-pl1-f197.google.com [209.85.214.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 233513F03F for ; Mon, 20 Jul 2020 20:52:45 +0200 (CEST) Received: by mail-pl1-f197.google.com with SMTP id p4sf10945310pls.16 for ; Mon, 20 Jul 2020 11:52:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1595271164; cv=pass; d=google.com; s=arc-20160816; b=WTtcDDARNhJvWC3q0rKrOlcui1JhsM/6Qp5VM/U6VjmQjbp0MUJ0aN2vtFnfDOjrkr hApso11zmpiz5oH4B3SzeQO9jzdj7a0mL5qLaIUeW3R5VNI2XzK5GRrlfC8GEbJOEp4C by+EdhVtRxpOEUCNrV6Tr7lMdZikmpK2QACCX4KSbZwNHszihMMo5iWyqSKsJWi8yXwq 5Y2AyxD0nnWNqJ4bfMuLR+tlaMW6CqgqaRN81jHHuaQYdQO7q27LfOggeDBnF75jrE+P cDC9lruYBGiIcK+PQVXxcGQhnj+1bJk5L/AOhxdylhWfs0lpf5YuWIHNg6S5suodx0Qn +mEg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=8z7Aa+rW9CufxKa94wAhbfgoEDEpc9OwX6wphtDn3dk=; b=i2QZL+a0HywxHBPxPt6TPQZ3jP/yAmcZe2oYV997J6LtowvX2oWYZRFzlqFT9tH01x vzR5R80eyALvwDNXeE6vBBBEa9tS6h6jQfnxoz1ZGhNyFI/L0xAy7iWoDjZ31dxKizAx 1fB/InpvpFDXuznHwXKzrBXeQKzB/wehYPhhIpUG7TCttustJUiUSrz0YYi6vhKv3WK1 Nki2LWHQbk7NV7DEQB60uP5fFkzjkCVe0fs8Gx0cv0GrSbLMCBcYc9OtnYHzfz4QZF/P iBWIxyg5vHvHm1avjUmW6aVC3UbS1Kk3ESEJxpbMwchYCwhxqeBZv+7rzqAjGw8oH4tx UkNw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=bYYIcYpQ; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=8z7Aa+rW9CufxKa94wAhbfgoEDEpc9OwX6wphtDn3dk=; b=ZZE0ucg+RWrJgjHw2iP8Pa8yWf7ReKepTD1fF2M92RljuIt6VUp5Lj3xSBP643Kfiz gqAnP4YYrB1TvLQdrZvQG6DfUN0NKT5AgmxjLUbcsX7+sLDNGSWzTvy+5BjCebS1a2+L ok5TdwPu6iXDSekPBLA003yn7akwiQGn6bKVo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=8z7Aa+rW9CufxKa94wAhbfgoEDEpc9OwX6wphtDn3dk=; b=ScvkglfF3CcXl5oKRxsMz98LUst9yyK0JRxVyXJ5MDVQ7A9XIPQ3AMh6D3XbAc8LK4 609ctz17pqMFlq/tpwWzOdagzyuXppJZB6kCithk2Gw76ejbXciMNGm7CLgqgsmTPPq0 Sad2x3wtA5GHgZ2R2fWIp3kPBh5Eyd5Wi4ug1SGOHMGMqT6ZdzEDlpQ0hDkMceizybLc wx6MkJwQ+S/BSgda+cGL9wxPi5LcOsT3anTA5qEwUVAxDUWdSmUrKzx5ID4soVCkDOJX POp5zj/5csNqjd9HEsT78LXqg4zH01yJwFFxlALD4O3nOjjTIcrGmOt56YV73/+cb+a7 z62w== X-Gm-Message-State: AOAM530fU0mmgU8wkux/Qc3/q3aNghkYy5UMgGe9nZzI58kBSMJAuYgo LlKgU97u2Q2kQQ640wAuP3p5C3QU X-Google-Smtp-Source: ABdhPJzfeG64488Ibd999QCt0dYnjWW7/THUhdO76VQYBQu9RRaIO9Ldzz6iEeWMaBf23/qD0O5C8Q== X-Received: by 2002:aa7:9638:: with SMTP id r24mr21778201pfg.297.1595271163934; Mon, 20 Jul 2020 11:52:43 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a62:ce4d:: with SMTP id y74ls4915233pfg.3.gmail; Mon, 20 Jul 2020 11:52:43 -0700 (PDT) X-Received: by 2002:aa7:8bcb:: with SMTP id s11mr20205925pfd.170.1595271163521; Mon, 20 Jul 2020 11:52:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595271163; cv=none; d=google.com; s=arc-20160816; b=y3uMilZ9OlPV4aEGlm/pYurUpCzUKNucd1B22/gH+s933RV5WaiWwawH+kvY9nEBk7 L4O5zDT6lvz0YE9Kr1voy2g5Qw4au5EkKShDwR8NHP4Hi0YGPRJ6jpbW2htI4NoZq59M 3jZ4JPfcMQRLAYx7/BpxjuLFvPgPTRstnJ8LMUMd+6/UsnSvfO7622EJk39FwCA2zxbz JBGvPTWvXqEcGHQrBbyactfJTIx5iXj2JnPGfANZCCG0i1GoqB4JGMsvlrx7xBdM9UyB FrTat6++xaMCBnqLCTQaHfnsfhgNghoEj8M21dnrSOOPWPVGxgdyFrGQFq0ChgXjEiOf 7NMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=wpUasnmB4o6Pjbrfjg8n3mDLTrXsnyIXa7b2j1DH0iA=; b=y8yBE9lF6/Yxaq8aBdjKp6R5rB7VmRJn23SyRbiJWxvp8ntWba+8Yr+hIMnLydtGYo izIDAZdtk8UCRL6NxFiX4vTjyKOrUt8WHWe0KA1GzGN+2VRW8doqNhJmXUyiJI/yvbUc JR9HbHqu2fyBA/v4Of25CcqqV07NkVIqpjpHENsJb8LldjNo/Um6SR+BAlqg2QaQSofQ Zw9jka5Gc9jcZyixJpP2Ii3zyqbXpqxVVidK+blJsrR93lqFGmsWQit0FfNukJMTI1Ai itj+bPbrqxM2S6pQ+9/IZDUa0gJjy3PAlXVCucJEDjeEo9byn3yyNgeH/0HZaWj9A7p4 C0OQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=bYYIcYpQ; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id o11sor544686pjo.28.2020.07.20.11.52.43 for (Google Transport Security); Mon, 20 Jul 2020 11:52:43 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a17:90b:1881:: with SMTP id mn1mr781562pjb.198.1595271163229; Mon, 20 Jul 2020 11:52:43 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:8c21:db7b:4558:fba3]) by smtp.gmail.com with ESMTPSA id m9sm306649pjs.18.2020.07.20.11.52.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jul 2020 11:52:42 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Cc: Suniel Mahesh , U-Boot-Denx , linux-rockchip@lists.infradead.org, linux-amarula , Jagan Teki Subject: [PATCH 06/16] arm64: dts: rockchip: Add PCIe for RockPI N10 Date: Tue, 21 Jul 2020 00:21:10 +0530 Message-Id: <20200720185120.671064-7-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200720185120.671064-1-jagan@amarulasolutions.com> References: <20200720185120.671064-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=bYYIcYpQ; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , This patch adds support to enable PCIe for RockPI N10. Signed-off-by: Jagan Teki --- arch/arm/dts/rk3399pro-vmarc-som.dtsi | 40 +++++++++++++++++++++++++-- 1 file changed, 38 insertions(+), 2 deletions(-) diff --git a/arch/arm/dts/rk3399pro-vmarc-som.dtsi b/arch/arm/dts/rk3399pro-vmarc-som.dtsi index ebccc4a153..5d087be04a 100644 --- a/arch/arm/dts/rk3399pro-vmarc-som.dtsi +++ b/arch/arm/dts/rk3399pro-vmarc-som.dtsi @@ -11,6 +11,18 @@ / { compatible = "vamrs,rk3399pro-vmarc-som", "rockchip,rk3399pro"; + + vcc3v3_pcie: vcc-pcie-regulator { + compatible = "regulator-fixed"; + enable-active-high; + gpio = <&gpio4 RK_PD4 GPIO_ACTIVE_HIGH>; + pinctrl-names = "default"; + pinctrl-0 = <&pcie_pwr>; + regulator-name = "vcc3v3_pcie"; + regulator-always-on; + regulator-boot-on; + vin-supply = <&vcc5v0_sys>; + }; }; &cpu_l0 { @@ -142,7 +154,8 @@ regulator-min-microvolt = <900000>; regulator-max-microvolt = <900000>; regulator-state-mem { - regulator-off-in-suspend; + regulator-on-in-suspend; + regulator-suspend-microvolt = <900000>; }; }; @@ -177,7 +190,8 @@ regulator-min-microvolt = <1850000>; regulator-max-microvolt = <1850000>; regulator-state-mem { - regulator-off-in-suspend; + regulator-on-in-suspend; + regulator-suspend-microvolt = <1850000>; }; }; @@ -304,6 +318,22 @@ sdmmc-supply = <&vccio_sd>; }; +&pcie_phy { + status = "okay"; +}; + +&pcie0 { + ep-gpios = <&gpio0 RK_PB4 GPIO_ACTIVE_HIGH>; + max-link-speed = <2>; + num-lanes = <4>; + pinctrl-0 = <&pcie_clkreqnb_cpm>; + pinctrl-names = "default"; + vpcie0v9-supply = <&vcca_0v9>; /* VCC_0V9_S0 */ + vpcie1v8-supply = <&vcca_1v8>; /* VCC_1V8_S0 */ + vpcie3v3-supply = <&vcc3v3_pcie>; + status = "okay"; +}; + &pinctrl { hym8563 { hym8563_int: hym8563-int { @@ -311,6 +341,12 @@ }; }; + pcie { + pcie_pwr: pcie-pwr { + rockchip,pins = <4 RK_PD4 RK_FUNC_GPIO &pcfg_pull_up>; + }; + }; + pmic { pmic_int_l: pmic-int-l { rockchip,pins = <1 RK_PC2 0 &pcfg_pull_up>; From patchwork Mon Jul 20 18:51:11 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1525 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pj1-f72.google.com (mail-pj1-f72.google.com [209.85.216.72]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 9309B3F03F for ; Mon, 20 Jul 2020 20:52:54 +0200 (CEST) Received: by mail-pj1-f72.google.com with SMTP id k7sf386251pjw.2 for ; Mon, 20 Jul 2020 11:52:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1595271173; cv=pass; d=google.com; s=arc-20160816; b=AS0inmdn8AtWf6kbL559c/6wMwE1QqkNQUblKaelQl3Cy94N+LefE8pkOreqdQTHfJ IycwTOBippWOYhZiSi3ZG5mBqzLycSJNgvmO6w0tKutbnTn4OnBjTE1YxdOkJfay5r1l qh4SB2P4yJPfPvUMmwMC1BN0QNkFrBz1JQJ1bNtzDeWoVqwESpiN/OnnHoLKZMI0Izp5 FgLnsMz+nETYFXZmWQ0z+iZy3z+Eotlh10I3t3P8XpCYOF1NGxbSEHXaJhYhxLL5fOd5 rUHRfza0qyPqEt4WpCWVJqL8SqQPWIyyET7QpLeAD8NixMHlbTjBW6Kuq0vc1TcDcR84 o5oA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=o57sxfPplv08v4aAwKXmSA/cRKA3Xr5znJ5XOWGjhhg=; b=Aj8HdagY42HzIACfdG05ty5ugNEP6z4K/pJi2WJSYzSW79fxlHDX/5maXwE1NKDebl GzxpBilQX1mhpEw3+AV355yFXCnhvtubdItWXq4kl2qnwXsIcFmGsN0hLa4iAMCMNS7s JwT3Cv2+g2CnpJSoI3UYmHGDI5TeuoQAoH+4mObmhBICHtpsDHcNx0ghDCnqERBe86NV DBRYowBakUl+XLR5WbpRjUQB1zKlaxSQRexZN3RW343QucujfDqdHaDUsQXARuPEbwsS SiBE6DkekKuF57RsDqBjk2I8UktaP3IcyiPddY/XKHC5eyMqey/+mXViT0Ec0DcUDZko TNbg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Ril5p3N3; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=o57sxfPplv08v4aAwKXmSA/cRKA3Xr5znJ5XOWGjhhg=; b=EGmto589h4ejGpXhY3jmJvU0G5EcKZ5aa5uaQGdqKKVeQt0bcF8SwE7tPz7FcjqetI XDl7pAow8bMwnz/VRbKSrAC3IiHH0bo2NyQhdoqyppMnMUy7XuQauO14l3I9ExjSBaTi ZJ87yx5EO6ZCFJ+p8zBmrOC4IPv9uqfiUvmHw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=o57sxfPplv08v4aAwKXmSA/cRKA3Xr5znJ5XOWGjhhg=; b=GpIoPjoIKxe+NRh8Qcez+V2p0E3v/3uIzuEmnNYqrhNkqneNJcaMhutuZneat8mviM Y+0QToIjmclFmAg23fQ4Se0iQZ/C6QlAQeFBR2AAKe4DQc0eNugi7S33C6O41r359FhX KD0lJQf44oC8GzoIHunTAwsPaCGysIElE8ZThQ+xx/XA2UU5ZV9E6JED85K0wEndXT1v xEqbwJkYOVlLbAVEa1lLH07MDDTm1sjMhFYa7kFPSPEQsbTL/n5Yr8DT5S7iF4Nmch7n Mw6nY20hpVf39GEKfJhLs2yPyOfLnLIR1wmZOdGPzrr9nYCZImz2Ys398j+AeiLpcqyV wGoA== X-Gm-Message-State: AOAM533w/d67uvyU93J2YEnhknSjbWSSps+Lmzs2/9TlcpLO1xQl1vlF l+972BWhvbphHgwnrtyOFeyNAwTU X-Google-Smtp-Source: ABdhPJxIynWc9JfxjzpkaTE/ST3oLRf0hlWRy6lG48560cO7qnUL3JumBkEq0/bATThE0LgTeGhbKA== X-Received: by 2002:a63:7c5:: with SMTP id 188mr20277353pgh.48.1595271173116; Mon, 20 Jul 2020 11:52:53 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a65:684d:: with SMTP id q13ls2102620pgt.2.gmail; Mon, 20 Jul 2020 11:52:52 -0700 (PDT) X-Received: by 2002:a63:7313:: with SMTP id o19mr20290361pgc.307.1595271172674; Mon, 20 Jul 2020 11:52:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595271172; cv=none; d=google.com; s=arc-20160816; b=wA3/M30BiXqSQqY2w92xEN6H5ZVr8z9j5VKko0seaytMTBZcR/OcrdTq0DWv6RJd5q 6c8lPIhXe7KORLGS6snOUXTZU4fBt6cT/VmrkyY/GiID7TA02LbAAR8GZfLHB5MnOfrV Xy3v2N5sz2efnKgJUNbaxwonZta9X4RXTRObylEXyYrD6XOdIRQTID5qpTIs1lrGlYCl Y0wAH0KLUAwQrr9aly6xyFEXVWa/5pBeA9PmfE8y+/TvIoSTiAh77e/hNOJdw8QExfEb u47LTyI6d4Dfg2SAV6UB5L0bNycPAEAO7KHBfrrayerdkR+leWpGI7rBpJzuBm3o0EKv 9rOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=0HK4g7TYqmmHN/W0eIFzrv/EvYg0eoJ9dUqmdaOVvAY=; b=L8UrkBB2jh/Kf+CW6ewjwlQ1RjBvDf/sYMgjx15wUl2wBTxgWjEeca65S6SxaSi2hg XDVNWdwXY2TmcVZkygbnD1BONnLByaMY2VF7g8wGb/VS+Ne05v86QJnnax/fEYlJcWhe QzUWkUyKAH1iXonYMBVWeHu9oUCiaDi7QsZvWV0Oxoi3Voyn4rU6hVyX37NmwzPAJzz7 SOuLDyoh2YzYQhO6f8OwT6kXwgMCRjiLetpRxd+u2lYlq21Ozf0DgHVoG9fE0957q9bt 2wi0Slq9Oprj8q+d+lbLbJdQEKOf0m/jvP0TwsP02YcTPpVVoiG6LXQQioQ3k1CY7Jpc faxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Ril5p3N3; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id t6sor23003248plq.18.2020.07.20.11.52.52 for (Google Transport Security); Mon, 20 Jul 2020 11:52:52 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a17:902:b18b:: with SMTP id s11mr19508146plr.152.1595271172334; Mon, 20 Jul 2020 11:52:52 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:8c21:db7b:4558:fba3]) by smtp.gmail.com with ESMTPSA id m9sm306649pjs.18.2020.07.20.11.52.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jul 2020 11:52:51 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Cc: Suniel Mahesh , U-Boot-Denx , linux-rockchip@lists.infradead.org, linux-amarula , Jagan Teki Subject: [PATCH 07/16] configs: Enable USB host on Rock-PI-N10 Date: Tue, 21 Jul 2020 00:21:11 +0530 Message-Id: <20200720185120.671064-8-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200720185120.671064-1-jagan@amarulasolutions.com> References: <20200720185120.671064-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Ril5p3N3; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Suniel Mahesh Enable USB 3.0 and 2.0 and related configs for the Rock-PI-N10 target, which hosts RK3399Pro-VMARC-SOM. Log: Bus usb@fe380000: USB EHCI 1.00 Bus usb@fe3c0000: USB EHCI 1.00 Bus dwc3: usb maximum-speed not found Register 2000140 NbrPorts 2 Starting the controller USB XHCI 1.10 scanning bus usb@fe380000 for devices... 1 USB Device(s) found scanning bus usb@fe3c0000 for devices... 1 USB Device(s) found scanning bus dwc3 for devices... cannot reset port 1!? 2 USB Device(s) found scanning usb for storage devices... 1 Storage Device(s) found => usb tree USB device tree: 1 Hub (480 Mb/s, 0mA) u-boot EHCI Host Controller 1 Hub (480 Mb/s, 0mA) u-boot EHCI Host Controller 1 Hub (5 Gb/s, 0mA) | U-Boot XHCI Host Controller | +-2 Mass Storage (5 Gb/s, 224mA) SanDisk Dual Drive 04019c9b2e1a58f24ee318c3c123aa5 => usb tree USB device tree: 1 Hub (480 Mb/s, 0mA) | u-boot EHCI Host Controller | +-2 Mass Storage (480 Mb/s, 224mA) SanDisk Dual Drive 04019c9b2e1a58f24ee318c3c123aa5 1 Hub (480 Mb/s, 0mA) u-boot EHCI Host Controller Signed-off-by: Suniel Mahesh Signed-off-by: Jagan Teki --- configs/rock-pi-n10-rk3399pro_defconfig | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/configs/rock-pi-n10-rk3399pro_defconfig b/configs/rock-pi-n10-rk3399pro_defconfig index c705ce01ce..e09e656fbc 100644 --- a/configs/rock-pi-n10-rk3399pro_defconfig +++ b/configs/rock-pi-n10-rk3399pro_defconfig @@ -19,6 +19,7 @@ CONFIG_TPL=y CONFIG_CMD_BOOTZ=y CONFIG_CMD_GPT=y CONFIG_CMD_MMC=y +CONFIG_CMD_USB=y # CONFIG_CMD_SETEXPR is not set CONFIG_CMD_TIME=y CONFIG_SPL_OF_CONTROL=y @@ -36,11 +37,23 @@ CONFIG_MMC_SDHCI_ROCKCHIP=y CONFIG_DM_ETH=y CONFIG_ETH_DESIGNWARE=y CONFIG_GMAC_ROCKCHIP=y +CONFIG_PHY_ROCKCHIP_INNO_USB2=y +CONFIG_PHY_ROCKCHIP_TYPEC=y CONFIG_PMIC_RK8XX=y CONFIG_REGULATOR_PWM=y CONFIG_REGULATOR_RK8XX=y CONFIG_PWM_ROCKCHIP=y +CONFIG_DM_RESET=y CONFIG_BAUDRATE=1500000 CONFIG_DEBUG_UART_SHIFT=2 CONFIG_SYSRESET=y +CONFIG_USB=y +CONFIG_USB_XHCI_HCD=y +CONFIG_USB_XHCI_DWC3=y +CONFIG_USB_EHCI_HCD=y +CONFIG_USB_EHCI_GENERIC=y +CONFIG_USB_DWC3=y +CONFIG_USB_DWC3_GENERIC=y +CONFIG_USB_KEYBOARD=y +# CONFIG_USB_KEYBOARD_FN_KEYS is not set CONFIG_ERRNO_STR=y From patchwork Mon Jul 20 18:51:12 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1526 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pl1-f198.google.com (mail-pl1-f198.google.com [209.85.214.198]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 432F73F03F for ; Mon, 20 Jul 2020 20:52:59 +0200 (CEST) Received: by mail-pl1-f198.google.com with SMTP id f2sf10959059plt.2 for ; Mon, 20 Jul 2020 11:52:59 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1595271178; cv=pass; d=google.com; s=arc-20160816; b=c5rQSh6Gyay4dkkDbX/ioa/ei/HDNuP+RkY2F8iSwNq/vgDqLS8pw1F6qKr2xcm5Po jUQivtKodPfpUyFy+NZ3Nm5s2ga05XSnbxTTRvaqEvUHkoY5JqOZ7TWGfj3wSt0oL8nH EILd5ZauMlL+L0a6ymFer9B+G5e06deRPSc3WknH3pncOUcA4yaT88XxkiM2b5Yi8RRK 33xw7899utHOhhrog6vIp1YRSnhN3kTOmAMQd6THeZN+8V3Bi529hUt3LZHyejstJrl8 154gA7dO8vcm8gBiqRL1AuYgoP/I7h/mmJyVQXgxlj6CVGXtDpCrcRPD4BzyB5mvonFg Lkrg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=tQp3YE4XqW/T84+NIvEmOz3L7dDWDRvTz3GtT2DCisE=; b=NFYGuva1YLPSld+tt1HwDb6ArCc9rQRivPZYb/nwJBKui/Kbxe8J3aC74s/+r47c5O R1arSxICR+L4YkBErXtAY3k/U6XvHgLoFeg20LXTc+9Mhsv0320ADsXVpm9huRTzBh9Y h9MZ5YLaS1SHXrqoZhRWtPfrabraAqgYrluq7P+T8x8h5vKMk+cx2jM6A1In6kdW1PBF t7aQvn9IPYmAuXw2mSEWbOkpkC9IUf+JE0ugAHhEoHVhKJIhC6P0p1egVIsIVHXS0XAG dG6ir2e1J32N4hLvWQftMI6pUcOB+fEacA0GgQeWMaSQejwj9tlUi7XvisPqnvAiekyP eqUQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=G1A9guHE; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=tQp3YE4XqW/T84+NIvEmOz3L7dDWDRvTz3GtT2DCisE=; b=igS0BnbeZcCGAjawSRQkd0c4vFUtYCHDEUFWMU7M2uINZhhZuk7aX1Xzed4c8dddgt szV7iPximrDLFFPkLDk7hfMz6ecAojYX6lMVlZBMt29aCGj9qjuHu1trqP+cHNb+YzRo DKZFvUrJJvzsK/KUcRCqrakhjX41m/rP6svQQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=tQp3YE4XqW/T84+NIvEmOz3L7dDWDRvTz3GtT2DCisE=; b=heW8U0iZVLQDCgdJqicjkGdVjYO10HnYHtHsT7bq37/OIQFdkzLKWYdOnumipbMH7E rUNCuH4zuc0o+5F81JyC9Jetc+M9zcjO8Tf0ou9q4NvLmJkaccL3j8KZf2PZ1r6wDd18 tIdiXbxsHuRn4zq2uxYqxzhXIMY7mHnEGFDUQGbcEcPHH/D3t0x2eaY4E+56USWWvtO6 dw6nIBwqEirEArClqURPlDEZlqgqy7KHyb3jyAsaXBAO01lruxRdWwxWR07+jSmWymR/ 4148o9DFDXPaDmrCGv77eL4qpgL1F4wauxaM/sVfxHwW2bmX5eEFC936kcKoQ7qkJWjZ Pbmg== X-Gm-Message-State: AOAM531aShO+lX5iVpxWOHD3pZOI5HgBbAjVrHHsS3Iz3ChjUI5ydVez 7AI/rkG3ysUM2PZFz0MImpHXtJ3y X-Google-Smtp-Source: ABdhPJwV/IUThdfQZW242zpk5UtqTc3wemS+ezuoitir46ATMC4P7LtzR8/fL06v/cnOp85MbL72CQ== X-Received: by 2002:a17:90a:7805:: with SMTP id w5mr835563pjk.192.1595271177978; Mon, 20 Jul 2020 11:52:57 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a65:6891:: with SMTP id e17ls2100762pgt.3.gmail; Mon, 20 Jul 2020 11:52:57 -0700 (PDT) X-Received: by 2002:a63:8b4c:: with SMTP id j73mr19451683pge.209.1595271177517; Mon, 20 Jul 2020 11:52:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595271177; cv=none; d=google.com; s=arc-20160816; b=LAgopNZ6PO6E0v9NsoidKdNCEgWi2r4zyPQrKVIEk30Mz0hGi3E3LrMz4/I9Y6iKSW wMPOCL4DJJHiM2P7to4y95pDm35F1EM36Z42FqllV3/5r+BCsXhKNA+Smlrl2nULYtMj 0ppaBLXUWokkyseET9LbzUTUGYhsk/AuXnlJ4/TLNoszEsM+DcJxVQm6M5RGUUG9D+QC Z8FpRr4JWcJE4bCBan7171nvj1JyVgOF2BN92jx2VqvTguj7FYiRhP+lU9W7hhs9VQku PHpl/SwZmCoNb7xpkw0/q/+lpwXo7x0n5X5jCkYyenp74XzU8WKJIwx2ux7/ExGU7oHm +jiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=ivhzH5Wyb3uQFR5noyE3C7kZp4bbfexpUf3v7+y1AX8=; b=fshg54MWcx10QJHp1zA+yOO2H+YFk+VUhHyiFuIuGCsZxk6BdmJaGX+DokoBxak7dS GlGmQwp9TWLT5ekcoUdWJkw9NeN4cqlyYEr1NX+OqF0f1SCSUw2TkFkDuIXmseuSykGk MBn6BQZXNJIWWGFtrlz66/y08Xz/GCPfZhjy9ckSj6PXMfY0gV6AfWuxRI9X8Sxgy5nK cHMqybNS2ZXA07/JTZ2QoeFaUxqCbOLubJW9nwchmLC9r5QPCGa5USdALLugv6WQH2OJ Zm0KYatzhDp8991PhyUSSmfAMDuQlTnHzKq/95YvNJtKYYD7JPnQvxeIhxBLCNFL6ARR ngxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=G1A9guHE; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id f36sor21585287pgf.36.2020.07.20.11.52.57 for (Google Transport Security); Mon, 20 Jul 2020 11:52:57 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a63:545e:: with SMTP id e30mr20055370pgm.62.1595271177204; Mon, 20 Jul 2020 11:52:57 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:8c21:db7b:4558:fba3]) by smtp.gmail.com with ESMTPSA id m9sm306649pjs.18.2020.07.20.11.52.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jul 2020 11:52:56 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Cc: Suniel Mahesh , U-Boot-Denx , linux-rockchip@lists.infradead.org, linux-amarula , Jagan Teki Subject: [PATCH 08/16] configs: Enable HDMI output Date: Tue, 21 Jul 2020 00:21:12 +0530 Message-Id: <20200720185120.671064-9-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200720185120.671064-1-jagan@amarulasolutions.com> References: <20200720185120.671064-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=G1A9guHE; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Suniel Mahesh Enable config options to get HDMI output on RockPI-N10 target which hosts a RK3399Pro-VMARC-SOM. Signed-off-by: Suniel Mahesh Signed-off-by: Jagan Teki --- configs/rock-pi-n10-rk3399pro_defconfig | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configs/rock-pi-n10-rk3399pro_defconfig b/configs/rock-pi-n10-rk3399pro_defconfig index e09e656fbc..ba2babe20f 100644 --- a/configs/rock-pi-n10-rk3399pro_defconfig +++ b/configs/rock-pi-n10-rk3399pro_defconfig @@ -9,6 +9,7 @@ CONFIG_NR_DRAM_BANKS=1 CONFIG_DEBUG_UART_BASE=0xFF1A0000 CONFIG_DEBUG_UART_CLOCK=24000000 CONFIG_DEBUG_UART=y +# CONFIG_CONSOLE_MUX is not set CONFIG_DEFAULT_FDT_FILE="rockchip/rk3399pro-rock-pi-n10.dtb" CONFIG_MISC_INIT_R=y CONFIG_DISPLAY_BOARDINFO_LATE=y @@ -56,4 +57,8 @@ CONFIG_USB_DWC3=y CONFIG_USB_DWC3_GENERIC=y CONFIG_USB_KEYBOARD=y # CONFIG_USB_KEYBOARD_FN_KEYS is not set +CONFIG_DM_VIDEO=y +CONFIG_DISPLAY=y +CONFIG_VIDEO_ROCKCHIP=y +CONFIG_DISPLAY_ROCKCHIP_HDMI=y CONFIG_ERRNO_STR=y From patchwork Mon Jul 20 18:51:13 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1527 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pj1-f71.google.com (mail-pj1-f71.google.com [209.85.216.71]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id A94343F03F for ; Mon, 20 Jul 2020 20:53:08 +0200 (CEST) Received: by mail-pj1-f71.google.com with SMTP id 8sf380917pjk.5 for ; Mon, 20 Jul 2020 11:53:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1595271187; cv=pass; d=google.com; s=arc-20160816; b=BBkAF9ic3KkmwoOfr+P2SR9XYpzD5XmX2gwFMzmlrAMTgO04xfxTRO1A2tE2ZxiiA2 CpCAIZBuGyWWEui1z5uj4c1ELPsrXmxBxfWV6UvmwURz1YJO0+Met6GxGPUuIv0Vlk3n h/jjF4ZCcEnW3qkmFrLWE7S8Z4WEdGYiJSRMXyBQuBl2zlcBnOQrEJfon6sF11qt9TpF Z7VGO5uAWduQHaEYO4UxgmnJ1nk1qB5DEql50GmzzfCi4ZrCb6XNzZOPipdUACZmsD6a dRD0DY++n3mXv9h0oQHkn4tn3RFpDmjpmiEqemPml7ioNg3m+J5Mgh/fZwFGSYDFSTSy fuVw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=+FyvNhGl9cgTcSEg5aRE/osk+4b3u/UFM6Tva1QhrT8=; b=ypLqtY1j1rBlP6TG6rq3Tsu2LDnfANrjHADq+LuL/04tvrb1h92pj/N+GjWPiTXdJu /5vvgEgzLKFrqqKLc9nE2hBDDfblvw4oFadVcJTQPutGFl0VYx+w+59qBPVHZFxhFBl8 /Bi/+eoIGB0kSec7ZrnjaVzRTu9bBcp5am+geCynGsgjs69lUijeSaJv40udETQyyvj7 pzOrGgbsInXzXKUGcwtbAi1drbzOlULElR4QIGzJE1sUDvYuAtbAhtqSQlUQxVofLZHk yjJPWYcqmynkXa20yZMUj6sQIFJ3mwn6r6zZApRVxD9h9VhLDdnD0o50Bv23KcBncGQb ubfQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=V0AM29rv; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=+FyvNhGl9cgTcSEg5aRE/osk+4b3u/UFM6Tva1QhrT8=; b=WUX983fZxwxuWixqQ7IKWFXBdMjFxYyR4q24X8NwbEBfde5bp1/hGkeb9E3DGMpLwk TaYqQzHxWl8z4kAtQU/3nhBGlK5dVR0P3ApPrpIZDCENj2vMEiqVzVPGjh3Hz3bTohYD xfTgqjT4Zt+CBSGviSfk0dqPQ0eA/PDSgwDgU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=+FyvNhGl9cgTcSEg5aRE/osk+4b3u/UFM6Tva1QhrT8=; b=hc3baU+LlWARJGs19AUuK/L9NS0cqpCJOr/uIr5ze7nyhSvVx4pTPtXr2OlU5zy1kh jN17WBfTlcGx2BlMRayyZggmNF9oDl07hhjZEA4KMNZ9ZoqvkZcPbZi/NXx15B5dSKCI uYqRZIiKfI+zAVSkTovo1D0gEC0PvjYBsghlGrqgy5pIvsQQMWESkw56BjYhqMbe08dh CqXm+lh62rqz8GWYV5xU/KVhLVQWaUl2AVlzGrf5J2Ilw1D20nnAY5KFfFQofSH2bUZR lpSOP97cIYKF/DXG1/f77cc9uBjKDnC13CHxPtn1P0JaLE5Iwuc0RlaWZ0vpJaM7g5QQ KIzQ== X-Gm-Message-State: AOAM5311IAubNSVzjzBTzLYSVLPs39mG5tPvVCKtEdXXZo234SHX5JaU iJnldaLlqj2fK6K41SC0YZ7PH+c9 X-Google-Smtp-Source: ABdhPJzWTWIGESYh6ypFChieyXT4qaGLwYe++cZc5qiSkW2xBA8KqIkwgtl7GIzuEb7k6iTOE6VK0A== X-Received: by 2002:a17:90a:2a02:: with SMTP id i2mr767351pjd.157.1595271187512; Mon, 20 Jul 2020 11:53:07 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:be15:: with SMTP id r21ls1748335pls.11.gmail; Mon, 20 Jul 2020 11:53:07 -0700 (PDT) X-Received: by 2002:a17:90a:32cb:: with SMTP id l69mr672055pjb.205.1595271187061; Mon, 20 Jul 2020 11:53:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595271187; cv=none; d=google.com; s=arc-20160816; b=UBJ0BNPkQUzDAJxErMxdpvuMt8KfXv4n5BjgvCF629XRVV0jSGCgyHs5wNZhPYrZ7D SsrAPGs2YEVMroqFeC6f73ezU/9NIUij99ufEtLDb2/E7nwfkLCCOc237AZuSs5umh4O PnVgKFPlDX7HPls5Q3OWCjvTsBva8nazK6sd3U52leJHy3amnsx0FinEogSahVx7NaGR 8X5WcNHEh8ySU3GI0hy+Js92+shu5TLjpBQFfhYZT/UiylupZCkfQUdLZdinqmXr6jEg wM5Zs3FHrnket2k8Y6EgVnRNkiTLRran9fFQo6YEAiqHo/D4xP+vEmAhoVgNpd3byWpN Q2rg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=wsm6jM/UPrVl+g18X/BCAbCB+E47r6mSS3s4nQasxBg=; b=ZqJAS5qq83BmC/MopeNUMTx2PL1K3tMoWCiIZxTHPcFPB3ZPfTpFBYM9JANZDrkS88 AzO/KxxhxC01lJqGL+WRD1oyHm4gE3heuvT7V4O/0rHoPMvpaip+AqAZB/Ay8gWzbSLE HqHjr/nmDzkl9/Pg7VvzR1xyU4Jqji8AZsI8NtpvNni3Q/juVMAV/zKGHje6eGMlr+Ls TgeULLmQbLhZTHZyCw2DmWzf6j2wV5Y5MzqXkyGAtEzlRn8sOqndW4LTOLr92Ei7fmdg 4ZxSrih+mN7972Bze9OvzaIz7EWEHx2uZKTZC1cu54TGjj5ixEb6mHn9x+nblZMuYjVl XsXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=V0AM29rv; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id e20sor11516983pgn.33.2020.07.20.11.53.07 for (Google Transport Security); Mon, 20 Jul 2020 11:53:07 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a63:7313:: with SMTP id o19mr20290876pgc.307.1595271186704; Mon, 20 Jul 2020 11:53:06 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:8c21:db7b:4558:fba3]) by smtp.gmail.com with ESMTPSA id m9sm306649pjs.18.2020.07.20.11.52.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jul 2020 11:53:05 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Cc: Suniel Mahesh , U-Boot-Denx , linux-rockchip@lists.infradead.org, linux-amarula , Jagan Teki Subject: [PATCH 09/16] configs: Enable USB Gadget for rock-pi-n10 Date: Tue, 21 Jul 2020 00:21:13 +0530 Message-Id: <20200720185120.671064-10-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200720185120.671064-1-jagan@amarulasolutions.com> References: <20200720185120.671064-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=V0AM29rv; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Suniel Mahesh Enable fastboot and USB gadget related config options for rock-pi-n10 target which hosts RK3399Pro-VMARC-SOM . Note: Connect the Host USB cable (Type A) to rock-pi-n10 USB 3.0 port on carrier board for fastboot. Signed-off-by: Suniel Mahesh Signed-off-by: Jagan Teki --- configs/rock-pi-n10-rk3399pro_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/rock-pi-n10-rk3399pro_defconfig b/configs/rock-pi-n10-rk3399pro_defconfig index ba2babe20f..895820fbe6 100644 --- a/configs/rock-pi-n10-rk3399pro_defconfig +++ b/configs/rock-pi-n10-rk3399pro_defconfig @@ -9,6 +9,7 @@ CONFIG_NR_DRAM_BANKS=1 CONFIG_DEBUG_UART_BASE=0xFF1A0000 CONFIG_DEBUG_UART_CLOCK=24000000 CONFIG_DEBUG_UART=y +# CONFIG_ANDROID_BOOT_IMAGE is not set # CONFIG_CONSOLE_MUX is not set CONFIG_DEFAULT_FDT_FILE="rockchip/rk3399pro-rock-pi-n10.dtb" CONFIG_MISC_INIT_R=y @@ -55,8 +56,10 @@ CONFIG_USB_EHCI_HCD=y CONFIG_USB_EHCI_GENERIC=y CONFIG_USB_DWC3=y CONFIG_USB_DWC3_GENERIC=y +CONFIG_ROCKCHIP_USB2_PHY=y CONFIG_USB_KEYBOARD=y # CONFIG_USB_KEYBOARD_FN_KEYS is not set +CONFIG_USB_GADGET=y CONFIG_DM_VIDEO=y CONFIG_DISPLAY=y CONFIG_VIDEO_ROCKCHIP=y From patchwork Mon Jul 20 18:51:14 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1528 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f197.google.com (mail-pf1-f197.google.com [209.85.210.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 0F9973F03F for ; Mon, 20 Jul 2020 20:53:23 +0200 (CEST) Received: by mail-pf1-f197.google.com with SMTP id x62sf13333571pfc.20 for ; Mon, 20 Jul 2020 11:53:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1595271202; cv=pass; d=google.com; s=arc-20160816; b=lPi53sRg0GP7KJlaD9Nl/rkyRq2F4UMig3K9+0W9yI0gDGND4dA2tHqO0TsqPI9dGh A+am/+vqx3POpljCd43nvxgstILqRBlDXianESwcK9pC7queMki4klXJoUeTtNTZdrgn wekLWcIRLFQ70vCdLhQls7LuBnG/NLq2ba0yovSFoLAAPYCLEVQ2QPQMg4G6LM7NP6OH +cbD/2IOZMPCmLG0m4MVMjcB4w3c3QJgAe6p38U47GEmDP4xqvYsOpy9PA5fcg1cSca8 LdaBD8Krf2oEVjBTdAcBjWOMW4T1imi6LdPXrvjBptSyFUZpjS2VBBgE8ClZ4Y5xx8TB ZhWA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=hNFsbGoDzF64pT6j4ErJuWuBByJFU1DCYXONavns+3s=; b=WNy+2aINMWylWRPtfqqlloq7QoJJBS6cztINEWIbIxGczjg8SihOoKgtQgP5GGlA8k M5BD4K0oPzWDut0K97snHjOYRxYQVp7eZy+UE1waj63jDwuZ7cA4qDPg4fqxjj2nHKVe EkmeGt/3dZnMbdn2SWl4+qKUBzH/VlPYpVmd+gHSphyiJXGJod+zqfILSS83wbCglbvF dxDDuRw1hT4+Oj6svcz3+C5e4ffFhsvrcupy+6DBWfOFxvkutss+AP670E/XuR8Ne4sZ nFmBj3cl7JFL4EW1yys4Y4+E4vWvoXdEPkx0kPJWoLdvt9sA2bZKJr0m5bpFYHbYyYTO /0ew== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=WAy6UAYl; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=hNFsbGoDzF64pT6j4ErJuWuBByJFU1DCYXONavns+3s=; b=Ix207EpBYvt7yc43biQ3htwGmQJklqF+ysnfsM84YI/KjhKqRcoQuM4dfjMqnwLYmb p3uvJygKThtAg0xBXeWUGspy1CfgYuQLVQtQL6mAp7PBOs8Srzerc3U+2dcxD+L8fpMW Vs5GmPxqfbNYM3U8vFVTj8+E5UwJGrYlLc4+U= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=hNFsbGoDzF64pT6j4ErJuWuBByJFU1DCYXONavns+3s=; b=EsyxddrAaCOPi52TeZEfCp/i26LI+FsKRAqXiukiwb2+zLDk1UbIBezCPiMZQZ1GdL tKcKfw6Fh6P5BL3CeynvgDtM4NfIZZ7gkUPV6RIRt/eIbYZQoa27wh9UE73hDkl3D2Ux 4j/fPiQPj2A7SfsXkOKsVBi7zQDFuW6CAc0LQY+/fX4f+wddK6lk86Pq/01pTfnISraI AIeBRIhQzZ10ZTneMnPhQaMPVlZEhfBOGXDZbXV7lKtMhQ4oh1N33h36ErlmBy49j5PC tGF/WcdMd6fFtfW5EJ0bbFFYzV0BwqIo7T7cDJVrjXkSxoz/TV7q3kvxIHTpk82C0Nh9 PUOA== X-Gm-Message-State: AOAM532S28FLzsmxr9Xz27/rEKrz3XkZypbzqAz+6HH42uKIayKzqO3S raC/OY5CpqFpf7cY88CMaojWCQup X-Google-Smtp-Source: ABdhPJxMS5TvqkdvBViH+5SJo0OOAv4o+I8EIJIaVydkzHOMqbNkAtblRTcqR/bUV/HfJY5M9XNBSQ== X-Received: by 2002:a17:90a:9ea:: with SMTP id 97mr830274pjo.8.1595271201831; Mon, 20 Jul 2020 11:53:21 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:aa7:864e:: with SMTP id a14ls4914793pfo.7.gmail; Mon, 20 Jul 2020 11:53:21 -0700 (PDT) X-Received: by 2002:aa7:955a:: with SMTP id w26mr21335817pfq.137.1595271201301; Mon, 20 Jul 2020 11:53:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595271201; cv=none; d=google.com; s=arc-20160816; b=etCXqGELBuTSGuTFjMOeufzmayTXNpn0YrvrKAtKI3A0lU7NBzkkueXgV2syEvQ7Jg mXF65AD3/aKRhzSDCL1L5E4ZMJ9SCR+aiLqSeV/lGkWILQFgfG0Rr7GCWTQFDJcQJEEZ scAbhmxfFYG2eEOfWtHu9x9f6A1ezi4g3wJSMDaTudvpBLeMYaeN99o3Hvnzmorsw86P Ifnf+1ZS/KODjp4ZjflwZT044zz9dCruuzlk+3ENf7A3PXZVKQbaMiQC+DkkbWNajIZs NYE99HDUYTVTT4W/WboXgS9qEKNl+HvWkgRH/kL55UO8sDxhcYqZ6JWM9plU5q5fSw6k cgzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=ATxu64dtbT9B25BWZGL6QduzF+5r73Fomsm4jyK9p7E=; b=uE4YcUts2k/YeU1ADWaMUR6BZ3JKpMygq8kWcsFzfc2fHXDiUJoPtqOheYUGcu9F2f R1+S2LF5VPTik8vU4PJ97YGbqiGEjwZyITZrDjY9kDywHYZhO2tB3uzZl6PW8zT8loKs vSfD2LvFjMJBMj4wyFpD+07X9owr2qxcDRQZ30I+esgKSXdQdHqhKdLEkYK+aOyX8fE2 ee3Ju2k6Az5wqlVOZxA987hF+SK9wIph5AEBFCkPMu2BfKk2uWhjeevEe/KKtAOlI/2n Xh1kX/xWDXxztfeZ426DWYCWsVThL28YNgqXivKfgsEbHZZ15IXhhtVrPSg48cwM5T+O b2aQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=WAy6UAYl; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id l1sor583904pjh.3.2020.07.20.11.53.21 for (Google Transport Security); Mon, 20 Jul 2020 11:53:21 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a17:90b:34d:: with SMTP id fh13mr695848pjb.99.1595271200966; Mon, 20 Jul 2020 11:53:20 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:8c21:db7b:4558:fba3]) by smtp.gmail.com with ESMTPSA id m9sm306649pjs.18.2020.07.20.11.53.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jul 2020 11:53:20 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Cc: Suniel Mahesh , U-Boot-Denx , linux-rockchip@lists.infradead.org, linux-amarula , Jagan Teki Subject: [PATCH 10/16] configs: Enable USB 2.0 on Rock-PI-N8 Date: Tue, 21 Jul 2020 00:21:14 +0530 Message-Id: <20200720185120.671064-11-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200720185120.671064-1-jagan@amarulasolutions.com> References: <20200720185120.671064-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=WAy6UAYl; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Suniel Mahesh Enable USB 2.0 and related configs for the Rock-PI-N8 target, which hosts RK3288-VMARC-SOM. Log: Bus usb@ff500000: USB EHCI 1.00 Bus usb@ff540000: USB DWC2 Bus usb@ff580000: USB DWC2 scanning bus usb@ff500000 for devices... 2 USB Device(s) found scanning bus usb@ff540000 for devices... 1 USB Device(s) found scanning bus usb@ff580000 for devices... 1 USB Device(s) found scanning usb for storage devices... 1 Storage Device(s) found => usb tree USB device tree: 1 Hub (480 Mb/s, 0mA) | u-boot EHCI Host Controller | +-2 Mass Storage (480 Mb/s, 224mA) SanDisk Dual Drive 04019c9b2e1a58f24ee318c3c123aa5 1 Hub (480 Mb/s, 0mA) U-Boot Root Hub 1 Hub (480 Mb/s, 0mA) U-Boot Root Hub Signed-off-by: Suniel Mahesh Signed-off-by: Jagan Teki --- configs/rock-pi-n8-rk3288_defconfig | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/configs/rock-pi-n8-rk3288_defconfig b/configs/rock-pi-n8-rk3288_defconfig index 6b31e19eda..4cbb07d870 100644 --- a/configs/rock-pi-n8-rk3288_defconfig +++ b/configs/rock-pi-n8-rk3288_defconfig @@ -22,6 +22,7 @@ CONFIG_CMD_GPIO=y CONFIG_CMD_GPT=y CONFIG_CMD_I2C=y CONFIG_CMD_MMC=y +CONFIG_CMD_USB=y # CONFIG_CMD_SETEXPR is not set CONFIG_CMD_CACHE=y CONFIG_CMD_TIME=y @@ -63,4 +64,11 @@ CONFIG_RAM=y CONFIG_SPL_RAM=y CONFIG_DEBUG_UART_SHIFT=2 CONFIG_SYSRESET=y +CONFIG_USB=y +CONFIG_USB_EHCI_HCD=y +CONFIG_USB_EHCI_GENERIC=y +CONFIG_USB_DWC2=y +CONFIG_ROCKCHIP_USB2_PHY=y +CONFIG_USB_KEYBOARD=y +# CONFIG_USB_KEYBOARD_FN_KEYS is not set CONFIG_ERRNO_STR=y From patchwork Mon Jul 20 18:51:15 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1529 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pj1-f69.google.com (mail-pj1-f69.google.com [209.85.216.69]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 3C0CE3F03F for ; Mon, 20 Jul 2020 20:53:30 +0200 (CEST) Received: by mail-pj1-f69.google.com with SMTP id k7sf386976pjw.2 for ; Mon, 20 Jul 2020 11:53:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1595271209; cv=pass; d=google.com; s=arc-20160816; b=JhJjvHAp9uGdHFXFMUcpXLrmkY7AdZKAZvNDwRLBgLAmtjQeM76urorY9qZvRCK50l EBf0CpjExFBGX9rywzv6j4XHgIQjKzKZZyuCBSPKhi9nwXZFZQE2Mw7Z8Io/4w3Q6G20 i86vLYbIn368VqWw/CsRXRQ1rMMRvODtlbGmEh4pBK7kdS/hJXsJIkCK9u75y8zrpvCO drnSjrZHfRfIh7UYAHfsTUDJ1/tXabiYuXBjxafZiFV4ngras4HEBBRtl9HIBJUn+WOm NZ0kWVjt0JXLMVtMZk8RTz3QuyksJG+iHIZGeXexJ5byajbp4EqLDYDm5zs5Cc+Ecn/g bNwQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=mcoqovIE1MD0gdXFn5AIs1hSxOgX9N/UY+ldS66g9aI=; b=xXL6GfIA0yMxrik1yl7vzrLEDGciyAPksEaOxfYG+BH97kR/NwEbWHArx2fANQXIjX NSa/YLfE4VAlv5y+g6Z+B5jX5wNMrRJhtYUPWDmSMnoO8uqVbZtUhKzVG8G94mhuvE7v kQKVHC7MGY6NCdlh9LfKmHTLahsXy0+aNxVG+pjiLdir+v0nwUvVNu4MZG3iHewPHjM/ 5ipBf/fT0RpxjAN+/BQkOZf+N/uMs/4XMEc1jHgGxhBUVh8ECIPtb98dIx7OTW0LJOXx HqI/xAd16S3g6QTF3s7aYiocSbUhU2RRkab64/5boOsZMIoJFvm+jvYfvvRd90Tbz8pU Up3Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=OVY4zCug; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=mcoqovIE1MD0gdXFn5AIs1hSxOgX9N/UY+ldS66g9aI=; b=lHCD6FQ2uol3FyJfK18Ga90G3XDdCgXroQeI3RBRQbNnMFF71ET4vROZxg7a3oRvcL /I9fUuvD8xBzu2TWYHPvn3s3cRc1/WcvXy7AvCEBU6ylJPqrPm1FPwNA6f5fg5FetknR 84MlMvii06it65+tPJfWEMqMOfLw7WWDpbz+Q= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=mcoqovIE1MD0gdXFn5AIs1hSxOgX9N/UY+ldS66g9aI=; b=h532vM+EumxB2nnfMLvJa4oGZKpYmoHgTyO67Wk2SDKmvJy5iGBWkSMZQ3Hv76Ne0k 6z5sX4snl1yub0Lz1E7/8Y9/4u5iVmJyez7xbSvasRaADZRfC4wjhAb6W4TEKRavgbwI reupfVDczoSapV1ILfvxQdkZXsp5MiCvGCz6z/IyOxF/hg1A6mHezjtqw0Mze7szWFYq qa+2eA1SwWuIEju9dTIQGoy7lhEeFYRKbz4HTBwDFGWFyvjYoDd2SWwfthAMDhuNZesc mpr0OwcmmGfrR6nF39J8cHdi2r+ZihNwruli6qT5oIhQMPeQ5m9ARhvM9HgpxHBFpPNp yxNQ== X-Gm-Message-State: AOAM5321iSAPcyQ2Xg1ewi5LciKG5l+beMJ9VDepZgB9oi/XE5z4I48V 0iX7Yl3ev5zkv0GYTrTBWKlyJuDW X-Google-Smtp-Source: ABdhPJy/KBd3KxnbqdnezlmdPV72NRpDWr5SuZqxX4b4EMLt48s/JB2jXCtpcHjQtQbOcyAUz9QRrQ== X-Received: by 2002:a17:90b:f06:: with SMTP id br6mr731583pjb.97.1595271209056; Mon, 20 Jul 2020 11:53:29 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a62:ea02:: with SMTP id t2ls4912535pfh.6.gmail; Mon, 20 Jul 2020 11:53:28 -0700 (PDT) X-Received: by 2002:a63:f241:: with SMTP id d1mr19530999pgk.272.1595271208595; Mon, 20 Jul 2020 11:53:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595271208; cv=none; d=google.com; s=arc-20160816; b=OuXI3QyDd0Cem/iBaOh8iYL+e/9n6PVCgPYhdOtveu5WicuViYjOnp7e6b9MbYkR9f DG4QIwKk/y93+bXMDWS9a5Aleo2zxBuN/uOpaDae6F+Wz9QodU/TAVFvgYwYq8n0Sx5f IfpsmFLzCKKw5oAszndFWrL1l8GXIzb+ShfSY44z4OxnNSQIZyRJ4QpwE63voj9EXy/B zXawUTsJJ7dkA2BzINvf2d5FdvvB/3sj2MTYDeeRZitVwtZUm8ftq1YRsfDUcLHXZBnh LoSJuvrs6ZuvedL6Cja/GwE3nbUGfu9EmAwDDFxhVqwIFkTcStxwowcqGUdgpw3CPZWc idJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=l5nzmHlNsfWeT5GmeLHypjp6+nTT4JoSpHV6KrU0KeM=; b=jUJnQ1Ti1+D34kvi69HjOq6jS9Z14JihilGOYHswUQlY9wpfePftLxI1FGO98LRj9u pBlWiDiqOe1dtzx9uKZcZmAYjpfVH7Yblw73bV2UvL8U4REUDoFKl19foq2jQgqE9szf mVrl2kMp/3qDgdNW5JX7g5zbTVHNIXJ2pCJB4MZNzuwM7RVKpwvNq9mm8J2SzYvhN3+o 4Opv22sutOXP+Y5p62QuX6AscSkqb1obsm3jXw0JCZmaIpVMFaBgFbuaSTvjdBHBPzTl rN5uRabWEp89fokktIgDDube4TCvCKvnW+41B6f4zqx+2LIt3WnZMbc5Xezo0D97xnm7 kLGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=OVY4zCug; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id z7sor21673463pfn.32.2020.07.20.11.53.28 for (Google Transport Security); Mon, 20 Jul 2020 11:53:28 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a62:1d90:: with SMTP id d138mr21216065pfd.159.1595271208293; Mon, 20 Jul 2020 11:53:28 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:8c21:db7b:4558:fba3]) by smtp.gmail.com with ESMTPSA id m9sm306649pjs.18.2020.07.20.11.53.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jul 2020 11:53:27 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Cc: Suniel Mahesh , U-Boot-Denx , linux-rockchip@lists.infradead.org, linux-amarula , Jagan Teki Subject: [PATCH 11/16] configs: Enable USB Gadget on rock-pi-n8 Date: Tue, 21 Jul 2020 00:21:15 +0530 Message-Id: <20200720185120.671064-12-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200720185120.671064-1-jagan@amarulasolutions.com> References: <20200720185120.671064-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=OVY4zCug; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Suniel Mahesh Enable fastboot and USB gadget related config options for rock-pi-n8 target which hosts RK3288-VMARC-SOM . Note: Connect the Host USB cable (Type A) to rock-pi-n8 USB 3.0 port on carrier board for fastboot. Signed-off-by: Suniel Mahesh Signed-off-by: Jagan Teki --- configs/rock-pi-n8-rk3288_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/rock-pi-n8-rk3288_defconfig b/configs/rock-pi-n8-rk3288_defconfig index 4cbb07d870..aafa2cac2a 100644 --- a/configs/rock-pi-n8-rk3288_defconfig +++ b/configs/rock-pi-n8-rk3288_defconfig @@ -11,6 +11,7 @@ CONFIG_NR_DRAM_BANKS=1 CONFIG_DEBUG_UART_BASE=0xff690000 CONFIG_DEBUG_UART_CLOCK=24000000 CONFIG_DEBUG_UART=y +# CONFIG_ANDROID_BOOT_IMAGE is not set CONFIG_USE_PREBOOT=y CONFIG_SILENT_CONSOLE=y CONFIG_DEFAULT_FDT_FILE="rk3288-rock-pi-n8.dtb" @@ -71,4 +72,6 @@ CONFIG_USB_DWC2=y CONFIG_ROCKCHIP_USB2_PHY=y CONFIG_USB_KEYBOARD=y # CONFIG_USB_KEYBOARD_FN_KEYS is not set +CONFIG_USB_GADGET=y +CONFIG_USB_GADGET_DWC2_OTG=y CONFIG_ERRNO_STR=y From patchwork Mon Jul 20 18:51:16 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1530 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pj1-f70.google.com (mail-pj1-f70.google.com [209.85.216.70]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 04C293F03F for ; Mon, 20 Jul 2020 20:53:39 +0200 (CEST) Received: by mail-pj1-f70.google.com with SMTP id q70sf373457pjb.0 for ; Mon, 20 Jul 2020 11:53:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1595271217; cv=pass; d=google.com; s=arc-20160816; b=OFF2SkdgSeFSNkBExhANSUOplwmFnBXS5KW/zA84/Kiq7LIFkfPNvM8rj0sJFf2Zpl dn3IQ9nmgqMCgK+JkYo4yZZMAKV1HO7MfTi/iLuwEltg3WPAzsyb9gq2H/7xDS0Ip/Ls 7NEJ5Mv2ENjQm06DpPpaJe1jPcOs6tYr4s1F1d6Jk8qX/znNU8+10otvrW86muqE9Oqb s+YQMjDa8o0r6jncXu2lqrLhAOqvOMMDVyRaLApbP9Zby4tQAPYi7S20HOoyy3DwxhLF 46qxbH7G0uN4YM0mgp8uFUp1Le3Z1kih7eLTKGjc6FE4Qrtc3sRRrhvm+QZm478sCYkk LdRg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=9WcAu7AQsspL9zLcHxrzJzA8lkb952qEJMCZi7sQpO8=; b=hfBu6nN4VHRUZoO+gPEwt1BdWJlu8z3s6JH/ChKYrIOnoy1wKaoV8pYopdPzJ8F3pU iKAt2jA38PED9+e/lWrVb7dgaDhJRhuofFu3YL/elOy7FKX9CXIf/18kyeCjuUVVAPxm M03CR2LNHDzS9d57Y2nKiRnzqvCx/DWtUFby4Y2WXFSDkbt9eqKptl7nn0szRaBi58wL 9HZTp9PUp42L2suhQDP6q0Ig+RCrnqyQ7DMapzjcRjAjvv36I8QLNFkQ+M3srmW/tCfu GhjU2K02drTE6wj0EghMDJ112BOSLpr7cB5SDW1cvlg7HL2cjhPDKDDKiZ845yoVqPfH ioLw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=oQtvlDf6; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=9WcAu7AQsspL9zLcHxrzJzA8lkb952qEJMCZi7sQpO8=; b=J2hPqp0cwSoNGzRe7E5cPjJ60jkV0I67ZOzeEBhtDTEO6ck7b6mfUV6bdiB3x8BBD+ 825JoI3aNv+Gut4+SqQbTN4rmvvmftese+JwqwRkPEkgc41RKJ+2TLwigYhp/Asci8Ni nCNe4Bp4tyRQptMaEuDJFoNZ+YZFrb454d5xE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=9WcAu7AQsspL9zLcHxrzJzA8lkb952qEJMCZi7sQpO8=; b=HnJi8BR25JLS+0vXY99LE+092j6LgjVrONeD9ImEVoxBf5hv6j9RWwiMoolTxogGMj sVPqWPSbCY9EEuzr00U475iU90q0/gsGWSNhGK6F52uP62O4qSZY4W799thTNeMVFuEs B/PumijQEqMF0K/goz0AT5k3xSeEPutqCDFdxh7+rPropHXPkXAGNpNx0xGXLxvxjT1t Pp7Ep0jMq/1+bOshthTcQeac+FOQVDZxWgfefJJEq5R2yTkh2KbTDjSZ2NixPibk+7cA AwW3ATFANRnr+ejSc77NQ2OhlzATxvw+w8AD23+nYtD+JfigHBAaushp7UERZO3yeH/j 826w== X-Gm-Message-State: AOAM531UzToRfttMb8TZa0hZNOly9H+ZNLTi8pT0PYaiRudN3Zl71cqD M4vzabSg40OLE0YfvWoUsGmPsicX X-Google-Smtp-Source: ABdhPJx8xmxbwADTm3WUGNgruzPk1vvcyOfRHRwXWRI3cHT1fNyGWTbonXkvS+KV0+BFw9mXgVT9iA== X-Received: by 2002:a62:be04:: with SMTP id l4mr20745878pff.323.1595271217666; Mon, 20 Jul 2020 11:53:37 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:b288:: with SMTP id u8ls3024219plr.4.gmail; Mon, 20 Jul 2020 11:53:37 -0700 (PDT) X-Received: by 2002:a17:90b:30c4:: with SMTP id hi4mr755319pjb.166.1595271217185; Mon, 20 Jul 2020 11:53:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595271217; cv=none; d=google.com; s=arc-20160816; b=YHGxYbtJ3XT8YONJbaUDNxpFoAHHq0vOTt7D0QcS04aYVbhztw/Ir1Fw2wkVURoJC4 zBwHhHNE3jsgotI99TQKnFplLDVYJ9XVdbFP9DgFDE8/Z5nBs6oQQLjAYqSWncK+oiMU iiYwHVYPcjM5HM1pz2pX2brlqeW1lTK44IKxn21vfw2uWFbsVPO0a6n/eFWVJ0bm/3eU yj4JaFHNp1GTpudJ2gyXP8Mh/iOPy71e8LptxbTkE4r9DOnUlSdKq6Dd0QgYI/8MI9yo O260QA4teWCvTSQXwtoodrxjSxQFJk0rIdcLisR2TnyhU1sPEg0nQwNfzo9IZrHGQRnq CR/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=3VBSFKUOY9MXfcZYLxIjWlt+g5ws/WOsWjwfRnfToQM=; b=pJ3HOhbYMKWrd+RhFGnlTh6HGVJLuThigfENHofjvP1+lfU1tKnQeAdliVsbhba0JA oklvaYWgQK2aCP5+g63uXc7ukgfWPaSqIuQcPz+fyhpvnnSSGpD6g/JJ+jMGFiEND0j9 HO8p8nfzbIXLSfsfB/mCsr2ws2U6nf02ZyuxDAuFwDL52Kzji6HX4QQcmYb47xBJscHp AZmyFO8jMdwW1ZMiTlWEJdCgz+GoH5yVgXPRzKHLMKo3UNW0C2Qhmef1MKsYLHuON1ui ibB8VGvkdtg8S4QwyFKrAYqFpcyS0iTFTndqALLWY8W24I1khwfI/ckGaE7xOw8jy+kI e23w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=oQtvlDf6; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id 63sor21324433pfw.94.2020.07.20.11.53.37 for (Google Transport Security); Mon, 20 Jul 2020 11:53:37 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a63:5013:: with SMTP id e19mr19811136pgb.68.1595271216889; Mon, 20 Jul 2020 11:53:36 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:8c21:db7b:4558:fba3]) by smtp.gmail.com with ESMTPSA id m9sm306649pjs.18.2020.07.20.11.53.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jul 2020 11:53:36 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Cc: Suniel Mahesh , U-Boot-Denx , linux-rockchip@lists.infradead.org, linux-amarula Subject: [PATCH 12/16] rk3288: rock-pi-n8: Add console settings Date: Tue, 21 Jul 2020 00:21:16 +0530 Message-Id: <20200720185120.671064-13-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200720185120.671064-1-jagan@amarulasolutions.com> References: <20200720185120.671064-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=oQtvlDf6; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Suniel Mahesh Add console settings like stdin, stdout and stderr as usbkbd and vidconsole respectively for rock-pi-n8 target. This would certainly help to detect the attached video devices (like HDMI) and print the console messages on display. Signed-off-by: Suniel Mahesh --- include/configs/evb_rk3288.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/configs/evb_rk3288.h b/include/configs/evb_rk3288.h index ddd7012c8f..e19fa90212 100644 --- a/include/configs/evb_rk3288.h +++ b/include/configs/evb_rk3288.h @@ -6,7 +6,11 @@ #ifndef __CONFIG_H #define __CONFIG_H -#define ROCKCHIP_DEVICE_SETTINGS +#define ROCKCHIP_DEVICE_SETTINGS \ + "stdin=serial,usbkbd\0" \ + "stdout=serial,vidconsole\0" \ + "stderr=serial,vidconsole\0" + #include #define CONFIG_SYS_MMC_ENV_DEV 0 From patchwork Mon Jul 20 18:51:17 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1531 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pg1-f200.google.com (mail-pg1-f200.google.com [209.85.215.200]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id DDC7E3F03F for ; Mon, 20 Jul 2020 20:53:47 +0200 (CEST) Received: by mail-pg1-f200.google.com with SMTP id s8sf14413273pgs.9 for ; Mon, 20 Jul 2020 11:53:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1595271226; cv=pass; d=google.com; s=arc-20160816; b=ZeYDLKMil3ruiRokZwEeJHwnjGK6vCcRWMH/xetGxjAvDyMP7XuOzHBV7tJyOndOP5 S3cypQwczMKScYvDWS7zgdEN527EarTZ3JYcOlYT7/rbaNNtiGTyAI9b4FNGYvhFJ9q7 4PhgX+TL0CUXZeLenIMqZB3WbOT+RI5Zp12ORLHKdvu5j3RoxrvdVxZCXXDrwvql9M2h 1iTfUMo3dZp/CAQmmcyX76hoQ5zVi1/EVdDCB8uooTHi3VB1VHV0QSO2S/YdB0SWPEId vbW8c5gA9ncfkZQ2HJ8WqmR0zWnlE4bwoPD6t73jxCiSFR7iOoKotjccashxlFVjoTRl VoFA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=I6LQFqKRijjHfR7B9HnM0EjXwd+vjTLws1m50Y03LSY=; b=syWBCAjtUcSoUWb215ZAoLAfSrbD6qLLnagi/fdclFcD77D6dFcU13FXnJoRHGnIES pf3jDPDrfOxanOWQF0sUmM75jfVH2yILaut2cFBZLo7uKwO1rY0CFtGIqGK+QzOx5hvP QwHAWFiW/sXXvwJ9T0i9Yob1QYxh9hFgHlV1b56sSKSDHYNRJaE7RhCnRxFQcJsuW3gh Wr9Y/XAtgX+6cmcSXnFjhux06rBDkU0d4QyljXlVaoGZq3jsGiD/Xoz7DWSfzI6dHG1H N+64lzwWU4r76E30a2Xqv6qWFzWJMwqBwbxSp3/EteAajPxxUWCCbDxnZ5vlDhN4JHZW 7cJA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=G+qdu2N3; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=I6LQFqKRijjHfR7B9HnM0EjXwd+vjTLws1m50Y03LSY=; b=UT1h9wYiKu8KidI4binlSLVm/BHFHqQT1bfctU13uokFa2FqysVpxRz/QQThLBrKOF kIhm0R4kpYapqR6I3rXX4ELtN2jugqzuVGOQ7VvqCTMfo0XfbkksV+a03aiqj/kjsKWQ VtGdfBwD7tVJ1RG77vyqVJGqQeVWqPERzrSks= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=I6LQFqKRijjHfR7B9HnM0EjXwd+vjTLws1m50Y03LSY=; b=SGNHMh3H6Gl4VOL4rLMOA8ob/l3eueNcfOUmLwlqxR9WsvPg6V2uZ1XNKWWx8Ox2PM 4UAoow0UGd0ERGfAq/JJAC4OujZzlRtvaeq9+xSGCJwkGiW0l5WvlhKXGnalURB5MQFA pB6MpQMNMnivzKQegfUcmJae4Sl0VZ8Y5kaUPLGEzzgUcyUEt00OKl4Lh6MIH8m0sSzR aFiFf4IcG3HHcdCCNikOhyqIVYKf1wyU8yo2foXywqLE91HitKK2ACvp4MgcmwXC4g8A EkM7xAjhATJeQ9beDrzvFDTpelFAnuzwK7G3looWZTEuFH3B4A6dkcI2X2D+zT+R4bGX gpkQ== X-Gm-Message-State: AOAM5308bt/F8MpWrDLy3pmqG6rHeCm90lQXn8WYneojfNDPm4UimHj5 +qitdwDyLC9xIHFQv24G7Wuui9G8 X-Google-Smtp-Source: ABdhPJwvv0e8B/FMcGUe6i0dEpRBHYumbc7pzUYHMzHswo0Q0W3ovhEztt0SN6osvF4DPXo5vQtQiA== X-Received: by 2002:a62:64ce:: with SMTP id y197mr21680564pfb.19.1595271226672; Mon, 20 Jul 2020 11:53:46 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:a9c1:: with SMTP id b1ls3033485plr.0.gmail; Mon, 20 Jul 2020 11:53:46 -0700 (PDT) X-Received: by 2002:a17:90a:2a4d:: with SMTP id d13mr735332pjg.195.1595271225907; Mon, 20 Jul 2020 11:53:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595271225; cv=none; d=google.com; s=arc-20160816; b=YQMq1VgARp/2QbWPbJ1pNV3uLIIi2GY+z8yC05F1ZRPFzeaVUWwDwfSVahLVbUT28Q S03noy5DL5RWBkAZH47JtEPDg2ehopCa421dDZcErBif7yRuVV4Dyym6qtm9AVr3Ko1u TcxZd4DZTQic9rdV4pNn4jJC95cRCVYWVnHc4Wcrts2/b4mK6y4QH4ORt01Sgz9FmNiG qKOZmnUfreZjc/nbzLDm0Fo1b7iiU3YsRmPsANjleVvMphIZmUC56LnXVQJmny0M7bao xzyMx/2yfMIy00xNNo9mvpv+BfULws9dttFUeEr4J+Em4XK7cp2WvHWqlW9s0wKkKb/c P3yg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=APgNFxFaUs2syxhKszMlQe1xUkRg9dllSy0R7j0V0qE=; b=qZorr67nxu5hNw9jU409g0Hw/rQkkin4WnrxrEBxf/4L9hL/xgm/F4p1OIbXrk56Ch sUc4NzIvokyP0lRR+Tz60UmR552n2xb3OpYz2XrzI9xFhQku3NwlQN7ITK3RrPVrk3gI 2dj0MigVxxhViCF/EeTd/ljVHEX7hJbDgqDkZ4QPmbFFLYZM5zynEK9idm2qr7ntYHqk of8dIRASUEjofPLJQHHtC+GSgPT1WX9VleBWvrlDZZh4HDfGjQ/E4btnc7IQr3kghxzS aNhRcDKauYbKES/vSqeuPFAq7cqgvaKlQKO+IShR4r5V3CX3t9zxHEngy2+TeFGhbe2l JmMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=G+qdu2N3; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id mw7sor527520pjb.35.2020.07.20.11.53.45 for (Google Transport Security); Mon, 20 Jul 2020 11:53:45 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a17:90a:3567:: with SMTP id q94mr816203pjb.226.1595271225589; Mon, 20 Jul 2020 11:53:45 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:8c21:db7b:4558:fba3]) by smtp.gmail.com with ESMTPSA id m9sm306649pjs.18.2020.07.20.11.53.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jul 2020 11:53:44 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Cc: Suniel Mahesh , U-Boot-Denx , linux-rockchip@lists.infradead.org, linux-amarula Subject: [PATCH 13/16] configs: Enable HDMI output for rock-pi-n8 Date: Tue, 21 Jul 2020 00:21:17 +0530 Message-Id: <20200720185120.671064-14-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200720185120.671064-1-jagan@amarulasolutions.com> References: <20200720185120.671064-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=G+qdu2N3; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Suniel Mahesh Enable config options to get HDMI output on RockPI-N8 target which hosts a RK3288-VMARC-SOM. Signed-off-by: Suniel Mahesh --- configs/rock-pi-n8-rk3288_defconfig | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configs/rock-pi-n8-rk3288_defconfig b/configs/rock-pi-n8-rk3288_defconfig index aafa2cac2a..d218852d79 100644 --- a/configs/rock-pi-n8-rk3288_defconfig +++ b/configs/rock-pi-n8-rk3288_defconfig @@ -14,6 +14,7 @@ CONFIG_DEBUG_UART=y # CONFIG_ANDROID_BOOT_IMAGE is not set CONFIG_USE_PREBOOT=y CONFIG_SILENT_CONSOLE=y +# CONFIG_CONSOLE_MUX is not set CONFIG_DEFAULT_FDT_FILE="rk3288-rock-pi-n8.dtb" CONFIG_DISPLAY_BOARDINFO_LATE=y CONFIG_SPL_STACK_R=y @@ -74,4 +75,8 @@ CONFIG_USB_KEYBOARD=y # CONFIG_USB_KEYBOARD_FN_KEYS is not set CONFIG_USB_GADGET=y CONFIG_USB_GADGET_DWC2_OTG=y +CONFIG_DM_VIDEO=y +CONFIG_DISPLAY=y +CONFIG_VIDEO_ROCKCHIP=y +CONFIG_DISPLAY_ROCKCHIP_HDMI=y CONFIG_ERRNO_STR=y From patchwork Mon Jul 20 18:51:18 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1532 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pl1-f198.google.com (mail-pl1-f198.google.com [209.85.214.198]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 0A53E3F03F for ; Mon, 20 Jul 2020 20:54:05 +0200 (CEST) Received: by mail-pl1-f198.google.com with SMTP id m11sf5004540plt.20 for ; Mon, 20 Jul 2020 11:54:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1595271244; cv=pass; d=google.com; s=arc-20160816; b=kD7g1NT6sm5PCGfpjBOt/Nd8teW+gMKcBgY7T6I5EyZNGRY/FUeDVOS1DzkO/yloRy 2uCSN5OHNM+D8GAnRL+rEgCTgzwFqgRawTPoMKmyKo879AqSOn2rt7I6zmZRJRJJ3nhb /z5/kk+abIweTfFue1FnMmAxGra+3z8jXpdOnieWzPiGBHdlVLkG6MKfNFddXEO+9YJM n0Eaeeejvcm/YDKlkV1WdKmblRKsT+nJ0DDmJsop8iI3sC0HEJ95qzSEDE1x6llg+Yb8 T2H0RisAGWtnG1sa8+O989r9V4DjCnMBPPif7ED7iSVyqEQd3xkH/6FkjAMAi1u1eKU0 ufpQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=nVvLOnc3RmXrodyg1/oVhFYcRDGz8KwNeuiB83+BdxA=; b=LUZtP1W1VKs71dlVam5N/qiL53/q44xly/KjKJ4iaqdFETKLQ7qYA7OmSXP4Ti4AY3 E9gs280iMCtNuVl1SGmKfIToCAeWjRa5nVcy/OZfIncrWBmYVZLABfNcbS6b0DS2P+rA atlJMXjeFHD5iQUSAvC9D6lJlVnNbScc0wtQvrqvcV2Kh1cz/jHIzD8/8m8C3HAO0wmX tPoBtfDDEg3RcOgtasvFOpaCxFGk1/nWQgY4TGQq7uLOoLndtMW2aSDvx6iT8Sa7ktke f/foCaCz1kO+FEXZ43h78V79Sivj+N/w7FwmT1//LvPC9F0uoX0fQXbc1uOVeUnG8lEu GuBA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=W7NZcsse; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=nVvLOnc3RmXrodyg1/oVhFYcRDGz8KwNeuiB83+BdxA=; b=DbSxIUdCtySKCYApjK0O+W6Fp/p7prjzlTDDpAAgNXbDMr7L44n8CeCVL1aOsoUQaq n9ZaSPkvzpqbyEy6KzPy/WXQDgcn9Zc6IcHew7tipSbNHHaxWEnMrkS0d7kwHeQ2dj19 6j1Ks21OHp9PfsjKF5+Yh2sCOrRUnFxdLxDYs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=nVvLOnc3RmXrodyg1/oVhFYcRDGz8KwNeuiB83+BdxA=; b=ULYTbZelySxCtmvp2fhcN54bvbrMWXLZHe0qc18FxTzf1F6Q2VzHlfRlCdoqXzBiwF sCBHXFBU1XWplKtHYltyPyDT3yAigZ5X6RJZTra03JEdgs2lIgGwVFCRCms9WHHsTUMa HMyBmW2278ob3Q5K2mtFFDaR1Pe51u6Trvyy75e38+1ZU4NrKRxdHxeNvz5daIKeE3jV ScT0iQtA9DHskfKfJaCCjJV5uvYlJohLHa1F6mlIpTP4Ha41OJr0BSrUHn77rowFZXbU 05rzJ/fdiN0uZjnfrdBQCJwEHpzB9Qxx+KHo/EWOybGYoiF9qct4fXjZ281Jp7iksV4i wMAg== X-Gm-Message-State: AOAM530NYGEa19gymSbREMl52YgO3jMTwfkKpEhRy/dFPOg52uCaxY2d 3nEzBlUu8mVYoK6yNRlKDqX/FXKw X-Google-Smtp-Source: ABdhPJxnmup4zajn/GETDW+xdmnQFLGiFoQX2TL65KLCsk3Whf3bdfChNvBVb7y3efDjDpXYKQvTPg== X-Received: by 2002:a17:90a:8e:: with SMTP id a14mr818858pja.206.1595271243859; Mon, 20 Jul 2020 11:54:03 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a62:7e97:: with SMTP id z145ls4915292pfc.4.gmail; Mon, 20 Jul 2020 11:54:03 -0700 (PDT) X-Received: by 2002:a63:fd44:: with SMTP id m4mr19493099pgj.160.1595271243300; Mon, 20 Jul 2020 11:54:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595271243; cv=none; d=google.com; s=arc-20160816; b=jYRWFC9tWradrAnjgQWAF22oFfoW6pXWTYGiuUwAw3prLAyM9VIj2v5cfSieccQ7QH 2UJazU40N3eUWwoeYTgMQEcwTJpyS2PumXlbDRINeAo4AkxPB6qJnOy+lKVpaUYJHMBK 5KCxijOGR6gFMnyOyebQcaAbnF5/uAueyGhW3fFwQuiqOJ6RVTcwFraR5dvywI+xQzaO 8FFV+Vv+thv9lg/Mo8sV5w177SHw36U8cB1eW5NAVN2SAHfMA0aiVBgUmT1RMo+aUZH4 Rl+AZezxpvw7DPMUjhuqDzIoRwcBoRCBmH2tJedU2CQbGsyud4YSJC7fHeUPZeviKihR toVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=4MMV525qxViZR2/Q75Dp8I3ujbQebC7F80+vvIQ6iJg=; b=TPGOFyE71GbZ3Q441sutgoxOv5SQKUcqX84ChEu50t+HoaI0v+5NTw6i+0rGNTLx2V hzQtYsWDK5o2T0KudBZZXdhcAZ6TlT1wtBrf2lOgqahqGJZUnDVNguZHSJ94mt+X/ipZ M1yOHkjiFJonpTvJCIQzbhtXBYZbLVe07Sfzwfs+o5I+vYKic9OJq+4jFmFLcT/+fd+V ZAtWxFxvblw5L5Ui7BnrEhuaXWL81bWcZ2pCHUfbMBbIn9EhbD801Oaf1k413+tS5835 V1Dz0Zt0kotrjrP4VBOzcWbfVfunfKCjQWlDtty5DSqlazXIIyBGnr6T42xK6gMmAWIL b54g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=W7NZcsse; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id c2sor21351276pgg.10.2020.07.20.11.54.03 for (Google Transport Security); Mon, 20 Jul 2020 11:54:03 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a65:448c:: with SMTP id l12mr19243236pgq.234.1595271242961; Mon, 20 Jul 2020 11:54:02 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:8c21:db7b:4558:fba3]) by smtp.gmail.com with ESMTPSA id m9sm306649pjs.18.2020.07.20.11.53.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jul 2020 11:54:02 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Cc: Suniel Mahesh , U-Boot-Denx , linux-rockchip@lists.infradead.org, linux-amarula , Jagan Teki Subject: [PATCH 14/16] rock-pi-n10: Enable PCI/NVME Date: Tue, 21 Jul 2020 00:21:18 +0530 Message-Id: <20200720185120.671064-15-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200720185120.671064-1-jagan@amarulasolutions.com> References: <20200720185120.671064-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=W7NZcsse; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Enable PCI/NVME for M.2 Slot on RockPI-4 boards. => nvme info Device 0: Vendor: 0x144d Rev: 4L1QCXB7 Prod: S35FNX0J623292 Type: Hard Disk Capacity: 122104.3 MB = 119.2 GB (250069680 x 512) Signed-off-by: Jagan Teki --- configs/rock-pi-n10-rk3399pro_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/rock-pi-n10-rk3399pro_defconfig b/configs/rock-pi-n10-rk3399pro_defconfig index 895820fbe6..2aa2fafaa4 100644 --- a/configs/rock-pi-n10-rk3399pro_defconfig +++ b/configs/rock-pi-n10-rk3399pro_defconfig @@ -21,6 +21,7 @@ CONFIG_TPL=y CONFIG_CMD_BOOTZ=y CONFIG_CMD_GPT=y CONFIG_CMD_MMC=y +CONFIG_CMD_PCI=y CONFIG_CMD_USB=y # CONFIG_CMD_SETEXPR is not set CONFIG_CMD_TIME=y @@ -39,6 +40,8 @@ CONFIG_MMC_SDHCI_ROCKCHIP=y CONFIG_DM_ETH=y CONFIG_ETH_DESIGNWARE=y CONFIG_GMAC_ROCKCHIP=y +CONFIG_NVME=y +CONFIG_PCI=y CONFIG_PHY_ROCKCHIP_INNO_USB2=y CONFIG_PHY_ROCKCHIP_TYPEC=y CONFIG_PMIC_RK8XX=y From patchwork Mon Jul 20 18:51:19 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1533 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pg1-f199.google.com (mail-pg1-f199.google.com [209.85.215.199]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 7DF013F03F for ; Mon, 20 Jul 2020 20:54:18 +0200 (CEST) Received: by mail-pg1-f199.google.com with SMTP id z16sf14372635pgh.21 for ; Mon, 20 Jul 2020 11:54:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1595271257; cv=pass; d=google.com; s=arc-20160816; b=CSoNSguJ/fdtIBkiSEpEAaoF0zYaxPnboIfjiDSQU/nbExoH0L3AKVso6s6Mzy/+66 HAc8xoyyGhwNV3ok+uKuAFWz8BqJ4An49g+fI+LCJOkofkvXnYJCfKDKD2QaeBteadZ6 KqemoYyZhlJLMO/u/cDblJvzX9ioHdz226faKk4653QWaACSyvnpfx3JmMLRaOuuufs9 9HgqRq6vu5pBikdZml2IP3GNs0cyZiXKPHxvMUe8Ka7LDJTCKjZVlLZbUnhExWEutO8y zTnLk6OphLXpaas7/L+WXuHKUckBUUcgnin3/loDT0el845m7aMWZHheX47s++hyZKA4 njqA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=0LPj2E/760W5qK070Y/5495EwGK74Ly40DHQfeFxd70=; b=ja782TgL0vKJKVNXh57mQnH7zFQ6kBffaHYkZoPO6P60l8H5GnCS05Zzo+wOFxSG5Q rN31RZIbDlUprqJfW6nB89BDMsx4mp2oNRv+MaELF1ESD70l/Bf+n/hrnw4h3D01MvzF s6HBZubHFozPlSgTb7xYJN83nZ8L2tLSm6OfaLFMf+d0c8xC61WBYVWaTNZc+CC3dsAx Zn7lJjF6Vg4mftdV36Jfg/iNu5KPTAIzwnrZyjoUY/ssWdLTLlCiC+D/DFLoLnvDBR80 PUYIOUVh3EZC1pyQ8W3yeYijSfR9ldoZzTqn/0WpzHVo/VVlFsGsGa/zLnNl5SypJWyY 8AAQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=LsLLW6Qy; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=0LPj2E/760W5qK070Y/5495EwGK74Ly40DHQfeFxd70=; b=QQgzkMTZGbpJk6Ghskd6zUR7K6Q/nBxvk8EKn8C3jSUdgDKqHJTR4tvHvre2D35vLL PjFfqPUCLUlIj+oed+RPwqx7J/7hHDS9vdADsKGM7bIEcXygOpi+iQ7GhBoo52L1HSeM LrXLooaw5ljiinNN8PNZLTS9z13tOmocnoOwE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=0LPj2E/760W5qK070Y/5495EwGK74Ly40DHQfeFxd70=; b=jnfPoorCwtxsnUxxGMHXX13WAnjCYCpxhDjczsXzohgzuYR7Kqa19yOx+kZBP2iGpg KWJeopoGoYA86FB7jFOdFs0XpT/q4sTHiB5DA3t/1fwGGTtfIRlkBy+OcOUZ27+nBYJl +NPIQxtHfj5IBkDkx63mrnacQUFQXCbOIjYSwoD602D0xffgd2BbefvergZZAVryJOqZ I3eke9mwnKVYy2dfDm/eNIzpOafrs3bjT7zylSNY3SGxjDLbjAklZOHOQ+uwBuuKIL3W U5IU7CBkZh/KrZn9vTeYIaNz8+HXI1BO8C37L0i1WTzh8JLtKE1Txl6SRC2cDREJhUCZ lU3g== X-Gm-Message-State: AOAM531+XmtlWmcEIKmbLI8kMzWKoS5ECsLV5bmP+010KU2FifcBqqE5 5YBa7Ay5hwJLkpREAqMn59QyYF0k X-Google-Smtp-Source: ABdhPJzGbX5HMuCbzbwFj7BDt08qFHyxvHg9a7q9lB0xbvDx9bfhjvlzKz/WVIkJBIxz462yge40Bw== X-Received: by 2002:a17:902:b40f:: with SMTP id x15mr18797234plr.329.1595271257250; Mon, 20 Jul 2020 11:54:17 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a65:52ca:: with SMTP id z10ls2089426pgp.10.gmail; Mon, 20 Jul 2020 11:54:17 -0700 (PDT) X-Received: by 2002:a62:4e44:: with SMTP id c65mr20439403pfb.283.1595271256751; Mon, 20 Jul 2020 11:54:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595271256; cv=none; d=google.com; s=arc-20160816; b=q2FU2bRvJ28A74e6sGiE0vkJ/VbHaT3ANiq7+OfNeIAmnKT9hCGUrRkXkdewiHZ8Rs KuY7vQWItp0HSVxIXSC0ysMAHfhoC0ID9J5sFCPHAfxUiLWh6XyahM6o1h5veDXoUcge eyho5XQxDw5LdLg3VMD7vBALkOE+rDukHMv4Clh8EQPRo6gLdmsZG8nTJYyjxpPGQ/Pe 9gtEYiv4Y/DdNWvMMd90xLLQq3PMX+8F5h43VNtOdSegaeoqs2LamR5i271nu84pgm6R 8p29N9d/LIGGC/LsnJE0ScIbGlDrKSGQYppOo89/ul0AatHPIB1XVMa6SIAP1FWiDCve Qfdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=/BAh0K3KCeG3dZm1wlv0glV+H+hZgMc4n0kGFmCIBX0=; b=uKejygt4rwWxVMB4qJ4fMlRS/w5IgN2UNINr4529frl88ayebn/mQWjIS01/aAAXrG eLgXin0w3HFEQN46CRzyG+8l520brtHSEhMonbwvZrAxFUK5SxjESzg/ihcn8CdKCMFV C3nbJh9mBMmmpiq2tL4e6EDF+amV0grdHu9kjPS3Paur6G1IY+oja2Lb34XaihyZFaTp ABiqvyslCs4DfESk9YlAOaAswzIOjW7skKqTq0d6oCQ6QaWFSgRZY80ywZxpE9eMY8C7 6DY301DtycNH6Cyd+hFR2rLorppT/HUN2VlLq8Wnd2dpQ55OO14lHFe45gjVbm5tIgxs u5/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=LsLLW6Qy; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id h13sor22418220plr.59.2020.07.20.11.54.16 for (Google Transport Security); Mon, 20 Jul 2020 11:54:16 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a17:902:b905:: with SMTP id bf5mr18214241plb.250.1595271256442; Mon, 20 Jul 2020 11:54:16 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:8c21:db7b:4558:fba3]) by smtp.gmail.com with ESMTPSA id m9sm306649pjs.18.2020.07.20.11.54.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jul 2020 11:54:15 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Cc: Suniel Mahesh , U-Boot-Denx , linux-rockchip@lists.infradead.org, linux-amarula , Jagan Teki Subject: [PATCH 15/16] arm64: dts: rockchip: Add u-boot, spl-boot-order for ROCKPi N10 Date: Tue, 21 Jul 2020 00:21:19 +0530 Message-Id: <20200720185120.671064-16-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200720185120.671064-1-jagan@amarulasolutions.com> References: <20200720185120.671064-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=LsLLW6Qy; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Add u-boot,spl-boot-order for ROCKPi N10, so-that it can able to boot from eMMC and SDMMC in order. Signed-off-by: Jagan Teki --- arch/arm/dts/rk3399pro-rock-pi-n10-u-boot.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/dts/rk3399pro-rock-pi-n10-u-boot.dtsi b/arch/arm/dts/rk3399pro-rock-pi-n10-u-boot.dtsi index 946a0230db..7c66e1145a 100644 --- a/arch/arm/dts/rk3399pro-rock-pi-n10-u-boot.dtsi +++ b/arch/arm/dts/rk3399pro-rock-pi-n10-u-boot.dtsi @@ -5,3 +5,9 @@ #include "rk3399pro-u-boot.dtsi" #include "rk3399-sdram-lpddr3-4GB-1600.dtsi" + +/ { + chosen { + u-boot,spl-boot-order = "same-as-spl", &sdhci, &sdmmc; + }; +}; From patchwork Mon Jul 20 18:51:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1534 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pg1-f198.google.com (mail-pg1-f198.google.com [209.85.215.198]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id C25293F03F for ; Mon, 20 Jul 2020 20:54:24 +0200 (CEST) Received: by mail-pg1-f198.google.com with SMTP id i1sf14413244pgn.13 for ; Mon, 20 Jul 2020 11:54:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1595271263; cv=pass; d=google.com; s=arc-20160816; b=vgyXHkWTk2mLbfC9XA2DFWjR56VPX5PADaOBSoxrrflt48Mor3gpEI0Z4vvhYGaEzz ZcBViEe9T+hMM1ZC1H9uGNmTZSe/qztuOxDCGxzDAzppPNZx/afkWtOTn/ELqZZ8CodN DtPh/bwHwFA630KC8a/DyQhu47mtYq+WaA0ObMcXp/Irrj25u9XmdZ/NrdcXvx+RrvtJ kkRVyjbLGP6TwGEbPMer5nW93F5C7dK2GGfmB1ElZooglPsWwvh7F5d94jevkrW7ce4+ VDLkpxhU+mL1eOf/4WXnO41HlP6mUnIDKmBLfdQHGFbhYSlpOaq2HG/HYq19qOoscbVI F89g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=VI1TEQjRK70PSTgXi3AwQDu1RjeWL6oN5Ccd+ZNW+jI=; b=0FylN/IrC9CQa+zV++MHEut2GJVYU5oGdM6Xrqnc4qpnAO3m1VRjCq4Np2Gc/XRG+q N0FtihxxCJJKWRGaa78ikfJIDmpPKfX1kf3wf8HSS4Ip6irIWi/KD8Bvivhi2FWTcdla vMLLbZPSpVo1/l5UCpvO4w0x7IaAuXvfdgdh5kTM+hjxV2utYngol1ZRq4lmvGMXvhlX OGJYX2X178cTEYwpLg5Z6f3W++NPo0Mw1wzYnPVxylFmFUjPF9tcXSgI1B+Ubbo3SaU7 AEHG35RD5XWqpwxNuLhpkM+dz3WS4R/Rrt6hf/8K4zk9uX3/TAymgd5HzzELznIakj22 XFMQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="Mx9/oCGX"; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=VI1TEQjRK70PSTgXi3AwQDu1RjeWL6oN5Ccd+ZNW+jI=; b=qECH5MRSMX1OmBQ+QCn1Xaz6JHm5H8IgTCknP7eLA6WgR3ziPtlROnon63Yi/4BFAq U4BP/8cetZeNruyohmLMbKRVW7GGO87PrqT5tD69iB3bsiDf04FtVZR/JtUo4hr7RASC BA31zIzB5FpCl8qq+7o+zHLpPKTD/l31EHB2s= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=VI1TEQjRK70PSTgXi3AwQDu1RjeWL6oN5Ccd+ZNW+jI=; b=fmxpx7sf+EBi+ZK9Z9P6/oOad2OQP6/E/ef1Dw77riOV9VxWM+o9MN4MFf/3mlWU5q L9KOHqPK6a3nExNEcxnzKCd+SpcyQp8Ld3hdBIahrRUX+BUGaYzH/sJmLpKJ1P/ejkTf YJaLBtjpjUHCRTij07rBns34RcMeTQnZtepEWw9mKZhK446GvcHJO4GD4hr+zb34ya6k sK5HOgDmS8x2TCn4AAIN7irqOGrI6tg5X9BEBRmkhuu78HgtS/eAQLz7vye4E6fmtPI7 UFLbdlMMwFEzb6/lP/OB4E3lXcbP8GX+QAemUY1iPtdSwaOUz/+5lOZoW2SBsIKVesAu NOJA== X-Gm-Message-State: AOAM533tQsizwDmio9rXT4EpjViZKVtN+H2WhxUR1HTOHsSFF2gYKHue gL/fnS08PncpnDFAshIIb0hZaCFQ X-Google-Smtp-Source: ABdhPJzYt3HthkQzHzznPMNfi9FGa4fF+uvP7Nhag15aOBe0zmq3RPw0ocItirEjSaJnJJMWCyKBxA== X-Received: by 2002:a17:90a:c28f:: with SMTP id f15mr835270pjt.72.1595271263628; Mon, 20 Jul 2020 11:54:23 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:263:: with SMTP id 90ls3015555plc.9.gmail; Mon, 20 Jul 2020 11:54:23 -0700 (PDT) X-Received: by 2002:a17:90b:1993:: with SMTP id mv19mr792447pjb.39.1595271263142; Mon, 20 Jul 2020 11:54:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595271263; cv=none; d=google.com; s=arc-20160816; b=ei3qoCYt5Pu2IU9Y30zyDLhb6MAbHUqHeuu7e3hSMZxFjGq8HX8wjaMNlBilIk+LLn WHYiMeeABbCpRMkYVrpGEmZumSBj2meERrmGEdLkuOeVBUwjlZ9P6J0FUHiaTZR3PoVY eNoz1i5JNU3haOnJsxwNiPIa3mH1NkbxkZH7qJOuPr7WeaEIFqhOohqzEGcaY1lwtgUO o1hIdow7feK6LGdaEN1R8c6Ny4xTtR5MSVcOxnwFoQ+aL1XyOY7923QxbNb0XhpR9DLF vP49wbG3WaAai7AxU2Ai2Z7d2gH5okNlRu3XBGal6FR5JyoN16aulVtTk4OrDguV4iwO 7oPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=Ht6AN2uf+8Im4X59Mnajh0XAKY24NsDSozDPfpHjvLc=; b=xbuKJxVksbXAnDuiY69B9DCqxFzc1/+63KRM8G6gxBA5m9rbm6klQfpEkccEK4gA78 WdpIV4ko1nMNELC07hJcqCSb9MtLO3eFOl5hFXSe1RqB+MEXAaK0wyDYsZxIDQKdiVIx b0FPUwQWIi4UR95buD3luhezrTk4ahDzSeh7LKIqxC46APFOxENk/uTOyckWlxUBnh2y gCAa9/WBlBRTwuIgMuxP0jzLSUFEYn2gv0z+wvy6NWVIM72axrdWzx6XO7MgT0rsbUDH twmtZtIHpSJwkX8nvGERP4njq8UqD4XJQYj5YoLX6xH9ZT7MIkfJ2svHiZsOVYUMHS09 K8Jg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="Mx9/oCGX"; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id h9sor532100pja.41.2020.07.20.11.54.23 for (Google Transport Security); Mon, 20 Jul 2020 11:54:23 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a17:90a:3223:: with SMTP id k32mr773922pjb.121.1595271262884; Mon, 20 Jul 2020 11:54:22 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:8c21:db7b:4558:fba3]) by smtp.gmail.com with ESMTPSA id m9sm306649pjs.18.2020.07.20.11.54.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jul 2020 11:54:22 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Cc: Suniel Mahesh , U-Boot-Denx , linux-rockchip@lists.infradead.org, linux-amarula , Jagan Teki Subject: [PATCH 16/16] rock-p-n8/n10: Disable RAM_ROCKCHIP_DEBUG Date: Tue, 21 Jul 2020 00:21:20 +0530 Message-Id: <20200720185120.671064-17-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200720185120.671064-1-jagan@amarulasolutions.com> References: <20200720185120.671064-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="Mx9/oCGX"; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Disable ram rockchip debug driver for ROCKPi N8/N10 boards since we have verified ram in many instances with respective U-Boot versions. Signed-off-by: Jagan Teki --- configs/rock-pi-n10-rk3399pro_defconfig | 1 + configs/rock-pi-n8-rk3288_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/configs/rock-pi-n10-rk3399pro_defconfig b/configs/rock-pi-n10-rk3399pro_defconfig index 2aa2fafaa4..4a5bff44ef 100644 --- a/configs/rock-pi-n10-rk3399pro_defconfig +++ b/configs/rock-pi-n10-rk3399pro_defconfig @@ -48,6 +48,7 @@ CONFIG_PMIC_RK8XX=y CONFIG_REGULATOR_PWM=y CONFIG_REGULATOR_RK8XX=y CONFIG_PWM_ROCKCHIP=y +# CONFIG_RAM_ROCKCHIP_DEBUG is not set CONFIG_DM_RESET=y CONFIG_BAUDRATE=1500000 CONFIG_DEBUG_UART_SHIFT=2 diff --git a/configs/rock-pi-n8-rk3288_defconfig b/configs/rock-pi-n8-rk3288_defconfig index d218852d79..630ec6e491 100644 --- a/configs/rock-pi-n8-rk3288_defconfig +++ b/configs/rock-pi-n8-rk3288_defconfig @@ -64,6 +64,7 @@ CONFIG_REGULATOR_RK8XX=y CONFIG_PWM_ROCKCHIP=y CONFIG_RAM=y CONFIG_SPL_RAM=y +# CONFIG_RAM_ROCKCHIP_DEBUG is not set CONFIG_DEBUG_UART_SHIFT=2 CONFIG_SYSRESET=y CONFIG_USB=y