From patchwork Fri Oct 18 20:25:21 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "H. Nikolaus Schaller" X-Patchwork-Id: 11199599 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 29EA0913 for ; Fri, 18 Oct 2019 20:27:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 03B39222D3 for ; Fri, 18 Oct 2019 20:27:24 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=goldelico.com header.i=@goldelico.com header.b="lrpn4r8T" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2443474AbfJRU1B (ORCPT ); Fri, 18 Oct 2019 16:27:01 -0400 Received: from mo4-p02-ob.smtp.rzone.de ([85.215.255.82]:21004 "EHLO mo4-p02-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2506014AbfJRU06 (ORCPT ); Fri, 18 Oct 2019 16:26:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1571430346; s=strato-dkim-0002; d=goldelico.com; h=Message-Id:Date:Subject:Cc:To:From:X-RZG-CLASS-ID:X-RZG-AUTH:From: Subject:Sender; bh=i+n9s4XwY9DLFEIv0Q1xv72dgRxe/+bXdwtMcjVj36s=; b=lrpn4r8TbGp5Vug1YtUEZiFh9x7BNBnKNq3HV710dgABIJEaeJx9xjcPPETJ1VUGZI jHk1WeEXCiofL3L/yGzyOmkgW4tscUSvCPbF2g1WDlA8fGZh3KaVlxKW27JquybT+wZc mKNCSV1M40lPtmLrwe1H4c52rNtc3hUrSuKuDnZTnnIFBdT5AYmchlnhkjubEu1eppeO G58X6S6trwlaGWyMKQ1T6KF0TnJg1WlXa7DRZLVKqZtFRllm0ShFtwhk31hueFPCUIWI fK8xcpN3r81h4l86IdUw7pqwlDX71aCHhYxU0JM/0ihrP/zg8/CAkBHZVloQJhxMzY4k YHCQ== X-RZG-AUTH: ":JGIXVUS7cutRB/49FwqZ7WcJeFKiMhflhwDubTJ9o1mfYzBGHXH6F3CFF60=" X-RZG-CLASS-ID: mo00 Received: from iMac.fritz.box by smtp.strato.de (RZmta 44.28.1 DYNA|AUTH) with ESMTPSA id R0b2a8v9IKPVDUm (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate); Fri, 18 Oct 2019 22:25:31 +0200 (CEST) From: "H. Nikolaus Schaller" To: =?utf-8?q?Beno=C3=AEt_Cousson?= , Tony Lindgren , Rob Herring , Mark Rutland , Russell King , Ulf Hansson , Kalle Valo , Mike Rapoport , David Sterba , "Rafael J. Wysocki" , Petr Mladek , Sakari Ailus , "H. Nikolaus Schaller" , Kefeng Wang , Yangtao Li , Alexios Zavras , Thomas Gleixner , Allison Randal , Greg Kroah-Hartman , John Stultz , Bjorn Helgaas Cc: linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mmc@vger.kernel.org, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, letux-kernel@openphoenux.org, kernel@pyra-handheld.com 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 Message-Id: X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 DT: Pandora: fixes and extensions Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org 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(-) Acked-by: Kalle Valo