From patchwork Tue Mar 31 22:19:10 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 202578 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.6 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 85F15C2D0EE for ; Tue, 31 Mar 2020 22:19:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4EA292145D for ; Tue, 31 Mar 2020 22:19:34 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="C2d/TlNo" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731434AbgCaWTd (ORCPT ); Tue, 31 Mar 2020 18:19:33 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:33135 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727955AbgCaWTa (ORCPT ); Tue, 31 Mar 2020 18:19:30 -0400 Received: by mail-wr1-f65.google.com with SMTP id a25so28226367wrd.0; Tue, 31 Mar 2020 15:19:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=lHw9M1P3NRhm9zZzwgvQTk0wuIissIS/ZfYp0zlQyws=; b=C2d/TlNoKFgzgPOkh1bLSaiQVMxB9mF3tNIRhX22GksnuKNdA8PusyJ0U2BxnEhavO cQTTPnNtZqhlIjBOA8mem+INuXMVCFctlWh5VYP9OUWdHiTHeW3Tiw/hEU02zDRe1/rh Tlz/E6JggVSD3aUc6yIHKfXFy905iTlSl9ZyMmSWcUowTGOZ0LLffH2dacaetevtOPd7 0DkSnPTj91snfuassUGP/9aYZU/9pCB1VCUw5pqOPJS9L86XGuWDqvrcAqfgHhWW/U0M nGPpXqPjFX9I2jvZjBhnoAaKeucVEXVD7vdV32PYnIJlwYzXF553KBjQHwGmeKffirnt BuAA== 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=lHw9M1P3NRhm9zZzwgvQTk0wuIissIS/ZfYp0zlQyws=; b=qBo8sg3XLnexRkj2vyfIyK7XoBp2feeYu/5XTImAQ9o11cQSMyWdAB1FPv1KGdnbW5 HQxHU3k5am0nEyh9XjYD9nkkUO04QLvqH+SUEb3YgGmQUgE8dspY/hZnjdf5KjdAeYU5 xzc7W2RaD/1tq4iTjxKSv/ihPM8VhcJxdhRSAaXFTZu4oWl5VYHXpwy8dA1n5NaJP/jI J9DEpdfd97TF2MBK1ymHdj4a4yu7MjH57KLCb0WW4cIrhcytZTB1shcrVisRH5gRaZ+9 Yhu912G7KG9gWo2y1tsPJZ9Ox36BHnID+wTU70nLsN+rOpp/C2xWl3KFG9P4Ggs+CNQE Wozw== X-Gm-Message-State: ANhLgQ3alui494VVsgabfL62UsV3BGFZEB0Jkuc19katPiv0DIJC2FOd nssemVED/tQgRiQmRx6Su+k= X-Google-Smtp-Source: ADFU+vtwDzCJjfpv1D2wNhefief80Zlm5c+JOJxvTKezzwn4Dl7lx8hesBEeSG4YzruxHu5GKZto/g== X-Received: by 2002:a05:6000:10c8:: with SMTP id b8mr21222742wrx.138.1585693168999; Tue, 31 Mar 2020 15:19:28 -0700 (PDT) Received: from localhost (p200300E41F4A9B0076D02BFFFE273F51.dip0.t-ipconnect.de. [2003:e4:1f4a:9b00:76d0:2bff:fe27:3f51]) by smtp.gmail.com with ESMTPSA id y11sm27830wmi.13.2020.03.31.15.19.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Mar 2020 15:19:28 -0700 (PDT) From: Thierry Reding To: Daniel Lezcano , Thomas Gleixner , Thierry Reding Cc: Rob Herring , Jon Hunter , devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 3/7] arm64: tegra: Order nodes by unit-address on Tegra194 Date: Wed, 1 Apr 2020 00:19:10 +0200 Message-Id: <20200331221914.2966407-4-thierry.reding@gmail.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20200331221914.2966407-1-thierry.reding@gmail.com> References: <20200331221914.2966407-1-thierry.reding@gmail.com> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Thierry Reding The pin controller device tree node was accidentally added in the wrong place. Move it to the correct location to keep nodes ordered by unit- address. Signed-off-by: Thierry Reding --- arch/arm64/boot/dts/nvidia/tegra194.dtsi | 64 ++++++++++++------------ 1 file changed, 32 insertions(+), 32 deletions(-) diff --git a/arch/arm64/boot/dts/nvidia/tegra194.dtsi b/arch/arm64/boot/dts/nvidia/tegra194.dtsi index f4ede86e32b4..019f66f03a97 100644 --- a/arch/arm64/boot/dts/nvidia/tegra194.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra194.dtsi @@ -45,6 +45,38 @@ gpio: gpio@2200000 { gpio-controller; }; + pinmux: pinmux@2430000 { + compatible = "nvidia,tegra194-pinmux"; + reg = <0x2430000 0x17000 + 0xc300000 0x4000>; + + status = "okay"; + + pex_rst_c5_out_state: pex_rst_c5_out { + pex_rst { + nvidia,pins = "pex_l5_rst_n_pgg1"; + nvidia,schmitt = ; + nvidia,lpdr = ; + nvidia,enable-input = ; + nvidia,io-high-voltage = ; + nvidia,tristate = ; + nvidia,pull = ; + }; + }; + + clkreq_c5_bi_dir_state: clkreq_c5_bi_dir { + clkreq { + nvidia,pins = "pex_l5_clkreq_n_pgg0"; + nvidia,schmitt = ; + nvidia,lpdr = ; + nvidia,enable-input = ; + nvidia,io-high-voltage = ; + nvidia,tristate = ; + nvidia,pull = ; + }; + }; + }; + ethernet@2490000 { compatible = "nvidia,tegra194-eqos", "nvidia,tegra186-eqos", @@ -139,38 +171,6 @@ agic: interrupt-controller@2a40000 { }; }; - pinmux: pinmux@2430000 { - compatible = "nvidia,tegra194-pinmux"; - reg = <0x2430000 0x17000 - 0xc300000 0x4000>; - - status = "okay"; - - pex_rst_c5_out_state: pex_rst_c5_out { - pex_rst { - nvidia,pins = "pex_l5_rst_n_pgg1"; - nvidia,schmitt = ; - nvidia,lpdr = ; - nvidia,enable-input = ; - nvidia,io-high-voltage = ; - nvidia,tristate = ; - nvidia,pull = ; - }; - }; - - clkreq_c5_bi_dir_state: clkreq_c5_bi_dir { - clkreq { - nvidia,pins = "pex_l5_clkreq_n_pgg0"; - nvidia,schmitt = ; - nvidia,lpdr = ; - nvidia,enable-input = ; - nvidia,io-high-voltage = ; - nvidia,tristate = ; - nvidia,pull = ; - }; - }; - }; - mc: memory-controller@2c00000 { compatible = "nvidia,tegra194-mc"; reg = <0x02c00000 0x100000>, From patchwork Tue Mar 31 22:19:12 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 202577 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.6 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E9C7FC2D0EE for ; Tue, 31 Mar 2020 22:19:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BB6CD20838 for ; Tue, 31 Mar 2020 22:19:38 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="I4K56/bd" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731489AbgCaWTh (ORCPT ); Tue, 31 Mar 2020 18:19:37 -0400 Received: from mail-wm1-f68.google.com ([209.85.128.68]:50618 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731470AbgCaWTh (ORCPT ); Tue, 31 Mar 2020 18:19:37 -0400 Received: by mail-wm1-f68.google.com with SMTP id t128so4419522wma.0; Tue, 31 Mar 2020 15:19:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Ie6jFqOSrTu+xf/V4MNbj7GzVLme0az5kv4/5mQNB0k=; b=I4K56/bdYJDQL4O8Br8bCQ0qsOB4qVBgwm94bxScn5X3XTnso5GJOb82s10Mx8TqAo Ykzrh/F2jW0/Z2J4RkR/8bEfZn+mXUkBy6qqmvcP23rywRlrzemujjDCI28exLt1AGYr L6ijpnqk4mTh+/QGF40tirFjQtnIrTotOSTK7IGXHClE3aN/7Z3em5p/FQ2rHMTwAwlG phc69DUXoIwwyxfoNZLQ5pLNlqqTAUmeQqxXbluJxSHyWObWp+9v4ZpYZ5rsWjGEG5rB OoNw1FcFj+mAm4ITsgwHkb01Hb/zZQO3/i1skVv9+ZAMfSvXJwauGZhwNkpC403ulyvI g2tg== 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=Ie6jFqOSrTu+xf/V4MNbj7GzVLme0az5kv4/5mQNB0k=; b=uJQ21/NdDGrDum8aEg/A5lNXuPxKMb64rOVNjObgwbve0VP3lG0F1vYR16+9wFnjCb 0lk3cI4scNuOBT46Zr7J08cLnRvFb+R1J7tNQMIcD3lLaIceeXhLJuwJ2yJL9YlD1hwY bUStcten4VN5C8riVnXliL/hNlIOxBhkel9KBwiF03hWoYzzPNbWwDrj4XnHNwro2aWQ fyeAhs3uHk6Dhk4A3LDbu3NeOteTMTFhq1bAb3d8LAedsKGQMirqvAl0NyaBsjvo1JNw 1wGmUjCV8BVDcOfzc3MKbL6YMW4R1MId6uclO+55al9diMKY8PkLJFoFZ+bVydaSsLEC K2Ow== X-Gm-Message-State: AGi0Pubjo6WlTCHSUHsIyA0CWwTvDUKL2kgMkcPW9+2CxjzlXRKkY+6+ aDj3uJRS2JAvFPfMiq4xh63mNFw0 X-Google-Smtp-Source: APiQypLyd0DN5RUQnXvW4cTlNLkxLqtOJOZVqvx5D+gjo8yiER2eIVzcECK1GVcfTHTNek0u6ahVtw== X-Received: by 2002:a1c:9ac2:: with SMTP id c185mr1027032wme.45.1585693174588; Tue, 31 Mar 2020 15:19:34 -0700 (PDT) Received: from localhost (p200300E41F4A9B0076D02BFFFE273F51.dip0.t-ipconnect.de. [2003:e4:1f4a:9b00:76d0:2bff:fe27:3f51]) by smtp.gmail.com with ESMTPSA id u131sm2271wmg.41.2020.03.31.15.19.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Mar 2020 15:19:31 -0700 (PDT) From: Thierry Reding To: Daniel Lezcano , Thomas Gleixner , Thierry Reding Cc: Rob Herring , Jon Hunter , devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 5/7] arm64: tegra: Enable native timers on Jetson TX2 Date: Wed, 1 Apr 2020 00:19:12 +0200 Message-Id: <20200331221914.2966407-6-thierry.reding@gmail.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20200331221914.2966407-1-thierry.reding@gmail.com> References: <20200331221914.2966407-1-thierry.reding@gmail.com> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Thierry Reding Enable the native timers on Jetson TX2 to allow using the watchdog functionality to recover from system hangs, for example. Signed-off-by: Thierry Reding --- arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi b/arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi index da96de04d003..9aa17744c4a0 100644 --- a/arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi @@ -58,6 +58,10 @@ memory-controller@2c00000 { status = "okay"; }; + timer@3010000 { + status = "okay"; + }; + serial@3100000 { status = "okay"; }; From patchwork Tue Mar 31 22:19:14 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 202576 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.6 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D5933C2D0EE for ; Tue, 31 Mar 2020 22:19:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A76B5208FE for ; Tue, 31 Mar 2020 22:19:51 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="r+HVeM3m" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731535AbgCaWTr (ORCPT ); Tue, 31 Mar 2020 18:19:47 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:51336 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731501AbgCaWTk (ORCPT ); Tue, 31 Mar 2020 18:19:40 -0400 Received: by mail-wm1-f65.google.com with SMTP id z7so1721781wmk.1; Tue, 31 Mar 2020 15:19:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=fhOtbK0ZVL1ABebYKJYf0UxxzluO0JY5MJfCTLBiR34=; b=r+HVeM3maVxMRhkBI7oLDen47oS7HmRaPaSjtAMU02gVLwkshUft66tvURvWjSHxzR W109P8EYraukDqPYd8tl4WZSOGZcjoj66uh+Pd19kJbFzIGvTicWLxfWOYXmvLpf4yoZ qaxc8yXXj0+ER78L7fdtD9V+EOBZYzeMMRBDE6QM1jEkZI0JPmclXzngUDxkBi1EirK5 XxPelKRY/Sn1ZZ6sGQLY3fc690TcWfccJtgsZEASCW8aRKJdm2xzXdxiWwD+dc96hccZ E0hwISOFccljqEVLfbYHGcMeXwVmuDYhbyPVvX1LdJUtXt1uQolmDp09qhPp45tro5WI jRZQ== 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=fhOtbK0ZVL1ABebYKJYf0UxxzluO0JY5MJfCTLBiR34=; b=P8ENSrS6fPaYpWQQgXmXIBhWiwJ4rBtmYSeDjs7uXtc6vE5SF0c3V9DCgrXtSbVpZR pzw2EDAWZy82K+Ng71R+Grtclu8AMG/gcMGu1/gNeL3WNQMNssynbb72PHi1K1qO3Uhm vcSsRjrXL+UWB6nBj0VqmjNygBKA6DJq0smVnG1iUArP1yNCmXdYUwhLvBDPnF7Xg4cE q8wXlzFVqp0FLuNYJbdVYuVDZfYk4YS9y9plWx+lFod/s+jzY1B+m3qeTNN6QTIgnuWk LbmU7TC0Iu4V7mpa9Ih2LiXjckP5GhkZwm/d/R7vLFLi+vwb+UHOMmNTwY2cGCzoqtpl fX8w== X-Gm-Message-State: AGi0PuZOGvjvZJP51nQtzvy0UTUYnNKUPUYIDQtvjV4IiXMuK7NCS/RQ /ltPF05bi/H/eGmM1GX+K2k= X-Google-Smtp-Source: APiQypJq3gyQgChBKAlZCKqwaP7n5oYFR+3hgCYHrGm0DKxPp6ZWxDRlhXaG/69yP7aWPAzciCh/lg== X-Received: by 2002:a1c:a78a:: with SMTP id q132mr1009518wme.107.1585693178288; Tue, 31 Mar 2020 15:19:38 -0700 (PDT) Received: from localhost (p200300E41F4A9B0076D02BFFFE273F51.dip0.t-ipconnect.de. [2003:e4:1f4a:9b00:76d0:2bff:fe27:3f51]) by smtp.gmail.com with ESMTPSA id a186sm9940wmh.33.2020.03.31.15.19.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Mar 2020 15:19:37 -0700 (PDT) From: Thierry Reding To: Daniel Lezcano , Thomas Gleixner , Thierry Reding Cc: Rob Herring , Jon Hunter , devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 7/7] arm64: tegra: Enable native timers on Jetson AGX Xavier Date: Wed, 1 Apr 2020 00:19:14 +0200 Message-Id: <20200331221914.2966407-8-thierry.reding@gmail.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20200331221914.2966407-1-thierry.reding@gmail.com> References: <20200331221914.2966407-1-thierry.reding@gmail.com> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Thierry Reding Enable the native timers on Jetson AGX Xavier to allow using the watchdog functionality to recover from system hangs, for example. Signed-off-by: Thierry Reding --- arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi b/arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi index 623f7d7d216b..d68588f2709e 100644 --- a/arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi @@ -52,6 +52,10 @@ memory-controller@2c00000 { status = "okay"; }; + timer@3010000 { + status = "okay"; + }; + serial@3110000 { status = "okay"; };