From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D7BCDEB64DD for ; Mon, 7 Aug 2023 06:17:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:From:References:CC:To:Subject: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=w49riDwmbI3eNNryO9o5PDrNQF+whHd3x4dNO7P6+cc=; b=bM0lFP3dEMAdFD pM/X5kmk7vBjkhbTrG/hjIGKrVgbG8wR0eioAwN+SdTuHJisFzNfhdfohcSicnS63CjOhqh1h3Lbe ScN5PGGm8SpPpEKWEgI6coWwVBmGzlIhFhvEm2NQvSBjF/0ls7wKxa8a3lm7OD2VjVPuICe5godYp ryH5vbVD9BKoaYPI2IMDSYX3Urvixk7WaejOQL0r9NZgrlEMAJFc3Iyu+9qabDCPrt8AwQwvXn7G9 3edmceQDTuory3+hIjPDb3lMm0EzvltoE+MPM17KdKLC2ANQD2Y1EnEU2J29U1K1cx/7KKWqKNu8J +YB5NLRMlSlKX0phrl8w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qStYA-00GFl6-2s; Mon, 07 Aug 2023 06:17:06 +0000 Received: from fllv0015.ext.ti.com ([198.47.19.141]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qStY8-00GFkB-0h for linux-arm-kernel@lists.infradead.org; Mon, 07 Aug 2023 06:17:05 +0000 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3776Gx4F059873; Mon, 7 Aug 2023 01:16:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1691389019; bh=oG8X3ad8rmvOIWctLGiDzBRZ5BDbNlSLIHd97eM+bws=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=AxjaLlgv3lAXkg20LRxenxN09Y+XLjjwUGeo0JFdlBE/EaPDCDMLU2jZNjo0+nJUY vus45xAhB5kjB9g6kusUBjcEo7GeayeQBv5z7sWFu2wjSWEdcEyNe5tTxOpmPF8IoI SeTBKplEy9eTjc1HxR7lPk49iG0en8x7ZXJS+lU0= Received: from DLEE114.ent.ti.com (dlee114.ent.ti.com [157.170.170.25]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3776Gxm1030080 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 7 Aug 2023 01:16:59 -0500 Received: from DLEE104.ent.ti.com (157.170.170.34) by DLEE114.ent.ti.com (157.170.170.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Mon, 7 Aug 2023 01:16:59 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE104.ent.ti.com (157.170.170.34) 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; Mon, 7 Aug 2023 01:16:58 -0500 Received: from [172.24.227.68] (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 3776GtHN015928; Mon, 7 Aug 2023 01:16:55 -0500 Message-ID: Date: Mon, 7 Aug 2023 11:46:54 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH 04/13] arm64: dts: ti: k3-am65: Enable OSPI nodes at the board level Content-Language: en-US To: Andrew Davis , Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , CC: , References: <20230802205309.257392-1-afd@ti.com> <20230802205309.257392-5-afd@ti.com> From: Dhruva Gole In-Reply-To: <20230802205309.257392-5-afd@ti.com> X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230806_231704_332637_650AE6D5 X-CRM114-Status: GOOD ( 20.40 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Andrew, On 03/08/23 02:23, Andrew Davis wrote: > OSPI nodes defined in the top-level AM65x SoC dtsi files are incomplete > and may not be functional unless they are extended with pinmux and > device information. > > As the attached OSPI device is only known about at the board integration > level, these nodes should only be enabled when provided with this > information. > > Disable the OSPI 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-am65-iot2050-common.dtsi | 1 + > arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi | 2 ++ > arch/arm64/boot/dts/ti/k3-am654-base-board.dts | 1 + > 3 files changed, 4 insertions(+) > > 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 e26bd988e5224..6041862d5aa75 100644 > --- a/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi > +++ b/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi > @@ -593,6 +593,7 @@ adc { > }; > > &ospi0 { > + status = "okay"; Ok, so this k3-am65-iot2050 series of DT files seem to be structured in a bit different manner than our SKs and EVMs? The terminologies like advanced, advanced-m2, basic, etc. are a little confusing to me. However, I am wondering if we don't do any status = .. here, and rather make ospi status okays from the iot2050 dts files? Pardon me if I am making an invalid suggestion, I don't have much background on these boards. > pinctrl-names = "default"; > pinctrl-0 = <&mcu_fss0_ospi0_pins_default>; > > diff --git a/arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi b/arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi > index 7b1f94a89eca8..2c9c20a9d9179 100644 > --- a/arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi > +++ b/arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi > @@ -295,6 +295,7 @@ ospi0: spi@47040000 { > power-domains = <&k3_pds 248 TI_SCI_PD_EXCLUSIVE>; > #address-cells = <1>; > #size-cells = <0>; > + status = "disabled"; > }; > > ospi1: spi@47050000 { > @@ -309,6 +310,7 @@ ospi1: spi@47050000 { > power-domains = <&k3_pds 249 TI_SCI_PD_EXCLUSIVE>; > #address-cells = <1>; > #size-cells = <0>; > + status = "disabled"; > }; > }; > > 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 973a89b04a22f..43de7c132d343 100644 > --- a/arch/arm64/boot/dts/ti/k3-am654-base-board.dts > +++ b/arch/arm64/boot/dts/ti/k3-am654-base-board.dts > @@ -530,6 +530,7 @@ &mcu_r5fss0_core1 { > }; > > &ospi0 { > + status = "okay"; > pinctrl-names = "default"; > pinctrl-0 = <&mcu_fss0_ospi0_pins_default>; > -- Thanks and Regards, Dhruva Gole _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel