Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1266444ybv; Sun, 23 Feb 2020 02:56:06 -0800 (PST) X-Google-Smtp-Source: APXvYqy1us5F147Jla7HS8KagH1XPGqbTx/gbMOjf0SeYSubNnsxwYQysFgSL4DE6UYZC5IEAQxc X-Received: by 2002:a9d:53cb:: with SMTP id i11mr37011187oth.158.1582455366237; Sun, 23 Feb 2020 02:56:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582455366; cv=none; d=google.com; s=arc-20160816; b=I3dvyDFjxuQG+B4eGK1F1HUttNA4+DOEy9RUNcKwFsrx3qTabWh/jEEUJFTwzNs/uC 1X0J2e2x5pzgFBJ64aFelFv9lC1zoLdIKZ2nNP8tJj3lHVfBp0fpZkmqqGWtxwIQj3zq a37l0CV0ZgEVSF/mNcZbjAh5TSybQIIhiqmiHe0/xaw5lvf9I5KQG61V0Z+ykQG/C5+h TQWFdpvuB2m/0h1a2ByuC09TkyO703H2OY5La1bn7t9t3V/+9UgUuAY2NA0K5CP9TM5S GAM2TaWtQurISsnSOVKKh7vtb/SIhxe4gtts1C3RmRE9HdZOauKFXqkgqj+DCvDbfpA1 EYTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:mail-followup-to:message-id:subject:cc:to :from:date:dkim-signature; bh=pFRMUZ/o5cyNjkAYlWaGg0uVIdjOf7iW0HDfVciQn94=; b=vxHeVE8M2MduSWXg9kYenaJALzlAKF+WKpzPbTT3Mq6ln4V4DS/i2LxluzrvfVknZt Zuk9AKnz/fMmorPZLPXvMXrSqAQ5q+fFkJJ2+gfMxe0TyMrquygiNiyZi8XCfIOV503W FONc5qu/RDEaZvEBGpGgSdGXTb7WgyUDESz/GxDTY4kALU1SblJioBT5HXgML+1yk4uh sP+ZJkTzMPhEFnoKV2hfwduE10kIi1v72F4BGQeMeErU8hTz5nduvqlmLKxOVD0VPC4Y VqJab3III4oeqDWI3xXYBhdR+yePglN1nl5wYdFnzeFmkMptgGPoeP000zen3hW/SMxy +wTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@megous.com header.s=mail header.b=ky9TDyMe; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=megous.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l5si4481189otf.37.2020.02.23.02.55.54; Sun, 23 Feb 2020 02:56:06 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@megous.com header.s=mail header.b=ky9TDyMe; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=megous.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727226AbgBWKz1 (ORCPT + 99 others); Sun, 23 Feb 2020 05:55:27 -0500 Received: from vps.xff.cz ([195.181.215.36]:41930 "EHLO vps.xff.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725980AbgBWKz1 (ORCPT ); Sun, 23 Feb 2020 05:55:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megous.com; s=mail; t=1582455325; bh=X8L0Dh451NuK7eOVNcbB3WSov4FMJyq2nrvwtaEWdY8=; h=Date:From:To:Cc:Subject:References:X-My-GPG-KeyId:From; b=ky9TDyMeqqU7AN+5Nx1/4yZFmmrKKJRnyqVy9MStcKo1uDE3XWMitznEV89jW46Pq gpjqC20zuKUkTQ4D52G/KsQMft8bms42fepoaiD5Mkg8weCKLJ3tYq7Z06q2bAAUYy Jq6Gdt8KqRKXWtyqtTcSgZg2VTZrIMqhMXDLVgE4= Date: Sun, 23 Feb 2020 11:55:24 +0100 From: =?utf-8?Q?Ond=C5=99ej?= Jirman To: Chen-Yu Tsai Cc: linux-sunxi , Maxime Ripard , Tomas Novotny , Rob Herring , Mark Rutland , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "moderated list:ARM/Allwinner sunXi SoC support" , open list , Arend van Spriel Subject: Re: [linux-sunxi] [PATCH 1/4] ARM: dts: sun8i-a83t-tbs-a711: OOB WiFi interrupt doesn't work Message-ID: <20200223105524.smp3p2quewp3ddop@core.my.home> Mail-Followup-To: Chen-Yu Tsai , linux-sunxi , Maxime Ripard , Tomas Novotny , Rob Herring , Mark Rutland , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "moderated list:ARM/Allwinner sunXi SoC support" , open list , Arend van Spriel References: <20200222223154.221632-1-megous@megous.com> <20200222223154.221632-2-megous@megous.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-My-GPG-KeyId: EBFBDDE11FB918D44D1F56C1F9F0A873BE9777ED Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, On Sun, Feb 23, 2020 at 12:03:46PM +0800, Chen-Yu Tsai wrote: > On Sun, Feb 23, 2020 at 11:26 AM Chen-Yu Tsai wrote: > > > > Hi, > > > > > > On Sun, Feb 23, 2020 at 6:32 AM Ondrej Jirman wrote: > > > > > > It just causes a constant rate of 5000 interrupts per second for both > > > GPIO and MMC, even if nothing is happening. Rely on in-band interrupts > > > instead. > > > > > > Fixes: 0e23372080def7bb ("arm: dts: sun8i: Add the TBS A711 tablet devicetree") > > > Signed-off-by: Ondrej Jirman > > > > What WiFi chip/module does this use? It might be worth asking Broadcom > > people to help with this and fix the driver. > > Based on the comments in the device tree file, it uses an AP6210, which > is a BCM43362 inside for SDIO-based WiFi. There is a recent fix in 5.6-rc1 > for this, > > 8c8e60fb86a9 brcmfmac: sdio: Fix OOB interrupt initialization on brcm43362 > > which seems to fix things for me. Could you try it on your end? I can confirm that it works as you say (on linus/master). 5.5 still doesn't have the patch, so it's broken there, which confused me I guess. Please ignore this patch. thank you, Ondrej > ChenYu > > > > ChenYu > > > > > --- > > > arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts | 3 --- > > > 1 file changed, 3 deletions(-) > > > > > > diff --git a/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts b/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts > > > index 2fd31a0a0b344..ee5ce3556b2ad 100644 > > > --- a/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts > > > +++ b/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts > > > @@ -214,9 +214,6 @@ &mmc1 { > > > brcmf: wifi@1 { > > > reg = <1>; > > > compatible = "brcm,bcm4329-fmac"; > > > - interrupt-parent = <&r_pio>; > > > - interrupts = <0 3 IRQ_TYPE_LEVEL_LOW>; /* PL3 WL_WAKE_UP */ > > > - interrupt-names = "host-wake"; > > > }; > > > }; > > > > > > -- > > > 2.25.1 > > > > > > -- > > > You received this message because you are subscribed to the Google Groups "linux-sunxi" group. > > > To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscribe@googlegroups.com. > > > To view this discussion on the web, visit https://groups.google.com/d/msgid/linux-sunxi/20200222223154.221632-2-megous%40megous.com.