Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp129672rwi; Tue, 18 Oct 2022 15:13:34 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4DPDm2t+B/l8oOVGXFDdnrW2sgsw0ZbozVced0vvxUJ8DeJfZ4QvFqVjXslN8cHhUthu3R X-Received: by 2002:a17:902:cec8:b0:185:505b:95da with SMTP id d8-20020a170902cec800b00185505b95damr5138540plg.83.1666131214278; Tue, 18 Oct 2022 15:13:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666131214; cv=none; d=google.com; s=arc-20160816; b=DndgOYIVhitF+wFVHDmPz4+KY2TzFKIuui8wH8ENcuZjMMwpoNBrqVW44QkyrDJQm8 +R10cXILgKE+Mee3PuPF2aTd4w5sTXmQLkcj7zh9TxhRabnZ0p0ZplTmncCvagYLhi7Z Up3/IU0a1IXW0PeXHl+zuryY7963UMwR/M4Fq4dW5hPEHOE1j/aHEAE4QOryKPO0jXPF 0IeXIZJ3yoWt+cGAm0nore8CQDr2I30FXCNq0+ROpm87fiDWL1SZQqNEKBYG6mAKXHEi IWCzdbPM5Cpy8YIMdZVi4+Mo7niTPC3nQNIXrggyorB5DWH3Blj6vniANYfwrAAtDKDa 0KJw== 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=4kIUPegi/LXZoitvNCVavpaLE5WUQTmItgHAcedGvS8=; b=Cm6lGnMkyFjjv0NauRdrSCIQNlWiQEotNCZmlDEyszTZYcwJe1yEz+T35+imvrCRl7 3UtNpwd6bS7BfXdUQYgMmxSd4AOavfuBPxr/7Ld8Bsbz6ATBfmoh2T7GTJVq7bpxCEAi SO7d3ls7v1JTbJJciPiO2wNy99ugxiYOJYk+wXNTI7YwF2w/zINaW29WViHVocSkBd5E pkiTVwx1QN19mUhl/fiFsK9/cCPuzTNcSZMshKIqaBcG0AFI2X1qmEsj0jn+VrBRN08j sMFEzg/wRPnLBBmiO0lGMA2D8vLl28kBvzy3lYCo+3YcfRuzWt4Rpge0nDvA2dj7NmLk /E6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=GoHaZi8h; 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 fh7-20020a17090b034700b0020b22ffcbabsi14541377pjb.179.2022.10.18.15.13.21; Tue, 18 Oct 2022 15:13:34 -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=GoHaZi8h; 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 S230274AbiJRVQT (ORCPT + 99 others); Tue, 18 Oct 2022 17:16:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46294 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230309AbiJRVPx (ORCPT ); Tue, 18 Oct 2022 17:15:53 -0400 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 34A569DD8B; Tue, 18 Oct 2022 14:15:52 -0700 (PDT) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 29ILFdFA098748; Tue, 18 Oct 2022 16:15:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1666127739; bh=4kIUPegi/LXZoitvNCVavpaLE5WUQTmItgHAcedGvS8=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=GoHaZi8hj1wmPdSoByG2ccXRtr1Yj5QVRvwgpKNgfPynom6CTOzuxJ19zUfBEw8Mo CpBGACYXNCqOQY+NYvSbmMhTUxIJ/bZJbjvuf1FZgWZrUwe0HQS1Iti7TE0oRm4Im3 nmTUgzJLRUrM/tTdV5ENtE2HYWrpH4CaT2Sj/sjw= Received: from DLEE112.ent.ti.com (dlee112.ent.ti.com [157.170.170.23]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 29ILFdGP014158 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 18 Oct 2022 16:15:39 -0500 Received: from DLEE109.ent.ti.com (157.170.170.41) by DLEE112.ent.ti.com (157.170.170.23) 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:39 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE109.ent.ti.com (157.170.170.41) 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:39 -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 29ILFXoJ014456; Tue, 18 Oct 2022 16:15:38 -0500 From: Andrew Davis To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Bryan Brattlof , , , CC: Andrew Davis Subject: [PATCH 09/10] arm64: dts: ti: k3-am62: Enable SDHCI nodes at the board level Date: Tue, 18 Oct 2022 16:15:32 -0500 Message-ID: <20221018211533.21335-10-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 SDHCI nodes defined in the top-level AM62x SoC dtsi files are incomplete and will not be functional unless they are extended with pinmux information. As the pinmux is only known at the board integration level, these nodes should only be enabled when provided with this information. Disable the SDHCI 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 | 2 ++ 2 files changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi index 43eebff429ab..5a2cd474a761 100644 --- a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi @@ -407,6 +407,7 @@ sdhci0: mmc@fa10000 { ti,otap-del-sel-mmc-hs = <0x0>; ti,otap-del-sel-ddr52 = <0x9>; ti,otap-del-sel-hs200 = <0x6>; + status = "disabled"; }; sdhci1: mmc@fa00000 { @@ -430,6 +431,7 @@ sdhci1: mmc@fa00000 { ti,itap-del-sel-sdr25 = <0x0>; ti,clkbuf-sel = <0x7>; bus-width = <4>; + status = "disabled"; }; sdhci2: mmc@fa20000 { @@ -452,6 +454,7 @@ sdhci2: mmc@fa20000 { ti,itap-del-sel-sdr12 = <0x0>; ti,itap-del-sel-sdr25 = <0x0>; ti,clkbuf-sel = <0x7>; + status = "disabled"; }; fss: bus@fc00000 { diff --git a/arch/arm64/boot/dts/ti/k3-am625-sk.dts b/arch/arm64/boot/dts/ti/k3-am625-sk.dts index b6d53366ec50..3c98b639b0b2 100644 --- a/arch/arm64/boot/dts/ti/k3-am625-sk.dts +++ b/arch/arm64/boot/dts/ti/k3-am625-sk.dts @@ -335,6 +335,7 @@ exp1: gpio@22 { }; &sdhci0 { + status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&main_mmc0_pins_default>; ti,driver-strength-ohm = <50>; @@ -343,6 +344,7 @@ &sdhci0 { &sdhci1 { /* SD/MMC */ + status = "okay"; vmmc-supply = <&vdd_mmc1>; vqmmc-supply = <&vdd_sd_dv>; pinctrl-names = "default"; -- 2.37.3