From patchwork Mon Aug 26 16:47:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dara Stotland X-Patchwork-Id: 1976922 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=Nvidia.com header.i=@Nvidia.com header.a=rsa-sha256 header.s=selector2 header.b=ZTuEChyR; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2604:1380:45d1:ec00::1; helo=ny.mirrors.kernel.org; envelope-from=linux-tegra+bounces-3465-incoming=patchwork.ozlabs.org@vger.kernel.org; receiver=patchwork.ozlabs.org) Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org [IPv6:2604:1380:45d1:ec00::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WsxSN3JTjz1yZd for ; Tue, 27 Aug 2024 02:48:04 +1000 (AEST) Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 463481C21CF3 for ; Mon, 26 Aug 2024 16:48:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A81CB1957FC; Mon, 26 Aug 2024 16:48:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com header.b="ZTuEChyR" X-Original-To: linux-tegra@vger.kernel.org Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2062.outbound.protection.outlook.com [40.107.244.62]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9AB99194096; Mon, 26 Aug 2024 16:47:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.244.62 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724690881; cv=fail; b=TEH9n4POm7IkYRMYjDnVQUWS5cYqPy72Asw5WHMxv1JQENqaw2kdO6v3OdRGQe13GPDJiQ+0o/Y8zrPTDALS4QBy277kRRG3ZXRbcxrbsbLnibCVF5h5DgWLZmASzMFvKWxnH0T9wTTacWbhv/OPELh7UdM1hnrDE+1kN5fTgdg= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724690881; c=relaxed/simple; bh=s7UUmoW7e1A2qce3pYzVTRCHusCt5dkhWGRarbpIPl8=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=HR5pvdbGpnsrbKmiygdF/+cF4DkQZdIaWIyUOUkgkx/wN80QqUvL5eYOTSOXRJHRR+SSVeTnHQeEixK6E2+lLMnH+7vjOPHhXvDOy6bV1/vcFgQNRTqLXyilicLkDNg81dI9QqF5NdIZ9pDUBDF6kOYUCBkoq9/uk2zFzLFwQAE= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=nvidia.com; spf=fail smtp.mailfrom=nvidia.com; dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com header.b=ZTuEChyR; arc=fail smtp.client-ip=40.107.244.62 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=nvidia.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=nvidia.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=yPfNQOq20WGeMfWmT8b8VNMKskPwNhAKfmY9UrywwePDJ+htMRF77o2sqAQ/6+LKiVEF/Dw7KP7P0gOUoZyrr46oL20wn2VLqRzmkcxfPGMUfwhWxKf0kFPW3wqhoqtXAvC4BdtrlMhyOio+ZLaol49Or4c8CzCPJdK4YKVBwFHtcpIWF1tewjtwfLBUL5DDsjGW4gwzk5Scm1DUeevxye2nB9VgYoBUdQWKox66nD54jD85wdn/et52nbL+KVkBZM0apNYBN6MDWgo9P6++cDF1TI76FYQDZuvxTIPMtXk6UricHRzETOahesN5KjE8eDkE2ZfTF4dgZ4iQ/4YLbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=n+b5fkYtnEkgRVv8YHjBoIe6/FeTjNHa0OHzDx+9uiM=; b=DtyqS6R/BClicA0CS0Uim5Jkhmn3BPa5ehAAAWz5tGQu9oivj5hzeqm56wLie4DNw6VyoSgEpgLbxT03qvuTIPGtnUKQXSuphcpU3DaJfBbKNazNq/8daiGB2Znddm0OOG8llKVWFEwTsyzz0oqlK8q7HZlQnUcLiaJp9ZD/8+HnT8MpGTuHVmICQe3n7PN0nn9f5DT1YDUH4wuw3joEUof/gwckaRi36hcpZjAeBzf3e/7fwmlRRlPAsOLGrfzPaB06I6jRxXGsZvCd37KBURBaPigr0BePnrRwMBEbjk5n//xH+MxPW2JZFVLjowuzQxqwDSn1qsDIzO/XRKwCOg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.118.232) smtp.rcpttodomain=kernel.org smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=n+b5fkYtnEkgRVv8YHjBoIe6/FeTjNHa0OHzDx+9uiM=; b=ZTuEChyRXmvQ/QR7r9cJaDh6ayzAfIgM8cCmfuESBYU+GSGtnh/DJJ/cGbrs3p7n8HsrK6nM2q+6ljY352fPG0+VHBegVFDkknDQdbVlmOCJMUx7hD/GSLw5dAz7pWKonF5guWvjcU5GIcTkiJf744ush4xiYh3q3P+4t95OUb8AL07aDvdIji9ZDB8Y0a7/xEgoKuXQQyH9UrXOwHaa3ZLgDH/u3qZU+3Squ2LVSoATsZdqH0DV8C3zHCvhfn9OZmMjFd3AnXoI+YFFXA78xAb3sM3JqGr65emBGuYrACURWG3t5HI/qQCH/eyupbaK0pfl430Xtdwf/BRkKEMr9g== Received: from PH7P221CA0013.NAMP221.PROD.OUTLOOK.COM (2603:10b6:510:32a::9) by BL1PR12MB5705.namprd12.prod.outlook.com (2603:10b6:208:384::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7897.25; Mon, 26 Aug 2024 16:47:55 +0000 Received: from CY4PEPF0000EE3A.namprd03.prod.outlook.com (2603:10b6:510:32a:cafe::29) by PH7P221CA0013.outlook.office365.com (2603:10b6:510:32a::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7897.25 via Frontend Transport; Mon, 26 Aug 2024 16:47:55 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.118.232) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.118.232 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.118.232; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.118.232) by CY4PEPF0000EE3A.mail.protection.outlook.com (10.167.242.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.13 via Frontend Transport; Mon, 26 Aug 2024 16:47:54 +0000 Received: from drhqmail203.nvidia.com (10.126.190.182) by mail.nvidia.com (10.127.129.5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Mon, 26 Aug 2024 09:47:36 -0700 Received: from drhqmail201.nvidia.com (10.126.190.180) by drhqmail203.nvidia.com (10.126.190.182) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Mon, 26 Aug 2024 09:47:36 -0700 Received: from build-dstotland-20240703T000904114.nvidia.com (10.127.8.10) by mail.nvidia.com (10.126.190.180) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Mon, 26 Aug 2024 09:47:36 -0700 From: Dara Stotland To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thierry Reding , Jonathan Hunter , Brad Griffis , , CC: Dara Stotland Subject: [PATCH v2 1/7] arm64: tegra: Add common nodes to AGX Orin module Date: Mon, 26 Aug 2024 16:47:19 +0000 Message-ID: <20240826164725.775199-2-dstotland@nvidia.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20240826164725.775199-1-dstotland@nvidia.com> References: <20240826164725.775199-1-dstotland@nvidia.com> X-NVConfidentiality: public Precedence: bulk X-Mailing-List: linux-tegra@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-NV-OnPremToCloud: ExternallySecured X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY4PEPF0000EE3A:EE_|BL1PR12MB5705:EE_ X-MS-Office365-Filtering-Correlation-Id: e46349cc-90ac-41a6-747b-08dcc5eed53b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|36860700013|376014|82310400026; X-Microsoft-Antispam-Message-Info: a8dLrP0358BHTRkH6EqTtMe6Bsw3acUVIPfjK/23oj7bkyLuUi9qeihoYLetEnEIgC6zuRY+Ki/4D3a14RWCDk4eluzQVUQaj6AWIYqUcINkOi+pR0PY2Shh6pYOaHP2kCdzRtZAJRsHYqCjXMsJjbHFStoTWpgLzQ5EL1ZJWlq1XUA7MoAs5vHtJgdcuIZTe1XcNoIW5au/HvvVIamh0tEbWUdKyfcQzOEpmNnwFzWbk4ltRJkXEM9Czin4WbuWvde8ag0Rq/y2gJUPFnp/fE5wQUEERu/jtZU+QMbSpsDIr3mNZe97AiXACIPyBOBtfGHOmuEbsrQkuD1K1YRNBRsFw8wCSfhrG3+Ybs5aWrGEq9SkI9eNvYbgRw6nw718xl5aKI8VyRCG5JfV27ehI087fb2Eo5r5ipW8AH+6k9/I9adtXLLNr6ptu0XNxj/D7bpKTaYSfim4OevuWtaycaXXOOh2UJhpwdnmKAMBB2iAtIq2gg56ga0bb4J+TgDNLvkTSAgdl645KzBejuULMgadJBmeNTcK/0I8uhpnQryOROz4nLOTadL0woJNa2d7KGpoG5LGSkK+u05ayXmD+SuqFT7jd3uY+QoDMoZmmnfoxTRlO3a8xM5RNdpqkrjwt7a16oXoolvEYzzDuBf25/SqVnOk+4J3bKspZorAhlxVdOXXMDmJtKtUDmorgSFW3s0zpdxvHI96aZjI5Kr/pob54p21regUli7wcZuIPVoshyIpjCU5kszzwxQbNSPmVt9moDeg4Bg5DxXf4HwZuXxHnp6i6mzHQ4HToaFYwh+EQAreMOQvSV9q3PHnl9+dR5zIEJadHKQCH1qMrIb4e50cLoHRyIIRQUmAKGCxuNEfvEtDnXOyBTa41Cz3nwSVtxTGqMURtSDcg3IvlzzxPqxfTdCyINKiPUkyQQdkH2TUHNtI6O30k2MzIcidmYj0KIm8k1BHJNSTGiMDSAq94diEWYEwXEkiZbK9VvEnoZdt5sdhM6mCRNnf5WjdMkaAsuKAveV86oszWqfE9G/csNs4n9S2L/CjWIBhdGUpTDJ9ogGjWbQx5iocGxrOhM1gOHyTt06B9wWCQfCROs/jqpCV1ZuuEByfdDw6rLblm3trISx5net3gsMtUAyFP72Wvhi6J5iPc64i/elnVSbBT90NNXxh0rk1fJHJmDDWfu1I+zN+KLeNI8VMuq0KUqRgZzkMGf0l8+E7gCGeQA3EP9zEY3LJfT9qQmehmdigRBm0W1Rw6Cw2UFKS1ssfMv8GavyMkkGyMMYVoZoegvsJQWeO0oH3ANdOEJbl0IzGconBti2XrFAoJAOOQopej8IXXf2H6N5FRJ6h1R6PQRMJDglOLyaSeYypnhOJRDuYijT1gW2wuBI/GtmtO7yfrnBa102onfXSmhqWHBy3voqG+DshkewXHmrQipbES0EYp7rNte7gEEMTN0oaJfjeHt0K X-Forefront-Antispam-Report: CIP:216.228.118.232;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:dc7edge1.nvidia.com;CAT:NONE;SFS:(13230040)(1800799024)(36860700013)(376014)(82310400026);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Aug 2024 16:47:54.9005 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e46349cc-90ac-41a6-747b-08dcc5eed53b X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.118.232];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CY4PEPF0000EE3A.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL1PR12MB5705 The AGX Orin module boards contain common nodes that can be moved to the included module dtsi. This eliminates redundancy within the files and reduces lines of code. Data from tegra234-p3701-0000 and tegra234-p3701-0008 that is common is now in tegra234-p3701.dtsi. Signed-off-by: Dara Stotland --- .../boot/dts/nvidia/tegra234-p3701-0000.dtsi | 83 ----------------- .../boot/dts/nvidia/tegra234-p3701-0008.dtsi | 89 ------------------- .../arm64/boot/dts/nvidia/tegra234-p3701.dtsi | 85 ++++++++++++++++++ 3 files changed, 85 insertions(+), 172 deletions(-) diff --git a/arch/arm64/boot/dts/nvidia/tegra234-p3701-0000.dtsi b/arch/arm64/boot/dts/nvidia/tegra234-p3701-0000.dtsi index cb792041fc62..ea846b879a21 100644 --- a/arch/arm64/boot/dts/nvidia/tegra234-p3701-0000.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra234-p3701-0000.dtsi @@ -1,6 +1,5 @@ // SPDX-License-Identifier: GPL-2.0 -#include "tegra234.dtsi" #include "tegra234-p3701.dtsi" / { @@ -8,34 +7,6 @@ compatible = "nvidia,p3701-0000", "nvidia,tegra234"; bus@0 { - i2c@3160000 { - status = "okay"; - - eeprom@50 { - compatible = "atmel,24c02"; - reg = <0x50>; - - label = "module"; - vcc-supply = <&vdd_1v8_hs>; - address-width = <8>; - pagesize = <8>; - size = <256>; - read-only; - }; - }; - - spi@3270000 { - status = "okay"; - - flash@0 { - compatible = "jedec,spi-nor"; - reg = <0>; - spi-max-frequency = <102000000>; - spi-tx-bus-width = <4>; - spi-rx-bus-width = <4>; - }; - }; - mmc@3400000 { status = "okay"; bus-width = <4>; @@ -43,12 +14,6 @@ disable-wp; }; - mmc@3460000 { - status = "okay"; - bus-width = <8>; - non-removable; - }; - padctl@3520000 { vclamp-usb-supply = <&vdd_1v8_ao>; avdd-usb-supply = <&vdd_3v3_ao>; @@ -72,54 +37,6 @@ }; }; - rtc@c2a0000 { - status = "okay"; - }; - - pmc@c360000 { - nvidia,invert-interrupt; - }; - }; - - vdd_5v0_sys: regulator-vdd-5v0-sys { - compatible = "regulator-fixed"; - regulator-name = "VIN_SYS_5V0"; - regulator-min-microvolt = <5000000>; - regulator-max-microvolt = <5000000>; - regulator-always-on; - regulator-boot-on; - }; - - vdd_1v8_ls: regulator-vdd-1v8-ls { - compatible = "regulator-fixed"; - regulator-name = "VDD_1V8_LS"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - regulator-always-on; - }; - - vdd_1v8_hs: regulator-vdd-1v8-hs { - compatible = "regulator-fixed"; - regulator-name = "VDD_1V8_HS"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - regulator-always-on; - }; - - vdd_1v8_ao: regulator-vdd-1v8-ao { - compatible = "regulator-fixed"; - regulator-name = "VDD_1V8_AO"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - regulator-always-on; - }; - - vdd_3v3_ao: regulator-vdd-3v3-ao { - compatible = "regulator-fixed"; - regulator-name = "VDD_3V3_AO"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - regulator-always-on; }; vdd_3v3_pcie: regulator-vdd-3v3-pcie { diff --git a/arch/arm64/boot/dts/nvidia/tegra234-p3701-0008.dtsi b/arch/arm64/boot/dts/nvidia/tegra234-p3701-0008.dtsi index 62c4fdad0b60..9218ea8d43e6 100644 --- a/arch/arm64/boot/dts/nvidia/tegra234-p3701-0008.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra234-p3701-0008.dtsi @@ -1,58 +1,10 @@ // SPDX-License-Identifier: GPL-2.0 -#include "tegra234.dtsi" #include "tegra234-p3701.dtsi" / { compatible = "nvidia,p3701-0008", "nvidia,tegra234"; - bus@0 { - i2c@3160000 { - status = "okay"; - - eeprom@50 { - compatible = "atmel,24c02"; - reg = <0x50>; - label = "module"; - vcc-supply = <&vdd_1v8_hs>; - address-width = <8>; - pagesize = <8>; - size = <256>; - read-only; - }; - }; - - spi@3270000 { - status = "okay"; - - flash@0 { - compatible = "jedec,spi-nor"; - reg = <0>; - spi-max-frequency = <102000000>; - spi-tx-bus-width = <4>; - spi-rx-bus-width = <4>; - }; - }; - - mmc@3460000 { - status = "okay"; - bus-width = <8>; - non-removable; - }; - - i2c@c240000 { - status = "okay"; - }; - - rtc@c2a0000 { - status = "okay"; - }; - - pmc@c360000 { - nvidia,invert-interrupt; - }; - }; - bpmp { i2c { status = "okay"; @@ -68,45 +20,4 @@ status = "okay"; }; }; - - vdd_1v8_ao: regulator-vdd-1v8-ao { - compatible = "regulator-fixed"; - regulator-name = "VDD_1V8_AO"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - regulator-always-on; - }; - - vdd_1v8_hs: regulator-vdd-1v8-hs { - compatible = "regulator-fixed"; - regulator-name = "VDD_1V8_HS"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - regulator-always-on; - }; - - vdd_1v8_ls: regulator-vdd-1v8-ls { - compatible = "regulator-fixed"; - regulator-name = "VDD_1V8_LS"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - regulator-always-on; - }; - - vdd_3v3_ao: regulator-vdd-3v3-ao { - compatible = "regulator-fixed"; - regulator-name = "vdd-AO-3v3"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - regulator-always-on; - }; - - vdd_5v0_sys: regulator-vdd-5v0-sys { - compatible = "regulator-fixed"; - regulator-name = "VIN_SYS_5V0"; - regulator-min-microvolt = <5000000>; - regulator-max-microvolt = <5000000>; - regulator-always-on; - regulator-boot-on; - }; }; diff --git a/arch/arm64/boot/dts/nvidia/tegra234-p3701.dtsi b/arch/arm64/boot/dts/nvidia/tegra234-p3701.dtsi index 320c8e9b06b4..18bd4ccb6b77 100644 --- a/arch/arm64/boot/dts/nvidia/tegra234-p3701.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra234-p3701.dtsi @@ -1,5 +1,7 @@ // SPDX-License-Identifier: GPL-2.0 +#include "tegra234.dtsi" + / { compatible = "nvidia,p3701", "nvidia,tegra234"; @@ -45,6 +47,40 @@ }; }; + i2c@3160000 { + status = "okay"; + + eeprom@50 { + compatible = "atmel,24c02"; + reg = <0x50>; + + label = "module"; + vcc-supply = <&vdd_1v8_hs>; + address-width = <8>; + pagesize = <8>; + size = <256>; + read-only; + }; + }; + + spi@3270000 { + status = "okay"; + + flash@0 { + compatible = "jedec,spi-nor"; + reg = <0>; + spi-max-frequency = <102000000>; + spi-tx-bus-width = <4>; + spi-rx-bus-width = <4>; + }; + }; + + mmc@3460000 { + status = "okay"; + bus-width = <8>; + non-removable; + }; + i2c@c240000 { status = "okay"; @@ -97,5 +133,54 @@ }; }; }; + + rtc@c2a0000 { + status = "okay"; + }; + + pmc@c360000 { + nvidia,invert-interrupt; + }; + }; + + vdd_1v8_ao: regulator-vdd-1v8-ao { + compatible = "regulator-fixed"; + regulator-name = "VDD_1V8_AO"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-always-on; + }; + + vdd_1v8_hs: regulator-vdd-1v8-hs { + compatible = "regulator-fixed"; + regulator-name = "VDD_1V8_HS"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-always-on; + }; + + vdd_1v8_ls: regulator-vdd-1v8-ls { + compatible = "regulator-fixed"; + regulator-name = "VDD_1V8_LS"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-always-on; + }; + + vdd_3v3_ao: regulator-vdd-3v3-ao { + compatible = "regulator-fixed"; + regulator-name = "VDD_3V3_AO"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; + }; + + vdd_5v0_sys: regulator-vdd-5v0-sys { + compatible = "regulator-fixed"; + regulator-name = "VIN_SYS_5V0"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + regulator-always-on; + regulator-boot-on; }; }; From patchwork Mon Aug 26 16:47:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dara Stotland X-Patchwork-Id: 1976924 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=Nvidia.com header.i=@Nvidia.com header.a=rsa-sha256 header.s=selector2 header.b=ku2DjETH; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2604:1380:45e3:2400::1; helo=sv.mirrors.kernel.org; envelope-from=linux-tegra+bounces-3466-incoming=patchwork.ozlabs.org@vger.kernel.org; receiver=patchwork.ozlabs.org) Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org [IPv6:2604:1380:45e3:2400::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WsxST0VgKz1yZd for ; Tue, 27 Aug 2024 02:48:09 +1000 (AEST) Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 7B27F2824D5 for ; Mon, 26 Aug 2024 16:48:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 115C8194096; Mon, 26 Aug 2024 16:48:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com header.b="ku2DjETH" X-Original-To: linux-tegra@vger.kernel.org Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2043.outbound.protection.outlook.com [40.107.93.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3A09F1946B1; Mon, 26 Aug 2024 16:48:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.93.43 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724690886; cv=fail; b=Mn1CZccrCMpYbhKwwAXDcv9ukcZnWTEwAqHhP2hWBteJGyNQmkUqXE/4LOQZxP2EjmDqV8aP4AVQvU5txBTPsGG1Rt47gYdpWPh0BaSroWsrvjjABwfCqNCjezJ7wZ7vuBrvKi+XJYPMSp1/k+rHCWtmuTzXb/bDpMrXdTDz20g= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724690886; c=relaxed/simple; bh=rE/vs7/LDKJnqXIaPdC9FKDbsX5DvD1rOTMGz3x9leU=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=r6vxjBs4IrV0lFUXcrrHmglKLDPSZPkLcjpD2nfcneJQJmNBkRyn/TxvjQUNnhWDGypIqkYr61jNIOY8W2uAGgKcadseQjuvkz74Plhg9NkvCB6mviUYj9sM/6gc57utRYlqtmNCXIXo1GuiT8Q1pocsKwkm+SwfPQvWyHziFsE= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=nvidia.com; spf=fail smtp.mailfrom=nvidia.com; dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com header.b=ku2DjETH; arc=fail smtp.client-ip=40.107.93.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=nvidia.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=nvidia.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Y+E+eORhslCmMcXkJ1wZBJp3OIDXFzhwY0eKaVUZCz4Fv6o9BaGOvVF6d44BSWGSuvktJ0eDIx+Mv7IB21EtEgIA7ah/h3V2/8utjzDWEUr5mtoRCDpIpUqN0tcd5eQHXpGiZUhxkfcU5Du5coDA7De/5WGgdFKEc7k9iLEentd9UwWwWXk2yv+zYzknruBCDg8ba4p3ZZgrJLovc/ZpBsD8/54U9FHUmniF1EAfrErbJNnpZvZHvFTGXUDHEZqGC/q23fmgtjmfEuX1nkqGccAXtItLWaiapYjPs1Cg+VqTeU066vrY9Ka9077zR7dYZuOn+/+HqHgRYqkBOWESzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ZpHWWL6B8/5/mR+Ij94x20BfazCTUThenf5OHUca7vo=; b=omD4EAy6fai0Fhvzd0sbeKK466z9ztetJ/YbdE8gBrmFy7edyNb0McbzG1e87nVwiTgS5lZxG7H06u3/Gs9YRSJQ6MwZPhJwUEeq0r8zGvT8aw/FbSSOcXf5XgGzKG6QhUrjYOZZxo1iDntUMgTsj1qR6GwMYkVx9M+ptd1lgnmMpWnCtTLNQ416XeXIP/IEuJfFmFJpZjhqj3C1QKQIkFi/LkfSKbcMepmL24yVeoWhbtg49HZBe/+/cJBs36QtZjZLNa0oE34eh0WrpBOsZiki57sm6NDNOhN4cW6+Jsv/DulBh5vuKTHnGP7uLDqDxQUHwEvyzLbQL2LJMIK4Pg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.118.233) smtp.rcpttodomain=kernel.org smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ZpHWWL6B8/5/mR+Ij94x20BfazCTUThenf5OHUca7vo=; b=ku2DjETHoyJilJZcZZGjC3lgH08mabozp50dDgckSuGxGXVQiufjGlYox5KKl/72hz56Tvn1JIPedR/06pNfQsWRRaIayZL2ILgDlbehUA/+cMwxLaBQD8mkQqoTKoX70n6CDGVrWkiJY/X7CHhciSmWHgcjGzYs6emQEGLbdO50ytMYmWgUN7QBXr5sI/JduOOrhpl0itukNz/pOA28D6nQVg+C/P6ZssEh43xsCwd+zzI5Z5HHNV7ZAptVQkbz1/pc2SXYqdO5+GUjPWW66ngsKLRLjyHAuPis1ycaG32dxf7ONteHHkxd0pM/yE7DHYiVSeyvY+xkpKnkCuE49A== Received: from BN8PR04CA0043.namprd04.prod.outlook.com (2603:10b6:408:d4::17) by SN7PR12MB7225.namprd12.prod.outlook.com (2603:10b6:806:2a8::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7897.25; Mon, 26 Aug 2024 16:48:02 +0000 Received: from BN1PEPF00004688.namprd05.prod.outlook.com (2603:10b6:408:d4:cafe::a) by BN8PR04CA0043.outlook.office365.com (2603:10b6:408:d4::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7897.25 via Frontend Transport; Mon, 26 Aug 2024 16:48:01 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.118.233) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.118.233 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.118.233; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.118.233) by BN1PEPF00004688.mail.protection.outlook.com (10.167.243.133) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.13 via Frontend Transport; Mon, 26 Aug 2024 16:48:01 +0000 Received: from drhqmail202.nvidia.com (10.126.190.181) by mail.nvidia.com (10.127.129.6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Mon, 26 Aug 2024 09:47:44 -0700 Received: from drhqmail201.nvidia.com (10.126.190.180) by drhqmail202.nvidia.com (10.126.190.181) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Mon, 26 Aug 2024 09:47:44 -0700 Received: from build-dstotland-20240703T000904114.nvidia.com (10.127.8.10) by mail.nvidia.com (10.126.190.180) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Mon, 26 Aug 2024 09:47:44 -0700 From: Dara Stotland To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thierry Reding , Jonathan Hunter , Brad Griffis , , CC: Dara Stotland Subject: [PATCH v2 2/7] arm64: tegra: Combine AGX Orin board files Date: Mon, 26 Aug 2024 16:47:20 +0000 Message-ID: <20240826164725.775199-3-dstotland@nvidia.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20240826164725.775199-1-dstotland@nvidia.com> References: <20240826164725.775199-1-dstotland@nvidia.com> X-NVConfidentiality: public Precedence: bulk X-Mailing-List: linux-tegra@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-NV-OnPremToCloud: ExternallySecured X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN1PEPF00004688:EE_|SN7PR12MB7225:EE_ X-MS-Office365-Filtering-Correlation-Id: a971af6f-5a47-403e-3f83-08dcc5eed953 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|36860700013|1800799024|376014|82310400026; X-Microsoft-Antispam-Message-Info: 9OH0Z7dOBJ5VKgvRo79rF6f7SAdXJDGMbzZJcu8gQ74VK6VkF7ii8oQP51vRJy3zLorbqOzrUL5OB06A66ElVHzAC2U/Es12tSlH1Z5py4v3/nqbQXrMlM/F4K9AvDHq9e0opAH9RX6oHNxtO4Kwsg97xS15mNiBpaXFRmpKhbeVuj5x2yI7gXzhn2Ive9FuUs2yU+Ty6nVdbEnUGfHkEp4k70jPucUIJV3iM1FXAvG3W+dwzVJP1hQlYu8ToxXkzgio/w6d81J9lY7sNVumzImFFQJK5dvn79Ken0vLc4B9nOu3QjD+Ko6tNn+Y8ATKVz8j5VYDWgii7IvfvXozxLZtCMMVDbOencVCj/60ri2EAwAud2FcxrEqdPuwloQxG2TnoLoBoCGuNPTgj2jM1FEzVx7lnJWq6H3QTzq+qWozDVMSsaiFwInz2KfOh0sQOtUqf0c0LHzOg8cdJMqXbTlBNtx2Mpy4SbocpYz9B+qrqFPyFlE8kfnBiu7wBlKQ6v8V0DrB8qF8p2TNphaLGYwI971utG0EcEwgjaZ0r7xbR3E2aUHqpUs4NJ9ShngVSzujY9DFbhGBxzzuh3UAjRdcouhizLdsZBTwmBrTpf075SUuh3ZimhOSKqF64ARoj+wXU/6+WFThboB3R88ATrhWJURS9cSXQCxpe3iI8/mZQziFMzLrV07u6PBJYWhU605sYGgClS/Bo6zPWCKq6AZDbu5qc8KrRqwRO5LtXHK31lOLUlHp523hKZ0Ard3zXrvipyUoxXzYLthSyjdUVPsgJXf8k14mdchhkr4BApIOdGYKtAdRz3DHU8nyv7B1ud9fl0D13yazVieYW0h6zyX1i02B5RNibQasHoO7uwAonQccsZBHpKvhDmaLpJM0LIURjkc9UUGGzfZln+mJ4rwN7hiHc5RajSAMlo8/Tu26l28VpopoPYxxf+NOqpF6QZTLnkkQaD9SZFiHJU48oJ4yXCUFrjXdxw/ssEt+hX6RlSwW7LD8dDzkEPNNd461NP1+HGbDhMvAWhGD62GB/8K5krPR6hoWpUBi0xj2AjVTbgJgsx//sE9TQyMT2jvBODzGHb0tOiRhSxzW40ISTtpk7f+CNxyv/FBO39BsJKLpBwFzlLh0T+uP+Vb1EXaYwAQsPjoqXFIwXQhf/9wKu0RLaToj7FC3Ilrhsusrov7TuQgDzFY5RMAv6V/PlFYyuDR5dhQWiqPS7t5col7W+n4lXo4357YJoMws3NaO+JTZzHcWBq1a0Kzk3OZAi9iigra4uSqtWExnQ2zf0z7Rl4RbisNm+F0oR5Z1naaaL3t9XQd0lHjw7cX+q705zXNAex7zez6zHDXkey8Df85+JDaqKTSBYrSvy0I6yO8KlMJxX7XAH/Oybkv4zsxelBb/5gkr4gaPPJIJHwubgAeHUSyV3432ZjuyXOU4UXT0c3OzQKsfD1o1hzYTWv8x/DAB X-Forefront-Antispam-Report: CIP:216.228.118.233;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:dc7edge2.nvidia.com;CAT:NONE;SFS:(13230040)(36860700013)(1800799024)(376014)(82310400026);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Aug 2024 16:48:01.6892 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a971af6f-5a47-403e-3f83-08dcc5eed953 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.118.233];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: BN1PEPF00004688.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR12MB7225 The current AGX Orin structure has both a top-level module+board file as well as a board file. Most of the data in the board-file is closely related to the module itself. The benefit of this extra file is outweighed by the additional complexity. Merge the board file into the module+board file for simplicity. Signed-off-by: Dara Stotland --- .../nvidia/tegra234-p3737-0000+p3701-0000.dts | 82 ++++++++++++++++- .../boot/dts/nvidia/tegra234-p3737-0000.dtsi | 90 ------------------- 2 files changed, 80 insertions(+), 92 deletions(-) delete mode 100644 arch/arm64/boot/dts/nvidia/tegra234-p3737-0000.dtsi diff --git a/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts b/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts index 69db584253da..21feaf434439 100644 --- a/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts +++ b/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts @@ -3,9 +3,9 @@ #include #include +#include #include "tegra234-p3701-0000.dtsi" -#include "tegra234-p3737-0000.dtsi" / { model = "NVIDIA Jetson AGX Orin Developer Kit"; @@ -22,23 +22,90 @@ }; bus@0 { + aconnect@2900000 { + ahub@2900800 { + i2s@2901000 { + ports { + port@1 { + endpoint { + dai-format = "i2s"; + remote-endpoint = <&rt5640_ep>; + }; + }; + }; + }; + }; + }; + serial@3100000 { compatible = "nvidia,tegra194-hsuart"; reset-names = "serial"; status = "okay"; }; + i2c@3160000 { + status = "okay"; + + eeprom@56 { + compatible = "atmel,24c02"; + reg = <0x56>; + + label = "system"; + vcc-supply = <&vdd_1v8_sys>; + address-width = <8>; + pagesize = <8>; + size = <256>; + read-only; + }; + }; + serial@31d0000 { current-speed = <115200>; status = "okay"; }; + i2c@31e0000 { + status = "okay"; + + audio-codec@1c { + compatible = "realtek,rt5640"; + reg = <0x1c>; + interrupt-parent = <&gpio>; + interrupts = ; + clocks = <&bpmp TEGRA234_CLK_AUD_MCLK>; + clock-names = "mclk"; + realtek,dmic1-data-pin = ; + realtek,dmic2-data-pin = ; + realtek,jack-detect-source = ; + sound-name-prefix = "CVB-RT"; + + port { + rt5640_ep: endpoint { + remote-endpoint = <&i2s1_dap>; + mclk-fs = <256>; + }; + }; + }; + }; + + pwm@3280000 { + status = "okay"; + }; + pwm@32a0000 { assigned-clocks = <&bpmp TEGRA234_CLK_PWM3>; assigned-clock-parents = <&bpmp TEGRA234_CLK_PLLP_OUT0>; status = "okay"; }; + pwm@32c0000 { + status = "okay"; + }; + + pwm@32f0000 { + status = "okay"; + }; + hda@3510000 { nvidia,model = "NVIDIA Jetson AGX Orin HDA"; status = "okay"; @@ -341,8 +408,11 @@ }; }; - pwm-fan { + fan: pwm-fan { + compatible = "pwm-fan"; cooling-levels = <66 215 255>; + pwms = <&pwm3 0 45334>; + #cooling-cells = <2>; }; serial { @@ -444,4 +514,12 @@ }; }; }; + + vdd_1v8_sys: regulator-vdd-1v8-sys { + compatible = "regulator-fixed"; + regulator-name = "VDD_1V8_SYS"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-always-on; + }; }; diff --git a/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000.dtsi b/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000.dtsi deleted file mode 100644 index eb79e80a9852..000000000000 --- a/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000.dtsi +++ /dev/null @@ -1,90 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0 - -#include - -/ { - compatible = "nvidia,p3737-0000"; - - bus@0 { - aconnect@2900000 { - ahub@2900800 { - i2s@2901000 { - ports { - port@1 { - endpoint { - dai-format = "i2s"; - remote-endpoint = <&rt5640_ep>; - }; - }; - }; - }; - }; - }; - - i2c@3160000 { - status = "okay"; - - eeprom@56 { - compatible = "atmel,24c02"; - reg = <0x56>; - - label = "system"; - vcc-supply = <&vdd_1v8_sys>; - address-width = <8>; - pagesize = <8>; - size = <256>; - read-only; - }; - }; - - i2c@31e0000 { - status = "okay"; - - audio-codec@1c { - compatible = "realtek,rt5640"; - reg = <0x1c>; - interrupt-parent = <&gpio>; - interrupts = ; - clocks = <&bpmp TEGRA234_CLK_AUD_MCLK>; - clock-names = "mclk"; - realtek,dmic1-data-pin = ; - realtek,dmic2-data-pin = ; - realtek,jack-detect-source = ; - sound-name-prefix = "CVB-RT"; - - port { - rt5640_ep: endpoint { - remote-endpoint = <&i2s1_dap>; - mclk-fs = <256>; - }; - }; - }; - }; - - pwm@3280000 { - status = "okay"; - }; - - pwm@32c0000 { - status = "okay"; - }; - - pwm@32f0000 { - status = "okay"; - }; - }; - - fan: pwm-fan { - compatible = "pwm-fan"; - pwms = <&pwm3 0 45334>; - #cooling-cells = <2>; - }; - - vdd_1v8_sys: regulator-vdd-1v8-sys { - compatible = "regulator-fixed"; - regulator-name = "VDD_1V8_SYS"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - regulator-always-on; - }; -}; From patchwork Mon Aug 26 16:47:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dara Stotland X-Patchwork-Id: 1976925 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=Nvidia.com header.i=@Nvidia.com header.a=rsa-sha256 header.s=selector2 header.b=CgAXWgvk; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=147.75.199.223; helo=ny.mirrors.kernel.org; envelope-from=linux-tegra+bounces-3467-incoming=patchwork.ozlabs.org@vger.kernel.org; receiver=patchwork.ozlabs.org) Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org [147.75.199.223]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WsxSf04Zbz1yZd for ; Tue, 27 Aug 2024 02:48:18 +1000 (AEST) Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 16E501C21166 for ; Mon, 26 Aug 2024 16:48:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 29D8C194C62; Mon, 26 Aug 2024 16:48:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com header.b="CgAXWgvk" X-Original-To: linux-tegra@vger.kernel.org Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2064.outbound.protection.outlook.com [40.107.92.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DEFC9194C71; Mon, 26 Aug 2024 16:48:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.92.64 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724690893; cv=fail; b=rbtIgqioGQooH0WAl26PHM4snj6ILTdyblhKsAuKR+sMQC+czyCycAk1ZoXgWWlXa/PoVeJ7j5rjDZ3UMpHbxcnNZX68K00BnpsPiQtzIyLMTdwwGhlEamy3TRsTEy85XUI4m4N2c7XFHAvlOxsg1QZUfljmagtFBq1zWPWLnAM= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724690893; c=relaxed/simple; bh=RhRqxi7WOAjPNvJJd0OpE7adCAZu9X/CSUkDVRJt57o=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Pkzw2w76gF3QrRBDIQynAXOrnI1OTSFUJ59KLGTHz35Z3ajpcthPadNyXc2Dg23UhIrJcnCi1RW9066teP9AyS4c9nMnv+jvpbk3FEbVFppC1hskTcwisLXWHgXiKAGpzzsaPxA4fvNIRGArgwlKm+S0QKD0Yd92uDYEL0nIuYo= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=nvidia.com; spf=fail smtp.mailfrom=nvidia.com; dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com header.b=CgAXWgvk; arc=fail smtp.client-ip=40.107.92.64 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=nvidia.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=nvidia.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=LZuZXbp57KEjiY58LCVqFtu/qgmTvJUb2qsK2wt7d494YniXrqZEIN3hF7INZU4pzhBHPQJL9rnCqtkXPH+x0QMRlJ/bCzwvG0J6+0IXZwdNSpMUx0x7uiUrqBodcZSoJPHtP+qhdoxLu34/mi/vGhvb1gSYplGtHaf4w+d6hWtKNqcwT0Aa2OASPBZXUdTgDcLwFm4bQbLbh1Spi05b/RuNp8IxDdWZe6cf2Y0/lrrokuak6iMUVZkj209fvoRuDWzKZtKXQ3rMHSDQ0GIs9hzNj7/Gb9ieIPK4sKx+CnJr0yALwFYiLUfbwood8FL/yf0QWF4VwaxRoWB8VRVdKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=sIK7pI+nyxpYaut+crWiulsGqIoE0bnxRg5fdws4RRE=; b=uXwX+PUB0kzPwQKiyy/zYJhgir5R44sli8Z62HRJJ50RkJFPBgaYNb0NSZZCoQkp9m5Uv41icyTSqn7V/KE1dc3Sg8WjXUuoDI3BZVkm/G/om+tSLc55SbhJK1CdgfQHBvIPjwQTGYMTq03MpjDW+pCZ5dpyhXQnx0C1yKllXRHHsH0OgkeG/HdWo0raVTCisOn1xPUtc3rDQpgZglj2huzklBvtyhqlQEct290/xVpUIfsOrPLjaKriQLPmEa6VC3KedtZrQT+r2YgEn9QiBnHxrTEMOhVr53YFv53F5FP14OQyriPQn3dH2pNXbPDiZIb5z8DN6u8f/P7kt9pP0Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.118.232) smtp.rcpttodomain=kernel.org smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=sIK7pI+nyxpYaut+crWiulsGqIoE0bnxRg5fdws4RRE=; b=CgAXWgvkxmU5rVdy5RjwW7/9g8bBVL+fTjsTKg+MxwakZoIRuSVzpHdaqPrgAjIRT8J+C6xGuucFysujJj/hBcIwkSKjjHCBxHZN+1baRvd97ZH9OECpQrgIA+zW7OSD321uqMJMCbJ00n+aS5rfTEquKyqXQl9xkKnRdRfVRpVdnYfy/fnY6pPBWr04chdYFZuLbVgawP721qRH3IPmGoP06YZ9tCXGi+PJW2Ex/mUPP1Bu5EHU8KCPBtgT2o9wKTWBw6bCgrn8fiCGuyqKzM5e6Ne1FA/S/hoKM4l/LsnVkTrMIsZ3hh+gc6SeaAps1Ah9YMfKqtd5gFi5jLkyzA== Received: from PH7P221CA0001.NAMP221.PROD.OUTLOOK.COM (2603:10b6:510:32a::7) by DM6PR12MB4355.namprd12.prod.outlook.com (2603:10b6:5:2a3::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7897.25; Mon, 26 Aug 2024 16:48:06 +0000 Received: from CY4PEPF0000EE3A.namprd03.prod.outlook.com (2603:10b6:510:32a:cafe::4e) by PH7P221CA0001.outlook.office365.com (2603:10b6:510:32a::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7897.25 via Frontend Transport; Mon, 26 Aug 2024 16:48:06 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.118.232) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.118.232 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.118.232; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.118.232) by CY4PEPF0000EE3A.mail.protection.outlook.com (10.167.242.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.13 via Frontend Transport; Mon, 26 Aug 2024 16:48:05 +0000 Received: from drhqmail201.nvidia.com (10.126.190.180) by mail.nvidia.com (10.127.129.5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Mon, 26 Aug 2024 09:47:51 -0700 Received: from drhqmail201.nvidia.com (10.126.190.180) by drhqmail201.nvidia.com (10.126.190.180) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Mon, 26 Aug 2024 09:47:51 -0700 Received: from build-dstotland-20240703T000904114.nvidia.com (10.127.8.10) by mail.nvidia.com (10.126.190.180) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Mon, 26 Aug 2024 09:47:51 -0700 From: Dara Stotland To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thierry Reding , Jonathan Hunter , Brad Griffis , , CC: Dara Stotland Subject: [PATCH v2 3/7] arm64: tegra: Combine IGX Orin board files Date: Mon, 26 Aug 2024 16:47:21 +0000 Message-ID: <20240826164725.775199-4-dstotland@nvidia.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20240826164725.775199-1-dstotland@nvidia.com> References: <20240826164725.775199-1-dstotland@nvidia.com> X-NVConfidentiality: public Precedence: bulk X-Mailing-List: linux-tegra@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-NV-OnPremToCloud: ExternallySecured X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY4PEPF0000EE3A:EE_|DM6PR12MB4355:EE_ X-MS-Office365-Filtering-Correlation-Id: fd82a226-dd24-433d-ea55-08dcc5eedbc9 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|36860700013|1800799024|376014|82310400026; X-Microsoft-Antispam-Message-Info: xAPFPSqXDRkfIBTUKyulngbapCxxa9WjgMxEwWQyiQ21vcUa6ZUhvWj+1zgeJN0LryBgrBCr2rjMAASZ7OpahisIVuW44XFtzoaS1bAfhWUfffBXqxZjIcDBn2a6l2PV15A0QmTgkjXx2m1QlOhT/Pl4q95MTOIIXEpMij5iqShHrI46dmAebRzZrk8A0FVVoy+oPnUZR7iiIDcbIUj7qVMNUJH8ijSGAe0tXpvauZ3YEtcASIKDfC1g7ocV8c6GPQz5tUUDwjnDUI9MAMUzUrLTNVi49cA8G6iPHWEUi+hTG57Ws8qrH0TjN6Y0a60Z2GhFoDV/fQLw1Cuao1YW/23igNxe2IkjsS5HOii1IuI/kpmKdRipbSa0okqrpTh3IVIATy3Es0ULsG7YUaXl4IdORxeVxU/gKoxg87syFmUpjAvX2x/ZE5PrdME/+hhnWksQVM91UQKeOKYYDYweCbCIcq1xvy2eXUGO23rTQutIWhSvIJaUFE1u9IhFVBvB+9GAPeeluKRv5B6i8XA5Rd3+x18V1qVenPzJX9uLeyNgNC8iZSZiv+4yHrWJoWzr7bdX9wYYX458PFHWUykWW7G3aNMSpkTo5IH8NkSvXER5MaD9cr5YQc0r5kPXe2wcAykgWofp9y4fdeeJlbVaBjpYWUCNPa8quIO7Khzxgx32bFGZ7ZIohOs9NTrL0FUzn9P783ozAgoaoFciPqIViEXpUDmq8IoeF+XWpBBs8QOzYq7thCDbpLDR0JKIzEbpBf0EG7EqfCwfQg2673jIhNjO7beUGA3LdvGzyKA3uNE2iFSt81FhZQ5Ol7vX83/Y2nd3UmBD94/dxcXREKmVkd3qHk6EQVwVhiJyxbJhDlEhRa0zCqzeg5PAIPz+bDQ7o7WUsM34mUf3by+7KLl6kw91DPI4Zwd/E2ediNbMlTzXcDF1lgK5lLMQGXu2P9Dy+COqfZDvvnYKzUDU/CCMR80K8EGdD1NtwJ82emm7qi3E3e30C1LLt6u39Ul9pzEgOj9D6FaREGnXsJ4HKTTk+yiBvZtQuAqbcpj9n/MHgEMTN5BPPmOB788ozS17UKgvR4bQ4XeRXSynuX37uWh8pGLftmsaNbUOvnbeFgH19oWoidb0T2ps96YqP8XuoHbC8Hu4W/Sz3CM72UhxaQMDD4iDUZ1DV0ANEFB+U068k/UEDyJ5JbLLndqh7y9uyM1c2xV/xlQ9chR9YzUrcJc4iwor9zn+p3POEbRCVPS/CZuRh2wbFMpJL5dArINo5uQR5xlj+WBRNnNIrlwNuF206/rUhEEzZdJ+JameTyIju9xmEM5VeKBEoYcO28JGf6rglZ3BRqCK8O7IUWGWpjf7QyqOMJklgxUmt0jys+Q27yeJ6mlrZPo6LPghrz5AbNDdjpieYUzKxs2ZckzaNY8wyNBEvpX3td8fe5tNMdHO+cuUvqWo98ajBouBwA5mwXx2 X-Forefront-Antispam-Report: CIP:216.228.118.232;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:dc7edge1.nvidia.com;CAT:NONE;SFS:(13230040)(36860700013)(1800799024)(376014)(82310400026);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Aug 2024 16:48:05.9161 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: fd82a226-dd24-433d-ea55-08dcc5eedbc9 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.118.232];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CY4PEPF0000EE3A.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB4355 Current IGX Orin structure has both a top-level module+board file as well as a board file. Most of the data in the board-file is closely related to the module itself. The benefit of this extra file is outweighed by the additional complexity. Merge the board file into the module+board file for simplicity. Signed-off-by: Dara Stotland --- .../nvidia/tegra234-p3740-0002+p3701-0008.dts | 236 ++++++++++++++++- .../boot/dts/nvidia/tegra234-p3740-0002.dtsi | 248 ------------------ 2 files changed, 235 insertions(+), 249 deletions(-) delete mode 100644 arch/arm64/boot/dts/nvidia/tegra234-p3740-0002.dtsi diff --git a/arch/arm64/boot/dts/nvidia/tegra234-p3740-0002+p3701-0008.dts b/arch/arm64/boot/dts/nvidia/tegra234-p3740-0002+p3701-0008.dts index bac611d735c5..9581b31b459f 100644 --- a/arch/arm64/boot/dts/nvidia/tegra234-p3740-0002+p3701-0008.dts +++ b/arch/arm64/boot/dts/nvidia/tegra234-p3740-0002+p3701-0008.dts @@ -3,8 +3,8 @@ #include #include +#include #include "tegra234-p3701-0008.dtsi" -#include "tegra234-p3740-0002.dtsi" / { model = "NVIDIA IGX Orin Development Kit"; @@ -20,6 +20,32 @@ }; bus@0 { + aconnect@2900000 { + ahub@2900800 { + i2s@2901300 { + ports { + port@1 { + endpoint { + dai-format = "i2s"; + remote-endpoint = <&rt5640_ep>; + }; + }; + }; + }; + + i2s@2901500 { + ports { + port@1 { + endpoint { + bitclock-master; + frame-master; + }; + }; + }; + }; + }; + }; + serial@3100000 { compatible = "nvidia,tegra194-hsuart"; reset-names = "serial"; @@ -45,6 +71,40 @@ i2c@31c0000 { status = "okay"; + rt5640: audio-codec@1c { + compatible = "realtek,rt5640"; + reg = <0x1c>; + interrupt-parent = <&gpio>; + interrupts = ; + clocks = <&bpmp TEGRA234_CLK_AUD_MCLK>; + clock-names = "mclk"; + + realtek,dmic1-data-pin = ; + realtek,dmic2-data-pin = ; + realtek,jack-detect-source = ; + + sound-name-prefix = "CVB-RT"; + + port { + rt5640_ep: endpoint { + remote-endpoint = <&i2s4_dap>; + mclk-fs = <256>; + }; + }; + }; + + /* carrier board ID EEPROM */ + eeprom@55 { + compatible = "atmel,24c02"; + reg = <0x55>; + + label = "system"; + vcc-supply = <&vdd_1v8_ls>; + address-width = <8>; + pagesize = <8>; + size = <256>; + read-only; + }; }; i2c@31e0000 { @@ -60,6 +120,121 @@ status = "okay"; }; + padctl@3520000 { + vclamp-usb-supply = <&vdd_1v8_ao>; + avdd-usb-supply = <&vdd_3v3_ao>; + status = "okay"; + + pads { + usb2 { + lanes { + usb2-0 { + nvidia,function = "xusb"; + status = "okay"; + }; + + usb2-1 { + nvidia,function = "xusb"; + status = "okay"; + }; + + usb2-2 { + nvidia,function = "xusb"; + status = "okay"; + }; + + usb2-3 { + nvidia,function = "xusb"; + status = "okay"; + }; + }; + }; + + usb3 { + lanes { + usb3-0 { + nvidia,function = "xusb"; + status = "okay"; + }; + + usb3-1 { + nvidia,function = "xusb"; + status = "okay"; + }; + + usb3-2 { + nvidia,function = "xusb"; + status = "okay"; + }; + }; + }; + }; + + ports { + usb2-0 { + mode = "otg"; + usb-role-switch; + status = "okay"; + vbus-supply = <&vdd_5v0_sys>; + }; + + usb2-1 { + mode = "host"; + status = "okay"; + vbus-supply = <&vdd_5v0_sys>; + }; + + usb2-2 { + mode = "host"; + status = "okay"; + vbus-supply = <&vdd_5v0_sys>; + }; + + usb2-3 { + mode = "host"; + status = "okay"; + vbus-supply = <&vdd_5v0_sys>; + }; + + usb3-0 { + nvidia,usb2-companion = <2>; + status = "okay"; + }; + + usb3-1 { + nvidia,usb2-companion = <0>; + status = "okay"; + }; + + usb3-2 { + nvidia,usb2-companion = <1>; + status = "okay"; + }; + }; + }; + + usb@3550000 { + status = "okay"; + + phys = <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-0}>, + <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-1}>; + phy-names = "usb2-0", "usb3-0"; + }; + + usb@3610000 { + status = "okay"; + + phys = <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-0}>, + <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-1}>, + <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-2}>, + <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-3}>, + <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-0}>, + <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-1}>, + <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-2}>; + phy-names = "usb2-0", "usb2-1", "usb2-2", "usb2-3", + "usb3-0", "usb3-1", "usb3-2"; + }; + fuse@3810000 { status = "okay"; }; @@ -70,6 +245,37 @@ i2c@c250000 { status = "okay"; + + power-sensor@41 { + compatible = "ti,ina3221"; + reg = <0x41>; + #address-cells = <1>; + #size-cells = <0>; + + input@0 { + reg = <0x0>; + label = "CVB_ATX_12V"; + shunt-resistor-micro-ohms = <2000>; + }; + + input@1 { + reg = <0x1>; + label = "CVB_ATX_3V3"; + shunt-resistor-micro-ohms = <2000>; + }; + + input@2 { + reg = <0x2>; + label = "CVB_ATX_5V"; + shunt-resistor-micro-ohms = <2000>; + }; + }; + + power-sensor@44 { + compatible = "ti,ina219"; + reg = <0x44>; + shunt-resistor = <2000>; + }; }; host1x@13e00000 { @@ -235,4 +441,32 @@ "CVB-RT DMIC1", "CVB-RT MIC", "CVB-RT DMIC2", "CVB-RT MIC"; }; + + vdd_3v3_dp: regulator-vdd-3v3-dp { + compatible = "regulator-fixed"; + regulator-name = "VDD_3V3_DP"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + vin-supply = <&vdd_3v3_sys>; + gpio = <&gpio TEGRA234_MAIN_GPIO(H, 6) 0>; + enable-active-high; + regulator-always-on; + }; + + vdd_3v3_sys: regulator-vdd-3v3-sys { + compatible = "regulator-fixed"; + regulator-name = "VDD_3V3_SYS"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + }; + + vdd_3v3_wifi: regulator-vdd-3v3-wifi { + compatible = "regulator-fixed"; + regulator-name = "VDD_3V3_WIFI"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + gpio = <&gpio TEGRA234_MAIN_GPIO(G, 3) GPIO_ACTIVE_HIGH>; + regulator-boot-on; + enable-active-high; + }; }; diff --git a/arch/arm64/boot/dts/nvidia/tegra234-p3740-0002.dtsi b/arch/arm64/boot/dts/nvidia/tegra234-p3740-0002.dtsi deleted file mode 100644 index 377f518bd3e5..000000000000 --- a/arch/arm64/boot/dts/nvidia/tegra234-p3740-0002.dtsi +++ /dev/null @@ -1,248 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0 - -#include - -/ { - compatible = "nvidia,p3740-0002"; - - bus@0 { - aconnect@2900000 { - ahub@2900800 { - i2s@2901300 { - ports { - port@1 { - endpoint { - dai-format = "i2s"; - remote-endpoint = <&rt5640_ep>; - }; - }; - }; - }; - - i2s@2901500 { - ports { - port@1 { - endpoint { - bitclock-master; - frame-master; - }; - }; - }; - }; - }; - }; - - i2c@31c0000 { - rt5640: audio-codec@1c { - compatible = "realtek,rt5640"; - reg = <0x1c>; - interrupt-parent = <&gpio>; - interrupts = ; - clocks = <&bpmp TEGRA234_CLK_AUD_MCLK>; - clock-names = "mclk"; - - realtek,dmic1-data-pin = ; - realtek,dmic2-data-pin = ; - realtek,jack-detect-source = ; - - sound-name-prefix = "CVB-RT"; - - port { - rt5640_ep: endpoint { - remote-endpoint = <&i2s4_dap>; - mclk-fs = <256>; - }; - }; - }; - - /* carrier board ID EEPROM */ - eeprom@55 { - compatible = "atmel,24c02"; - reg = <0x55>; - - label = "system"; - vcc-supply = <&vdd_1v8_ls>; - address-width = <8>; - pagesize = <8>; - size = <256>; - read-only; - }; - }; - - padctl@3520000 { - vclamp-usb-supply = <&vdd_1v8_ao>; - avdd-usb-supply = <&vdd_3v3_ao>; - status = "okay"; - - pads { - usb2 { - lanes { - usb2-0 { - nvidia,function = "xusb"; - status = "okay"; - }; - - usb2-1 { - nvidia,function = "xusb"; - status = "okay"; - }; - - usb2-2 { - nvidia,function = "xusb"; - status = "okay"; - }; - - usb2-3 { - nvidia,function = "xusb"; - status = "okay"; - }; - }; - }; - - usb3 { - lanes { - usb3-0 { - nvidia,function = "xusb"; - status = "okay"; - }; - - usb3-1 { - nvidia,function = "xusb"; - status = "okay"; - }; - - usb3-2 { - nvidia,function = "xusb"; - status = "okay"; - }; - }; - }; - }; - - ports { - usb2-0 { - mode = "otg"; - usb-role-switch; - status = "okay"; - vbus-supply = <&vdd_5v0_sys>; - }; - - usb2-1 { - mode = "host"; - status = "okay"; - vbus-supply = <&vdd_5v0_sys>; - }; - - usb2-2 { - mode = "host"; - status = "okay"; - vbus-supply = <&vdd_5v0_sys>; - }; - - usb2-3 { - mode = "host"; - status = "okay"; - vbus-supply = <&vdd_5v0_sys>; - }; - - usb3-0 { - nvidia,usb2-companion = <2>; - status = "okay"; - }; - - usb3-1 { - nvidia,usb2-companion = <0>; - status = "okay"; - }; - - usb3-2 { - nvidia,usb2-companion = <1>; - status = "okay"; - }; - }; - }; - - usb@3550000 { - status = "okay"; - - phys = <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-0}>, - <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-1}>; - phy-names = "usb2-0", "usb3-0"; - }; - - usb@3610000 { - status = "okay"; - - phys = <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-0}>, - <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-1}>, - <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-2}>, - <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-3}>, - <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-0}>, - <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-1}>, - <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-2}>; - phy-names = "usb2-0", "usb2-1", "usb2-2", "usb2-3", - "usb3-0", "usb3-1", "usb3-2"; - }; - - i2c@c250000 { - power-sensor@41 { - compatible = "ti,ina3221"; - reg = <0x41>; - #address-cells = <1>; - #size-cells = <0>; - - input@0 { - reg = <0x0>; - label = "CVB_ATX_12V"; - shunt-resistor-micro-ohms = <2000>; - }; - - input@1 { - reg = <0x1>; - label = "CVB_ATX_3V3"; - shunt-resistor-micro-ohms = <2000>; - }; - - input@2 { - reg = <0x2>; - label = "CVB_ATX_5V"; - shunt-resistor-micro-ohms = <2000>; - }; - }; - - power-sensor@44 { - compatible = "ti,ina219"; - reg = <0x44>; - shunt-resistor = <2000>; - }; - }; - }; - - vdd_3v3_dp: regulator-vdd-3v3-dp { - compatible = "regulator-fixed"; - regulator-name = "VDD_3V3_DP"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - vin-supply = <&vdd_3v3_sys>; - gpio = <&gpio TEGRA234_MAIN_GPIO(H, 6) 0>; - enable-active-high; - regulator-always-on; - }; - - vdd_3v3_sys: regulator-vdd-3v3-sys { - compatible = "regulator-fixed"; - regulator-name = "VDD_3V3_SYS"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - }; - - vdd_3v3_wifi: regulator-vdd-3v3-wifi { - compatible = "regulator-fixed"; - regulator-name = "VDD_3V3_WIFI"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - gpio = <&gpio TEGRA234_MAIN_GPIO(G, 3) GPIO_ACTIVE_HIGH>; - regulator-boot-on; - enable-active-high; - }; -}; From patchwork Mon Aug 26 16:47:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dara Stotland X-Patchwork-Id: 1976926 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=Nvidia.com header.i=@Nvidia.com header.a=rsa-sha256 header.s=selector2 header.b=sD5qYRcY; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2604:1380:45e3:2400::1; helo=sv.mirrors.kernel.org; envelope-from=linux-tegra+bounces-3468-incoming=patchwork.ozlabs.org@vger.kernel.org; receiver=patchwork.ozlabs.org) Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org [IPv6:2604:1380:45e3:2400::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WsxSj506nz1yZd for ; Tue, 27 Aug 2024 02:48:21 +1000 (AEST) Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 2F36C2825FC for ; Mon, 26 Aug 2024 16:48:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B4FE85476B; Mon, 26 Aug 2024 16:48:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com header.b="sD5qYRcY" X-Original-To: linux-tegra@vger.kernel.org Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2063.outbound.protection.outlook.com [40.107.236.63]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EBE2A195808; Mon, 26 Aug 2024 16:48:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.236.63 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724690899; cv=fail; b=MsvFn8PjTarxT04vISbetxMlsDMfOCOdGUa9reuCCjiKInpcGLqOYiZg45emNwza6xd65wjNl49V6DIOIWSD1/YGoRRfaUbfSMzzT88l9WVCoS7Ux/9ivVyNd/4Gm4utdU72sXDWr5+fGM+lwH05dHGQVzAMKx1taqwj2jJizsY= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724690899; c=relaxed/simple; bh=cyAZ9ieQqe8jrSMUJb/tQB+2oFLIpSM+FNFYrJl4/u4=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=jOK65weYbRkGDD4J5t+G6F+4vQ6KCO+dafgrIXe2YNGdtH0sWwA6VMbmkiU6xrhdifGj3Em5ESip1ochdfIPmkxWG4fn6Pe00rusuPauSBoOU+BsYl42Wj08UtJ3Wl/Q+urH/dWriX8XLkGQzHJrHKToJhTZZDXk6yHf2AfO59g= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=nvidia.com; spf=fail smtp.mailfrom=nvidia.com; dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com header.b=sD5qYRcY; arc=fail smtp.client-ip=40.107.236.63 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=nvidia.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=nvidia.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=JdJPwceX2UWXoqGn1RmH0AF88h8nT45hT20Q3NgbQqiT6+mCM6Goj/aGlgGYx5pfCkNNua7WdEIh++NVJlIH3otRKA0EbcbgXgH9VAWYAn5NGToB2NpNJfFsFm+qxBHSoktUoCN2UmYvUIMtNqSCymlRDzqf7YEyJkGT3cR6A8OZz0qIOr6Ar2CdEbdK9V8iVDz3+eD/vvouaRnirIi7IbMniKCnFfZLaVRLXBg03Qwl6KW3v27a5Ci+KDV96InVt66JEsWk8cPLQ5gV8R+oh7PYYjwXO6h0kHO9iLv2faGS3Z5x4ny5ELHSeL8Z2fI0T5medn1SV66gdPcyDjI6Bw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=rU/uZC3fpTRLIw6rgxeA5HvPaX1Khm7rQZspsuand68=; b=tMAZSVK3klw2O8c//IwASOPbIGJGTtCPQdux4DiaA2bJ3h1gKL2i182sxiBe38LVDzji5YQwZLQad72tIEH+h8fmm7z7ZLiPx4i7tnIfs6NKt6KPvN9uoO/VPh0b4AkpD1NZfYCaUbdABLr9w4b/6y1LnI9IjyPe2dueHWR5U/DheKb/IG0H9vmF/rQZWzp4iEygpAg4V72vEL+7vef2x9Uj0LAebvfyDQRWC9RTY4o5zHBt6u5zJTLT2vRi1cI6YrtgJRcDW8RBzJBDaxtBpN5hoGRNhW0Lt/DUM8yTJk+SjOS+mEAjLITxVv2gHBG+lAEDxw6t7rRta9knddqQfA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.118.232) smtp.rcpttodomain=kernel.org smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=rU/uZC3fpTRLIw6rgxeA5HvPaX1Khm7rQZspsuand68=; b=sD5qYRcYZ4Lq2Y4ivMLT7pg/Q6JqCRVHEIerfjVenN/YTnnRT8TXFnjyRAaUWQeEuLSltdAppLcm+tMI6jXwauBgEelAqgvEljOUNX5HcXb25uk2P9jV2uulTQu748zmccZ8ZhaDdPuJSA18D2sdUSQBNR6uEWCO0CxpO3qB/bcshQ3upvtx5YQTaR5NZ/3aSoFH1WV2CuL6wkNWr6lzPF7jtR5Favwh4MoylZ09v1znfCy2WKa9iiZBPKIDJ98OAPs8Bg43GvFwiA6rO5XKtSa/FRG4ERKvJg2Ehw54GgV0fsLb7kC1KeUEVuwGZUd1SgEBYStu+5uSDqZlA2fq3w== Received: from PH7P220CA0024.NAMP220.PROD.OUTLOOK.COM (2603:10b6:510:326::11) by SN7PR12MB6768.namprd12.prod.outlook.com (2603:10b6:806:268::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7897.24; Mon, 26 Aug 2024 16:48:13 +0000 Received: from CY4PEPF0000EE39.namprd03.prod.outlook.com (2603:10b6:510:326:cafe::2f) by PH7P220CA0024.outlook.office365.com (2603:10b6:510:326::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7897.25 via Frontend Transport; Mon, 26 Aug 2024 16:48:13 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.118.232) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.118.232 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.118.232; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.118.232) by CY4PEPF0000EE39.mail.protection.outlook.com (10.167.242.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.13 via Frontend Transport; Mon, 26 Aug 2024 16:48:12 +0000 Received: from drhqmail202.nvidia.com (10.126.190.181) by mail.nvidia.com (10.127.129.5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Mon, 26 Aug 2024 09:48:00 -0700 Received: from drhqmail201.nvidia.com (10.126.190.180) by drhqmail202.nvidia.com (10.126.190.181) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Mon, 26 Aug 2024 09:47:59 -0700 Received: from build-dstotland-20240703T000904114.nvidia.com (10.127.8.10) by mail.nvidia.com (10.126.190.180) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Mon, 26 Aug 2024 09:47:59 -0700 From: Dara Stotland To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thierry Reding , Jonathan Hunter , Brad Griffis , , CC: Dara Stotland Subject: [PATCH v2 4/7] arm64: tegra: Move AGX Orin nodes to correct location Date: Mon, 26 Aug 2024 16:47:22 +0000 Message-ID: <20240826164725.775199-5-dstotland@nvidia.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20240826164725.775199-1-dstotland@nvidia.com> References: <20240826164725.775199-1-dstotland@nvidia.com> X-NVConfidentiality: public Precedence: bulk X-Mailing-List: linux-tegra@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-NV-OnPremToCloud: ExternallySecured X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY4PEPF0000EE39:EE_|SN7PR12MB6768:EE_ X-MS-Office365-Filtering-Correlation-Id: 9d05e981-8da5-4e96-7fbb-08dcc5eee002 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|36860700013|376014|82310400026|1800799024; X-Microsoft-Antispam-Message-Info: iVLZA5Dh593ZNYn0VOcwp1TTL1LtbAyEaQawBAQG+rkcASWncae6KWNbeET7k2JAaFUljnrOrv0jWbnhosAp/ScRK5sBVaOWrg1Zb2/tJpGCA7MS9gjaGVM+qn3BhZR25nmgVvs/MlhNl8WP20Lz0Q7WkkvlWxJ/6vKBq8SBoNs5F1wkr7qCXWYpi1c979rldu3WCYnGZgbdn1gowK32DKBbIGHRnJoT+EbpRR/4hG+tuw/ryh4HosF92+3EoK8/Pk2thSMOIuJbdpJ0V6ddVRddCrRNVX9NbI8ykDYCo53+oH8pwTK4WBTuz6B/6YTFLAATX6puYIvMkyb2riqKIr53y6wbpksMUvpBtc+ZhtLU9474BzqZHB11VUBJ3pNFUUCPKo5PMhzuLrLqoPwLyyun50J/1n9P9KgIznaD4B4skIwUUNkI5I+GOSS5L1IWGgtoeFv5yx8rSWbTlbf65Q2FE//pPNvp54OFh2Be7n6upgFnlB1hicAN5SfkbsP3SlFOC6eaurM5shhGBPak1aPcj5LXt7dEA7udtxcv6DZIuNA/4rCdDljXhpY3mdmvWcN0ZgNr+GoXQCQO99LreqTQ/GTrFGmo0v9DnHtybVvS++zHbw4yiLuz00pR/mXDLLIXaV2KFE6eeobLctB7Cmlad4wo7T+ibX3wVN2kUftD92lcbmnw3zK3KUbBqeNiynYJYzVqQvpyIBH89alValZyx6x/84yLRGsMscrsHmwaNfWHMdB6NahBJUXo+wID1AZ/FkGmseXXm8Xd6bkozNOhSpvH6IyBd8qqz9a8iazSkp+k8eL66Wwe1y1Qmx0pYXlpmVGi3vs/zRiyiA5dzAIrutt6tyN4VNUMdLWk8xQxKnYn9Bv3vz7paJrNMTU+euzTcJ9t0F4tlmDqy1nfFaptvM+ilFl408ZiMSoPQG3IiL6IqsExNmRJAI9Q7M01SU+PYpcI21U7BJRa20/H1rnnDhjTBJERlFmWMmg1qPMJxAQBmQYNkUpyRWUhgnwaMehHC1FscenDu3rn11N1JQQpOrX9YnqzYjx6hSru1UB9h8txegKhrJZTIlBOZqI9TYa4OWqbfuAPLFV7VmFyrVg1MUwMF95V3Aes0bW4kmDIP+bbRXydkbWOpBc3uY4r8aQ2cxshz3fOnJuz1w8BMy+Ez5mge98LlcThd+fIifFR558PzGUqjDAvVDQmaQgsGIBDVaso0Qm39Y40hn9AAv/QpV0GftK/eU85m+Oyqy/wct+/rBmCHhTZ1qPQ9ImRWa75W/4zKY/5S4qjEo3gtHGYww5N5UPJzcMKQsSx9Pl6Kuph+P7gWpL8M3W/5yoSqFtf7mU6Nan9Kz2HEdpjuiVTHdCIN7Rp23tT5sCXVdnhXvy5LL5cDLm7frtHLVmE2ZnF1KCbuXl8GiYgAI0kWCmhvLuvVO4uMjY7ARqh3/TML82/TsW9F62RzSIuhgcu X-Forefront-Antispam-Report: CIP:216.228.118.232;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:dc7edge1.nvidia.com;CAT:NONE;SFS:(13230040)(36860700013)(376014)(82310400026)(1800799024);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Aug 2024 16:48:12.9978 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 9d05e981-8da5-4e96-7fbb-08dcc5eee002 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.118.232];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CY4PEPF0000EE39.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR12MB6768 Some of the nodes inside the AGX Orin module file are in the wrong location. In particular, the SD card interface and two of the PCIe regulators in the module file should instead reside in the board file. These components are not part of the module. They are part of the carrier board. Move these nodes to the correct location. Fixes: cd42b26a527f ("arm64: tegra: Add regulators required for PCIe") Fixes: d71b893a119d ("arm64: tegra: Add Tegra234 SDMMC1 device tree node") Signed-off-by: Dara Stotland --- .../boot/dts/nvidia/tegra234-p3701-0000.dtsi | 25 ------------------ .../nvidia/tegra234-p3737-0000+p3701-0000.dts | 26 +++++++++++++++++++ 2 files changed, 26 insertions(+), 25 deletions(-) diff --git a/arch/arm64/boot/dts/nvidia/tegra234-p3701-0000.dtsi b/arch/arm64/boot/dts/nvidia/tegra234-p3701-0000.dtsi index ea846b879a21..2830eab1b2eb 100644 --- a/arch/arm64/boot/dts/nvidia/tegra234-p3701-0000.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra234-p3701-0000.dtsi @@ -7,12 +7,6 @@ compatible = "nvidia,p3701-0000", "nvidia,tegra234"; bus@0 { - mmc@3400000 { - status = "okay"; - bus-width = <4>; - cd-gpios = <&gpio TEGRA234_MAIN_GPIO(G, 7) GPIO_ACTIVE_LOW>; - disable-wp; - }; padctl@3520000 { vclamp-usb-supply = <&vdd_1v8_ao>; @@ -39,25 +33,6 @@ }; - vdd_3v3_pcie: regulator-vdd-3v3-pcie { - compatible = "regulator-fixed"; - regulator-name = "VDD_3V3_PCIE"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - gpio = <&gpio TEGRA234_MAIN_GPIO(H, 4) GPIO_ACTIVE_HIGH>; - regulator-boot-on; - enable-active-high; - }; - - vdd_12v_pcie: regulator-vdd-12v-pcie { - compatible = "regulator-fixed"; - regulator-name = "VDD_12V_PCIE"; - regulator-min-microvolt = <12000000>; - regulator-max-microvolt = <12000000>; - gpio = <&gpio TEGRA234_MAIN_GPIO(A, 1) GPIO_ACTIVE_LOW>; - regulator-boot-on; - }; - thermal-zones { tj-thermal { polling-delay = <1000>; diff --git a/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts b/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts index 21feaf434439..90f12277aede 100644 --- a/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts +++ b/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts @@ -106,6 +106,13 @@ status = "okay"; }; + mmc@3400000 { + status = "okay"; + bus-width = <4>; + cd-gpios = <&gpio TEGRA234_MAIN_GPIO(G, 7) GPIO_ACTIVE_LOW>; + disable-wp; + }; + hda@3510000 { nvidia,model = "NVIDIA Jetson AGX Orin HDA"; status = "okay"; @@ -522,4 +529,23 @@ regulator-max-microvolt = <1800000>; regulator-always-on; }; + + vdd_3v3_pcie: regulator-vdd-3v3-pcie { + compatible = "regulator-fixed"; + regulator-name = "VDD_3V3_PCIE"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + gpio = <&gpio TEGRA234_MAIN_GPIO(H, 4) GPIO_ACTIVE_HIGH>; + regulator-boot-on; + enable-active-high; + }; + + vdd_12v_pcie: regulator-vdd-12v-pcie { + compatible = "regulator-fixed"; + regulator-name = "VDD_12V_PCIE"; + regulator-min-microvolt = <12000000>; + regulator-max-microvolt = <12000000>; + gpio = <&gpio TEGRA234_MAIN_GPIO(A, 1) GPIO_ACTIVE_LOW>; + regulator-boot-on; + }; }; From patchwork Mon Aug 26 16:47:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dara Stotland X-Patchwork-Id: 1976927 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=Nvidia.com header.i=@Nvidia.com header.a=rsa-sha256 header.s=selector2 header.b=my3P5v9W; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2604:1380:45e3:2400::1; helo=sv.mirrors.kernel.org; envelope-from=linux-tegra+bounces-3469-incoming=patchwork.ozlabs.org@vger.kernel.org; receiver=patchwork.ozlabs.org) Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org [IPv6:2604:1380:45e3:2400::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WsxSy3vTXz1yZd for ; Tue, 27 Aug 2024 02:48:34 +1000 (AEST) Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 5108428253C for ; Mon, 26 Aug 2024 16:48:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2283B196DB1; Mon, 26 Aug 2024 16:48:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com header.b="my3P5v9W" X-Original-To: linux-tegra@vger.kernel.org Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2068.outbound.protection.outlook.com [40.107.220.68]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 67AD15476B; Mon, 26 Aug 2024 16:48:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.220.68 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724690910; cv=fail; b=fNiX3L6USCGEpRa23iAbjABKH0bQpVgrU1R0tCEaKA2FXiKGI1IfHp5g57HrTA46qJrMg36zeswW+4CrBZ1GYqFVFE+rzI5Yss5EP/B5xHZ5BCEBsSVN069vBR1wP+9sb8Fbr6CQJTnNxlqRw+TdiP862g9ZVjZRTF+euA0zIjM= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724690910; c=relaxed/simple; bh=g3X+uGGGIalqpHmEAXUPaxKsLYGRnDwFjTbzzUZ2DD8=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=ap/lTC+iNRNMywzXhq/BcFd3Z/GC8VDeV41NQx/Iaph2rj3FknjOltweDrRxdchioJ24b3kr7yEPOb692EQ896w0AbZear4uetOSq+5m1H/eDKkxNLVTJf3INjm0ztsBcc2lqBn/4WInoEW3VM/oFIPT1YQ6/DCtABkJjGOisng= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=nvidia.com; spf=fail smtp.mailfrom=nvidia.com; dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com header.b=my3P5v9W; arc=fail smtp.client-ip=40.107.220.68 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=nvidia.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=nvidia.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Ey2gul7uV4XyfKF0wVTDzUgfk49uyDJ4KDmbVbYPfT5XMtyYK89YGFsjUg/J+l/2EqeyQbbQAwD/aIZ5S75m7qwHubkN0Wsv8gxyPCfXVFJSDsaYONGJOo4YcRv08Vqf0FngOdyz1eaYobQoHCqLbtTMbyYi4UIO0Md5QQiS8J8lS2q90jVKC6d1xW+A7g6ms94PtWczCEQstAVHBLHoveb/GwkyZVuXohsGFZdJByaUmTrZyHpMTjZnMhzMspr7+eC55RiaiBR/mSQHIrPZJtP4P60AKF5O2VeHf6tbATUxNvz8xcvjTnmqLarFcb8OwrefBr87yQQKhzOJtaAAvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=M7e+iFD6hp/wLFqNHZlph0VLUKyN5oJwjVrC4pMszpk=; b=hCmkGR8D6XypagopqerxKVz4JxE8AqEoNOXuyCHYfiUls2lYl6gQKytpl7jF13HsM1gbwsY6ey4C3IJtsXcaK6XYdKBgLBRgkIEHzzHnklmYBGGt7nhUZxVLtteZwvA3rHD/RRuKr2WJVoQ9Eou+jsAWBFAfab6LwjmbN2962hn5bDX15rTfbe597PsNTQU1Mtk6ZfwDLzYLlHHhVcjpMAf0w3+Bkpgy6WXVItbmxV08qQkovUs9ymwFcn1eTr2Jn08Y2B+eH6GU/Nn0BkN+ZbOvehrR8J+Kpmm05v3u9ZwqyzPNH3sgURKftPkHTtjJlbReuqGWvD5TMYoMBayL2Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.118.232) smtp.rcpttodomain=kernel.org smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=M7e+iFD6hp/wLFqNHZlph0VLUKyN5oJwjVrC4pMszpk=; b=my3P5v9Wf7VLoKVb/UYhPU76XmS1X4mGjPz0aOiW5iq+v5KlhB3rC8bcw5CuFqYnIlh+PoKfd/33p0i07N8+yAEyiooq1ArojjCijpg9cQbzOv+6S+00hHNSkd9ZiiQ175+GKE/LucQaFy2qv6NjgWVlni/mRLWLUrwnqDRaiHQV1ZaWSwzlu/FQuHQwUzxv4/hR86Hc8DAaXjqdk7Cjm7Vvta1JIYnOFtZL3rZZLYnogiRMcm+Vcl6M9Cq/AaF0bDjCMNSW/AZWne3BuZo//JBV8Am5l5AMGURKL2+a2NtMvBym8CTDhE97npB35ngWaecWT7V/QgiGwQFv/ttUmw== Received: from DS7PR03CA0071.namprd03.prod.outlook.com (2603:10b6:5:3bb::16) by SN7PR12MB6792.namprd12.prod.outlook.com (2603:10b6:806:267::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7897.24; Mon, 26 Aug 2024 16:48:25 +0000 Received: from CY4PEPF0000EE3D.namprd03.prod.outlook.com (2603:10b6:5:3bb:cafe::3d) by DS7PR03CA0071.outlook.office365.com (2603:10b6:5:3bb::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7897.24 via Frontend Transport; Mon, 26 Aug 2024 16:48:25 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.118.232) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.118.232 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.118.232; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.118.232) by CY4PEPF0000EE3D.mail.protection.outlook.com (10.167.242.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.13 via Frontend Transport; Mon, 26 Aug 2024 16:48:25 +0000 Received: from drhqmail202.nvidia.com (10.126.190.181) by mail.nvidia.com (10.127.129.5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Mon, 26 Aug 2024 09:48:10 -0700 Received: from drhqmail201.nvidia.com (10.126.190.180) by drhqmail202.nvidia.com (10.126.190.181) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Mon, 26 Aug 2024 09:48:10 -0700 Received: from build-dstotland-20240703T000904114.nvidia.com (10.127.8.10) by mail.nvidia.com (10.126.190.180) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Mon, 26 Aug 2024 09:48:09 -0700 From: Dara Stotland To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thierry Reding , Jonathan Hunter , Brad Griffis , , CC: Dara Stotland Subject: [PATCH v2 5/7] arm64: tegra: Move padctl supply nodes to AGX Orin module Date: Mon, 26 Aug 2024 16:47:23 +0000 Message-ID: <20240826164725.775199-6-dstotland@nvidia.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20240826164725.775199-1-dstotland@nvidia.com> References: <20240826164725.775199-1-dstotland@nvidia.com> X-NVConfidentiality: public Precedence: bulk X-Mailing-List: linux-tegra@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-NV-OnPremToCloud: ExternallySecured X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY4PEPF0000EE3D:EE_|SN7PR12MB6792:EE_ X-MS-Office365-Filtering-Correlation-Id: 903c0f66-0082-4e94-78d3-08dcc5eee763 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|36860700013|1800799024|376014|82310400026; X-Microsoft-Antispam-Message-Info: UueYToRr3uqHDyI/KsChiJOcdPxwNOhxj4VJrTWJl3sqCcBqAz+70HkQKeKnv9Jc1ozBnqxSRQ6DWInSHJ+h/+pEZOl8p6ImswZ4HZLLKR4szrvpGZH8pWOB217hQGW/UzlW7i9HrlEQG/Rk/DVfF9nqNyq8lPjCrzfjiyJ00SVS7cbYBQapwVt/tl58z8KHCUyMa0oorBPDA+AZqfJs8y/uNw7pSUNjmuhEtxEXe3YTG3toBjFT1DJAzLYWTaeLX19izBJXJyTpJtMMReaIznm5DQcLPPyAvobXdlhZ8hSGS5ruA4SJe99KIOwAUw0vuQAf/pNsYK9j2fxlEamnHd17uW2UXWnUl4Y14JzKS1qsAsdiHlT3X34UjyVs+uIn/69Ff0PfiwVjVun7VPKhcyAghFX/dH2UWlcINzMsX0JFDHW4WprFmvxw9a5VtQuysln1Bsr71O2fuEEKnvLY7xbQYtVhHHbTw5gAS5eTgLTpuUSgvK852JnhW1F/BYgOqjFMRA0K8oiMTNhOajXc/O/vvr0rNnnFPLn+nHJnSO8YM7BMMjvvneU0l/8z2IIc7vE/ueFIdYXkLKGQW3P99aBa8ogd8kW+JVmfzM2Jtm2LbIvrioshfuPnQ67bbzu9kg6mTWIT6vnIBGT0/MhQMFawziQaD6M+qRIs+ZzXFQFF7mQpNBxXZnQQ5qFxSoS5IBTZ7R+R3n7mu3ZfxeAjiHkBERKs4sJ6MLe9hMRXESpbqoa2KgmiRO4OHT1Asw1t7cEHA5Zn7ce+eS+QURsFsmHmp7osDwx/7pYG5xmTgFDV7b4j/RDMHRTYDYAfIivXcva1OtL4xOn5C+4Oy0MCI8ieyhbUvcN+6U/Ue90J5hv2R9Lkg5/SByJJstwkANuiWDIz3Toy8bMAQVmwRm+X2DX24L6/MxkLKTFYa9Uuh7GrhsrxYy4ujVrds6S1l2DfuiS4mqNmN/Qds7GznmL22iRRDKGcGrgZsqyFSuoOZNJKRVty/BAa51Gv9YnEmYx70QNK1FEdcZJJ+4WICcFKb7HJT2ThM8EXqNQTGJr7VkZIqpf5sROQcvUyAJ7G3ACcndx/+BpsNrFO2Aoe1u6wYiOEoD8jAeM/RuZaczDtZu+TVfFniYMdKpbk/Ti1fec/4RCEQs5s+ciOEdcx4VYDyULRfqG+NbYbVXghwKXoz3jwtaVRkX/K54BZ2VMWz/+WyjGAzGjlzQlAycIQm2J18UUsBYg6qSlrHBt6mHpEcqijwNeVYirAVjvYRbTdhea+kdgDiqnKuV8ite6eanXOPImGi4cFwwwUcbMNtmYM2954U4CWxOUlwgiEmhVi1xYaUbjsCcjMKKhiUF4YLHkcaX/zAxoV4rHgKVzY5e8pVzv7FeFFdNaWFFcMw59vnjxtM+eyRWI++WumM7/sWPs1lfJgEjINBR9EBfMkXqag4z+KiC3+ZiXCaS48P42/8Q12 X-Forefront-Antispam-Report: CIP:216.228.118.232;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:dc7edge1.nvidia.com;CAT:NONE;SFS:(13230040)(36860700013)(1800799024)(376014)(82310400026);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Aug 2024 16:48:25.3618 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 903c0f66-0082-4e94-78d3-08dcc5eee763 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.118.232];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CY4PEPF0000EE3D.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR12MB6792 Some padctl supply nodes currently reside in board file, when they should reside on module level. The nodes are part of module, not board. Move these nodes to the correct AGX Orin module file. Signed-off-by: Dara Stotland --- .../boot/dts/nvidia/tegra234-p3701-0000.dtsi | 27 ------------------- .../arm64/boot/dts/nvidia/tegra234-p3701.dtsi | 23 ++++++++++++++++ .../nvidia/tegra234-p3740-0002+p3701-0008.dts | 6 ----- 3 files changed, 23 insertions(+), 33 deletions(-) diff --git a/arch/arm64/boot/dts/nvidia/tegra234-p3701-0000.dtsi b/arch/arm64/boot/dts/nvidia/tegra234-p3701-0000.dtsi index 2830eab1b2eb..d977f4901c09 100644 --- a/arch/arm64/boot/dts/nvidia/tegra234-p3701-0000.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra234-p3701-0000.dtsi @@ -6,33 +6,6 @@ model = "NVIDIA Jetson AGX Orin"; compatible = "nvidia,p3701-0000", "nvidia,tegra234"; - bus@0 { - - padctl@3520000 { - vclamp-usb-supply = <&vdd_1v8_ao>; - avdd-usb-supply = <&vdd_3v3_ao>; - - ports { - usb2-0 { - vbus-supply = <&vdd_5v0_sys>; - }; - - usb2-1 { - vbus-supply = <&vdd_5v0_sys>; - }; - - usb2-2 { - vbus-supply = <&vdd_5v0_sys>; - }; - - usb2-3 { - vbus-supply = <&vdd_5v0_sys>; - }; - }; - }; - - }; - thermal-zones { tj-thermal { polling-delay = <1000>; diff --git a/arch/arm64/boot/dts/nvidia/tegra234-p3701.dtsi b/arch/arm64/boot/dts/nvidia/tegra234-p3701.dtsi index 18bd4ccb6b77..0471cea31b73 100644 --- a/arch/arm64/boot/dts/nvidia/tegra234-p3701.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra234-p3701.dtsi @@ -81,6 +81,29 @@ non-removable; }; + padctl@3520000 { + vclamp-usb-supply = <&vdd_1v8_ao>; + avdd-usb-supply = <&vdd_3v3_ao>; + + ports { + usb2-0 { + vbus-supply = <&vdd_5v0_sys>; + }; + + usb2-1 { + vbus-supply = <&vdd_5v0_sys>; + }; + + usb2-2 { + vbus-supply = <&vdd_5v0_sys>; + }; + + usb2-3 { + vbus-supply = <&vdd_5v0_sys>; + }; + }; + }; + i2c@c240000 { status = "okay"; diff --git a/arch/arm64/boot/dts/nvidia/tegra234-p3740-0002+p3701-0008.dts b/arch/arm64/boot/dts/nvidia/tegra234-p3740-0002+p3701-0008.dts index 9581b31b459f..36e888053746 100644 --- a/arch/arm64/boot/dts/nvidia/tegra234-p3740-0002+p3701-0008.dts +++ b/arch/arm64/boot/dts/nvidia/tegra234-p3740-0002+p3701-0008.dts @@ -121,8 +121,6 @@ }; padctl@3520000 { - vclamp-usb-supply = <&vdd_1v8_ao>; - avdd-usb-supply = <&vdd_3v3_ao>; status = "okay"; pads { @@ -175,25 +173,21 @@ mode = "otg"; usb-role-switch; status = "okay"; - vbus-supply = <&vdd_5v0_sys>; }; usb2-1 { mode = "host"; status = "okay"; - vbus-supply = <&vdd_5v0_sys>; }; usb2-2 { mode = "host"; status = "okay"; - vbus-supply = <&vdd_5v0_sys>; }; usb2-3 { mode = "host"; status = "okay"; - vbus-supply = <&vdd_5v0_sys>; }; usb3-0 { From patchwork Mon Aug 26 16:47:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dara Stotland X-Patchwork-Id: 1976928 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=Nvidia.com header.i=@Nvidia.com header.a=rsa-sha256 header.s=selector2 header.b=VIIl2YSD; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=147.75.199.223; helo=ny.mirrors.kernel.org; envelope-from=linux-tegra+bounces-3470-incoming=patchwork.ozlabs.org@vger.kernel.org; receiver=patchwork.ozlabs.org) Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org [147.75.199.223]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WsxT74Rlzz1yZd for ; Tue, 27 Aug 2024 02:48:43 +1000 (AEST) Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id BFF3D1C216EF for ; Mon, 26 Aug 2024 16:48:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 28CF8196D8F; Mon, 26 Aug 2024 16:48:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com header.b="VIIl2YSD" X-Original-To: linux-tegra@vger.kernel.org Received: from NAM02-BN1-obe.outbound.protection.outlook.com (mail-bn1nam02on2070.outbound.protection.outlook.com [40.107.212.70]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 56294197A95; Mon, 26 Aug 2024 16:48:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.212.70 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724690920; cv=fail; b=b6qO5xwJPfUd5xXCwvmV1ob8t62vbLSvcHz39ccQKIHIKQVnaSmGkg5a6XU0GXkXs3TT1DAvD1foa6zxdoKtDbgDFWnZhd3lneCiXFQborcH5wBQPo1MKC3Lzam2l6ID0zb09Krzhb6NSlxHXuj3LmKCiE3GnXcqeBLdPHs2IvY= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724690920; c=relaxed/simple; bh=EoLh9QGb6BRnZjqNHWCFeLlfRWjwjxJZhBflPvVtNhA=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=YeT7lDbmcUPEwzieL2ly+XNlsP55HsFN/02abXV874EIm4yEm96t5EpnvSF0wlsRk22Q+uBggOS0LtnVpWy7RKRMgXpZj664czRVIq06wx+UUCTF1pwhjh6ZJEPB3n3aFPHqt2eaaWCY9ClvperUd22DWhaiEai+dMkBkeXNkv8= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=nvidia.com; spf=fail smtp.mailfrom=nvidia.com; dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com header.b=VIIl2YSD; arc=fail smtp.client-ip=40.107.212.70 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=nvidia.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=nvidia.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=B1UrUWB7LDYKr8Kaarg8WfXz2xEpkYMW1lT8JqYeJmhMS02Tn9pHQF6dBpMU416hRWDkaftKJ6+lRYTi5D6nF02CninnI6F+WJQSSPXv7vXHcssdkqby5SGBHspUimD/2zHyb3XHMC2V4A6uUz7nBDSHX4Sjq52Tr8TIHSfZjZ20vKLO879YP1NTlkukQqHHdnaVTpIylajErga0gieqRIXL1JVdjNIxYXl8joLqnoGgtSAkNWOe1gzXsaTVj1Lp2glvMnBXiKVGqbnfSd8u90o3Z8OpqXaJvdTja+XN8pWEFDgP4O+Xfl9JL66ZN0KcsNUqFBcC89RMofka48eiNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=jvKWf9+e8EkSkADRCioIy3r3ClW8VqPjldz0sSZHgOk=; b=q3/ZCRcpW3lcFyBxuvCzqe4mmtbvd6dFg8XiUEDi6Mc1k51n9XDB2aH5AMiSnW0YvJvobIEdRidwZaW1qddqL3k+S+jCDkSDJMNNTXP8j6RMkSZ+aVnx2vWfeJUskckwiWvkYRjeFRNaYdLWtFe+TozD8RxQ4J5L/ivAzkRYuVoYzyP5CIkFfve+zse8yGjwM+/UBzmJByO9mrzuk4CGunr9EW/aZgdxKDYRbLgtmhAHwWVQTg1Fp7Sk89XU4+p0/DaMCiCae1vb6ucuKuWAcY897mkl7MUjmT8lLSORZG3TYxiLZ3t+Pm7oHHe++lDhnAHYVIclWl2w9kV9xmrdyg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.118.233) smtp.rcpttodomain=kernel.org smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=jvKWf9+e8EkSkADRCioIy3r3ClW8VqPjldz0sSZHgOk=; b=VIIl2YSDnYOjuFMd8blB883KOShCuVOP8rrzd9szwKGP7KrVsO0GM8DgiB6uDuL8l2LmLkX/C0ciy5HgsDae8LEjv4jG5feK4lzXsU45ZauPiIPTj25QidmiS5ljaFnttqkm1tr3fmgUeYYHVYgAtIWt038PeD3RXP4rcyIOMqnW3yqF/tNF9kW2Sy2cj9VHu7MKiQbvQKnNNFtNB3qbHkwEqS8oYAZ23HcL3IgaorQE730Ojy3HXLWPwEbVLKHCoUneNnlZThWJDQzUACukPl5qFIJRc0BNokO08IgjLQVUkf0RaBQ6pGFmqCFJ0kfJd1UYbx+/Wjd1PQNBoSuS4g== Received: from BN9P222CA0010.NAMP222.PROD.OUTLOOK.COM (2603:10b6:408:10c::15) by CYYPR12MB8989.namprd12.prod.outlook.com (2603:10b6:930:c2::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7897.22; Mon, 26 Aug 2024 16:48:35 +0000 Received: from BN1PEPF0000468D.namprd05.prod.outlook.com (2603:10b6:408:10c:cafe::ca) by BN9P222CA0010.outlook.office365.com (2603:10b6:408:10c::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7897.25 via Frontend Transport; Mon, 26 Aug 2024 16:48:34 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.118.233) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.118.233 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.118.233; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.118.233) by BN1PEPF0000468D.mail.protection.outlook.com (10.167.243.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.13 via Frontend Transport; Mon, 26 Aug 2024 16:48:33 +0000 Received: from drhqmail202.nvidia.com (10.126.190.181) by mail.nvidia.com (10.127.129.6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Mon, 26 Aug 2024 09:48:19 -0700 Received: from drhqmail201.nvidia.com (10.126.190.180) by drhqmail202.nvidia.com (10.126.190.181) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Mon, 26 Aug 2024 09:48:18 -0700 Received: from build-dstotland-20240703T000904114.nvidia.com (10.127.8.10) by mail.nvidia.com (10.126.190.180) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Mon, 26 Aug 2024 09:48:18 -0700 From: Dara Stotland To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thierry Reding , Jonathan Hunter , Brad Griffis , , CC: Dara Stotland Subject: [PATCH v2 6/7] arm64: tegra: Move BPMP nodes to AGX Orin module Date: Mon, 26 Aug 2024 16:47:24 +0000 Message-ID: <20240826164725.775199-7-dstotland@nvidia.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20240826164725.775199-1-dstotland@nvidia.com> References: <20240826164725.775199-1-dstotland@nvidia.com> X-NVConfidentiality: public Precedence: bulk X-Mailing-List: linux-tegra@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-NV-OnPremToCloud: ExternallySecured X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN1PEPF0000468D:EE_|CYYPR12MB8989:EE_ X-MS-Office365-Filtering-Correlation-Id: e86be34c-130d-4f86-1290-08dcc5eeec40 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|36860700013|376014|82310400026; X-Microsoft-Antispam-Message-Info: lEqgk8QLEOEZlZTXnn5nkhMNOilYH60/NglNWSqAX255IRoI+JMX4b6zJKdng+vjaxd82bifMFFWMIFsRSrvCpZHHep29dk3Oo5HoySH9sT7mQiWDJvpYd56Sb8ZApO1PhRX9XbW6UvtDZgIj8wafdOUUah/ag2T0T0iRHKA+fC6o8uj026A+C+40gh2+HNu7rOvGuAj/lIbtH30oQ8N4+9zuhh3e18recV7ZJz3N8Ls0bFRYvRkYXanHZh6+7ubhOMxvGr/oFX2Pije2biziSY2m1w9H9U3RilW5S1pPcxW2CMkTFAgygMIM5rohEkakOA+uvEi31s4MHbqQHU6GXFsD/56zhzspQO5MlEB8hbQKDsnUA8Wstgg8ALtX3TDV0bZZu24YyeQa0QnFyURZQLjldDj3Ypwcld7jtH6UP7ZH1FSp8/CdSKNAGAcPNTWrwDcP6igGhG5MLQ/J6YizdSnQgW5BFf1FH6LvFaptEAoBkTaicJcjsYirp0aK9VKDurJO2eSi0ONkLrXhOVw8wCpTqE61I+Q+kWu6qpDyYC3iwx5y6KUTw9jALmkx1bA+Yketz4Qj94kLCzIPvOoqpY3BJ/hPI7wt7wsUiPpMgxVAcCu9snyA8kViEy24VtEvTldC927lIqB/0/5uK1S9DI2DWmW9y5t/83ZNLbKVLPOeb9zNkjauDJZhhmk4nq3P5tRUwmlzqfxqtXSLrsAy9DZKbBPoUv9zPpIi61njkwM6hwLQMVPUaQlLlKjk0qStOZHzS+x8QtqO5TI5f2xDDGXVoczMKWcsyhQpFu2E6muzmFPIRXMZvoSHBTNbWwzGJzjzRsibQ5s+bGCPIt6Fb6dnmfTMxNlNUWSmgCNrPiY+Eet1N4kU3iUljiB1ZKZUGQ3z2aiTZZUMp15M6wvflD9d6coJQuJbSXeX3VbHcW1qF8QIQKQ23e/l/DqscL8QFxnmcrAwkvAf4Y5eFyPgTSG+EwI4qljwmcMXACeryp9TyYjWjjXHyTGy8dKvN8/yXGLADArtaaWdeXUvnEqffFjMpFr1jOzM0i8MaNSR0HSm/I9qqfjXplyRpQnTMJpgpzY1SdnM29uGynyAkdvbgsZ06kGPN11So6ZrYXsVHVryeAEjnxnWSbRScZN4GIXPGMED+b09PHF3F2awBi7l2L/Nr6wo4pUT2q/ZuxWouDJ54s/4FVTccYJFY6buOjVcxaQg6Ww/uyY+0ejNyaLrgmZbSKcZBP5NZWe8Q5ZtTqKhW5OyO0ZqCr18gOlQD+6onqhij1WQfLxCw3PYqolPp7YxHqhnn9xn08a1hz40ikKQDsXIDgrI3VxcXBT1UMRohyaEpVWVzaTnC7LUsKiVspF/yjqM9mPiJYUq8XMhhHzetskXM7cm2yr+x3X0y6lLJjsD3ftkpBK5RcJMQBhOGD/1lVNrFD2zVxLCwf2hGJ2tLYxBpBzjdlgkUQAzepe X-Forefront-Antispam-Report: CIP:216.228.118.233;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:dc7edge2.nvidia.com;CAT:NONE;SFS:(13230040)(1800799024)(36860700013)(376014)(82310400026);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Aug 2024 16:48:33.4246 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e86be34c-130d-4f86-1290-08dcc5eeec40 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.118.233];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: BN1PEPF0000468D.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CYYPR12MB8989 All SKUs of the p3701 module contain a temp sensor connected to the BPMP I2C. Move the associated nodes from tegra234-p3701-0008.dtsi to tegra234-p3701.dtsi. Add missing compatible. Signed-off-by: Dara Stotland --- .../boot/dts/nvidia/tegra234-p3701-0008.dtsi | 16 ---------------- arch/arm64/boot/dts/nvidia/tegra234-p3701.dtsi | 17 +++++++++++++++++ 2 files changed, 17 insertions(+), 16 deletions(-) diff --git a/arch/arm64/boot/dts/nvidia/tegra234-p3701-0008.dtsi b/arch/arm64/boot/dts/nvidia/tegra234-p3701-0008.dtsi index 9218ea8d43e6..f0fa6a76149e 100644 --- a/arch/arm64/boot/dts/nvidia/tegra234-p3701-0008.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra234-p3701-0008.dtsi @@ -4,20 +4,4 @@ / { compatible = "nvidia,p3701-0008", "nvidia,tegra234"; - - bpmp { - i2c { - status = "okay"; - - thermal-sensor@4c { - status = "okay"; - reg = <0x4c>; - vcc-supply = <&vdd_1v8_ao>; - }; - }; - - thermal { - status = "okay"; - }; - }; }; diff --git a/arch/arm64/boot/dts/nvidia/tegra234-p3701.dtsi b/arch/arm64/boot/dts/nvidia/tegra234-p3701.dtsi index 0471cea31b73..9086a0d010e5 100644 --- a/arch/arm64/boot/dts/nvidia/tegra234-p3701.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra234-p3701.dtsi @@ -166,6 +166,23 @@ }; }; + bpmp { + i2c { + status = "okay"; + + thermal-sensor@4c { + compatible = "ti,tmp451"; + status = "okay"; + reg = <0x4c>; + vcc-supply = <&vdd_1v8_ao>; + }; + }; + + thermal { + status = "okay"; + }; + }; + vdd_1v8_ao: regulator-vdd-1v8-ao { compatible = "regulator-fixed"; regulator-name = "VDD_1V8_AO"; From patchwork Mon Aug 26 16:47:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dara Stotland X-Patchwork-Id: 1976929 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=Nvidia.com header.i=@Nvidia.com header.a=rsa-sha256 header.s=selector2 header.b=L/7+p9Hy; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2604:1380:4601:e00::3; helo=am.mirrors.kernel.org; envelope-from=linux-tegra+bounces-3471-incoming=patchwork.ozlabs.org@vger.kernel.org; receiver=patchwork.ozlabs.org) Received: from am.mirrors.kernel.org (am.mirrors.kernel.org [IPv6:2604:1380:4601:e00::3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WsxTD54htz1yZd for ; Tue, 27 Aug 2024 02:48:48 +1000 (AEST) Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 544631F225EC for ; Mon, 26 Aug 2024 16:48:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D46E8198832; Mon, 26 Aug 2024 16:48:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com header.b="L/7+p9Hy" X-Original-To: linux-tegra@vger.kernel.org Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2086.outbound.protection.outlook.com [40.107.94.86]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 264AA197558; Mon, 26 Aug 2024 16:48:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.94.86 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724690924; cv=fail; b=nnkmG/B2RgUGQ/2w2/l1EyRT2V0TUtgl+089GL1GU2COf3akb8ZU84mZOmGD7vHZWXwNbdEoSHuDDJJZMbgArWSJC61yK/HsXDIFks5m9d62q/sXANj7GVVZwwJOGw729GiReW0OXgeN4qJdp7efuY3e8IJGvJIkB1C6WSkEZj0= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724690924; c=relaxed/simple; bh=XARwROfGQxDezvMX8ZSWG/d+a9bBnsYD2ysg749T21w=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=SSEf2VROrEgi5u4/IwDHQ+khjaUmbXF9h2HKh6JEKXg8K+JO1R61A5oU+jWgeoh3b018X/f+46npHEUX61H40yFp2ZXXC5aGOQk6ZehXROabD8Yh4UgwBM0oc21mzw5WhnYvOKKv6hwpdeO7RsGZ2JYCUuEK/2x+oD8X6UhvZ5o= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=nvidia.com; spf=fail smtp.mailfrom=nvidia.com; dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com header.b=L/7+p9Hy; arc=fail smtp.client-ip=40.107.94.86 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=nvidia.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=nvidia.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=WIeHj6Y3wUdK1HkDbzVlYA/sv2Ck98xdHOva5tY8BAVH1aioCTcpVo1b9cK47QYPCejrPjKNDa+WwkIsOKOPCVbT1w8gfxdxQ9WroJpzCn7vfgeKcLB3xS0KEjZOiAZBk/aGlFsZ3AOHvhD0LhetySUVJm11d0pS6g4clsAYaRYMmlZ7SnpPMMjX9QnhPwC93Tc6Xgf0qPQ0xpOW6aGkM9mW64ZXTDeczJFxlqxkOvpaK9Pkq1zwpOoJQ1mJzSwpspNY0kJ/DsYgWdlpkwtA9US1BKisN9HDzlM3oa56gM8DINmsBmNShE206e2uh7Pk4DGYM/W6d7YkE6RaVcu3Yw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=KKuFkmmcMs1Ii7WZHkZrGyiiXq8ybrS59Nft7b/UMaI=; b=KUAMnMkXm1mxmhJwMDjZ1EVXk/I+nMYVXB3Cfhe+7qk+7MlrPqK4qvz1Uk2il+xDqAZt+wy4wlKMmapbzw3qA+wymmM5DZZqSGDbVCdPpFAexkRH+LO69zbSaD62ZJvlptTAA26zBEJNsMuSR9BFDtm5obLwsHhLhzpeX1mVY5Oo+nDmOtv+vj4QNj2g79aQsWdUw28AcjpZP3wWxOh0XJghsiP0VUB8lmA4oXLeLHLSD0qEi5/QIyNKOziU2EUTX/x9Gtv+yop7h+otQGtLe571aNDa/iUKa3K1a9eH/dNKf7HN9vtA/9XhWQ1i7yjlDdybu4BSkpYGhZuSF7vL6A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.118.232) smtp.rcpttodomain=kernel.org smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=KKuFkmmcMs1Ii7WZHkZrGyiiXq8ybrS59Nft7b/UMaI=; b=L/7+p9Hyw9O/+8/FqnBgWD8AKjvgFHXwWZflilrvJvcja7FEZ0blqjlw/0sdwaaCGGSAMHVpEPsvTcDXDZsJRGFxHDVNoK+h4uMFUh0UMSOD3uCVI/kwOe45DyxLO3LEgMovfIWqe7YKTY1s2t8dxZLUMcfJPYpG6OY48rcsKkT3lUT+Aa9CpsXrij4lvKOlSwwugYzxb/B2N+kKYOeeeXJtvD5H42iCuQzTPHwvpp5fJZagjgBQcLFGAE+dURl4/StyDrNQMIYhbKdbtQLBcMUsOY8q4dNzaNbhZPKGV7ypPSuguAg8FQ3NmxAaeZwrS69v0+kNhm0pgRCuNo8N6Q== Received: from SA0PR11CA0150.namprd11.prod.outlook.com (2603:10b6:806:131::35) by CH3PR12MB9282.namprd12.prod.outlook.com (2603:10b6:610:1cb::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7897.19; Mon, 26 Aug 2024 16:48:39 +0000 Received: from CY4PEPF0000EE38.namprd03.prod.outlook.com (2603:10b6:806:131:cafe::63) by SA0PR11CA0150.outlook.office365.com (2603:10b6:806:131::35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7897.25 via Frontend Transport; Mon, 26 Aug 2024 16:48:39 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.118.232) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.118.232 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.118.232; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.118.232) by CY4PEPF0000EE38.mail.protection.outlook.com (10.167.242.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.13 via Frontend Transport; Mon, 26 Aug 2024 16:48:39 +0000 Received: from drhqmail203.nvidia.com (10.126.190.182) by mail.nvidia.com (10.127.129.5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Mon, 26 Aug 2024 09:48:27 -0700 Received: from drhqmail201.nvidia.com (10.126.190.180) by drhqmail203.nvidia.com (10.126.190.182) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Mon, 26 Aug 2024 09:48:26 -0700 Received: from build-dstotland-20240703T000904114.nvidia.com (10.127.8.10) by mail.nvidia.com (10.126.190.180) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Mon, 26 Aug 2024 09:48:26 -0700 From: Dara Stotland To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thierry Reding , Jonathan Hunter , Brad Griffis , , CC: Dara Stotland Subject: [PATCH v2 7/7] arm64: tegra: Add thermal nodes to AGX Orin SKU8 Date: Mon, 26 Aug 2024 16:47:25 +0000 Message-ID: <20240826164725.775199-8-dstotland@nvidia.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20240826164725.775199-1-dstotland@nvidia.com> References: <20240826164725.775199-1-dstotland@nvidia.com> X-NVConfidentiality: public Precedence: bulk X-Mailing-List: linux-tegra@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-NV-OnPremToCloud: ExternallySecured X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY4PEPF0000EE38:EE_|CH3PR12MB9282:EE_ X-MS-Office365-Filtering-Correlation-Id: fe6bfd8b-db19-4fb1-13c9-08dcc5eeef90 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|36860700013|1800799024|376014|82310400026; X-Microsoft-Antispam-Message-Info: G/yV7nAdumQih759mvD21ovxhXioc21luYjH7cjXCfzi4X2L2rMhzs683l+aWQ5cOy4Jliyf6hWWViQMDa8Uxt06VI414Lhr4L3NI5FuN6Dx1eSLs65ls4IRVIkCnSOK1DyXeI4ZKH5+7H0uE3r3vXUaNrhv1FtXmGjqM7ThdefaTfccoCsHwnDLxXSzRJiuTK7RMoHr8xIxcJzXAZ6b6vc7yi9PIPHwAoyRU/6+gzZzd02R0o6+uUgDMJcq399Q5qP+4Ah7Nd3/RIptcf2Y5Dxg7XiX66v9kAfOzCyafg+7xNyv7dBa9kGrFGfrF9EgNuL8rFF69JVcAHeHs9lwuAnNZhBCzP/8pzTTfsip1r5Jmy51ot43IEsbSVrmBxazwyk/NmXaPJMP4MHAznc0bv3+DXqbkIwxIgEuJawry/XRkH9LzSxwWPZ7MU3brH5KLZhnrEcTem56yRvzDc7i+96K0ZrvMDmngKm5gZHRXyYbk9UyNxSPor0/HR7WXt8PUIY7M/eX3ma/HDwQIPeHpbmhrpdKbsutcLpgWmjgdlUUACJY0NDA5+e2Gj/Pqzf+eI4MbKy/gj6bFIBGu0vgjk0TjaKNleA4wlJCPJay2/yl1kHVVVutX91sjC30bayk1y7NwWTDqM4xGJAzmrPn5Sh04kitOOVy4VyI9UI//ASQJJPynIQSVvg7c3od5FLhtDkEW3Hrgpa9Bbtd2oMatJQ489pucLnqTFi5Ov/8DoZHsbIGhxLJSAOCDrqMIeIlkt1Nz8B5kxl7q3CWj8PPsc5/w0NgQhedUXKAz0L6rnaz80d21kc+P6NIOg1jMQIg7rnGgACHWPVbmaxgpD6tb9vcdI1nn68IGk1238SePtAp/I9TLdk9xdqYsB0Np/FAyVMoAufDwb8RpJ4BjOe6bcbfgS2A4uqRsiQjZxKX7nRUvjNIKMPwURqlEM91HMg68j6Ox3akr1cPXb/FjP1cGh6jtNZgJlIY4wKe8OaAFJ54DbiIZU7qsVTzeb26dOJPES3Pkp0+q4wl5myC92tFZ7KdQIBm9H2UV8xv8NzhuPSna8+h5mCZ3f5ddO95mHK6fCmnoZTyst+/RWbkkGz0rPXT4/QlR0vgjBH+BGJWSUy1lsmJzfEdBYlKSbbVTCfj3xM/kR4Le1XENnsHOpiMAazQ9poBU6fewNhCXwf5n/R/VGmZPJSoWVJzbBDOe8RZSN+efj8KKIIJCRsTbTvhTnbe/gp/qg25xfoAJdumlaZ027YtmpKBKDvQi3Ukyp9Bgb8vn8OuEDUrJiGjJncbRvDGgGTMBmOBH/5/WP5RSnHwXv0aYg/Kae4QIKQNLNSQvbRSuA7TUZuIvuDUjxYRsgHAnyB9ssEp+IXTtiPFj4UbnLKF9pQtexCmRqmdsemyg6fCj8dtA5G963/OOc1ENhNIDiOPqeuR09gVVKwGAQeJX27J2lFmTh2oW+GvNBYl X-Forefront-Antispam-Report: CIP:216.228.118.232;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:dc7edge1.nvidia.com;CAT:NONE;SFS:(13230040)(36860700013)(1800799024)(376014)(82310400026);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Aug 2024 16:48:39.1384 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: fe6bfd8b-db19-4fb1-13c9-08dcc5eeef90 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.118.232];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CY4PEPF0000EE38.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH3PR12MB9282 One of the key differences between p3701-0000 and p3701-0008 is the temperature range. Add this info for p3701-0008. Signed-off-by: Dara Stotland --- .../boot/dts/nvidia/tegra234-p3701-0008.dtsi | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/nvidia/tegra234-p3701-0008.dtsi b/arch/arm64/boot/dts/nvidia/tegra234-p3701-0008.dtsi index f0fa6a76149e..0809634e5732 100644 --- a/arch/arm64/boot/dts/nvidia/tegra234-p3701-0008.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra234-p3701-0008.dtsi @@ -4,4 +4,26 @@ / { compatible = "nvidia,p3701-0008", "nvidia,tegra234"; + + thermal-zones { + tj-thermal { + polling-delay = <1000>; + polling-delay-passive = <1000>; + status = "okay"; + + trips { + tj_trip_active0: active-0 { + temperature = <85000>; + hysteresis = <4000>; + type = "active"; + }; + + tj_trip_active1: active-1 { + temperature = <105000>; + hysteresis = <4000>; + type = "active"; + }; + }; + }; + }; };