From: Christian Dietrich <qy03fugy@stud.informatik.uni-erlangen.de>
To: Mike Frysinger <vapier@gentoo.org>,
Michael Hennerich <michael.hennerich@analog.com>,
Barry Song <barry.song@analog.com>,
Sonic Zhang <sonic.zhang@analog.com>,
Cliff Cai <cliff.cai@analog.com>,
uclinux-dist-devel@blackfin.uclinux.org,
linux-kernel@vger.kernel.org
Cc: vamos-dev@i4.informatik.uni-erlangen.de
Subject: [PATCH 5/6] arch/blackfin: Remove dead CONFIG_ADF702X
Date: Mon, 2 Aug 2010 18:02:55 +0200 [thread overview]
Message-ID: <1bdd2af4056783afe300100b2a067d111ba4e7ca.1280764206.git.qy03fugy@stud.informatik.uni-erlangen.de> (raw)
In-Reply-To: <cover.1280764206.git.qy03fugy@stud.informatik.uni-erlangen.de>
ADF702X doesn't exist in Kconfig, therefore removing all references to
it from the source.
Signed-off-by: Christian Dietrich <qy03fugy@stud.informatik.uni-erlangen.de>
---
arch/blackfin/mach-bf537/boards/stamp.c | 59 -------------------------------
1 files changed, 0 insertions(+), 59 deletions(-)
diff --git a/arch/blackfin/mach-bf537/boards/stamp.c b/arch/blackfin/mach-bf537/boards/stamp.c
index 09c6b46..ebce0d8 100644
--- a/arch/blackfin/mach-bf537/boards/stamp.c
+++ b/arch/blackfin/mach-bf537/boards/stamp.c
@@ -824,53 +824,6 @@ static struct bfin5xx_spi_chip enc28j60_spi_chip_info = {
};
#endif
-#if defined(CONFIG_ADF702X) || defined(CONFIG_ADF702X_MODULE)
-static struct bfin5xx_spi_chip adf7021_spi_chip_info = {
- .bits_per_word = 16,
- .cs_gpio = GPIO_PF10,
-};
-
-#include <linux/spi/adf702x.h>
-#define TXREG 0x0160A470
-static const u32 adf7021_regs[] = {
- 0x09608FA0,
- 0x00575011,
- 0x00A7F092,
- 0x2B141563,
- 0x81F29E94,
- 0x00003155,
- 0x050A4F66,
- 0x00000007,
- 0x00000008,
- 0x000231E9,
- 0x3296354A,
- 0x891A2B3B,
- 0x00000D9C,
- 0x0000000D,
- 0x0000000E,
- 0x0000000F,
-};
-
-static struct adf702x_platform_data adf7021_platform_data = {
- .regs_base = (void *)SPORT1_TCR1,
- .dma_ch_rx = CH_SPORT1_RX,
- .dma_ch_tx = CH_SPORT1_TX,
- .irq_sport_err = IRQ_SPORT1_ERROR,
- .gpio_int_rfs = GPIO_PF8,
- .pin_req = {P_SPORT1_DTPRI, P_SPORT1_RFS, P_SPORT1_DRPRI,
- P_SPORT1_RSCLK, P_SPORT1_TSCLK, 0},
- .adf702x_model = MODEL_ADF7021,
- .adf702x_regs = adf7021_regs,
- .tx_reg = TXREG,
-};
-static inline void adf702x_mac_init(void)
-{
- random_ether_addr(adf7021_platform_data.mac_addr);
-}
-#else
-static inline void adf702x_mac_init(void) {}
-#endif
-
#if defined(CONFIG_TOUCHSCREEN_ADS7846) || defined(CONFIG_TOUCHSCREEN_ADS7846_MODULE)
#include <linux/spi/ads7846.h>
static struct bfin5xx_spi_chip ad7873_spi_chip_info = {
@@ -1116,17 +1069,6 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = {
.mode = SPI_MODE_3,
},
#endif
-#if defined(CONFIG_ADF702X) || defined(CONFIG_ADF702X_MODULE)
- {
- .modalias = "adf702x",
- .max_speed_hz = 16000000, /* max spi clock (SCK) speed in HZ */
- .bus_num = 0,
- .chip_select = 0, /* GPIO controlled SSEL */
- .controller_data = &adf7021_spi_chip_info,
- .platform_data = &adf7021_platform_data,
- .mode = SPI_MODE_0,
- },
-#endif
#if defined(CONFIG_TOUCHSCREEN_ADS7846) || defined(CONFIG_TOUCHSCREEN_ADS7846_MODULE)
{
.modalias = "ads7846",
@@ -2279,7 +2221,6 @@ static int __init stamp_init(void)
{
printk(KERN_INFO "%s(): registering device resources\n", __func__);
bfin_plat_nand_init();
- adf702x_mac_init();
platform_add_devices(stamp_devices, ARRAY_SIZE(stamp_devices));
i2c_register_board_info(0, bfin_i2c_board_info,
ARRAY_SIZE(bfin_i2c_board_info));
--
1.7.0.4
next prev parent reply other threads:[~2010-08-02 16:03 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-02 15:56 [PATCH 0/6] Removing dead code Christian Dietrich
2010-08-02 16:00 ` [PATCH 1/6] arch/blackfin: Remove config HIGHMEM Christian Dietrich
2010-08-08 2:05 ` Mike Frysinger
2010-08-02 16:01 ` [PATCH 2/6] arch/blackfin: Remove dead CONFIG_BF535 Christian Dietrich
2010-08-02 17:36 ` Mike Frysinger
2010-08-02 16:01 ` [PATCH 3/6] arch/blackfin: Remove CONFIG_MEM_GENERIC_BOARD Christian Dietrich
2010-08-02 17:40 ` Mike Frysinger
2010-08-02 16:02 ` [PATCH 4/6] arch/blackfin: Remove dead CONFIG_REGULATOR_ADP_SWITCH Christian Dietrich
2010-08-02 17:38 ` Mike Frysinger
2010-08-02 16:02 ` Christian Dietrich [this message]
2010-08-02 17:34 ` [PATCH 5/6] arch/blackfin: Remove dead CONFIG_ADF702X Mike Frysinger
2010-08-02 16:03 ` [PATCH 6/6] arch/blackfin: Removing dead SND_BLACKFIN_AD183X Christian Dietrich
2010-08-02 17:39 ` Mike Frysinger
2010-08-02 17:50 ` [PATCH 0/6] Removing dead code Mike Frysinger
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=1bdd2af4056783afe300100b2a067d111ba4e7ca.1280764206.git.qy03fugy@stud.informatik.uni-erlangen.de \
--to=qy03fugy@stud.informatik.uni-erlangen.de \
--cc=barry.song@analog.com \
--cc=cliff.cai@analog.com \
--cc=linux-kernel@vger.kernel.org \
--cc=michael.hennerich@analog.com \
--cc=sonic.zhang@analog.com \
--cc=uclinux-dist-devel@blackfin.uclinux.org \
--cc=vamos-dev@i4.informatik.uni-erlangen.de \
--cc=vapier@gentoo.org \
/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: link
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
all inboxes | Powered by JetHome®