From patchwork Wed Jul 15 08:34: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: 11664425 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5D3426C1 for ; Wed, 15 Jul 2020 08:35:28 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 238E3206F4 for ; Wed, 15 Jul 2020 08:35:28 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="h/2JSsoF"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="YYbdkIb4" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 238E3206F4 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=upXu2NbE8QyxrBPdSqE4wkasViQav2C2AOE9DibBg2g=; b=h/2JSsoF0Qn3rWpd1iDEJvvFL n9de05yZvA6VVllmVzIzGuFRiOKgl5T2brHboy92Oh/iS+fzj5AdIDXH6LVVrsiMzDyEcywFf39bJ laY8SV/lZhDB+1DKVzbWDdJ3euGOv5qRYh4nw9vP9CpYURhCfKUx3SFJOn/bvoueXzr7GRrlu9F4c R2JiuBMDu2xb4tpz+Fjw02fugmwNfuLLqPDVvOhCB1aGJyEQhHQ10Wnw2r6Y/QorEvcQwYZIYco/s c/RMD2cy9Axp4z1gzT7FYMYuRwFidkqUaKjCvdSScZpnxsNB4bPG53iOIEBV46h4+4/p6MYJ1a1gO Tc880e5hg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jvcsr-0007hk-73; Wed, 15 Jul 2020 08:35:21 +0000 Received: from mail-pg1-x52f.google.com ([2607:f8b0:4864:20::52f]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jvcsJ-0007Ro-LW for linux-rockchip@lists.infradead.org; Wed, 15 Jul 2020 08:34:57 +0000 Received: by mail-pg1-x52f.google.com with SMTP id o13so2741967pgf.0 for ; Wed, 15 Jul 2020 01:34:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=kjN8zayeMZG2DU4GzukY5NcBfZcnl9ozMGccHHoLtc4=; b=YYbdkIb4NzCVM5ThpHJVKE+9NAsXOXJTj+D6B8nmH5lQdIEXveNyFBeVGCzWHF4Cae 7afdV4DglRasGGq/V++HxOQzigizkffo3+SKyy8UVaZ7uYW8vs24JXdcLBvn026paZPk UGv0PDNSEyd42/LE12glkZusDFK4hpCRLnFXI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=kjN8zayeMZG2DU4GzukY5NcBfZcnl9ozMGccHHoLtc4=; b=nGqUaLmwsF3FKSlu68p3JBAfm5wUwE+Yotq3zzeEWgTd/C251KWP/FnLELL8jFugJn Ox2yfYenJqoaA3tfpPg43DlYbLYYJ07TBHNKoDbzUJpiFH6OV26KcPixcrMoz9uG8OER hND6sznCbtrWzu5nL4Ug2dNSB2uDfK6QN3lyjKolwIk3E1vR4MgPHMpiyBdh7ljJeJb/ Zh+OfOrliv+1i4K0CuLaHmZVl+eT+0Vy66d5xJnE39UlqSzXuUqy3wibnJWXrSjHeEJW Rw4eIOBERt8iImHsfJd7FNwPYGWBipx8zoI3MJTyu9o6dUurux05HUPj0cmMe+ii4r9y 0z+A== X-Gm-Message-State: AOAM533XjP7Ah6m0tB7oVYNtEMFfCo4EjOyWGsiQzYW/L1o8pca436M4 B2FrPOyPzfhslImZWPOwYFvMDa8AZfM= X-Google-Smtp-Source: ABdhPJzY09Yixyw9mcn93UTId1G4FU8OwXFbvjOYbJonZQY2YfJnqUJgR/gCMvQikYHIyDgK1dR9fA== X-Received: by 2002:a62:1b4e:: with SMTP id b75mr7485926pfb.33.1594802085172; Wed, 15 Jul 2020 01:34:45 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:9887:56a8:c916:cfdb]) by smtp.gmail.com with ESMTPSA id m92sm1467584pje.13.2020.07.15.01.34.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jul 2020 01:34:44 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , Rob Herring Subject: [PATCH v6 1/7] ARM: dts: rockchip: dalang-carrier: Move i2c nodes into SOM Date: Wed, 15 Jul 2020 14:04:12 +0530 Message-Id: <20200715083418.112003-2-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200715083418.112003-1-jagan@amarulasolutions.com> References: <20200715083418.112003-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200715_043447_775731_23733239 X-CRM114-Status: GOOD ( 10.27 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:52f listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, Jagan Teki , Suniel Mahesh , Michael Trimarchi , linux-amarula , linux-arm-kernel@lists.infradead.org Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org I2C nodes and associated slave devices defined in Carrier board are specific to rk3399pro vmrac SOM. So, move them into SOM dtsi. Signed-off-by: Jagan Teki --- Changes for v6: - spilt of previous version Trivial patch .../dts/rockchip-radxa-dalang-carrier.dtsi | 32 ------------------- .../dts/rockchip/rk3399pro-vmarc-som.dtsi | 29 +++++++++++++++++ 2 files changed, 29 insertions(+), 32 deletions(-) diff --git a/arch/arm/boot/dts/rockchip-radxa-dalang-carrier.dtsi b/arch/arm/boot/dts/rockchip-radxa-dalang-carrier.dtsi index df3712aedf8a..176b53b8e41a 100644 --- a/arch/arm/boot/dts/rockchip-radxa-dalang-carrier.dtsi +++ b/arch/arm/boot/dts/rockchip-radxa-dalang-carrier.dtsi @@ -17,29 +17,6 @@ &gmac { status = "okay"; }; -&i2c1 { - status = "okay"; - i2c-scl-rising-time-ns = <140>; - i2c-scl-falling-time-ns = <30>; -}; - -&i2c2 { - 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 { status = "okay"; }; @@ -70,12 +47,3 @@ &uart0 { &uart2 { status = "okay"; }; - -&pinctrl { - hym8563 { - hym8563_int: hym8563-int { - rockchip,pins = - <4 RK_PD6 0 &pcfg_pull_up>; - }; - }; -}; diff --git a/arch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi b/arch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi index 0a516334f15f..e11538171e67 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi @@ -297,6 +297,29 @@ regulator-state-mem { }; }; +&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>; @@ -324,6 +347,12 @@ &tsadc { }; &pinctrl { + hym8563 { + hym8563_int: hym8563-int { + rockchip,pins = <4 RK_PD6 0 &pcfg_pull_up>; + }; + }; + pmic { pmic_int_l: pmic-int-l { rockchip,pins = From patchwork Wed Jul 15 08:34: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: 11664427 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4B66C13B1 for ; Wed, 15 Jul 2020 08:35:31 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2494A206F4 for ; Wed, 15 Jul 2020 08:35:31 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="HC3XsTeG"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="JhJWP2KI" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2494A206F4 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=5V5cnA2jOOT1feDcHqJkyEbxwFeL52eEz0Hlu+bSqCo=; b=HC3XsTeGCY7lM6YML6DpVr/2e /Q7FNdguQYiwJuJ9D/5AGoOrp4emc99/EeFHC/6SyXlB+NHZ9DBb8oh1Q9kDcf6iR7rdeA1z0ENIw GqnabfNq1xo3X6gpw6qU6cKaeThyHmWkpFjCI5Yh2YhlADue/F4n81cexHV9qIo4OWqjjgHRrz7Up Bssv/SKQqTy0GzwxSP/p7ziWZiil8akELKN4UqttDbTEa1o7jtsBqw6aDQsGfOodx6He587qCwF/7 MlLvrJx55KtCMu3GAa/uPAUORRonbICFbwZzNrwlFHEml6g3vaREjo1X/hTTUj66FRPtp5xWqj6AA WoqpXCTgg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jvcsu-0007j9-8W; Wed, 15 Jul 2020 08:35:24 +0000 Received: from mail-pl1-x644.google.com ([2607:f8b0:4864:20::644]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jvcsO-0007UG-1D for linux-rockchip@lists.infradead.org; Wed, 15 Jul 2020 08:35:02 +0000 Received: by mail-pl1-x644.google.com with SMTP id l6so2093861plt.7 for ; Wed, 15 Jul 2020 01:34:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=p5iXaht479GnGhX17VzhQEzhFfkqxgmW23gJMSjYcgI=; b=JhJWP2KIMyTazKOBVKdxv6a942aDAALi0JdTWyEIrAkKg26chQuO5fK00XKgqYkLjw lYkqvr9fFxnBIFNxlS7iUs2dGXWXeVZml2+4oRfgIVZGPtZ0XBKueuHg/7nkbkiBzAWg aZTOEDyv+dc7OG7QWqDfXQ1bfhC/pt4e9Aa20= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=p5iXaht479GnGhX17VzhQEzhFfkqxgmW23gJMSjYcgI=; b=jnDwtVbkoHS25B6Q349ajWz8geMoT6HFYz3y4upqAH5iQaB9T27dPYhw3aLRfAUorP ZU1g0uBZDf7sknkNIFMACL5pHXngRluHmr5nP/MjP8sghHqOzbQkoaeENwZ4vpQFEtTp 7ipyLimfo9RFnTSj8hLT6jf51ZyPHQf4YsV7OsGrk9H7C7SuAsukFi/Huo2tSFxk/jK1 +4lHsCi1oh5QHoxOQUhqMHrTdgOA23oPXGyvoeGPKAGfTh+QzV6J8Q7D78KyApylzPMM dZPKryuZcVrYjy3yMByJMw4lhumYWaBO8CZpuHwJcRz7/ugR9+ZLZy1N4d8pfmek9bCy vTjw== X-Gm-Message-State: AOAM531G3UD9B7YaAMMmPM7LUoUedb0aNFtSAZUvTaq7kAyBHlw9T9h6 je3xW3mXY1144eJDow/i8p+bGQ== X-Google-Smtp-Source: ABdhPJwUM/KOTmuZSRAHhXmTz7Hqdz2ADBYxx5P0O5G43ml9Ecief/OST/FVbAgERz6lKiYBLLVTaA== X-Received: by 2002:a17:902:b113:: with SMTP id q19mr7393133plr.170.1594802089528; Wed, 15 Jul 2020 01:34:49 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:9887:56a8:c916:cfdb]) by smtp.gmail.com with ESMTPSA id m92sm1467584pje.13.2020.07.15.01.34.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jul 2020 01:34:48 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , Rob Herring Subject: [PATCH v6 2/7] arm64: dts: rk3399pro: vmarc-som: Fix sorting nodes, properties Date: Wed, 15 Jul 2020 14:04:13 +0530 Message-Id: <20200715083418.112003-3-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200715083418.112003-1-jagan@amarulasolutions.com> References: <20200715083418.112003-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200715_043452_152248_1C4E5493 X-CRM114-Status: GOOD ( 10.76 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:644 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, Jagan Teki , Suniel Mahesh , Michael Trimarchi , linux-amarula , linux-arm-kernel@lists.infradead.org Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org Fix node, properties sorting on RockPI N10 board dts(i) files. Signed-off-by: Jagan Teki --- Changes for v6: - spilt of previous version Trivial patch .../dts/rockchip/rk3399pro-rock-pi-n10.dts | 2 +- .../dts/rockchip/rk3399pro-vmarc-som.dtsi | 35 +++++++++---------- 2 files changed, 18 insertions(+), 19 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3399pro-rock-pi-n10.dts b/arch/arm64/boot/dts/rockchip/rk3399pro-rock-pi-n10.dts index a1783e7f769a..539f4005386d 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399pro-rock-pi-n10.dts +++ b/arch/arm64/boot/dts/rockchip/rk3399pro-rock-pi-n10.dts @@ -8,8 +8,8 @@ /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"; diff --git a/arch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi b/arch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi index e11538171e67..121a430d6a70 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi @@ -76,8 +76,8 @@ &gmac { &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 { @@ -323,8 +323,22 @@ hym8563: hym8563@51 { &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 { @@ -341,22 +355,7 @@ &sdhci { }; &tsadc { - status = "okay"; rockchip,hw-tshut-mode = <1>; rockchip,hw-tshut-polarity = <1>; -}; - -&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>; - }; - }; + status = "okay"; }; From patchwork Wed Jul 15 08:34: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: 11664487 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0E457913 for ; Wed, 15 Jul 2020 08:55:43 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DBBB62064C for ; Wed, 15 Jul 2020 08:55:42 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="oBtpY+gS"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="DlPGLiJA"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="V6eXBTMb" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DBBB62064C Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=DNR3hKlme/RG+AADZ25Io/XBeQ68BOqR9wwiDVqI0FY=; b=oBtpY+gSR/EkUaO0IZOOGUGQB D+UWOSpnHBERnckHt8BtxqHeKZTa6uPftL1golHySBi3t/3lMsQEuJxOX3fbvM+nyMtOjQl5PKkVu 3RsAYWom5c8lCKcAQIDppU/3olodaYSCPOdglARsr83Om+R7SNXCdTrcmLge1u2zekFTvey5CxmJQ xmXFm2Py1PSdwT88YSlCu6HnTMVm4fGBAf9unPJvkKFMBh2ODhWPd/MNwBbJ+YLFm5Q1c8jMLjeln lXAc4o4BGqewDSFF1BlO3EFLjb2RdIw0rmEPlsdAF3RXuaYiUgmrSQL2shMtV5n/7J2QTRlpr7DOw 0PivJyxDQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jvdCT-0002JX-Kn; Wed, 15 Jul 2020 08:55:37 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jvdCJ-0002BD-Rm for linux-rockchip@merlin.infradead.org; Wed, 15 Jul 2020 08:55:27 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=YgB0N9dRcA9w6WXseVOOZfeq0/D4u3nNZYgCsL9uaRw=; b=DlPGLiJAzJ0DQFiD7kKzSEqxnu zkTDPrKWmvBCwKByNsjmBsmJOc0VxdR7fJjTPS4D1wXQ2XYCdJOM4IoZ4vOOfgqlEGen+CpUF3Gib zwdNR9yfvd3yK71qEpT9FU5foXIo7uJFAZDftjdZw163aqv5RlK6tBOar9dZPAbWyygq3AlLUD9Yv EcOyC86P0g7sKoksMAgtaZ3QnF/VKUHK8Y6eDAfkaUXLyBWc+zAwDLP5UdDpfScIpFqJa8ByJ4iw4 wW3DRoonsPwNiy89IRc9HuQFGD8GGLcK69HIeLIGpo8SfYPu3B17p42zcNADK/bM1pHWfQ9o7YbKo avKJNx3g==; Received: from mail-pj1-x1042.google.com ([2607:f8b0:4864:20::1042]) by casper.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jvcsS-0006yW-RS for linux-rockchip@lists.infradead.org; Wed, 15 Jul 2020 08:34:59 +0000 Received: by mail-pj1-x1042.google.com with SMTP id gc15so1714982pjb.0 for ; Wed, 15 Jul 2020 01:34:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=YgB0N9dRcA9w6WXseVOOZfeq0/D4u3nNZYgCsL9uaRw=; b=V6eXBTMb1oMmkAgTEHHnyyDfZF9VapwcfOnuzC5FnKWSmcfLUDEbTrNQKhfI+sXwBh qEDph4vNKY4+RmTwKIPyo2OYCjSG3Ekp1cC8j18AWmwZCDZ2iLeB881Va+NIWvqoJ8Tj 7voMtlY0djIQm9XoneunlcMwxu0kt6hrh77zc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=YgB0N9dRcA9w6WXseVOOZfeq0/D4u3nNZYgCsL9uaRw=; b=AO87Cv5XDjxzRb9UkBqUb92Wjw9I741GkenznIFAduVpNG8345ClibmcFJ3ksefp/P PksSXLWeXX3K6Z/gPHEJXM4dSkZnmIM3vuejKhCIpKfeMVngkry5KPJiTbVWpOBBBLWu SBGUWwWibavWRWPwoQXNfQ0QNhZGrYa8kFpbYzNKrcjcdTRE70eiNYrIOclHDOHBRz84 20ogGt6up9ICD0tzSYRDmlfu3lXrOsBri20k9zPcjYUo71RgjXInkcfSjZ/V+jhZHPHf jY6SSAQyYKOJV2MRg0y/ZjfJdwcw/dxYosc8W1mHeDN3AGwkKEuiVFc9Fv8yzVMIzPEp qQzQ== X-Gm-Message-State: AOAM532ckT9rvxmj6tbOhA4RRrRc3j512EVrfmK6W4VZ/6rNa7smOMMk smXDZ8OX+DWO/0TDGMHx9I3qpw== X-Google-Smtp-Source: ABdhPJy/1St0AM52RbZ1D2GNO3p7hMgJK4ErEOABtcyvh5WcN2PObiswr/7zW2yu+DCXFJ9PZZAJJQ== X-Received: by 2002:a17:90a:db48:: with SMTP id u8mr8358830pjx.169.1594802094012; Wed, 15 Jul 2020 01:34:54 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:9887:56a8:c916:cfdb]) by smtp.gmail.com with ESMTPSA id m92sm1467584pje.13.2020.07.15.01.34.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jul 2020 01:34:53 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , Rob Herring Subject: [PATCH v6 3/7] arm64: dts: rk3399pro: vmarc-som: Move supply regulators into Carrier Date: Wed, 15 Jul 2020 14:04:14 +0530 Message-Id: <20200715083418.112003-4-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200715083418.112003-1-jagan@amarulasolutions.com> References: <20200715083418.112003-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200715_093457_139292_28B7D5BA X-CRM114-Status: GOOD ( 11.76 ) X-Spam-Score: -2.1 (--) X-Spam-Report: SpamAssassin version 3.4.4 on casper.infradead.org summary: Content analysis details: (-2.1 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:1042 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, Jagan Teki , Suniel Mahesh , Michael Trimarchi , linux-amarula , linux-arm-kernel@lists.infradead.org Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org Supply regulators are common across different variants of vmarc SOM's since the Type C power controller IC is part of the carrier board. So, move the supply regulators into carrier board dtsi. Signed-off-by: Jagan Teki --- Changes for v6: - spilt of previous version Trivial patch .../dts/rockchip-radxa-dalang-carrier.dtsi | 19 +++++++++++++++++++ .../dts/rockchip/rk3399pro-vmarc-som.dtsi | 19 ------------------- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/arch/arm/boot/dts/rockchip-radxa-dalang-carrier.dtsi b/arch/arm/boot/dts/rockchip-radxa-dalang-carrier.dtsi index 176b53b8e41a..00b200a62263 100644 --- a/arch/arm/boot/dts/rockchip-radxa-dalang-carrier.dtsi +++ b/arch/arm/boot/dts/rockchip-radxa-dalang-carrier.dtsi @@ -11,6 +11,25 @@ / { chosen { stdout-path = "serial2:1500000n8"; }; + + 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>; + }; }; &gmac { diff --git a/arch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi b/arch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi index 121a430d6a70..d8fa8127d9dc 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi @@ -18,25 +18,6 @@ clkin_gmac: external-gmac-clock { 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 { From patchwork Wed Jul 15 08:34: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: 11664485 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5A974913 for ; Wed, 15 Jul 2020 08:55:39 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 333C22064C for ; Wed, 15 Jul 2020 08:55:39 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="vpsSyYEj"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="J70SNnRz"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="D99E52J1" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 333C22064C Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Dmfo06XCkIFF73LaNkRO+VYUImscDdS/wbRK0iWZVEM=; b=vpsSyYEjAcuupK65MzhEJaN8b VcWs4ArwsLWIAp6jOSCKhVvhoGEkXAUeTtJB+vh5Y9gU0yuZuQc81JDIRGcR6t05lJRacxBPkFDk8 ag6UoAceqi03zMtz7sCZu7ZHpHYF8zwNfQyYCdo4OcKO1l69e3rKcPQXRM3ugnkPnoui2EQ+0ewP1 3mwYWLpIGCAIXrSbse3bmBKVymBnXnBZgQqUUpjsMT4pTx3HBh4RuVW2i6NaZ/w5lM1ptpJamVzL4 pysdMdIAWVljUF4S+33mQaHmsuphK3IhDnL+fbQjt5LeySimY9rSdvtwK2BbyYus01XhKFQUOfR1k ANQG+HdTQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jvdCS-0002Ii-KH; Wed, 15 Jul 2020 08:55:36 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jvdCF-0002BD-0Q for linux-rockchip@merlin.infradead.org; Wed, 15 Jul 2020 08:55:23 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=5Gf+3b18Fng3ehSSzSlGlAKgiKsSEaA+C81WsDyFW3w=; b=J70SNnRzUHXeEDgC/POgeAjiep cqijvpyS5FhmDFq5qTCX8UUya6zuwI9smD/2RtNyOLnjXvYidC/ydBokS0YADLvIPq75jOrX1Fl/h OslDjwgvog4/At8scRBHEwCI+g4aUyNfMlAvYbojq8cr67fUulcxEikkswAh/BDwauIYT6MdW9OmS eq3BD62dDapnYRS4Y9d4glXLcQSnYPT7mfrtzoAoqO/G267cNSX9Hf6BO7aHvv9s6oViu7Mgt+b01 dLWHVpPfHE2UAmmeAhDH3iZaXPZLxKG5pyix1wov23U2N/ua3j7AklRIAG/YzeWslKL4DVUBM2hJp Pdz25khg==; Received: from mail-pf1-x442.google.com ([2607:f8b0:4864:20::442]) by casper.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jvcsa-00070N-5K for linux-rockchip@lists.infradead.org; Wed, 15 Jul 2020 08:35:18 +0000 Received: by mail-pf1-x442.google.com with SMTP id a23so185051pfk.13 for ; Wed, 15 Jul 2020 01:35:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=5Gf+3b18Fng3ehSSzSlGlAKgiKsSEaA+C81WsDyFW3w=; b=D99E52J1/iq4tAHPaGEuMRclM3XBiOV7ywlMdDOotpuwldvPhBvAoAx+ygB/L1RviV pCSOlM21XWp8hkl9ltf+NwiMEZUWobaG2KdzMGV4Wrm9VwYqlXHp0xv0WjDOWhRPogig R23Ki4rlSqAuFyXlVzoOF/smMfIl2YD7+K5j4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=5Gf+3b18Fng3ehSSzSlGlAKgiKsSEaA+C81WsDyFW3w=; b=GUawFWEG2bWdnaotGaQ8Fynsv0N2mks/R3uY5eX8MOb9zA62r2epFYX/1eHjhjXYvj iYqmaZ3xLzoObejAh+6XyZv+3mPubNLGqn/evDMYEHO+nPKeWPWD5AEEfyWirjxq8jvM b104VusreLnFHoZgLQ2mWvfXbFv7JKToL2Pz1uJyCckKVuNZBywWS5spoR2oi8rJCENb T/t/fIhaWdziuu9GUpAI9r9ggzwiNQTCdg3OBO37TtyINix3Rkcs+swcL9NmJYtftFmJ 8cEV0nIQ8qYvjglXfYGS9a/XQ8JtWXfdsPZFVHk7kwdnuYLkdho93hkMyptBBHBQe9H0 mWYw== X-Gm-Message-State: AOAM532yc6t0scyutbt/nD6EAo5jmLkj7ii+hGqOJbl2BsuTIdLYFFcU kOQJ/RUd/2fcI1ogl5uvQNb3JG0O4BA= X-Google-Smtp-Source: ABdhPJxRCFCn4iico0x9z8Q/KtWrdVTCJYE4/x2rneR9/RFp7MAaB7H84QREPyZJWuLxOVdY1X5hBQ== X-Received: by 2002:a62:88d4:: with SMTP id l203mr7603870pfd.205.1594802101431; Wed, 15 Jul 2020 01:35:01 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:9887:56a8:c916:cfdb]) by smtp.gmail.com with ESMTPSA id m92sm1467584pje.13.2020.07.15.01.34.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jul 2020 01:35:00 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , Rob Herring Subject: [PATCH v6 4/7] arm64: dts: rk3399pro: vmarc-som: Move common properties into Carrier Date: Wed, 15 Jul 2020 14:04:15 +0530 Message-Id: <20200715083418.112003-5-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200715083418.112003-1-jagan@amarulasolutions.com> References: <20200715083418.112003-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200715_093504_811278_18882980 X-CRM114-Status: GOOD ( 12.86 ) X-Spam-Score: -2.1 (--) X-Spam-Report: SpamAssassin version 3.4.4 on casper.infradead.org summary: Content analysis details: (-2.1 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:442 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, Jagan Teki , Suniel Mahesh , Michael Trimarchi , linux-amarula , linux-arm-kernel@lists.infradead.org Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org Some of gmac, sdmmc node properties are common across rk3288 and rk3399pro SOM's so move them into Carrier dtsi. Chosen node is specific to rk3399pro configure SBC, so move it into RockPI N10 dts. Signed-off-by: Jagan Teki --- Changes for v6: - spilt of previous version Trivial patch .../dts/rockchip-radxa-dalang-carrier.dtsi | 18 ++++++++++++---- .../dts/rockchip/rk3399pro-rock-pi-n10.dts | 4 ++++ .../dts/rockchip/rk3399pro-vmarc-som.dtsi | 21 +++++-------------- 3 files changed, 23 insertions(+), 20 deletions(-) diff --git a/arch/arm/boot/dts/rockchip-radxa-dalang-carrier.dtsi b/arch/arm/boot/dts/rockchip-radxa-dalang-carrier.dtsi index 00b200a62263..450e5bb5af0b 100644 --- a/arch/arm/boot/dts/rockchip-radxa-dalang-carrier.dtsi +++ b/arch/arm/boot/dts/rockchip-radxa-dalang-carrier.dtsi @@ -8,8 +8,11 @@ #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>; }; vcc12v_dcin: vcc12v-dcin-regulator { @@ -33,6 +36,15 @@ vcc5v0_sys: vcc5v0-sys-regulator { }; &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"; }; @@ -48,10 +60,8 @@ &sdmmc { bus-width = <4>; cap-mmc-highspeed; cap-sd-highspeed; - cd-gpios = <&gpio0 RK_PA7 GPIO_ACTIVE_LOW>; disable-wp; vqmmc-supply = <&vccio_sd>; - max-frequency = <150000000>; pinctrl-names = "default"; pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd &sdmmc_bus4>; status = "okay"; diff --git a/arch/arm64/boot/dts/rockchip/rk3399pro-rock-pi-n10.dts b/arch/arm64/boot/dts/rockchip/rk3399pro-rock-pi-n10.dts index 539f4005386d..369de5dc0ebd 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399pro-rock-pi-n10.dts +++ b/arch/arm64/boot/dts/rockchip/rk3399pro-rock-pi-n10.dts @@ -15,4 +15,8 @@ / { model = "Radxa ROCK Pi N10"; compatible = "radxa,rockpi-n10", "vamrs,rk3399pro-vmarc-som", "rockchip,rk3399pro"; + + chosen { + stdout-path = "serial2:1500000n8"; + }; }; diff --git a/arch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi b/arch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi index d8fa8127d9dc..37ed95d5f7e9 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi @@ -11,13 +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>; - }; }; &cpu_l0 { @@ -42,17 +35,8 @@ &emmc_phy { &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 { @@ -335,6 +319,11 @@ &sdhci { status = "okay"; }; +&sdmmc { + cd-gpios = <&gpio0 RK_PA7 GPIO_ACTIVE_LOW>; + max-frequency = <150000000>; +}; + &tsadc { rockchip,hw-tshut-mode = <1>; rockchip,hw-tshut-polarity = <1>; From patchwork Wed Jul 15 08:34: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: 11664429 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E92EB13A4 for ; Wed, 15 Jul 2020 08:35:49 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C13D02064C for ; Wed, 15 Jul 2020 08:35:49 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="atfDi0li"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="mWZQDuU7" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C13D02064C Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=vaDhfdr1vCYTpOO3HNWWSS5GRe7V0e9IY9wQIKAW3rM=; b=atfDi0liJlAVMHz8SIyGGRoOR kQjNU7BZ31PQJiZoLindWdzZH47NJceM53fBNnxznWtZPORF0/dYEdHyKic1yeK2FvP+7BSchRK+A 4UUWwA4zfdeTihC9jCCXkfZ1kT7RcsD7tFa/2hUVxhzE2BGHM9L+/nW6unMfdekDi2Bvyciy9xQzZ Xv3E3XaZZ3ci0xqG6o63g+q5MhPs40vd9lwpLE5Kcg3OlHXkNWY2QjH5gIsu4x6IRrPLiQ0QHn71m y90EwlCYJDPwqruJE4i4hIPUJYMxtDKGa5dKsH+27OXHdQsL1IIrYeTajibfTIKHr2l/XgtgIIPKP tvmPjUMZQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jvctE-0007tB-LO; Wed, 15 Jul 2020 08:35:44 +0000 Received: from mail-pj1-x1041.google.com ([2607:f8b0:4864:20::1041]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jvcsf-0007cS-K4 for linux-rockchip@lists.infradead.org; Wed, 15 Jul 2020 08:35:38 +0000 Received: by mail-pj1-x1041.google.com with SMTP id ls15so2738671pjb.1 for ; Wed, 15 Jul 2020 01:35:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=yxI9YhDE5SV3Io8wREotQldzA482P0rWaokyh+vxGCY=; b=mWZQDuU7rGN2pEgKRcvEzQtssPL4zTWKq1U65H4fQMz3uuPkHUarbzxXLgLTksol+x ZDHShfHOIE8TnHtHp/zFmUH/XqZF4teZTnS39Zm6o0LGcXMSEGc/d2JQ5sxsl2+/pj78 TBFkvM5RR49xK+kjK2gzB59By8moD6zK4u/CM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=yxI9YhDE5SV3Io8wREotQldzA482P0rWaokyh+vxGCY=; b=fQ6xK4lVneTiY+1+aabt1rvW4OoIQVlFjVRO6uSSodURUDmeyWHSVg+tCkTMlcT7Ne C2L2kjF0dmmhyBXwlBs4DaZ9AFFBCGDjf60kTgh8RFbQ9E/1dFRO2FgTud52Lcl8fRh2 v3EoOyfTPvMv9Nw8j+YeuOmBmFTvI7Ebe6frCBzCKabkihfBL+wF3YXQIlAsmPVWM+ZC 9M4Ry/9B4ngJ09we7NpLzOARq0iKKoN7CeIgoRAtHVwBDyrbQ/1WgCdny2b8RXkdTOZY Q/MCsPBTUJlvcSTTH8x5cNLH+zSEMHMpLgU9t3apjyTn8Axu4LY8jfGScfwP+AudqERA Nd4g== X-Gm-Message-State: AOAM531zWGfek7q6ppzjzegJqDkreaSs9VTTJjlO4JAHP/YP7h0izxKO EIGau2SMbgxt8tVriPR2aGJa4w== X-Google-Smtp-Source: ABdhPJwp41qrBoUG2O+1o21NarpOFZdNuLSnTVTnVazpWy1sBZXw+vbp0VgkdH4BHsqxByv6Sx7IhQ== X-Received: by 2002:a17:90a:a0a:: with SMTP id o10mr8851118pjo.12.1594802107223; Wed, 15 Jul 2020 01:35:07 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:9887:56a8:c916:cfdb]) by smtp.gmail.com with ESMTPSA id m92sm1467584pje.13.2020.07.15.01.35.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jul 2020 01:35:06 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , Rob Herring Subject: [PATCH v6 5/7] dt-bindings: arm: rockchip: Add Rock Pi N8 binding Date: Wed, 15 Jul 2020 14:04:16 +0530 Message-Id: <20200715083418.112003-6-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200715083418.112003-1-jagan@amarulasolutions.com> References: <20200715083418.112003-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200715_043509_798293_AADBB4F2 X-CRM114-Status: UNSURE ( 8.26 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:1041 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Rob Herring , linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, Jagan Teki , Suniel Mahesh , Michael Trimarchi , linux-amarula , linux-arm-kernel@lists.infradead.org Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org Rock Pi N8 is a Rockchip RK3288 based SBC, which has - VMARC RK3288 SOM (as per SMARC standard) from Vamrs. - Compatible carrier board from Radxa. VMARC RK3288 SOM need to mount on top of dalang carrier board for making Rock PI N8 SBC. Add dt-bindings for it. Reviewed-by: Rob Herring Signed-off-by: Jagan Teki --- Changes for v6: - collect Rob reviewed-by Documentation/devicetree/bindings/arm/rockchip.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/rockchip.yaml b/Documentation/devicetree/bindings/arm/rockchip.yaml index d4a4045092df..db2e35796795 100644 --- a/Documentation/devicetree/bindings/arm/rockchip.yaml +++ b/Documentation/devicetree/bindings/arm/rockchip.yaml @@ -435,6 +435,12 @@ properties: - const: radxa,rockpi4 - const: rockchip,rk3399 + - description: Radxa ROCK Pi N8 + items: + - const: radxa,rockpi-n8 + - const: vamrs,rk3288-vmarc-som + - const: rockchip,rk3288 + - description: Radxa ROCK Pi N10 items: - const: radxa,rockpi-n10 From patchwork Wed Jul 15 08:34: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: 11664483 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id CDB4D913 for ; Wed, 15 Jul 2020 08:55:29 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 993D42064C for ; Wed, 15 Jul 2020 08:55:29 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="TtvfUNnw"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="gt9J19Jk"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="gnd03RJ9" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 993D42064C Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Cv9DzUWYzs5fasdfj6LCg/YvhrdbgfetHD2EYX/NHbE=; b=TtvfUNnw2bZS6tQQTRn3ME6Le f3dI493M/LFpCzEX4vysvDOmbYec0rglZHIX+tjP/HXbyiCEr8BfpgnPYhQ1AJ0L3AnaqoScvA2hV eR/FR6qSsqmP9qdFUnqXJ14lJjPFUcN/EFNeE6iXA6mAY0OjwAsap5J/MZ1tCjazddqCCVH3PfY3T a7cy/VBWzRVQW/Vy4jrKuoCxE0MG1eHa7zWxDZ9kc4S5uzfJsWOGtmJ4rop6IdlSnrB9Bdsgv24J7 1e0ruswDKkXEVP8zbyV019b1cnmCFPJy07nSXMkkLyKH0X3oJ0UXvPVrCmAVdfLCN6Pe1G/3pFyqj sTg6YMplA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jvdCI-0002F0-28; Wed, 15 Jul 2020 08:55:26 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jvdCB-0002BD-Dd for linux-rockchip@merlin.infradead.org; Wed, 15 Jul 2020 08:55:19 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=QQpdm3j3v/qHsRB9h01sHsvWi3OKWTpBX209yVhTeXA=; b=gt9J19Jkp5ip6riqmw6skz1a2r ApeNjftXXpv8YaXi99cweGof7iUT74h6xK/rKgbieaguaPepZt6Ym3kOd4LJNcPgPoyg34qOxPWxI SSM0AXHyp5l21SjtG8jJP5cLCrAHYqS7IXFgyyuQyvUrMkH2d5FOjKCBQrxo+cS+g/3k3iLdROqJg cTF/tGiJr4TfAOccZnEAHqUoRjGgTNBCGSxCRXbBy8m8CYlqqXTfpHbXgntQrLReEJQ07fZDzwUOC MM9YfFHxPandGegsSLM0cOy2rYZDyFVfCVjUClycpKQoNPcI5Pa0Z+lDCgkl7Xt6BAyeSc+0iwOyL 1UqlSz+A==; Received: from mail-pl1-x644.google.com ([2607:f8b0:4864:20::644]) by casper.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jvcsj-00076M-W9 for linux-rockchip@lists.infradead.org; Wed, 15 Jul 2020 08:35:30 +0000 Received: by mail-pl1-x644.google.com with SMTP id x9so2107006plr.2 for ; Wed, 15 Jul 2020 01:35:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=QQpdm3j3v/qHsRB9h01sHsvWi3OKWTpBX209yVhTeXA=; b=gnd03RJ9OiFoQVHDgFPeIvRpyI/4apTqKzF2ikT+iJcu0Y+SFXZVSwZSSjBGoItjkQ 9JCyz8jThZjuqcGT1U7G+8Eu8KLmkRWVux2OK6/bQEx7e+nRCaG9UTnj8w5cHDAA2RjW 19dubyOm7Rmamq3eZEaPj1CDn5FA0/zZilWYM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=QQpdm3j3v/qHsRB9h01sHsvWi3OKWTpBX209yVhTeXA=; b=AaQNaF2fY6UJFAdLtsrEDGKz5tKl0kgoX33Ghp7vaPPiFmW0xzvwxL3/ofMPSgJ9PU JsWvCQnCy8hyw8Zuj7Ux0Q2z+mIFdxcj5fkZwrWSLYWyjpYUMEBVjBp49Nt2vlaWFIiP t+/aWKDkO6mir4KTWZarwHB6FYDVq1bBIai7vItee3NLi7xB3dyuBJx8nAHJJyaRPtij XEGuiED2hkxp0p2uvbdHs7mgxxPDZQ1Nb6AKQ3BwhMt7enYCN/W4O7Oa83bzFtLrsL/l idG2ztyTo+7m9VeFAqiN66luKL+kb3qrp3A6STGP70xyKEeQ/iiZnlwurAKEOQW1MmpZ Ssvg== X-Gm-Message-State: AOAM531FjgjuQGve2xP1M0t16Dssj1LB2O4NJWAZGf6WH7VsR+MHlkM+ 5pnT9VGY4Xo8WscGoopQfS2CqQ== X-Google-Smtp-Source: ABdhPJwUZV9fMKBZMN6vvsW9fO2igvueGqtkOTYB8ybXrLvDyy/9z4ZWBTos2PiG/3rubQqFeqS5tQ== X-Received: by 2002:a17:90a:a887:: with SMTP id h7mr9168908pjq.0.1594802111284; Wed, 15 Jul 2020 01:35:11 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:9887:56a8:c916:cfdb]) by smtp.gmail.com with ESMTPSA id m92sm1467584pje.13.2020.07.15.01.35.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jul 2020 01:35:10 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , Rob Herring Subject: [PATCH v6 6/7] ARM: dts: rockchip: Add VMARC RK3288 SOM initial support Date: Wed, 15 Jul 2020 14:04:17 +0530 Message-Id: <20200715083418.112003-7-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200715083418.112003-1-jagan@amarulasolutions.com> References: <20200715083418.112003-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200715_093514_500346_6F5E0B4E X-CRM114-Status: GOOD ( 14.74 ) X-Spam-Score: -2.1 (--) X-Spam-Report: SpamAssassin version 3.4.4 on casper.infradead.org summary: Content analysis details: (-2.1 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:644 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, Jagan Teki , Suniel Mahesh , Michael Trimarchi , linux-amarula , linux-arm-kernel@lists.infradead.org Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org VMARC RK3288 SOM is a standard SMARC SOM design with Rockchip RK3288 SoC, which is designed by Vamrs. Specification: - Rockchip RK3288 - PMIC: RK808 - eMMC: 16GB/32GB/64GB - SD slot - 2xUSB-2.0, 1xUSB3.0 - USB-C for power supply - Ethernet - HDMI, MIPI-DSI/CSI, eDP Add initial support for VMARC RK3288 SOM, this would use with associated carrier board. Signed-off-by: Jagan Teki --- Changes for v6: - none arch/arm/boot/dts/rk3288-vmarc-som.dtsi | 270 ++++++++++++++++++++++++ 1 file changed, 270 insertions(+) create mode 100644 arch/arm/boot/dts/rk3288-vmarc-som.dtsi diff --git a/arch/arm/boot/dts/rk3288-vmarc-som.dtsi b/arch/arm/boot/dts/rk3288-vmarc-som.dtsi new file mode 100644 index 000000000000..0bcb9f067d66 --- /dev/null +++ b/arch/arm/boot/dts/rk3288-vmarc-som.dtsi @@ -0,0 +1,270 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2019 Fuzhou Rockchip Electronics Co., Ltd + * Copyright (c) 2019 Vamrs Limited + * Copyright (c) 2019 Amarula Solutions(India) + */ + +#include +#include + +/ { + compatible = "vamrs,rk3288-vmarc-som", "rockchip,rk3288"; + + vccio_flash: vccio-flash-regulator { + compatible = "regulator-fixed"; + regulator-name = "vccio_flash"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + vin-supply = <&vcc_io>; + }; +}; + +&emmc { + bus-width = <8>; + cap-mmc-highspeed; + disable-wp; + 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>; + phy-supply = <&vcc_io>; + snps,reset-gpio = <&gpio4 RK_PA7 GPIO_ACTIVE_HIGH>; +}; + +&i2c0 { + clock-frequency = <400000>; + status = "okay"; + + rk808: pmic@1b { + compatible = "rockchip,rk808"; + reg = <0x1b>; + interrupt-parent = <&gpio0>; + interrupts = ; + pinctrl-names = "default"; + pinctrl-0 = <&pmic_int &global_pwroff>; + rockchip,system-power-controller; + wakeup-source; + #clock-cells = <1>; + clock-output-names = "rk808-clkout1", "rk808-clkout2"; + + 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 = <&vcc5v0_sys>; + vcc11-supply = <&vcc5v0_sys>; + vcc12-supply = <&vcc_io>; + vddio-supply = <&vcc_io>; + + regulators { + vdd_cpu: DCDC_REG1 { + 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-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; + }; + }; + + vcc_ddr: DCDC_REG3 { + regulator-always-on; + regulator-boot-on; + regulator-name = "vcc_ddr"; + regulator-state-mem { + regulator-on-in-suspend; + }; + }; + + vcc_io: DCDC_REG4 { + 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>; + }; + }; + + vcc_tp: LDO_REG1 { + 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-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>; + }; + }; + + vdd_10: LDO_REG3 { + 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>; + }; + }; + + vcc_wl: LDO_REG4 { + 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-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>; + }; + }; + + vdd10_lcd: LDO_REG6 { + 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-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>; + }; + }; + + vcc18_lcd: LDO_REG8 { + 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-always-on; + regulator-boot-on; + regulator-name = "vcc_sd"; + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vcc_lcd: SWITCH_REG2 { + regulator-always-on; + regulator-boot-on; + regulator-name = "vcc_lcd"; + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + }; + }; +}; + +&io_domains { + bb-supply = <&vcc_io>; + flash0-supply = <&vccio_flash>; + gpio1830-supply = <&vcc_18>; + gpio30-supply = <&vcc_io>; + sdcard-supply = <&vccio_sd>; + status = "okay"; +}; + +&pinctrl { + pcfg_pull_none_drv_8ma: pcfg-pull-none-drv-8ma { + drive-strength = <8>; + }; + + pcfg_pull_up_drv_8ma: pcfg-pull-up-drv-8ma { + bias-pull-up; + drive-strength = <8>; + }; + + pmic { + pmic_int: pmic-int { + rockchip,pins = <0 RK_PA4 RK_FUNC_GPIO &pcfg_pull_up>; + }; + }; + + sdmmc { + sdmmc_bus4: sdmmc-bus4 { + rockchip,pins = + <6 RK_PC0 1 &pcfg_pull_up_drv_8ma>, + <6 RK_PC1 1 &pcfg_pull_up_drv_8ma>, + <6 RK_PC2 1 &pcfg_pull_up_drv_8ma>, + <6 RK_PC3 1 &pcfg_pull_up_drv_8ma>; + }; + + sdmmc_clk: sdmmc-clk { + 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>; + }; + }; +}; From patchwork Wed Jul 15 08:34: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: 11664481 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9FE61722 for ; Wed, 15 Jul 2020 08:55:22 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 115962064C for ; Wed, 15 Jul 2020 08:55:22 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="QtbZiPEJ"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="B8Iwuv0F"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="Gq7wo52x" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 115962064C Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=2Gx7zjwtO7tFd40JM8ZVtcAw/akBkmBd2fCo8s3ZgAc=; b=QtbZiPEJDkOEvvVvBtMzmGEL7 G+0urW9y/QdD8bqItIlnqxrrBu26F5BKWR/1bzynkQRR81Hxx0CfyZyWFCJzQjuMQj7muziOXWOcA JrVoU8rt+gkZbF+nbXit7EPUvkPNVy9zAlKxJ607hQcseIxIxMq69qEkwNN6y0nHgFp4si41wkk0U ztoSM9KCuNECitdr1PcD+n6jdF5SmY/7UXkUNa8p8QxWQeWt60o4CdZMLvc9PjPZZd1A5sAfC+Bup 6MU0FgADCrjYcQReToSmT7snjfMZEqoMtpDI5z3z1R8QjQfJ5AByhZg0KTnKFqy+r35A+FQfgGDog OOc/irH+A==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jvdCA-0002Cq-NN; Wed, 15 Jul 2020 08:55:18 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jvdC9-0002BD-L0 for linux-rockchip@merlin.infradead.org; Wed, 15 Jul 2020 08:55:17 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=WPolAUEN8R+26Nb1p0YR+16g+IcA7gsrUiiI7xSTFn8=; b=B8Iwuv0FGB01+vLCtk6TbtsFHO hVOncIJwRSOevng6L5W8sqKYCyFuJa4uJmSlF3Nv3h3iKrWido0iGwVksAwastFFbWtMdKSskfH7y AVQ2qIrHdfqbNLaRrivigmBauO2Vue20IcUm0jxA9GorlkecSt0Z8vAF6JX/SDQW5RNBhdWmcoL+0 ASUy+x3u+lbx6un2cRT6B+HvAoflA24dv7o3Qn/RktIT9RWQeeAtPH4iiXnc4XQL8eaKwl4aOSSV2 XVgsTr/PnQJTyT6knxIste9wZydh9V9EK5Nb7Us/A9qDSTW7JwLicBYjk63HiQrUGtGiygVSXzJZc 2PHsIrLg==; Received: from mail-pf1-x442.google.com ([2607:f8b0:4864:20::442]) by casper.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jvcso-00078F-BY for linux-rockchip@lists.infradead.org; Wed, 15 Jul 2020 08:35:31 +0000 Received: by mail-pf1-x442.google.com with SMTP id a23so185307pfk.13 for ; Wed, 15 Jul 2020 01:35:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=WPolAUEN8R+26Nb1p0YR+16g+IcA7gsrUiiI7xSTFn8=; b=Gq7wo52xCqehQ6QK/f2liMmmxxUT5CSK8hJv2qgPncNQnTQn3pGDoSbccnMYQPC3Ml fUaTM8lUFNIsaA/w4hoWS0GxLPNzSTDRuGYwsvh+G5WVXWKoQ+aWaAARX8UUMNAzxr3t nUIKNkVrkGhszsESFqPHATprCHgotgLFyLTYA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=WPolAUEN8R+26Nb1p0YR+16g+IcA7gsrUiiI7xSTFn8=; b=DOVYptzPpslkFqVv9h/nVFiQ31XAu59d45BeAeitGX81Th0/JBdIKFh7z+I+msikv7 eK05ZZn0V4E+DGLfaPBkik3G/7Do1q1heOOssvQw80c0BPsBOfSQbyTXyihKxCGIpZGJ 7Vyvj9j9aHleI83YGTnx0pDIVRzL2MUA3iXWsZunbc/taOyUzPg/lpdbVUPCB+/bC6oF 7ywyrcLV/iVgATz6Ci+yLU9W2W8LlL1f+0JTuulOw5IORz1cUqRo/4CXr7YQ9OQ6Atqf /vtRIJVgYThEwXOVTzUOhx67yIa+K9D+jHaoXhQ9Q7kOgZmwZCT7k1BewX+QeTnkkzlI G2yg== X-Gm-Message-State: AOAM530WclDUg/Q3p+ZxWF5GLTS/3rUv8c6vhb+Hsf9OD1vbjIYKIXIn l7OtstjBe3yt0rjZlvi9y1fPTw== X-Google-Smtp-Source: ABdhPJyYzrJs37beWQwtGNYJoh/xqyO8utCUQ58r7LA3J+ThvdUHJeGggZl5mk14AlpcbBbfuvbXNw== X-Received: by 2002:a63:c947:: with SMTP id y7mr6972752pgg.357.1594802115768; Wed, 15 Jul 2020 01:35:15 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:9887:56a8:c916:cfdb]) by smtp.gmail.com with ESMTPSA id m92sm1467584pje.13.2020.07.15.01.35.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jul 2020 01:35:14 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , Rob Herring Subject: [PATCH v6 7/7] ARM: dts: rockchip: Add Radxa Rock Pi N8 initial support Date: Wed, 15 Jul 2020 14:04:18 +0530 Message-Id: <20200715083418.112003-8-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200715083418.112003-1-jagan@amarulasolutions.com> References: <20200715083418.112003-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200715_093519_232349_7A015380 X-CRM114-Status: GOOD ( 15.60 ) X-Spam-Score: -2.1 (--) X-Spam-Report: SpamAssassin version 3.4.4 on casper.infradead.org summary: Content analysis details: (-2.1 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:442 listed in] [list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, Jagan Teki , Suniel Mahesh , Michael Trimarchi , linux-amarula , linux-arm-kernel@lists.infradead.org Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org Rock Pi N8 is a Rockchip RK3288 based SBC, which has - VMARC RK3288 SOM (as per SMARC standard) from Vamrs. - Compatible carrier board from Radxa. VAMRC RK3288 SOM need to mount on top of radxa dalang carrier board for making Rock Pi N8 SBC. So, add initial support for Rock Pi N8 by including rk3288, rk3288 vamrc-som and raxda dalang carrier board dtsi files. Signed-off-by: Jagan Teki --- Changes for v6: - none arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/rk3288-rock-pi-n8.dts | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 arch/arm/boot/dts/rk3288-rock-pi-n8.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index e8dd99201397..1d1b6ac26394 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -964,6 +964,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += \ rk3288-popmetal.dtb \ rk3288-r89.dtb \ rk3288-rock2-square.dtb \ + rk3288-rock-pi-n8.dtb \ rk3288-tinker.dtb \ rk3288-tinker-s.dtb \ rk3288-veyron-brain.dtb \ diff --git a/arch/arm/boot/dts/rk3288-rock-pi-n8.dts b/arch/arm/boot/dts/rk3288-rock-pi-n8.dts new file mode 100644 index 000000000000..b19593021713 --- /dev/null +++ b/arch/arm/boot/dts/rk3288-rock-pi-n8.dts @@ -0,0 +1,17 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2019 Fuzhou Rockchip Electronics Co., Ltd + * Copyright (c) 2019 Vamrs Limited + * Copyright (c) 2019 Amarula Solutions(India) + */ + +/dts-v1/; +#include "rk3288.dtsi" +#include +#include "rk3288-vmarc-som.dtsi" + +/ { + model = "Radxa ROCK Pi N8"; + compatible = "radxa,rockpi-n8", "vamrs,rk3288-vmarc-som", + "rockchip,rk3288"; +};