Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp117362rwi; Tue, 18 Oct 2022 15:03:45 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4XXZTA5VfM2vWZeUq8f2+puE+7u+EIvN/zaQ1MYEESGTTI/GgjjHYdlaIiReDUAtW248Xv X-Received: by 2002:a17:907:9611:b0:78d:bb06:90a3 with SMTP id gb17-20020a170907961100b0078dbb0690a3mr4167558ejc.233.1666130624860; Tue, 18 Oct 2022 15:03:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666130624; cv=none; d=google.com; s=arc-20160816; b=UvX/oUPFaQs/QVVMOpkZfNX6vigFIO9Knf9grcoCFEAVh5hWoVEV+RLiak7/yuSTzP aUcVbsWOh2PLiWWXAEzniUKZUs15SCzsk/aNwKY0Fn6NdN/aj6pU8FGlD5j6RTZdZ6Fy iV8su5CMc1AEeS3mJ0he5h8S3G5uql+5BvN+Cqy9w5F/qncvU8MCnE/hMtBXRqyYXNcb tS/+/Z5wdiL3KzpGITZX4YN3zH+IGjMhubLlOfCfjC2LwEZxAE/VT02PfDwgJYXhgVEC Z+4ywXOx7TR2f2IGR9/eCFNTpx2v4F0fQPnluwK61lCYlXrOWMi2i64jpiHfP8oNQhvT 2/uw== 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=0hUB0nOzolNzgGjxTg0wUcFoLZfW21uga6DGB8i0hco=; b=Gfiorbas7AyvGaF78S3tBWz2AOCY6p2C2gWYtEfyoMvUUD8gsJsC2DKFo0a/DySigT k5ejQxBCnsAACyZjuZnsCHR3nkKBC1ohHtpVTMzWz/BgAvMI0dG/uc+zk9OT+KfVjMQx Hp+HPC9CGJ7psK8wYRZ1UQSYR/5tljG5dYX601H9166ltFY5BgzTsG++aiJaMzH+qRCP msusvlEgZlRZN6SroA3nYCyMsUA6VbKhcFOndafhp0Q9ARcQ5S/oMRUm/A6faPJjWUoO dYFhk/evJ+v3a1bTEKQVAcdqQF/s9uz22t29k0Q4FHf+nbLUuWopAVLas02+DkY08/wN 1c9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=UpA2dpES; 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 q2-20020a056402040200b004571a669230si10434527edv.469.2022.10.18.15.03.06; Tue, 18 Oct 2022 15:03:44 -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=UpA2dpES; 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 S230323AbiJRVP6 (ORCPT + 99 others); Tue, 18 Oct 2022 17:15:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46022 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230268AbiJRVPu (ORCPT ); Tue, 18 Oct 2022 17:15:50 -0400 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1FD349187D; Tue, 18 Oct 2022 14:15:47 -0700 (PDT) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 29ILFbSm108211; Tue, 18 Oct 2022 16:15:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1666127737; bh=0hUB0nOzolNzgGjxTg0wUcFoLZfW21uga6DGB8i0hco=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=UpA2dpESHGg+ts44ZgEHA39pHYlkWLcOT2Po1rm1sJkjTJRmKwVjZAXCexfwUC9KA qtR1cJOxKhgxwfFBI5k91smqPt1EM/hlNiHLHUrXI5Oiu2L3f9J8bbpCtr0wdMvgBA bKpC6dgSJfdfHOU6MLXiAwWuezKz9ffyvwrzG56M= Received: from DFLE114.ent.ti.com (dfle114.ent.ti.com [10.64.6.35]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 29ILFbnC005831 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 18 Oct 2022 16:15:37 -0500 Received: from DFLE113.ent.ti.com (10.64.6.34) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.6; Tue, 18 Oct 2022 16:15:37 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE113.ent.ti.com (10.64.6.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.6 via Frontend Transport; Tue, 18 Oct 2022 16:15:37 -0500 Received: from ula0226330.dal.design.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 29ILFXoF014456; Tue, 18 Oct 2022 16:15:36 -0500 From: Andrew Davis To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Bryan Brattlof , , , CC: Andrew Davis Subject: [PATCH 05/10] arm64: dts: ti: k3-am62: Enable ECAP nodes at the board level Date: Tue, 18 Oct 2022 16:15:28 -0500 Message-ID: <20221018211533.21335-6-afd@ti.com> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20221018211533.21335-1-afd@ti.com> References: <20221018211533.21335-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=-4.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,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 ECAP nodes defined in the top-level AM62x SoC dtsi files are incomplete and will not be functional unless they are extended with pinmux information. (These and the EPWM nodes could be used to trigger internal actions but they are not used like that currently) As the pinmux is only known at the board integration level, these nodes should only be enabled when provided with this information. Disable the ECAP nodes in the 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-am62-main.dtsi | 3 +++ arch/arm64/boot/dts/ti/k3-am625-sk.dts | 12 ------------ 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi index a0d24faa6833..a580867e68b2 100644 --- a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi @@ -571,6 +571,7 @@ ecap0: pwm@23100000 { power-domains = <&k3_pds 51 TI_SCI_PD_EXCLUSIVE>; clocks = <&k3_clks 51 0>; clock-names = "fck"; + status = "disabled"; }; ecap1: pwm@23110000 { @@ -580,6 +581,7 @@ ecap1: pwm@23110000 { power-domains = <&k3_pds 52 TI_SCI_PD_EXCLUSIVE>; clocks = <&k3_clks 52 0>; clock-names = "fck"; + status = "disabled"; }; ecap2: pwm@23120000 { @@ -589,6 +591,7 @@ ecap2: pwm@23120000 { power-domains = <&k3_pds 53 TI_SCI_PD_EXCLUSIVE>; clocks = <&k3_clks 53 0>; clock-names = "fck"; + status = "disabled"; }; main_mcan0: can@20701000 { diff --git a/arch/arm64/boot/dts/ti/k3-am625-sk.dts b/arch/arm64/boot/dts/ti/k3-am625-sk.dts index 4086d61807ab..197d329a6082 100644 --- a/arch/arm64/boot/dts/ti/k3-am625-sk.dts +++ b/arch/arm64/boot/dts/ti/k3-am625-sk.dts @@ -450,18 +450,6 @@ partition@3fc0000 { }; }; -&ecap0 { - status = "disabled"; -}; - -&ecap1 { - status = "disabled"; -}; - -&ecap2 { - status = "disabled"; -}; - &main_mcan0 { status = "disabled"; }; -- 2.37.3