public inbox for linux-arm-kernel@lists.infradead.org 
 help / color / mirror / Atom feed
From: "H. Nikolaus Schaller" <hns@goldelico•com>
To: "Benoît Cousson" <bcousson@baylibre•com>,
	"Tony Lindgren" <tony@atomide•com>,
	"Rob Herring" <robh+dt@kernel•org>,
	"Mark Rutland" <mark.rutland@arm•com>,
	"Russell King" <linux@armlinux•org.uk>,
	"Ulf Hansson" <ulf.hansson@linaro•org>,
	"Kalle Valo" <kvalo@codeaurora•org>,
	"Mike Rapoport" <rppt@linux•ibm.com>,
	"David Sterba" <dsterba@suse•com>,
	"Rafael J. Wysocki" <rafael.j.wysocki@intel•com>,
	"Petr Mladek" <pmladek@suse•com>,
	"Sakari Ailus" <sakari.ailus@linux•intel.com>,
	"H. Nikolaus Schaller" <hns@goldelico•com>,
	"Kefeng Wang" <wangkefeng.wang@huawei•com>,
	"Yangtao Li" <tiny.windzz@gmail•com>,
	"Alexios Zavras" <alexios.zavras@intel•com>,
	"Thomas Gleixner" <tglx@linutronix•de>,
	"Allison Randal" <allison@lohutok•net>,
	"Greg Kroah-Hartman" <gregkh@linuxfoundation•org>,
	"John Stultz" <john.stultz@linaro•org>,
	"Bjorn Helgaas" <bhelgaas@google•com>
Cc: devicetree@vger•kernel.org, letux-kernel@openphoenux•org,
	linux-mmc@vger•kernel.org, kernel@pyra-handheld•com,
	linux-wireless@vger•kernel.org, linux-kernel@vger•kernel.org,
	netdev@vger•kernel.org, linux-omap@vger•kernel.org,
	linux-arm-kernel@lists•infradead.org
Subject: [PATCH 0/9] OpenPandora: make wl1251 connected to mmc3 sdio port of OpenPandora work again
Date: Fri, 18 Oct 2019 22:25:21 +0200	[thread overview]
Message-ID: <cover.1571430329.git.hns@goldelico.com> (raw)


Here we have a set of scattered patches to make the OpenPandora WiFi work again.

v4.7 did break the pdata-quirks which made the mmc3 interface
fail completely, because some code now assumes device tree
based instantiation.

Fixes: 81eef6ca9201 ("mmc: omap_hsmmc: Use dma_request_chan() for requesting DMA channel")

v4.11 did break the sdio qirks for wl1251 which made the driver no longer
load, although the device was found as an sdio client.

Fixes: 884f38607897 ("mmc: core: move some sdio IDs out of quirks file")

To solve these issues:
* we convert mmc3 and wl1251 initialization from pdata-quirks
  to device tree
* we make the wl1251 driver read properties from device tree
* we fix the mmc core vendor ids and quirks
* we fix the wl1251 (and wl1271) driver to use only vendor ids
  from header file instead of (potentially conflicting) local
  definitions


H. Nikolaus Schaller (9):
  Documentation: dt: wireless: update wl1251 for sdio
  net: wireless: ti: wl1251 add device tree support
  DTS: ARM: pandora-common: define wl1251 as child node of mmc3
  mmc: host: omap_hsmmc: add code for special init of wl1251 to get rid
    of pandora_wl1251_init_card
  omap: pdata-quirks: remove openpandora quirks for mmc3 and wl1251
  mmc: sdio: fix wl1251 vendor id
  mmc: core: fix wl1251 sdio quirks
  net: wireless: ti: wl1251 use new SDIO_VENDOR_ID_TI_WL1251 definition
  net: wireless: ti: remove local VENDOR_ID and DEVICE_ID definitions

 .../bindings/net/wireless/ti,wl1251.txt       | 26 +++++++++++++
 arch/arm/boot/dts/omap3-pandora-common.dtsi   | 37 ++++++++++++++++++-
 arch/arm/mach-omap2/pdata-quirks.c            | 13 +++----
 drivers/mmc/core/quirks.h                     |  7 ++++
 drivers/mmc/host/omap_hsmmc.c                 | 21 +++++++++++
 drivers/net/wireless/ti/wl1251/sdio.c         | 23 +++++++-----
 drivers/net/wireless/ti/wlcore/sdio.c         |  8 ----
 include/linux/mmc/sdio_ids.h                  |  2 +
 8 files changed, 111 insertions(+), 26 deletions(-)

