From patchwork Fri Dec 21 01:17:38 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Reichel X-Patchwork-Id: 10739747 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 10FD813BF for ; Fri, 21 Dec 2018 01:18:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E9E5F289C4 for ; Fri, 21 Dec 2018 01:18:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DA22B289C9; Fri, 21 Dec 2018 01:18:01 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 47D3F289C4 for ; Fri, 21 Dec 2018 01:18:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388486AbeLUBSA (ORCPT ); Thu, 20 Dec 2018 20:18:00 -0500 Received: from mail.kernel.org ([198.145.29.99]:36924 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387963AbeLUBSA (ORCPT ); Thu, 20 Dec 2018 20:18:00 -0500 Received: from mail.kernel.org (unknown [185.216.33.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B25B8218E0; Fri, 21 Dec 2018 01:17:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1545355079; bh=UTN62N183Ah3lnE3aR75mfhLjkc30Np95KuQLFLBNvs=; h=From:To:Cc:Subject:Date:From; b=tLSKfAnbHXuokROVLbpid2m/IlBtemyDFnK0MQoY+kQRUDiR0DEh5bNjaB8UsLsbw fvyjNgo0opW3rVuDpQ50nxdr3mYxlywBlvxWbFCgwj3NY4t6sAbwJUpOG2TS1y47GS Wpba9VUApwlDyZrHO6Ptu2z8NIQpV13xcc9QZHUY= From: Sebastian Reichel To: Sebastian Reichel , Mauro Carvalho Chehab , Marcel Holtmann , Tony Lindgren Cc: Rob Herring , Greg Kroah-Hartman , Pavel Machek , linux-bluetooth@vger.kernel.org, linux-media@vger.kernel.org, linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 00/14] Add support for FM radio in hcill and kill TI_ST Date: Fri, 21 Dec 2018 02:17:38 +0100 Message-Id: <20181221011752.25627-1-sre@kernel.org> X-Mailer: git-send-email 2.19.2 MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hi, This moves all remaining users of the legacy TI_ST driver to hcill (patches 1-3). Then patches 4-7 convert wl128x-radio driver to a standard platform device driver with support for multiple instances. Patch 7 will result in (userless) TI_ST driver no longer supporting radio at runtime. Patch 8-11 do some cleanups in the wl128x-radio driver. Finally patch 12 removes the TI_ST specific parts from wl128x-radio and adds the required infrastructure to use it with the serdev hcill driver instead. The remaining patches 13 and 14 remove the old TI_ST code. The new code has been tested on the Motorola Droid 4. For testing the audio should be configured to route Ext to Speaker or Headphone. Then you need to plug headphone, since its cable is used as antenna. For testing there is a 'radio' utility packages in Debian. When you start the utility you need to specify a frequency, since initial get_frequency returns an error: $ radio -f 100.0 Merry Christmas! -- Sebastian Sebastian Reichel (14): ARM: dts: LogicPD Torpedo: Add WiLink UART node ARM: dts: IGEP: Add WiLink UART node ARM: OMAP2+: pdata-quirks: drop TI_ST/KIM support media: wl128x-radio: remove module version media: wl128x-radio: remove global radio_disconnected media: wl128x-radio: remove global radio_dev media: wl128x-radio: convert to platform device media: wl128x-radio: use device managed memory allocation media: wl128x-radio: load firmware from ti-connectivity/ media: wl128x-radio: simplify fmc_prepare/fmc_release media: wl128x-radio: fix skb debug printing media: wl128x-radio: move from TI_ST to hci_ll driver Bluetooth: btwilink: drop superseded driver misc: ti-st: Drop superseded driver .../boot/dts/logicpd-torpedo-37xx-devkit.dts | 8 + arch/arm/boot/dts/omap3-igep0020-rev-f.dts | 8 + arch/arm/boot/dts/omap3-igep0030-rev-g.dts | 8 + arch/arm/mach-omap2/pdata-quirks.c | 52 - drivers/bluetooth/Kconfig | 11 - drivers/bluetooth/Makefile | 1 - drivers/bluetooth/btwilink.c | 350 ------- drivers/bluetooth/hci_ll.c | 115 ++- drivers/media/radio/wl128x/Kconfig | 2 +- drivers/media/radio/wl128x/fmdrv.h | 5 +- drivers/media/radio/wl128x/fmdrv_common.c | 211 ++-- drivers/media/radio/wl128x/fmdrv_common.h | 4 +- drivers/media/radio/wl128x/fmdrv_v4l2.c | 55 +- drivers/media/radio/wl128x/fmdrv_v4l2.h | 2 +- drivers/misc/Kconfig | 1 - drivers/misc/Makefile | 1 - drivers/misc/ti-st/Kconfig | 18 - drivers/misc/ti-st/Makefile | 6 - drivers/misc/ti-st/st_core.c | 922 ------------------ drivers/misc/ti-st/st_kim.c | 868 ----------------- drivers/misc/ti-st/st_ll.c | 169 ---- include/linux/ti_wilink_st.h | 337 +------ 22 files changed, 213 insertions(+), 2941 deletions(-) delete mode 100644 drivers/bluetooth/btwilink.c delete mode 100644 drivers/misc/ti-st/Kconfig delete mode 100644 drivers/misc/ti-st/Makefile delete mode 100644 drivers/misc/ti-st/st_core.c delete mode 100644 drivers/misc/ti-st/st_kim.c delete mode 100644 drivers/misc/ti-st/st_ll.c Signed-off-by: Tony Lindgren Tested-by: Pavel Machek