Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1067935ybt; Fri, 10 Jul 2020 21:59:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwrtklWw72ji8SrzXEAYon0lm/VyGx6yJRL7BV+USSDG3fS9llZP0pq6msTG1YwaVOdOH8B X-Received: by 2002:a17:906:2296:: with SMTP id p22mr62488795eja.510.1594443580206; Fri, 10 Jul 2020 21:59:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594443580; cv=none; d=google.com; s=arc-20160816; b=xRgELZOtttIZKi11Yc+ZGiW31huahjTLWyi2OTJXyQJisvmXdPL8hxX37O+GiPJxPJ jXKe6NRq36LyW1zZcuPgE2eZmhTmhJwR2ZMtpMqopLzOT260ZjT3Fo2oxfQjTIvd7NhP w9Y3J0LaVoxhw2v2Gckpqow5DTew1+pylwOZ+hmPT97/mQOyKflTpRsM9zcnooHm+4xH AW14DxDBXcPBe4S6OEyPunohF9vs4xhP8GaPWPTwbHITrRDLrOq4OWTyMohtn3sjvEgA FfWs8wQ7Bmev+FKbEN0qQPre6e4HnAmP1cu/8U9dkd/DQOASZ3NPyMG4gMASagSVcmkb Etxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:references :in-reply-to:subject:cc:to:from:date:content-transfer-encoding :mime-version:dkim-signature; bh=/We79d7IRFCX6NpF/d6AI0I7gjDSb15un20bxx8zAJE=; b=fl3RQQrXU9LVxEfVCLv+lOURX1m7Pk6XV5K4BiWescKNpTBKByZZAOAh74ke5+fuVE Fa8KitlEkAHMgruVPvavQEKAUeVnuDPCPKU3+OzUCjbsa5Jwv4gnZyQtG1timZY/++vF OH2mEj7YxjGgBanZ/wNPTmJjMfboPxrcz2TuhlPvjkS+2NXuvGHpNn015FglSUSHtZr2 ExPtxYijCqFBBVE+iR/dT57X2LV/qUy2DLC+N9tUyZQkQhjYZBbgJazvyZrjMD1Evj+h w9fKI+LNUk+CQHqFq27jucU9sbc1JOHLfIIAY7rItHaMNz6A+4X7wXZGOuOGvFsh1Yc7 w6TA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=UcCQhckE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 27si5859683edv.33.2020.07.10.21.58.42; Fri, 10 Jul 2020 21:59:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=UcCQhckE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726973AbgGKEo2 (ORCPT + 99 others); Sat, 11 Jul 2020 00:44:28 -0400 Received: from m43-7.mailgun.net ([69.72.43.7]:53800 "EHLO m43-7.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726729AbgGKEo2 (ORCPT ); Sat, 11 Jul 2020 00:44:28 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1594442667; h=Message-ID: References: In-Reply-To: Subject: Cc: To: From: Date: Content-Transfer-Encoding: Content-Type: MIME-Version: Sender; bh=/We79d7IRFCX6NpF/d6AI0I7gjDSb15un20bxx8zAJE=; b=UcCQhckEzJL1aE19ThpVal34rE3ZAWkC99t/Cwalm0SzyHmDUp/h3JaBAHYEO9pK9lLGV8Bl ZWvxOz/9gpTk4kGCAe0tvxEO/YG0ELEjJ0+W8gslOBKjp0rHARouBEbCRMe5dETIpq/hQKZi lCuDR2KpKbi+uklFe1GqIS/r+B0= X-Mailgun-Sending-Ip: 69.72.43.7 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n18.prod.us-west-2.postgun.com with SMTP id 5f0943aa8e36ecda307d8f7e (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Sat, 11 Jul 2020 04:44:26 GMT Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 6ADEEC433C6; Sat, 11 Jul 2020 04:44:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=2.0 tests=ALL_TRUSTED,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.codeaurora.org (localhost.localdomain [127.0.0.1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: sibis) by smtp.codeaurora.org (Postfix) with ESMTPSA id A1F49C433C8; Sat, 11 Jul 2020 04:44:25 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Sat, 11 Jul 2020 10:14:25 +0530 From: Sibi Sankar To: Rakesh Pillai Cc: 'Doug Anderson' , "'open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS'" , 'Evan Green' , 'Andy Gross' , 'Bjorn Andersson' , 'Rob Herring' , 'linux-arm-msm' , 'LKML' , linux-kernel-owner@vger.kernel.org Subject: Re: [PATCH] arm64: dts: qcom: sc7180: Add missing properties for Wifi node In-Reply-To: <007701d65734$90039c80$b00ad580$@codeaurora.org> References: <1594286253-32244-1-git-send-email-pillair@codeaurora.org> <007701d65734$90039c80$b00ad580$@codeaurora.org> Message-ID: X-Sender: sibis@codeaurora.org User-Agent: Roundcube Webmail/1.3.9 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020-07-11 09:07, Rakesh Pillai wrote: >> -----Original Message----- >> From: Doug Anderson >> Sent: Friday, July 10, 2020 1:36 AM >> To: Rakesh Pillai >> Cc: open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS >> ; Evan Green ; >> Andy Gross ; Bjorn Andersson >> ; Rob Herring ; linux- >> arm-msm ; LKML > kernel@vger.kernel.org>; Sibi Sankar >> Subject: Re: [PATCH] arm64: dts: qcom: sc7180: Add missing properties >> for >> Wifi node >> >> Hi, >> >> On Thu, Jul 9, 2020 at 2:18 AM Rakesh Pillai >> wrote: >> > >> > The wlan firmware memory is statically mapped in >> > the Trusted Firmware, hence the wlan driver does >> > not need to map/unmap this region dynamically. >> > >> > Hence add the property to indicate the wlan driver >> > to not map/unamp the firmware memory region >> > dynamically. >> > >> > Also add the chain1 voltage supply for wlan. >> > >> > Signed-off-by: Rakesh Pillai >> > --- >> > This patch is created on top of the change by >> > Douglas Anderson. >> > https://lkml.org/lkml/2020/6/25/817 >> > >> > Also the dt-bindings for the chain1 voltage supply >> > is added by the below patch series: >> > https://patchwork.kernel.org/project/linux-wireless/list/?series=309137 >> > --- >> > arch/arm64/boot/dts/qcom/sc7180-idp.dts | 2 ++ >> > 1 file changed, 2 insertions(+) >> > >> > diff --git a/arch/arm64/boot/dts/qcom/sc7180-idp.dts >> b/arch/arm64/boot/dts/qcom/sc7180-idp.dts >> > index 472f7f4..4c64bc1 100644 >> > --- a/arch/arm64/boot/dts/qcom/sc7180-idp.dts >> > +++ b/arch/arm64/boot/dts/qcom/sc7180-idp.dts >> > @@ -391,10 +391,12 @@ >> > >> > &wifi { >> > status = "okay"; >> > + qcom,msa-fixed-perm; Should we include ^^ property in the base dts? Since I don't foresee any platform skipping qcom,msa-fixed-perm property. >> >> At one point in time I thought +Sibi said that this wouldn't be needed >> once the firmware was fixed. ...afterwards you said that it was >> needed for SSR (subsystem reset). Would be good to get confirmation >> from Sibi that this matches his understanding. Yes all of ^^ happened and yes we now need qcom,msa-fixed-perm since the wlan_fw_mem permission assignment in now handled in ATF. > > Hi Doug, > > This is now needed as the firmware memory mapping was moved to Trusted > firmware. > This region is now statically mapped to avoid access from driver. > >> >> >> > vdd-0.8-cx-mx-supply = <&vreg_l9a_0p6>; >> > vdd-1.8-xo-supply = <&vreg_l1c_1p8>; >> > vdd-1.3-rfa-supply = <&vreg_l2c_1p3>; >> > vdd-3.3-ch0-supply = <&vreg_l10c_3p3>; >> > + vdd-3.3-ch1-supply = <&vreg_l11c_3p3>; >> > wifi-firmware { >> > iommus = <&apps_smmu 0xc2 0x1>; >> > }; >> >> Other than the one question this looks good to me. >> >> -Doug -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project.