Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp357922pxv; Thu, 24 Jun 2021 09:23:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzBESNt61Ilsov42HQWZ6t82iPTsmVanEkjpriNUwNgXWCLa+VIx590MLxPVoGXtLS1MB6V X-Received: by 2002:a17:906:2844:: with SMTP id s4mr6056051ejc.263.1624551793247; Thu, 24 Jun 2021 09:23:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624551793; cv=none; d=google.com; s=arc-20160816; b=Ck/8V6ryR5+R9WWYxSIqCpBG1pxS6NZuS+MFDURLDrG4h8QEJQ05gokdxUcolkNTC2 EO3XyG1k3ogP2st1SEVE1+Tq2MwhzsOY2rcmNEg49wvcx4L+bSPD6IGZesintHPn2kCB j/wCswRdH4zLKaXNWC36CTbxofJfOnPirNu2Rhwqtsf3fhND8ZtBZ2P07FoIncZcD3YM WXtuAkW0OFE51FoQjYOe/DO1QwA2+zBpRLsYY3yiCl5NdAaOdul4t4xmMPgjTDzZoWsm NJ1LUWBwsF95pYtzJpHgX6y1J8A6lfWHhcI8oqA7IxIMfVWZ3RVrLk49mxUQY3Ftca0C ikQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:message-id:user-agent:cc:to:references :in-reply-to:from:subject:content-transfer-encoding:mime-version :dmarc-filter:sender:dkim-signature; bh=G9Ul8IjbSeiyfi4kPMu1AfOkULwoWubc5zAIv9yEmFw=; b=aycRxsgmnYyP4Nf+ZGhR5HpJETT6K9eOi/8Cc/u9iT/lpaY3h3mfIMpImmYmjOzcVQ gdWoN1AIEgv7QTbmFEMBFveb+DIykIGLIOYfftHZcB+PxPtkGzGH8x4HtDStmNXgDRFp iXpEXWShwUGKGLXKKN0bQm5jimuGKEuUgRjdigYN5eJX57dpd46sQlMge160mZRlAHXG +r+S+hoXsIJh0LrTIj9QpWMRd/Gp2J6DooFprR8Ich10ER8CdBjfFu1Ph4DCiXy+pCKQ Vy4WoUr3bpHbXPISU7ZPMzTwW/4MRwad0LpdDBXjf5KYVVQ+IlNdvxIwjKnzYDLpSw3U plnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=rbJWwGsO; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-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 30si3404462ejh.317.2021.06.24.09.22.41; Thu, 24 Jun 2021 09:23:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=rbJWwGsO; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229723AbhFXQX7 (ORCPT + 99 others); Thu, 24 Jun 2021 12:23:59 -0400 Received: from so254-9.mailgun.net ([198.61.254.9]:15269 "EHLO so254-9.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229884AbhFXQX4 (ORCPT ); Thu, 24 Jun 2021 12:23:56 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1624551697; h=Date: Message-Id: Cc: To: References: In-Reply-To: From: Subject: Content-Transfer-Encoding: MIME-Version: Content-Type: Sender; bh=G9Ul8IjbSeiyfi4kPMu1AfOkULwoWubc5zAIv9yEmFw=; b=rbJWwGsOWNP6LS7vUIwj4eE1dc+XUf+FVzTWo7idiKv+/neRF0zAQica9T9y2Jtq/RxMstNh OH4mF2oMMwfB3Xg5m9JJGdaa0YZgNjCGTN/B4ELIBCdMHX9kXKTMlITmsB0m0dYiMxRd1hat 8CHboIOao9dRO1TWG1XKjltKApQ= X-Mailgun-Sending-Ip: 198.61.254.9 X-Mailgun-Sid: WyI3YTAwOSIsICJsaW51eC13aXJlbGVzc0B2Z2VyLmtlcm5lbC5vcmciLCAiYmU5ZTRhIl0= Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n03.prod.us-west-2.postgun.com with SMTP id 60d4b0e67e5ba0fdc0c47c84 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Thu, 24 Jun 2021 16:20:54 GMT Sender: kvalo=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 39D96C4338A; Thu, 24 Jun 2021 16:20:54 +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,BAYES_00, MISSING_DATE,MISSING_MID,SPF_FAIL,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from tykki.adurom.net (tynnyri.adurom.net [51.15.11.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: kvalo) by smtp.codeaurora.org (Postfix) with ESMTPSA id B7038C433F1; Thu, 24 Jun 2021 16:20:49 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org B7038C433F1 Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=kvalo@codeaurora.org Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH v3] brcmfmac: support parse country code map from DT From: Kalle Valo In-Reply-To: <20210417075428.2671-1-shawn.guo@linaro.org> References: <20210417075428.2671-1-shawn.guo@linaro.org> To: Shawn Guo Cc: Rob Herring , =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= , Arend van Spriel , Franky Lin , Hante Meuleman , Chi-hsien Lin , Wright Feng , Chung-hsien Hsu , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, brcm80211-dev-list.pdl@broadcom.com, SHA-cyfmac-dev-list@infineon.com, Shawn Guo User-Agent: pwcli/0.1.0-git (https://github.com/kvalo/pwcli/) Python/3.7.3 Message-Id: <20210624162054.39D96C4338A@smtp.codeaurora.org> Date: Thu, 24 Jun 2021 16:20:54 +0000 (UTC) Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Shawn Guo wrote: > With any regulatory domain requests coming from either user space or > 802.11 IE (Information Element), the country is coded in ISO3166 > standard. It needs to be translated to firmware country code and > revision with the mapping info in settings->country_codes table. > Support populate country_codes table by parsing the mapping from DT. > > The BRCMF_BUSTYPE_SDIO bus_type check gets separated from general DT > validation, so that country code can be handled as general part rather > than SDIO bus specific one. > > Signed-off-by: Shawn Guo > Reviewed-by: Arend van Spriel Patch applied to wireless-drivers-next.git, thanks. 1a3ac5c651a0 brcmfmac: support parse country code map from DT -- https://patchwork.kernel.org/project/linux-wireless/patch/20210417075428.2671-1-shawn.guo@linaro.org/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches