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 3475DC61D85 for ; Thu, 23 Nov 2023 07:11:04 +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-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:CC:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=2oYDrR6E/eBjgYQ3SD590JXVmIlxoO1MggCL/0t5Qvs=; b=04G5PU5bFHJRnC 5una8SsjVDWDMTUIoxvusMNXg2B2ndj8DE/V5EIeKgE4GLHG76GY6qYmlZ8lBHaZveq32VuCk0/fp v3NkRKD2pAiNiuyiDjenjonZT6ubAwDUEXkQ84yNMGYJD6MArVVa64bW35TVjMSeag6gOTsWHUOUl 91qCPw7Etf27dyeQxFg7Bu87qsyQjnaF4HOVZXdr2LsNEpsXFIZG3bKRqCxIJXP3qwsk8knHUkxhK u+X/l8jEY/7B4SR4KG+Zj2cKrARGtdSu9gHa0LKhe8dnw7R6zpq/foyMhnYzzW9CMSHtq8s/OtRLI IPn7orn17Z/pp4eEY3TQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r63r3-003zIX-35; Thu, 23 Nov 2023 07:10:29 +0000 Received: from fllv0016.ext.ti.com ([198.47.19.142]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r63r0-003zHH-0Q for linux-arm-kernel@lists.infradead.org; Thu, 23 Nov 2023 07:10:27 +0000 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3AN7AG9q011543; Thu, 23 Nov 2023 01:10:16 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1700723416; bh=GwxTwpHzcWwrbydIP+gMj88rn44tgH+cJJWxr9f1eYE=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=dSNMgfTwCd4l2sv29c33i/sg50NrLEjgS71yW6R7tLGoGONnv8HfDdW91yKNyvmHs /hdMVyoIdkC0PiHwYC4P7RHVAN37Ps4rrkkBC9kYt28EKyG9MPlC53fo11cYqugaGJ UucQJDcM53b6iLvXzbQuBo6Pp7u2zu4UBwJIQdbY= Received: from DLEE112.ent.ti.com (dlee112.ent.ti.com [157.170.170.23]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3AN7AGGw019352 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 23 Nov 2023 01:10:16 -0600 Received: from DLEE113.ent.ti.com (157.170.170.24) 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.23; Thu, 23 Nov 2023 01:10:16 -0600 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE113.ent.ti.com (157.170.170.24) 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; Thu, 23 Nov 2023 01:10:16 -0600 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 3AN7AFH8030988; Thu, 23 Nov 2023 01:10:15 -0600 Date: Thu, 23 Nov 2023 01:10:15 -0600 From: Nishanth Menon To: Tony Lindgren CC: Vignesh Raghavendra , , , sukrut bellary Subject: Re: [PATCH] arm64: dts: ti: k3-am625-sk: Add support for WL1837 module onboard Message-ID: <20231123071015.is4sffvdkunko5ws@radar> References: <20231121122441.64385-1-tony@atomide.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20231121122441.64385-1-tony@atomide.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-20231122_231026_318557_F36B9DDD X-CRM114-Status: GOOD ( 22.35 ) 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-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 14:24-20231121, Tony Lindgren wrote: > From: Vignesh Raghavendra > > WL1837 WLAN card is present on the original AM625 SK board. It > communicates with the SoC using 4 bit SDIO through the second instance of > MMCSD. > > Starting with SK-AM62B, there is a M.2 WLAN device connector instead of We support AM62B-SK. > the integrated WL1837 WLAN. The M.2 connector should be handled separately > in the k3-am62a.dtsi and k3-am62b.dtsi files as needed. Should this rather be an overlay instead of integrated dts fixup? M2 connector allows for various options including the newer 33xx family[2]. It makes sense for the regulator etc to be on the main dts file, but I am not convinced about it being integrated as part of the dts. > > Note that WLAN currently needs fw_devlink=permissive set on the command > line. Not sure what is missing here but that seems like a separate change. > > Signed-off-by: Vignesh Raghavendra > Signed-off-by: Aswath Govindraju > [tony@atomide.com: updated for pinctrl, improved comments] > Signed-off-by: Tony Lindgren > --- > arch/arm64/boot/dts/ti/k3-am625-sk.dts | 79 ++++++++++++++++++++++++++ > 1 file changed, 79 insertions(+) > > diff --git a/arch/arm64/boot/dts/ti/k3-am625-sk.dts b/arch/arm64/boot/dts/ti/k3-am625-sk.dts > --- a/arch/arm64/boot/dts/ti/k3-am625-sk.dts > +++ b/arch/arm64/boot/dts/ti/k3-am625-sk.dts > @@ -103,6 +103,32 @@ vcc_1v8: regulator-5 { [...] > + }; > }; > > &main_gpio0 { > @@ -200,6 +253,32 @@ &sdhci1 { > vqmmc-supply = <&vdd_sd_dv>; > }; > > +&sdhci2 { > + status = "okay"; > + vmmc-supply = <&wlan_en>; Should we use mmc-pwrseq ? Looks like we have run into an issue in BeaglePlay with wlan_en being always on for loading firmware. so is there a need to keep the wlan on while suspended? [1] https://sukrutb.github.io/s2d_TI_am625-BeaglePlay/ (see towards the end) [2] https://www.ti.com/tool/M2-CC3301 -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel