From patchwork Fri Aug 23 12:23:05 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 19439 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yh0-f70.google.com (mail-yh0-f70.google.com [209.85.213.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 1C415248E6 for ; Fri, 23 Aug 2013 12:24:04 +0000 (UTC) Received: by mail-yh0-f70.google.com with SMTP id z20sf427256yhz.5 for ; Fri, 23 Aug 2013 05:24:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-gm-message-state:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=N/r857JKvSDlvXPjCQYYCMFghzGgRVCC2YddJuKWOkI=; b=bwwggdX4z7cEYFui8v2ya+YwVIyjVhUGByUtxL+DByngmwpMSMUeFHyweCZhdFCr9N A9iEyxe/uWDS9Zq0f9RHASHCZqiXafswPbS8Mhxe1Anz+KQGJx7xDHjRIhK5BuUFkOoh QqT1B+uTUSHabf1rWL8w0RsRafgmDPuvlDNbB2MbsZYMqzBDVuYMt0kz072Enry2RBF1 dgeSDdPRmdMcrlaBUHu08RwS0tt2zBVrymakJSMN+MEw4uimU+U6FAYKuBT55awueGoQ RROwcfbCzwgrAGSbmxsecDbcJN3x4/FkegLB7Jc/ATe+14ZCBUVXsj8Rzpj6jugPLLBl bniw== X-Received: by 10.236.77.135 with SMTP id d7mr1285927yhe.49.1377260643913; Fri, 23 Aug 2013 05:24:03 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.83.7 with SMTP id m7ls1612156qey.0.gmail; Fri, 23 Aug 2013 05:24:03 -0700 (PDT) X-Received: by 10.52.229.73 with SMTP id so9mr1023048vdc.27.1377260643822; Fri, 23 Aug 2013 05:24:03 -0700 (PDT) Received: from mail-ve0-f174.google.com (mail-ve0-f174.google.com [209.85.128.174]) by mx.google.com with ESMTPS id h4si5473393vdw.45.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 23 Aug 2013 05:24:03 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.174 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.174; Received: by mail-ve0-f174.google.com with SMTP id d10so372592vea.5 for ; Fri, 23 Aug 2013 05:24:03 -0700 (PDT) X-Gm-Message-State: ALoCoQnl6RIyZvnPu8OQMeOdhZVVYJBNzTx40fP9yy4w+U639TeYJSJ2UzdBRBoJYLoIsWq3bPtg X-Received: by 10.52.180.229 with SMTP id dr5mr13700445vdc.20.1377260643732; Fri, 23 Aug 2013 05:24:03 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp90081vcz; Fri, 23 Aug 2013 05:24:02 -0700 (PDT) X-Received: by 10.14.205.135 with SMTP id j7mr58890eeo.93.1377260642417; Fri, 23 Aug 2013 05:24:02 -0700 (PDT) Received: from mail-ee0-f50.google.com (mail-ee0-f50.google.com [74.125.83.50]) by mx.google.com with ESMTPS id k49si16799507een.22.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 23 Aug 2013 05:24:02 -0700 (PDT) Received-SPF: neutral (google.com: 74.125.83.50 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=74.125.83.50; Received: by mail-ee0-f50.google.com with SMTP id d51so260095eek.37 for ; Fri, 23 Aug 2013 05:24:01 -0700 (PDT) X-Received: by 10.15.111.136 with SMTP id cj8mr65509eeb.91.1377260641765; Fri, 23 Aug 2013 05:24:01 -0700 (PDT) Received: from localhost.localdomain (cpc15-aztw25-2-0-cust493.aztw.cable.virginmedia.com. [92.233.57.238]) by mx.google.com with ESMTPSA id f49sm24417729eec.7.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 23 Aug 2013 05:24:00 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: arnd@arndb.de, linus.walleij@linaro.org, Lee Jones Subject: [PATCH 05/40] ARM: ux500: Purge support for Snowball user buttons when booting with ATAGs Date: Fri, 23 Aug 2013 13:23:05 +0100 Message-Id: <1377260620-18829-6-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1377260620-18829-1-git-send-email-lee.jones@linaro.org> References: <1377260620-18829-1-git-send-email-lee.jones@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: lee.jones@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.174 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , It's time to remove all ATAG support from ux500 and rely solely on Device Tree booting. This patch is part of that endeavour. Signed-off-by: Lee Jones --- arch/arm/mach-ux500/board-mop500.c | 62 -------------------------------------- 1 file changed, 62 deletions(-) diff --git a/arch/arm/mach-ux500/board-mop500.c b/arch/arm/mach-ux500/board-mop500.c index e634ea5..dcd482b 100644 --- a/arch/arm/mach-ux500/board-mop500.c +++ b/arch/arm/mach-ux500/board-mop500.c @@ -119,67 +119,6 @@ static struct ab8500_codec_platform_data ab8500_codec_pdata = { .ear_cmv = EAR_CMV_0_95V }; -static struct gpio_keys_button snowball_key_array[] = { - { - .gpio = 32, - .type = EV_KEY, - .code = KEY_1, - .desc = "userpb", - .active_low = 1, - .debounce_interval = 50, - .wakeup = 1, - }, - { - .gpio = 151, - .type = EV_KEY, - .code = KEY_2, - .desc = "extkb1", - .active_low = 1, - .debounce_interval = 50, - .wakeup = 1, - }, - { - .gpio = 152, - .type = EV_KEY, - .code = KEY_3, - .desc = "extkb2", - .active_low = 1, - .debounce_interval = 50, - .wakeup = 1, - }, - { - .gpio = 161, - .type = EV_KEY, - .code = KEY_4, - .desc = "extkb3", - .active_low = 1, - .debounce_interval = 50, - .wakeup = 1, - }, - { - .gpio = 162, - .type = EV_KEY, - .code = KEY_5, - .desc = "extkb4", - .active_low = 1, - .debounce_interval = 50, - .wakeup = 1, - }, -}; - -static struct gpio_keys_platform_data snowball_key_data = { - .buttons = snowball_key_array, - .nbuttons = ARRAY_SIZE(snowball_key_array), -}; - -static struct platform_device snowball_key_dev = { - .name = "gpio-keys", - .id = -1, - .dev = { - .platform_data = &snowball_key_data, - } -}; - static struct smsc911x_platform_config snowball_sbnet_cfg = { .irq_polarity = SMSC911X_IRQ_POLARITY_ACTIVE_HIGH, .irq_type = SMSC911X_IRQ_TYPE_PUSH_PULL, @@ -460,7 +399,6 @@ static void __init u8500_cryp1_hash1_init(struct device *parent) } static struct platform_device *snowball_platform_devs[] __initdata = { - &snowball_key_dev, &snowball_sbnet_dev, &snowball_gpio_en_3v3_regulator_dev, &u8500_cpufreq_cooling_device,