From: Chen-Yu Tsai <wens@csie.org> To: "Ondřej Jirman" <megous@megous.com> Cc: linux-sunxi <linux-sunxi@googlegroups.com>, Maxime Ripard <mripard@kernel.org>, Tomas Novotny <tomas@novotny.cz>, Rob Herring <robh+dt@kernel.org>, Mark Rutland <mark.rutland@arm.com>, "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" <devicetree@vger.kernel.org>, "moderated list:ARM/Allwinner sunXi SoC support" <linux-arm-kernel@lists.infradead.org>, open list <linux-kernel@vger.kernel.org>, Arend van Spriel <arend.vanspriel@broadcom.com> Subject: Re: [linux-sunxi] [PATCH 1/4] ARM: dts: sun8i-a83t-tbs-a711: OOB WiFi interrupt doesn't work Date: Sun, 23 Feb 2020 12:03:46 +0800 [thread overview] Message-ID: <CAGb2v66G5P_souwFHodO0_NYhWyQ+dGE4fbqLLK3qd9ue7Kk9g@mail.gmail.com> (raw) In-Reply-To: <CAGb2v67XwrYA8FLF9wpnngm9F-F9UV2m+rr+r3t+KUVv5-EMiw@mail.gmail.com> On Sun, Feb 23, 2020 at 11:26 AM Chen-Yu Tsai <wens@csie.org> wrote: > > Hi, > > > On Sun, Feb 23, 2020 at 6:32 AM Ondrej Jirman <megous@megous.com> 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 <megous@megous.com> > > 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? 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.
WARNING: multiple messages have this Message-ID (diff)
From: Chen-Yu Tsai <wens@csie.org> To: "Ondřej Jirman" <megous@megous.com> Cc: Mark Rutland <mark.rutland@arm.com>, "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" <devicetree@vger.kernel.org>, Arend van Spriel <arend.vanspriel@broadcom.com>, open list <linux-kernel@vger.kernel.org>, Maxime Ripard <mripard@kernel.org>, linux-sunxi <linux-sunxi@googlegroups.com>, Rob Herring <robh+dt@kernel.org>, Tomas Novotny <tomas@novotny.cz>, "moderated list:ARM/Allwinner sunXi SoC support" <linux-arm-kernel@lists.infradead.org> Subject: Re: [linux-sunxi] [PATCH 1/4] ARM: dts: sun8i-a83t-tbs-a711: OOB WiFi interrupt doesn't work Date: Sun, 23 Feb 2020 12:03:46 +0800 [thread overview] Message-ID: <CAGb2v66G5P_souwFHodO0_NYhWyQ+dGE4fbqLLK3qd9ue7Kk9g@mail.gmail.com> (raw) In-Reply-To: <CAGb2v67XwrYA8FLF9wpnngm9F-F9UV2m+rr+r3t+KUVv5-EMiw@mail.gmail.com> On Sun, Feb 23, 2020 at 11:26 AM Chen-Yu Tsai <wens@csie.org> wrote: > > Hi, > > > On Sun, Feb 23, 2020 at 6:32 AM Ondrej Jirman <megous@megous.com> 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 <megous@megous.com> > > 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? 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. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2020-02-23 4:04 UTC|newest] Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-02-22 22:31 [PATCH 0/4] Assortment of fixes for TBS A711 Tablet Ondrej Jirman 2020-02-22 22:31 ` Ondrej Jirman 2020-02-22 22:31 ` [PATCH 1/4] ARM: dts: sun8i-a83t-tbs-a711: OOB WiFi interrupt doesn't work Ondrej Jirman 2020-02-22 22:31 ` Ondrej Jirman 2020-02-23 3:26 ` [linux-sunxi] " Chen-Yu Tsai 2020-02-23 3:26 ` Chen-Yu Tsai 2020-02-23 4:03 ` Chen-Yu Tsai [this message] 2020-02-23 4:03 ` Chen-Yu Tsai 2020-02-23 10:02 ` Ondřej Jirman 2020-02-23 10:02 ` Ondřej Jirman 2020-02-23 10:55 ` Ondřej Jirman 2020-02-23 10:55 ` Ondřej Jirman 2020-02-23 11:29 ` Arend Van Spriel 2020-02-23 11:29 ` Arend Van Spriel 2020-02-22 22:31 ` [PATCH 2/4] ARM: dts: sun8i-a83t-tbs-a711: HM5065 doesn't like such a high voltage Ondrej Jirman 2020-02-22 22:31 ` Ondrej Jirman 2020-02-23 3:39 ` [linux-sunxi] " Chen-Yu Tsai 2020-02-23 3:39 ` Chen-Yu Tsai 2020-02-23 9:57 ` Ondřej Jirman 2020-02-23 9:57 ` Ondřej Jirman 2020-02-22 22:31 ` [PATCH 3/4] ARM: dts: sun8i-a83t-tbs-a711: Fix USB OTG mode detection Ondrej Jirman 2020-02-22 22:31 ` Ondrej Jirman 2020-02-22 22:31 ` [PATCH 4/4] ARM: dts: sun8i-a83t-tbs-a711: Drop superfluous dr_mode Ondrej Jirman 2020-02-22 22:31 ` Ondrej Jirman 2020-02-24 9:32 ` [PATCH 0/4] Assortment of fixes for TBS A711 Tablet Maxime Ripard 2020-02-24 9:32 ` Maxime Ripard
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=CAGb2v66G5P_souwFHodO0_NYhWyQ+dGE4fbqLLK3qd9ue7Kk9g@mail.gmail.com \ --to=wens@csie.org \ --cc=arend.vanspriel@broadcom.com \ --cc=devicetree@vger.kernel.org \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-sunxi@googlegroups.com \ --cc=mark.rutland@arm.com \ --cc=megous@megous.com \ --cc=mripard@kernel.org \ --cc=robh+dt@kernel.org \ --cc=tomas@novotny.cz \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.