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 X-Spam-Level: X-Spam-Status: No, score=-6.7 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4330FC76190 for ; Thu, 25 Jul 2019 20:23:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 148AC218EA for ; Thu, 25 Jul 2019 20:23:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726581AbfGYUXK (ORCPT ); Thu, 25 Jul 2019 16:23:10 -0400 Received: from gloria.sntech.de ([185.11.138.130]:39448 "EHLO gloria.sntech.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725923AbfGYUXJ (ORCPT ); Thu, 25 Jul 2019 16:23:09 -0400 Received: from d57e23da.static.ziggozakelijk.nl ([213.126.35.218] helo=phil.localnet) by gloria.sntech.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hqkGX-0001vF-QE; Thu, 25 Jul 2019 22:23:05 +0200 From: Heiko Stuebner To: Matthias Kaehlcke Cc: Rob Herring , Mark Rutland , linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Douglas Anderson Subject: Re: [PATCH] ARM: dts: rockchip: Limit WiFi TX power on rk3288-veyron-jerry Date: Thu, 25 Jul 2019 22:23:04 +0200 Message-ID: <2130412.AuREfPFnmH@phil> In-Reply-To: <20190723225258.93058-1-mka@chromium.org> References: <20190723225258.93058-1-mka@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Mittwoch, 24. Juli 2019, 00:52:58 CEST schrieb Matthias Kaehlcke: > The downstream Chrome OS 3.14 kernel for jerry limits WiFi TX power > through calibration data in the device tree [1]. Add a DT node for > the WiFi chip and use the downstream calibration data. > > Not all calibration data entries have the length specified in the > binding (Documentation/devicetree/bindings/net/wireless/marvell-8xxx.txt), > however this is the data used by the downstream ('official') kernel > and the binding mentions that "the length can vary between hw > versions". > > [1] https://crrev.com/c/271237 > > Signed-off-by: Matthias Kaehlcke > --- > arch/arm/boot/dts/rk3288-veyron-jerry.dts | 147 ++++++++++++++++++++++ > 1 file changed, 147 insertions(+) > > diff --git a/arch/arm/boot/dts/rk3288-veyron-jerry.dts b/arch/arm/boot/dts/rk3288-veyron-jerry.dts > index b1613af83d5d..2d0d5a4603ba 100644 > --- a/arch/arm/boot/dts/rk3288-veyron-jerry.dts > +++ b/arch/arm/boot/dts/rk3288-veyron-jerry.dts > @@ -82,6 +82,153 @@ > }; > }; > > +&sdio0 { added #address-cells = <1> and #size-cells = <0> here as it was creating dtc warnings due to the reg=1 below > + mwifiex: wifi@1 { > + compatible = "marvell,sd8897"; > + reg = <1>; > + status = "okay"; dropped status ... okay is the default and the wifi node only was added to this board, not before. and applied for 5.4 Thanks Heiko