From patchwork Fri Aug 23 12:23:03 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 19437 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yh0-f69.google.com (mail-yh0-f69.google.com [209.85.213.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 76A61248E6 for ; Fri, 23 Aug 2013 12:24:00 +0000 (UTC) Received: by mail-yh0-f69.google.com with SMTP id a41sf483487yho.0 for ; Fri, 23 Aug 2013 05:24:00 -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=0PADASEGKnyHICT8/MUdxT3oGIQuk92lrtXhpn2uWIc=; b=BbcnxINEZZpdlIXEFSQd9xy8W0j42thMTU+Z8usiOdJHUzUpAkIiC2DBlwdrTbrdmJ H/X5HMnkbVEIOVZgpkeFNhhAfR1zRp9Rr/fEdlDuT7E2kn36kpRBpMue8vaIx9kfFkTr A0E1ToQTekVwd9HhRVryBVZTN27TZ6VNSK+cZ3uA+QhJi05AgZLGRPv2SUmDd6sOiOSI D7JkpK+IzGASsOn/Zb7It8r7/HBQMCs9fak9QaUPyk+rW2eo+2+QGjbTTwrucQenueFL SXtgz1rWBi74zL7strEyrQZCKP8A6io9+VPowdGC10pYOOsA4AiyHSr279zT+23dq2ZK ussQ== X-Received: by 10.224.74.72 with SMTP id t8mr16771043qaj.4.1377260640266; Fri, 23 Aug 2013 05:24:00 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.24.194 with SMTP id w2ls1355591qef.96.gmail; Fri, 23 Aug 2013 05:24:00 -0700 (PDT) X-Received: by 10.52.244.78 with SMTP id xe14mr100521vdc.30.1377260640186; Fri, 23 Aug 2013 05:24:00 -0700 (PDT) Received: from mail-ve0-f171.google.com (mail-ve0-f171.google.com [209.85.128.171]) by mx.google.com with ESMTPS id fx15si5460439vec.148.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 23 Aug 2013 05:24:00 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.171 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.171; Received: by mail-ve0-f171.google.com with SMTP id pa12so365071veb.2 for ; Fri, 23 Aug 2013 05:24:00 -0700 (PDT) X-Gm-Message-State: ALoCoQmUKOpNdHIC15ZfSO3+NslkeFrlollJuL6hXtqmtzg9vU+w4ffrTjzNVHhGXOYxFRewYp5e X-Received: by 10.52.120.78 with SMTP id la14mr7252177vdb.9.1377260640032; Fri, 23 Aug 2013 05:24:00 -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 u4csp90078vcz; Fri, 23 Aug 2013 05:23:59 -0700 (PDT) X-Received: by 10.15.111.136 with SMTP id cj8mr65264eeb.91.1377260638908; Fri, 23 Aug 2013 05:23:58 -0700 (PDT) Received: from mail-ea0-f180.google.com (mail-ea0-f180.google.com [209.85.215.180]) by mx.google.com with ESMTPS id c49si16784253eeg.87.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 23 Aug 2013 05:23:58 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.215.180 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=209.85.215.180; Received: by mail-ea0-f180.google.com with SMTP id h10so259301eaj.39 for ; Fri, 23 Aug 2013 05:23:58 -0700 (PDT) X-Received: by 10.14.176.8 with SMTP id a8mr26349422eem.12.1377260638260; Fri, 23 Aug 2013 05:23:58 -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:23:57 -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 03/40] ARM: ux500: Remove ATAG support for LP5521 Programmable Three-Channel LED driver Date: Fri, 23 Aug 2013 13:23:03 +0100 Message-Id: <1377260620-18829-4-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.171 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 | 60 -------------------------------------- 1 file changed, 60 deletions(-) diff --git a/arch/arm/mach-ux500/board-mop500.c b/arch/arm/mach-ux500/board-mop500.c index 14fbee0..b090d4d 100644 --- a/arch/arm/mach-ux500/board-mop500.c +++ b/arch/arm/mach-ux500/board-mop500.c @@ -266,56 +266,6 @@ static struct tc3589x_platform_data mop500_tc35892_data = { .irq_base = MOP500_EGPIO_IRQ_BASE, }; -static struct lp55xx_led_config lp5521_pri_led[] = { - [0] = { - .chan_nr = 0, - .led_current = 0x2f, - .max_current = 0x5f, - }, - [1] = { - .chan_nr = 1, - .led_current = 0x2f, - .max_current = 0x5f, - }, - [2] = { - .chan_nr = 2, - .led_current = 0x2f, - .max_current = 0x5f, - }, -}; - -static struct lp55xx_platform_data __initdata lp5521_pri_data = { - .label = "lp5521_pri", - .led_config = &lp5521_pri_led[0], - .num_channels = 3, - .clock_mode = LP55XX_CLOCK_EXT, -}; - -static struct lp55xx_led_config lp5521_sec_led[] = { - [0] = { - .chan_nr = 0, - .led_current = 0x2f, - .max_current = 0x5f, - }, - [1] = { - .chan_nr = 1, - .led_current = 0x2f, - .max_current = 0x5f, - }, - [2] = { - .chan_nr = 2, - .led_current = 0x2f, - .max_current = 0x5f, - }, -}; - -static struct lp55xx_platform_data __initdata lp5521_sec_data = { - .label = "lp5521_sec", - .led_config = &lp5521_sec_led[0], - .num_channels = 3, - .clock_mode = LP55XX_CLOCK_EXT, -}; - static struct i2c_board_info __initdata mop500_i2c0_devices[] = { { I2C_BOARD_INFO("tc3589x", 0x42), @@ -328,16 +278,6 @@ static struct i2c_board_info __initdata mop500_i2c0_devices[] = { static struct i2c_board_info __initdata mop500_i2c2_devices[] = { { - /* lp5521 LED driver, 1st device */ - I2C_BOARD_INFO("lp5521", 0x33), - .platform_data = &lp5521_pri_data, - }, - { - /* lp5521 LED driver, 2st device */ - I2C_BOARD_INFO("lp5521", 0x34), - .platform_data = &lp5521_sec_data, - }, - { /* Light sensor Rohm BH1780GLI */ I2C_BOARD_INFO("bh1780", 0x29), },