From patchwork Thu Oct 3 13:41:46 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Reichel X-Patchwork-Id: 11172719 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 B8DA81747 for ; Thu, 3 Oct 2019 13:42:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8DAF1215EA for ; Thu, 3 Oct 2019 13:42:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1570110129; bh=KIY97cckaqKpG2YddE0BQ3pPAQBL1DjOrJsgqOEG1S0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=eA3Z1VNFadk+uOZtWOD6pXUu0EtnmzpEYjWdvgWyk8E3hib4oyTUWsKZjW0/fblKS 6szQLrPLx6U1XlVeEepdu3zgR7lLoZFDpQom7J5Htpy8M8VSKC0S6+Ap90sc1ef3oB Q3k2nBjoRyAV0PA/JGE7IRg0D92yTB6whnHfprzc= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730553AbfJCNmI (ORCPT ); Thu, 3 Oct 2019 09:42:08 -0400 Received: from mail.kernel.org ([198.145.29.99]:53352 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730511AbfJCNmF (ORCPT ); Thu, 3 Oct 2019 09:42:05 -0400 Received: from jupiter.universe (dyndsl-037-138-174-173.ewe-ip-backbone.de [37.138.174.173]) (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 AB14421848; Thu, 3 Oct 2019 13:42:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1570110123; bh=KIY97cckaqKpG2YddE0BQ3pPAQBL1DjOrJsgqOEG1S0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gA000D0f5VwN4G+Jc7afPl1qlo0IRoRhTTu7qv5DM34UTfqPJGp6s02hYi/pHJXuQ rPKh1OPEtYW5TeZ5N9wZp9ZwmmTeJ7w6izzYShdxNmTs7ToeDjl+hzBXYiVKU4gfGf OXQsy95nKqRuDOqG9VMRpdx/WCgiC8OtRcJFR5dg= Received: by jupiter.universe (Postfix, from userid 1000) id 92C1D4800C7; Thu, 3 Oct 2019 15:42:01 +0200 (CEST) From: Sebastian Reichel To: Sebastian Reichel , Marcel Holtmann , Tony Lindgren Cc: Adam Ford , Enric Balletbo i Serra , linux-bluetooth@vger.kernel.org, linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@collabora.com, Sebastian Reichel Subject: [PATCHv2 3/4] ARM: OMAP2+: pdata-quirks: drop TI_ST/KIM support Date: Thu, 3 Oct 2019 15:41:46 +0200 Message-Id: <20191003134147.9458-4-sre@kernel.org> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191003134147.9458-1-sre@kernel.org> References: <20191003134147.9458-1-sre@kernel.org> MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org From: Sebastian Reichel All TI_ST users have been migrated to the new serdev based HCILL bluetooth driver. That driver is initialized from DT and does not need any platform quirks. Signed-off-by: Sebastian Reichel --- arch/arm/mach-omap2/pdata-quirks.c | 52 ------------------------------ 1 file changed, 52 deletions(-) diff --git a/arch/arm/mach-omap2/pdata-quirks.c b/arch/arm/mach-omap2/pdata-quirks.c index d942a3357090..02abeb44cab2 100644 --- a/arch/arm/mach-omap2/pdata-quirks.c +++ b/arch/arm/mach-omap2/pdata-quirks.c @@ -11,7 +11,6 @@ #include #include #include -#include #include #include #include @@ -139,53 +138,6 @@ static void __init omap3_sbc_t3530_legacy_init(void) omap3_sbc_t3x_usb_hub_init(167, "sb-t35 usb hub"); } -static struct ti_st_plat_data wilink_pdata = { - .nshutdown_gpio = 137, - .dev_name = "/dev/ttyO1", - .flow_cntrl = 1, - .baud_rate = 300000, -}; - -static struct platform_device wl18xx_device = { - .name = "kim", - .id = -1, - .dev = { - .platform_data = &wilink_pdata, - } -}; - -static struct ti_st_plat_data wilink7_pdata = { - .nshutdown_gpio = 162, - .dev_name = "/dev/ttyO1", - .flow_cntrl = 1, - .baud_rate = 3000000, -}; - -static struct platform_device wl128x_device = { - .name = "kim", - .id = -1, - .dev = { - .platform_data = &wilink7_pdata, - } -}; - -static struct platform_device btwilink_device = { - .name = "btwilink", - .id = -1, -}; - -static void __init omap3_igep0020_rev_f_legacy_init(void) -{ - platform_device_register(&wl18xx_device); - platform_device_register(&btwilink_device); -} - -static void __init omap3_igep0030_rev_g_legacy_init(void) -{ - platform_device_register(&wl18xx_device); - platform_device_register(&btwilink_device); -} - static void __init omap3_evm_legacy_init(void) { hsmmc2_internal_input_clk(); @@ -299,8 +251,6 @@ static void __init omap3_tao3530_legacy_init(void) static void __init omap3_logicpd_torpedo_init(void) { omap3_gpio126_127_129(); - platform_device_register(&wl128x_device); - platform_device_register(&btwilink_device); } /* omap3pandora legacy devices */ @@ -679,8 +629,6 @@ static struct pdata_init pdata_quirks[] __initdata = { { "nokia,omap3-n900", nokia_n900_legacy_init, }, { "nokia,omap3-n9", hsmmc2_internal_input_clk, }, { "nokia,omap3-n950", hsmmc2_internal_input_clk, }, - { "isee,omap3-igep0020-rev-f", omap3_igep0020_rev_f_legacy_init, }, - { "isee,omap3-igep0030-rev-g", omap3_igep0030_rev_g_legacy_init, }, { "logicpd,dm3730-torpedo-devkit", omap3_logicpd_torpedo_init, }, { "ti,omap3-evm-37xx", omap3_evm_legacy_init, }, { "ti,am3517-evm", am3517_evm_legacy_init, },