From patchwork Mon Jan 16 12:06:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jon Hunter X-Patchwork-Id: 1727012 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2620:137:e000::1:20; helo=out1.vger.email; envelope-from=linux-tegra-owner@vger.kernel.org; receiver=) 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=YomcbvSX; dkim-atps=neutral Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by legolas.ozlabs.org (Postfix) with ESMTP id 4NwW3b44fRz23fp for ; Mon, 16 Jan 2023 23:07:07 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229897AbjAPMHE (ORCPT ); Mon, 16 Jan 2023 07:07:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45666 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229939AbjAPMG7 (ORCPT ); Mon, 16 Jan 2023 07:06:59 -0500 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2057.outbound.protection.outlook.com [40.107.237.57]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 11AD51CF50; Mon, 16 Jan 2023 04:06:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZRAgy+3NFscPfq8wt1t1lo/7DMtmuxAvGZoN2vZ0AsTrHCefWcrWEgfLKhvidkG4ENqzSpjjtP7moorcsypgYAeOpn6g3YBj9YFiuihfwsfsvBcey0uYwRRzsrK4LaZeRKwnAWBSuRDIHzDTWFPacGna4yEjTrR+i9f+hMiE23FbdFJAvPtiJ8WAgwUEKQQXwSmoYsBFJdWD3xpll1FT77zYFo+9arBZF1+t2IV5hiUMnr1yS9LFdFxmSqJV8E6Ca7kif/dmS1TBMVoJ0V1oOdOZ8n0lk3NZtNUAvuc036zqSlmsAmnDD5qWFofwE2LiA+A0eRIFnGTBbJROd/cTTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=helx0JJTC1swHe0QmgMO2Z6GFjlnyQI9ELJVcuo/v5I=; b=VaccIJaxsobBwO0RqSxIEJ/4JLrzn2MrL5ZMMkkrki/payP3/N4sR4uc4y3NGbTjsQzKq0EIuKIxTSrFrDy9B9yMTmHMCJeynvNY4S/UV6Okwr1mFIkgc6v2X40Q/eov2ZpY1fJ+D1yaLGd+I5Or1qpp0kwUnflj68SITxS/DzuJR+8yKOAmyG4ywhutk0j9y/HmIl0PF9HL7ENUCiJ5uYy18BmLnynPCkyLoKHOhyptYiXgf+cKmJImPTXecfOFyOwjFmb0/8I1YrxEHJ9SXUg8y8VKbxCTcVOc2DkLZNw2QKR4IqIibwog3abEfP1s9dtpBYnDxHPFA27O7L2oDg== 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 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=helx0JJTC1swHe0QmgMO2Z6GFjlnyQI9ELJVcuo/v5I=; b=YomcbvSXl/+iTQWnDf0v3fcqTYxl8wf6OpSlugFjPawTgnSxLDB1FrgIHr3NPIroj7d5HXL0RHomilA1IPCt6OPWBaaiKBzjlWpbT8gG60/BRKN73adV/0vJW35hn7gv9OKfvCjnpWlWrnhXjsRe8C3Gc16Tst4w0nA7L/mzWXJCWcLaKsxFlS2muAYsHjhLX806a3HsbzhG+8zkXLf+8mwNYQyVFzT6zLO9HQDmPnx6CHHnJvIUNYAyoC5it4m80CIg1YPpyAtTC/AUcwjkEY10AJiCwvqowOOwhGw14IxMqEdhLiZW3ociiU5WVtf17RH7sHeOMQbpPmCWTeo/GA== Received: from BN9PR03CA0277.namprd03.prod.outlook.com (2603:10b6:408:f5::12) by PH7PR12MB6836.namprd12.prod.outlook.com (2603:10b6:510:1b6::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5986.19; Mon, 16 Jan 2023 12:06:56 +0000 Received: from BN8NAM11FT047.eop-nam11.prod.protection.outlook.com (2603:10b6:408:f5:cafe::c3) by BN9PR03CA0277.outlook.office365.com (2603:10b6:408:f5::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.19 via Frontend Transport; Mon, 16 Jan 2023 12:06:56 +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 BN8NAM11FT047.mail.protection.outlook.com (10.13.177.220) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.13 via Frontend Transport; Mon, 16 Jan 2023 12:06:56 +0000 Received: from drhqmail203.nvidia.com (10.126.190.182) 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.986.36; Mon, 16 Jan 2023 04:06:50 -0800 Received: from drhqmail202.nvidia.com (10.126.190.181) 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.986.36; Mon, 16 Jan 2023 04:06:49 -0800 Received: from moonraker.nvidia.com (10.127.8.14) by mail.nvidia.com (10.126.190.181) with Microsoft SMTP Server id 15.2.986.36 via Frontend Transport; Mon, 16 Jan 2023 04:06:48 -0800 From: Jon Hunter To: Rob Herring , Krzysztof Kozlowski , Thierry Reding CC: , , Jon Hunter Subject: [PATCH V2 1/2] arm64: tegra: Populate address/size cells for Tegra234 I2C Date: Mon, 16 Jan 2023 12:06:25 +0000 Message-ID: <20230116120626.55942-1-jonathanh@nvidia.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-NVConfidentiality: public X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN8NAM11FT047:EE_|PH7PR12MB6836:EE_ X-MS-Office365-Filtering-Correlation-Id: a53ce23a-2df5-423a-d17f-08daf7ba29b3 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 7RhbMlaAJEai/Z98oZXXcL2hMgBDuH9A9kJYhrKXC0RTBH6lq3hryHcjNNGdh0OMXb4eV7J0yDam4GShsPfvkf3QW3NxFJrjptWVyXlgu1x+W3XwESjBOhi+VMZib72dM1MS06hYvU0Z9emWsjM1WmUzpWdZ1PNHp6D+Z2IMuTUJoDR0edFxAvmY5cB/y2kTea59LMbCMplR1cvvns44WXT1+B9SjsfFDK1Kx4mj4WYgA2/U5LiFFlZTornHWwzQTJEGIctbUK+4XnYgTZPimO0bhY+jkaWsxY1NdLnHCFxuR60uTl7WQD4K0rBmwRStuIXEJzXfLM2X90CDQ1FeRBJ7dbNGJNmlgT7AMxxrxKLNSYYyoIElmovzDm4SXHU+umCK9LRchZasK1lWHmXTWNCLIOw8GJrCsKOqD1GQPzwR3lGnidL452SmnaIbxmFvFrNJhxNejKbZ3BkX8rECNBijBa+kASxbjlrQTDeejI2HdBD7nsrPfiUonyS71TNkL5qPoX0ZXIexm1KFfNODAS5v6BujjuEL1SaIsWUKTCQNz0D0SsPVAXkpSwGxKWDRPHThiYsZmFtlcWYFFOYzrcFqJZBUEXDHOnmeMkuE94e7scUFVps0Zz4fHjRkj2yW3RprokO20YkWjERyBOHQ8R8ZwpHUvVi/6F7/pmgAi2zPwxKb0K7TYAr1QKXg1gh1g42mS0UFAOwDugwkAMpK3g== 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:(13230022)(4636009)(39860400002)(376002)(396003)(136003)(346002)(451199015)(36840700001)(46966006)(40470700004)(5660300002)(8936002)(54906003)(41300700001)(70586007)(70206006)(110136005)(8676002)(316002)(2906002)(4326008)(7696005)(7636003)(356005)(478600001)(82740400003)(107886003)(82310400005)(26005)(36756003)(186003)(6666004)(47076005)(1076003)(36860700001)(336012)(426003)(40480700001)(40460700003)(2616005)(86362001)(83380400001);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Jan 2023 12:06:56.0099 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a53ce23a-2df5-423a-d17f-08daf7ba29b3 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: BN8NAM11FT047.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR12MB6836 X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_NONE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org Populate the address and size cells properties for the I2C devices on Tegra234. Signed-off-by: Jon Hunter --- Changes V1->V2: Added address/size cells for i2c@c240000 arch/arm64/boot/dts/nvidia/tegra234.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/nvidia/tegra234.dtsi b/arch/arm64/boot/dts/nvidia/tegra234.dtsi index d71b0b5b931c..242bf59711f8 100644 --- a/arch/arm64/boot/dts/nvidia/tegra234.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra234.dtsi @@ -785,6 +785,8 @@ gen1_i2c: i2c@3160000 { reg = <0x3160000 0x100>; status = "disabled"; interrupts = ; + #address-cells = <1>; + #size-cells = <0>; clock-frequency = <400000>; clocks = <&bpmp TEGRA234_CLK_I2C1 &bpmp TEGRA234_CLK_PLLP_OUT0>; @@ -803,6 +805,8 @@ cam_i2c: i2c@3180000 { compatible = "nvidia,tegra194-i2c"; reg = <0x3180000 0x100>; interrupts = ; + #address-cells = <1>; + #size-cells = <0>; status = "disabled"; clock-frequency = <400000>; clocks = <&bpmp TEGRA234_CLK_I2C3 @@ -822,6 +826,8 @@ dp_aux_ch1_i2c: i2c@3190000 { compatible = "nvidia,tegra194-i2c"; reg = <0x3190000 0x100>; interrupts = ; + #address-cells = <1>; + #size-cells = <0>; status = "disabled"; clock-frequency = <100000>; clocks = <&bpmp TEGRA234_CLK_I2C4 @@ -841,6 +847,8 @@ dp_aux_ch0_i2c: i2c@31b0000 { compatible = "nvidia,tegra194-i2c"; reg = <0x31b0000 0x100>; interrupts = ; + #address-cells = <1>; + #size-cells = <0>; status = "disabled"; clock-frequency = <100000>; clocks = <&bpmp TEGRA234_CLK_I2C6 @@ -860,6 +868,8 @@ dp_aux_ch2_i2c: i2c@31c0000 { compatible = "nvidia,tegra194-i2c"; reg = <0x31c0000 0x100>; interrupts = ; + #address-cells = <1>; + #size-cells = <0>; status = "disabled"; clock-frequency = <100000>; clocks = <&bpmp TEGRA234_CLK_I2C7 @@ -886,6 +896,8 @@ dp_aux_ch3_i2c: i2c@31e0000 { compatible = "nvidia,tegra194-i2c"; reg = <0x31e0000 0x100>; interrupts = ; + #address-cells = <1>; + #size-cells = <0>; status = "disabled"; clock-frequency = <100000>; clocks = <&bpmp TEGRA234_CLK_I2C9 @@ -1872,6 +1884,8 @@ gen2_i2c: i2c@c240000 { compatible = "nvidia,tegra194-i2c"; reg = <0xc240000 0x100>; interrupts = ; + #address-cells = <1>; + #size-cells = <0>; status = "disabled"; clock-frequency = <100000>; clocks = <&bpmp TEGRA234_CLK_I2C2 @@ -1891,6 +1905,8 @@ gen8_i2c: i2c@c250000 { compatible = "nvidia,tegra194-i2c"; reg = <0xc250000 0x100>; interrupts = ; + #address-cells = <1>; + #size-cells = <0>; status = "disabled"; clock-frequency = <400000>; clocks = <&bpmp TEGRA234_CLK_I2C8 From patchwork Mon Jan 16 12:06:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jon Hunter X-Patchwork-Id: 1727013 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2620:137:e000::1:20; helo=out1.vger.email; envelope-from=linux-tegra-owner@vger.kernel.org; receiver=) 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=HcbYHJzz; dkim-atps=neutral Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by legolas.ozlabs.org (Postfix) with ESMTP id 4NwW3k1KlPz23fp for ; Mon, 16 Jan 2023 23:07:14 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230212AbjAPMHM (ORCPT ); Mon, 16 Jan 2023 07:07:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45792 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229659AbjAPMHH (ORCPT ); Mon, 16 Jan 2023 07:07:07 -0500 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2047.outbound.protection.outlook.com [40.107.92.47]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7F3DE1CAF7; Mon, 16 Jan 2023 04:07:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Zvb2pbfmlJklh6lvMG0Niy4ekdzToRAFM2wIb4BIU+WKAHxtQvEgtU0qtsUJlmJVwhkbxi2OHkKBFr7bUosvtnG6/IUMSjI5iwNXHG38JyzlWhRY5oKnXcBBj3XPAzP+4W7JlFQNJPp6FX3+CtMGc9U+SKnleZnrVniwqB0Jn56hhDGRLQrA9uIf2kHS63DypJGEUTqr7fRv4NpK5b6g3VKRxU9irEasI4KydxU86oHSnLVpXvbGrlQ7hN1utMBlLs2FeBpzf96VRVL6gDXq3QVZvHGmWdOBKt0i3Zoi5QW3lR3xPSbVdiy8vEMqzmdg7wbKf+9hylwVpyMEyiYHOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=623EM0E9ifBkO6OqAapRYgC/l7D3K0yVEy+I6mV5Cgk=; b=L1LGKTyUteY+Xgp2NBQKMtVaB+C0kZq00qNC7JjfUu+4mfhIeIZcHSeiPJb2vlvb2K1UxloPUcpLrWY14C4t+Lvo+76CXGZWmwwRpSYrL9JOTKZ3VKwrP7YGaT/3sePz0UJQ+RAznQgnzFIYGcjOnmAopUUqwcS2pdhKasdZ5N/lENWqMc93NITexGV5Q58MFqamCdqVkfimd0n1lJY/PAmkwsCyjH9NI4dKKoywUJ0MF2/0ANQ3UlKpd3dG5qoQY60e++hg+LyCqR3o+NAx3GWdYXfZUkzU1HElDTVyU92FnURyDs3derIvMyFjRGseLBx9BdUba2buAV9Wb3xTUw== 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 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=623EM0E9ifBkO6OqAapRYgC/l7D3K0yVEy+I6mV5Cgk=; b=HcbYHJzzxgQ0QMmg/H8ZJCSopx2Z+dC66BYp8jYkRMgD3qPj9CBu1pMdeV5nRMsNJQdToaodpCvYcLShSZf9bW86ohOMM+zcUbZGTMeeQHUXvBnMfrQArEI1PozUNxFPLYaYu7qrlg0xAxwwQuWLJpiTtkSNrVQNXmjaDe0YusMfbR34IPWHSG1JTrICsL2vZT6bvll2H62y3YXbC4fHDK+uwVHEB/MV+YB07GMEA0LXuqfHpqp0i/+L4/8aXAaCxOSe00SMLVJ5i9a0QLsogY+/g+w8oa9jiIsuKTmtFob5q+m1ej8NvYBcOio+5cuptCDVqZb2crrFAFMjETIBow== Received: from DS7PR05CA0104.namprd05.prod.outlook.com (2603:10b6:8:56::16) by SJ1PR12MB6265.namprd12.prod.outlook.com (2603:10b6:a03:458::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.13; Mon, 16 Jan 2023 12:07:04 +0000 Received: from DM6NAM11FT064.eop-nam11.prod.protection.outlook.com (2603:10b6:8:56:cafe::41) by DS7PR05CA0104.outlook.office365.com (2603:10b6:8:56::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6023.12 via Frontend Transport; Mon, 16 Jan 2023 12:07:04 +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 DM6NAM11FT064.mail.protection.outlook.com (10.13.172.234) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.13 via Frontend Transport; Mon, 16 Jan 2023 12:07:03 +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.986.36; Mon, 16 Jan 2023 04:06:52 -0800 Received: from drhqmail202.nvidia.com (10.126.190.181) 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.986.36; Mon, 16 Jan 2023 04:06:51 -0800 Received: from moonraker.nvidia.com (10.127.8.14) by mail.nvidia.com (10.126.190.181) with Microsoft SMTP Server id 15.2.986.36 via Frontend Transport; Mon, 16 Jan 2023 04:06:50 -0800 From: Jon Hunter To: Rob Herring , Krzysztof Kozlowski , Thierry Reding CC: , , Jon Hunter Subject: [PATCH V2 2/2] arm64: tegra: Populate Jetson AGX Orin EEPROMs Date: Mon, 16 Jan 2023 12:06:26 +0000 Message-ID: <20230116120626.55942-2-jonathanh@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230116120626.55942-1-jonathanh@nvidia.com> References: <20230116120626.55942-1-jonathanh@nvidia.com> MIME-Version: 1.0 X-NVConfidentiality: public X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6NAM11FT064:EE_|SJ1PR12MB6265:EE_ X-MS-Office365-Filtering-Correlation-Id: bce2c36e-9921-4068-d63a-08daf7ba2e63 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: uMsW705DEfBStKU4YiFTj9M0TYE6yRS1nbs+8n6C8KYAGc5EYOtK4ur3Kem4hZx+qDxkU/8dP2LAaspBJ31Sj+uOXu2IlDgBhITGLmlZONIM712YeErTVErNHD2HXZFe5P+AvyoQ1p9WCE4zMI8Frr9XGEXk6aJxffpIoOsbYZbDVU6+V02xSlfOH/8i3X5ablcDlpX0Kq2S+lB1l6dbC84t8QtyrGvsNjNVvuf31akjCv63PZuZwbCKpKQBrsHJQh2fwD+eaFMoMXjAoEuemSz0gCtK48NMZUJk+BRp7ocgeZQ1Xz0lR9n8lsOgHAs60HBDu29Y6awMn6hcan+WfVYWxGmwjC1lh/U/urjaP7HRGkPh3jpgrLjl10u7cxGGtUwBxaPRQinnovj9r8KyjIQdLTUaFUPDtaDLXpb/DQFg3+cqEi0YAK7Hqatz9DUQJzfoJAEWnQpxwHPzLKDZ2AhslJJyr0d41wy8FnuIM79w7l0D3os/c6yinnyIic8HuL9Mi/ovkMffOHOPZytc6unxHojb+lxvtSTASCuzodcnAPXjej4nZkrFvCT/hodym0G4RuDBvupTMM+vSXbX/5fEEZUHnrt1lzph/C4XSMxIODrwwkAv+dkD4F/3BuQTW/ZHIYAFFmCvsmdkjl4DhjjyBYdmmOh0ynP2bOAS5cIzJR1eFc4kMin86IkTeE6LKxWeWKItIgyY6De1eZJXGg== 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:(13230022)(4636009)(376002)(39860400002)(346002)(136003)(396003)(451199015)(46966006)(40470700004)(36840700001)(478600001)(4326008)(426003)(7636003)(82740400003)(356005)(47076005)(41300700001)(86362001)(40460700003)(110136005)(54906003)(316002)(2616005)(26005)(1076003)(336012)(7696005)(70206006)(70586007)(82310400005)(40480700001)(186003)(8676002)(107886003)(6666004)(36860700001)(2906002)(5660300002)(36756003)(8936002);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Jan 2023 12:07:03.9056 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: bce2c36e-9921-4068-d63a-08daf7ba2e63 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: DM6NAM11FT064.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ1PR12MB6265 X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_NONE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org Populate the module and system EEPROMs on the Jetson AGX Orin platform. Signed-off-by: Jon Hunter --- Changes V1->V2: None .../boot/dts/nvidia/tegra234-p3701-0000.dtsi | 24 +++++++++++++++++++ .../boot/dts/nvidia/tegra234-p3737-0000.dtsi | 24 +++++++++++++++++++ 2 files changed, 48 insertions(+) diff --git a/arch/arm64/boot/dts/nvidia/tegra234-p3701-0000.dtsi b/arch/arm64/boot/dts/nvidia/tegra234-p3701-0000.dtsi index 4fae2547e90e..ee8bc57e4ebe 100644 --- a/arch/arm64/boot/dts/nvidia/tegra234-p3701-0000.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra234-p3701-0000.dtsi @@ -6,6 +6,14 @@ / { model = "NVIDIA Jetson AGX Orin"; compatible = "nvidia,p3701-0000", "nvidia,tegra234"; + 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"; @@ -42,6 +50,22 @@ vdd_12v_pcie: regulator-vdd-12v-pcie { }; 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"; diff --git a/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000.dtsi b/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000.dtsi index e76894574d32..dc6667191bd2 100644 --- a/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000.dtsi @@ -3,7 +3,31 @@ / { compatible = "nvidia,p3737-0000"; + 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; + }; + bus@0 { + 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; + }; + }; + pwm@3280000 { status = "okay"; };