From patchwork Fri Mar 20 13:34:48 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 203050 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.8 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, 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 E9CA0C43332 for ; Fri, 20 Mar 2020 13:35:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C246C20786 for ; Fri, 20 Mar 2020 13:35:13 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="bsbN2zV8" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727439AbgCTNfM (ORCPT ); Fri, 20 Mar 2020 09:35:12 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:42040 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727400AbgCTNfM (ORCPT ); Fri, 20 Mar 2020 09:35:12 -0400 Received: by mail-wr1-f65.google.com with SMTP id v11so7467378wrm.9; Fri, 20 Mar 2020 06:35:09 -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=bsbN2zV8A+ePEmLccEtGoPMUvYZwG08mPCxVVdHs302gsQYax6KEdXRDp/RIVy2uYW MK63vcq0uz9anncsf+hEKP6l8x+VzNYK2Wy3apZokJQfvdLbCLYdkf3/lPfboul4Qu/y Tc0kUQ1+zamYn8XspJ+2KAvMBwxrcTTc6/070Xe2UI9PWFgit9XEaLr6pm/jso6RQWp1 7x9qTLQvpnWP0Qzfg7V3ygwTCXFmfQOsJtW4rikDto8AR/3AQFT5JtZNTpqJlXbZTujX Bbc4IppnWTXkg0GAcoL09bmmH2QBWTBP8gmtbVojdohGMfGRapX9fWAsanHszI674d7/ Vbgg== 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=azIMxQBWD+P32WEePxLn/kf2bKh/ocnGrZV5R5hbZWG4bEcQnxNXyEogIjnYGVa8JU DXmkToxPo8E72qswbP9QWiFpN6yOVQsqUsRH1Oex+3Nq6xfHV/XYBncoSmSWYhRR/unR +zGNGj4DSD2lBPk8LHphOKVF5jaKDGeppmn9Z1gtgT6BTQBK51IzkivIYKmqqI0EDZLf i3ujRG23LdJcHYTHWNcd96gsoeOM3+iSndLpTu6ay9mxb9aSpRs6aO8z37vZnt7Oo84S RkggHYmka8QFbLi8haapr5xZUBM9ZTmLeZQctkitsbpsy0RPjYA6Cl15z9dfWyCsiy4N GmUA== X-Gm-Message-State: ANhLgQ0EWCxMtsUgNiaZmMWHaGvMn9lDZZl9qk9robQ2pTXAwn4RsyQ8 i2vEKJiN46rKT1gePatMxc0= X-Google-Smtp-Source: ADFU+vumzkQjA1N3nHYYutRtW+zRnRxi1BmV1bQbE/zU8dCWPp8NIJ2Z6g8X4xQG02UJN4Vb/IAVaw== X-Received: by 2002:adf:cd04:: with SMTP id w4mr11404331wrm.280.1584711308433; Fri, 20 Mar 2020 06:35:08 -0700 (PDT) Received: from localhost (pD9E51CDC.dip0.t-ipconnect.de. [217.229.28.220]) by smtp.gmail.com with ESMTPSA id q4sm10246040wmj.1.2020.03.20.06.35.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Mar 2020 06:35:07 -0700 (PDT) From: Thierry Reding To: Thomas Gleixner , Thierry Reding Cc: Rob Herring , Jon Hunter , linux-tegra@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/7] arm64: tegra: Order nodes by unit-address on Tegra194 Date: Fri, 20 Mar 2020 14:34:48 +0100 Message-Id: <20200320133452.3705040-4-thierry.reding@gmail.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20200320133452.3705040-1-thierry.reding@gmail.com> References: <20200320133452.3705040-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 Fri Mar 20 13:34:50 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 203048 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.8 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,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 1F801C4332E for ; Fri, 20 Mar 2020 13:35:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E86122076E for ; Fri, 20 Mar 2020 13:35:37 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="bYiSWXG8" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727386AbgCTNfe (ORCPT ); Fri, 20 Mar 2020 09:35:34 -0400 Received: from mail-wm1-f68.google.com ([209.85.128.68]:52830 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727471AbgCTNfO (ORCPT ); Fri, 20 Mar 2020 09:35:14 -0400 Received: by mail-wm1-f68.google.com with SMTP id 11so6533689wmo.2; Fri, 20 Mar 2020 06:35:12 -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=bYiSWXG8HNjZu608MUAN1KPB+00ESgXXtFJe3GhMQamj1oqGRLdIag3YlPDV84IXVx Pk2IKG85pzwF+e2b1gPFFZP1XlJMDBM1eOJozEl3FYERUxf42zq8cNoXdifXXmFSZUIm s3QvzOLmDGB7sdRpYfXUOXxBnk/TKAmHkuQLNxDD0jZO0vBcu5w4IWQmJZr9hJ3ZqgOh XVJ7CVyUYtY4PtZSDFVsRTp3sLEV68KxruuIpNGs6o2eA14en3bYLw0YRCr/0F/s4NOL PmLGJsdYO2Q1CKNTDho+GzRMnNeXIOmXyqakuaFBnV1DfMxJsME7EDYWKbfBBQTKD85a Se6Q== 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=gHujxYpJsKYNvJNcZ05UyHp3wG6N9oysZV3mG+8qotCYzT04k+MbwOlakTtrRKJbgY iebcQj6h+FkQHmraAdcHeSqwZdP55ImOO6jpPUTMy9h+lspIzorseHQCAF99Hm+zonrB ETDVlp5OD5o6cxmK5I4CoAygQDgMAX9l7rdYvtHVcXCiyK0zhDMVvcTwTGelZf7/UP2d T1qUd19t3yyuuoxXJLo1yK32QNlG+acG6X4X4tSphbr2I9yChVGcG8agnHJVzghSaJcI fcpd1aCu7rIxtAonHtAh7pqeHQzY6qbZ2zKAa6AfPuRBG4YhCN3fUN+dAaBZZrFep+6k bkEw== X-Gm-Message-State: ANhLgQ3Wl/0FQmCkirqYAPCO2kTi9kYxVtyb9sBgWtwsJZ9m3mHu7y4D wlYm80jRYEUK6Dy+XRK8xlY= X-Google-Smtp-Source: ADFU+vsxJ/OjFy5JkjSacUfjpV9FUE3JNkijj7IBK0oDz5QHO52DdVAXkWTcM1oGmUpgb0A5Bptssw== X-Received: by 2002:a1c:68d5:: with SMTP id d204mr10231998wmc.15.1584711312059; Fri, 20 Mar 2020 06:35:12 -0700 (PDT) Received: from localhost (pD9E51CDC.dip0.t-ipconnect.de. [217.229.28.220]) by smtp.gmail.com with ESMTPSA id j39sm8892844wre.11.2020.03.20.06.35.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Mar 2020 06:35:11 -0700 (PDT) From: Thierry Reding To: Thomas Gleixner , Thierry Reding Cc: Rob Herring , Jon Hunter , linux-tegra@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 5/7] arm64: tegra: Enable native timers on Jetson TX2 Date: Fri, 20 Mar 2020 14:34:50 +0100 Message-Id: <20200320133452.3705040-6-thierry.reding@gmail.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20200320133452.3705040-1-thierry.reding@gmail.com> References: <20200320133452.3705040-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 Fri Mar 20 13:34:52 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 203049 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.8 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,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 B0FB9C4332B for ; Fri, 20 Mar 2020 13:35:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8840420777 for ; Fri, 20 Mar 2020 13:35:31 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="eg61IfGR" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727154AbgCTNf0 (ORCPT ); Fri, 20 Mar 2020 09:35:26 -0400 Received: from mail-wm1-f67.google.com ([209.85.128.67]:40410 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727511AbgCTNfS (ORCPT ); Fri, 20 Mar 2020 09:35:18 -0400 Received: by mail-wm1-f67.google.com with SMTP id a81so596049wmf.5; Fri, 20 Mar 2020 06:35:16 -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=eg61IfGRG4RM8ATBwaJ4ZflHXV9nWhy7dN7OcN/Yia3AMeGSxeqQE8Ur1H1QiQSptW NzD7kEzRRXWhsycMK5RUD9ok0rOe7fTyZFhemfq1mYc4+00cpHoLEGkZ05f5zBchT1lm bRE+lS9yG87M4n6QpGK/aVcIfldB0NXrLEYyuNS1xW4Ie8v70Yh4v8BQwcTMZi8pKFla bDddRe0XGUNzhI9bFTpXPzpYnnqV5Hak0lM383qta3X10KbU8wCsPX5nQ5U54nVIKM5y pNUXz5Ex3pS4d5eWwxuZqyJX+E3JAwlFnzd8yidtsGVuvsmMwF1m8DDtCMa/qaNMgO7M Dwfw== 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=Jg3rnTZ2gQ3tc+nvd1Ss+8o7Nply/b1fJG9RKzYJQ3Ufn0Nia28xx7/bG2bybfC4QI rLPuLjxQo1D5/IUuJu8d7yabRl6zyf8UFbbmkjDPcTjQcXVbj1cbwVUrlEAanwgFEeFa uKZ72cCfpJDDLLoXFETcOeex76IHxS9RhXmFWG2jS+rTcA9hIgBH/8Zu8odLPZlHYeMB 4SitFA2MW7yIsVga+7JZYN1RIYAAQx9NpOj+zfEM8Xx/rS2FiUshu6eL5BI0MIVTOoKr kAHzL+1pxoJ/UwEwS34pO76sHB4tr8XScM21SxuClH52iWGC2SescQ7nXFUTLMZ1uPN4 h1JA== X-Gm-Message-State: ANhLgQ1nJIc0BLBi1OSKJl4Cih37OPWt8cMH+Oz1J30vGzq/bZi2JBo8 fXr5Af5Zxul8ENEFY0yYdqQ= X-Google-Smtp-Source: ADFU+vuLxcyO2KD5jaTVUfpSqHOfct7nsy9xBH35W2ZSyqKfS427VdekhuvEWxvY0ML9TdMPqddS6A== X-Received: by 2002:a1c:7f10:: with SMTP id a16mr10159562wmd.1.1584711316042; Fri, 20 Mar 2020 06:35:16 -0700 (PDT) Received: from localhost (pD9E51CDC.dip0.t-ipconnect.de. [217.229.28.220]) by smtp.gmail.com with ESMTPSA id v21sm3105535wmj.8.2020.03.20.06.35.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Mar 2020 06:35:14 -0700 (PDT) From: Thierry Reding To: Thomas Gleixner , Thierry Reding Cc: Rob Herring , Jon Hunter , linux-tegra@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 7/7] arm64: tegra: Enable native timers on Jetson AGX Xavier Date: Fri, 20 Mar 2020 14:34:52 +0100 Message-Id: <20200320133452.3705040-8-thierry.reding@gmail.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20200320133452.3705040-1-thierry.reding@gmail.com> References: <20200320133452.3705040-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"; };