Received: by 2002:a05:6358:51dd:b0:131:369:b2a3 with SMTP id 29csp498717rwl; Wed, 9 Aug 2023 18:56:32 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH1ggDkHxhe8i/oYfQEBs+YsEBBJJkr5DyYkB3iXpEk1EetrdrT4PA9TNvrKpiHf/9/Z60x X-Received: by 2002:a05:6358:905:b0:135:89d6:22e9 with SMTP id r5-20020a056358090500b0013589d622e9mr1330321rwi.13.1691632591935; Wed, 09 Aug 2023 18:56:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691632591; cv=none; d=google.com; s=arc-20160816; b=DNgktaVRDzyF//wSGGKk1r81I4JamW8uilHnCAI+C7kRZygcRCFupN3CZg5C+lZ6wB CWmS98tsShmvlJF0/AvzLmbEL2aneJuR6DjTL6KL1Cpt4QXe8FGPLZtdTDnzwGClRPKo GJuziaGHM1xOEdLWHRt6yQ5YQzGips//zz4NAI1DuqtximxzzwJAUHyv4N7Wt4CVXdSY 0vqAkFVdVcgWVSX2kJiGelfnZPpSF6qlVc1zn1yMziQbDxt006iv2ylw1PY3u5x5zoSf CU7qxKkI0UiPsxocO8oOal9EdbM8qnxovRn544my7Tz48O3diBnCg3JDOw/RQnB4r+JY uxig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=oTVblJQojCBthWPTBoXe3mwDjUsPHxw+WJ3OR9XGKjI=; fh=eTKEQKSE2ueRhENNwjAMhmLl+e4r4eZ4EMvyXFrFMhw=; b=aqHFg26Nkf+O1wR4StyWhX1Fg6uP9fa1SEo9Ciar9bJpvPH+WDNPFvGSWTqEbz2DxA ViWEXz+TQ6dXM05H8hfOLq1h9LchKmy53mkAEGQB3wwa0xnpihvpeLh2/oBA0mUI1F45 n0o/eJaaXu6Lho9QUCMKhYD94ssNxNRgF1gmJB1NJ2yIA/tZLS1maGYYAB1x+7NOqTA8 6SNLAuAcLpFmx/gT7K1GmGgOQqWlNvUqRpyqgnLJp9JY6+F0CigHIwAqFcBmdhKzdSy+ 65SBtnK7BcNthSYIcqSfxJUZ9frCZll1kL+DI9p+HofGeueSkvnm6dD2nK2sGXuVrwj5 c4DA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="VNa/QjA7"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l192-20020a6391c9000000b0055b79986063si500720pge.300.2023.08.09.18.56.20; Wed, 09 Aug 2023 18:56:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="VNa/QjA7"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232435AbjHJAiq (ORCPT + 99 others); Wed, 9 Aug 2023 20:38:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59290 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231584AbjHJAic (ORCPT ); Wed, 9 Aug 2023 20:38:32 -0400 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 143A11729; Wed, 9 Aug 2023 17:38:32 -0700 (PDT) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 37A0cPLB005333; Wed, 9 Aug 2023 19:38:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1691627905; bh=oTVblJQojCBthWPTBoXe3mwDjUsPHxw+WJ3OR9XGKjI=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=VNa/QjA7xje2NNh7zH6PUpAQ4KxIyR4Ke8iUDV4lqzdu7PL05Ayi+g6yjyyzW8RyE 2IJJYSEcZ6IXrI0o2MfxDGjCP83oBl6BXzWc+5/8IYoC9v7ElTYeBfoETLVtFgPxfs fP07Ii3J3sxSW6nGfjjT8dDJ4TpSjIkBDbcWGHkU= Received: from DFLE109.ent.ti.com (dfle109.ent.ti.com [10.64.6.30]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 37A0cPAj061517 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 9 Aug 2023 19:38:25 -0500 Received: from DFLE100.ent.ti.com (10.64.6.21) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Wed, 9 Aug 2023 19:38:24 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE100.ent.ti.com (10.64.6.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Wed, 9 Aug 2023 19:38:24 -0500 Received: from lelv0327.itg.ti.com (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 37A0cGFF014775; Wed, 9 Aug 2023 19:38:24 -0500 From: Andrew Davis To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Dhruva Gole CC: , , , Andrew Davis Subject: [PATCH v3 12/13] arm64: dts: ti: k3-am65: Enable TSCADC nodes at the board level Date: Wed, 9 Aug 2023 19:38:13 -0500 Message-ID: <20230810003814.85450-13-afd@ti.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230810003814.85450-1-afd@ti.com> References: <20230810003814.85450-1-afd@ti.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_PASS,SPF_PASS autolearn=ham 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-kernel@vger.kernel.org TSCADC nodes defined in the top-level AM65 SoC dtsi files are incomplete and may not be functional unless they are extended with pinmux and/or device information. Disable the TSCADC nodes in the top-level dtsi files and only enable the ones that are actually pinned out on a given board. Signed-off-by: Andrew Davis --- arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi | 5 +---- arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi | 2 ++ arch/arm64/boot/dts/ti/k3-am654-base-board.dts | 2 ++ 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi b/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi index 6041862d5aa75..ba1c14a54acf4 100644 --- a/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi @@ -582,11 +582,8 @@ &mcu_spi0 { ti,pindir-d0-out-d1-in; }; -&tscadc0 { - status = "disabled"; -}; - &tscadc1 { + status = "okay"; adc { ti,adc-channels = <0 1 2 3 4 5>; }; diff --git a/arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi b/arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi index 2c9c20a9d9179..4defde540fe0b 100644 --- a/arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi @@ -112,6 +112,7 @@ tscadc0: tscadc@40200000 { dmas = <&mcu_udmap 0x7100>, <&mcu_udmap 0x7101 >; dma-names = "fifo0", "fifo1"; + status = "disabled"; adc { #io-channel-cells = <1>; @@ -130,6 +131,7 @@ tscadc1: tscadc@40210000 { dmas = <&mcu_udmap 0x7102>, <&mcu_udmap 0x7103>; dma-names = "fifo0", "fifo1"; + status = "disabled"; adc { #io-channel-cells = <1>; diff --git a/arch/arm64/boot/dts/ti/k3-am654-base-board.dts b/arch/arm64/boot/dts/ti/k3-am654-base-board.dts index aac243bacfeea..f5c26e9fba987 100644 --- a/arch/arm64/boot/dts/ti/k3-am654-base-board.dts +++ b/arch/arm64/boot/dts/ti/k3-am654-base-board.dts @@ -478,12 +478,14 @@ &usb0_phy { }; &tscadc0 { + status = "okay"; adc { ti,adc-channels = <0 1 2 3 4 5 6 7>; }; }; &tscadc1 { + status = "okay"; adc { ti,adc-channels = <0 1 2 3 4 5 6 7>; }; -- 2.39.2