-- 
2.19.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists•infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

             reply	other threads:[~2019-10-18 20:26 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-18 20:25 H. Nikolaus Schaller [this message]
2019-10-18 20:25 ` [PATCH 1/9] Documentation: dt: wireless: update wl1251 for sdio H. Nikolaus Schaller
2019-10-18 20:25 ` [PATCH 2/9] net: wireless: ti: wl1251 add device tree support H. Nikolaus Schaller
2019-10-18 20:25 ` [PATCH 3/9] DTS: ARM: pandora-common: define wl1251 as child node of mmc3 H. Nikolaus Schaller
2019-10-21 17:13   ` Tony Lindgren
2019-10-21 18:22     ` H. Nikolaus Schaller
2019-10-18 20:25 ` [PATCH 4/9] mmc: host: omap_hsmmc: add code for special init of wl1251 to get rid of pandora_wl1251_init_card H. Nikolaus Schaller
2019-10-18 20:25 ` [PATCH 5/9] omap: pdata-quirks: remove openpandora quirks for mmc3 and wl1251 H. Nikolaus Schaller
2019-10-18 20:25 ` [PATCH 6/9] mmc: sdio: fix wl1251 vendor id H. Nikolaus Schaller
2019-10-18 20:25 ` [PATCH 7/9] mmc: core: fix wl1251 sdio quirks H. Nikolaus Schaller
2019-10-18 20:25 ` [PATCH 8/9] net: wireless: ti: wl1251 use new SDIO_VENDOR_ID_TI_WL1251 definition H. Nikolaus Schaller
2019-10-18 20:25 ` [PATCH 9/9] net: wireless: ti: remove local VENDOR_ID and DEVICE_ID definitions H. Nikolaus Schaller
2019-10-19 11:06 ` [PATCH 0/9] OpenPandora: make wl1251 connected to mmc3 sdio port of OpenPandora work again Kalle Valo
2019-10-19 11:25   ` H. Nikolaus Schaller
2019-10-19 11:34     ` Kalle Valo

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=cover.1571430329.git.hns@goldelico.com \
    --to=hns@goldelico$(echo .)com \
    --cc=alexios.zavras@intel$(echo .)com \
    --cc=allison@lohutok$(echo .)net \
    --cc=bcousson@baylibre$(echo .)com \
    --cc=bhelgaas@google$(echo .)com \
    --cc=devicetree@vger$(echo .)kernel.org \
    --cc=dsterba@suse$(echo .)com \
    --cc=gregkh@linuxfoundation$(echo .)org \
    --cc=john.stultz@linaro$(echo .)org \
    --cc=kernel@pyra-handheld$(echo .)com \
    --cc=kvalo@codeaurora$(echo .)org \
    --cc=letux-kernel@openphoenux$(echo .)org \
    --cc=linux-arm-kernel@lists$(echo .)infradead.org \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linux-mmc@vger$(echo .)kernel.org \
    --cc=linux-omap@vger$(echo .)kernel.org \
    --cc=linux-wireless@vger$(echo .)kernel.org \
    --cc=linux@armlinux$(echo .)org.uk \
    --cc=mark.rutland@arm$(echo .)com \
    --cc=netdev@vger$(echo .)kernel.org \
    --cc=pmladek@suse$(echo .)com \
    --cc=rafael.j.wysocki@intel$(echo .)com \
    --cc=robh+dt@kernel$(echo .)org \
    --cc=rppt@linux$(echo .)ibm.com \
    --cc=sakari.ailus@linux$(echo .)intel.com \
    --cc=tglx@linutronix$(echo .)de \
    --cc=tiny.windzz@gmail$(echo .)com \
    --cc=tony@atomide$(echo .)com \
    --cc=ulf.hansson@linaro$(echo .)org \
    --cc=wangkefeng.wang@huawei$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox