Changeset 35873


Ignore:
Timestamp:
2013-03-04T10:40:44+01:00 (5 years ago)
Author:
juhosg
Message:

ar71xx: use backported SPI patches

Signed-off-by: Gabor Juhos <juhosg@…>

Location:
trunk/target/linux/ar71xx/patches-3.8
Files:
2 added
2 deleted
4 moved

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ar71xx/patches-3.8/001-spi-ath79-add-delay-between-SCK-changes.patch

    r35872 r35873  
    1 From cbb3ade4765bc715b5c2eae4a7b6eaf3ff7ad958 Mon Sep 17 00:00:00 2001 
     1From 486c150478777ef53cfef6f0d46840b9406b0612 Mon Sep 17 00:00:00 2001 
    22From: Gabor Juhos <juhosg@openwrt.org> 
    3 Date: Wed, 11 Jan 2012 20:06:35 +0100 
    4 Subject: [PATCH 28/34] spi/ath79: add delay between SCK changes 
     3Date: Thu, 27 Dec 2012 10:42:24 +0100 
     4Subject: [PATCH] spi/ath79: add delay between SCK changes 
     5 
     6commit 440114fdb13cbc53ea734bcc05b86bcf5b1e430c upstream. 
    57 
    68The driver uses the "as fast as it can" approach 
    79to drive the SCK signal. However this does not 
    810work with certain low speed SPI chips (e.g. the 
    9 PCF2123 RTC chip). Add per-bit slowdowns in order 
    10 to be able to use the driver with such chips as 
    11 well. 
     11PCF2123 RTC chip). 
     12 
     13The patch adds per-bit slowdowns in order to be 
     14able to use the driver with such chips as well. 
    1215 
    1316Signed-off-by: Gabor Juhos <juhosg@openwrt.org> 
     17Signed-off-by: Grant Likely <grant.likely@secretlab.ca> 
    1418--- 
    1519 drivers/spi/spi-ath79.c |   44 +++++++++++++++++++++++++++++++++++++++++++- 
    16  1 files changed, 43 insertions(+), 1 deletions(-) 
     20 1 file changed, 43 insertions(+), 1 deletion(-) 
    1721 
    1822--- a/drivers/spi/spi-ath79.c 
  • trunk/target/linux/ar71xx/patches-3.8/003-spi-ath79-remove-superfluous-chip-select-code.patch

    r35872 r35873  
    1 From 06752f9b169493cd1323f8337c147ad2dd31025c Mon Sep 17 00:00:00 2001 
     1From 622d87da7f99b29dde053881bf42c46de7572ce5 Mon Sep 17 00:00:00 2001 
    22From: Gabor Juhos <juhosg@openwrt.org> 
    3 Date: Mon, 9 Jan 2012 15:03:28 +0100 
    4 Subject: [PATCH 30/34] spi/ath79: remove superfluous chip select code 
     3Date: Thu, 27 Dec 2012 10:42:26 +0100 
     4Subject: [PATCH] spi/ath79: remove superfluous chip select code 
     5 
     6commit f1e8fc9898fd8ca78b7438d3c2e60028d3ae2a34 upstream. 
    57 
    68The spi_bitbang driver calls the chipselect function 
     
    1012 
    1113Signed-off-by: Gabor Juhos <juhosg@openwrt.org> 
     14Signed-off-by: Grant Likely <grant.likely@secretlab.ca> 
    1215--- 
    1316 drivers/spi/spi-ath79.c |    6 ------ 
    14  1 files changed, 0 insertions(+), 6 deletions(-) 
     17 1 file changed, 6 deletions(-) 
    1518 
    1619--- a/drivers/spi/spi-ath79.c 
  • trunk/target/linux/ar71xx/patches-3.8/004-spi-ath79-use-gpio_request_one.patch

    r35872 r35873  
    1 From 6bd876a46b977643f27d2cc63f49e1bc84b78134 Mon Sep 17 00:00:00 2001 
     1From f0b166c931c9971f2ae9614881565d23f58b3178 Mon Sep 17 00:00:00 2001 
    22From: Gabor Juhos <juhosg@openwrt.org> 
    3 Date: Mon, 9 Jan 2012 15:04:21 +0100 
    4 Subject: [PATCH 31/34] spi/ath79: use gpio_request_one 
     3Date: Thu, 27 Dec 2012 10:42:27 +0100 
     4Subject: [PATCH] spi/ath79: use gpio_request_one 
     5 
     6commit 95d79419feffb326a3d5cb50e2248129dec06bb0 upstream. 
    57 
    68Use gpio_request_one() instead of multiple gpiolib calls. 
    79 
    810Signed-off-by: Gabor Juhos <juhosg@openwrt.org> 
     11Signed-off-by: Grant Likely <grant.likely@secretlab.ca> 
    912--- 
    10  drivers/spi/spi-ath79.c |   26 +++++++++++++------------- 
    11  1 files changed, 13 insertions(+), 13 deletions(-) 
     13 drivers/spi/spi-ath79.c |   22 +++++++++++----------- 
     14 1 file changed, 11 insertions(+), 11 deletions(-) 
    1215 
    1316--- a/drivers/spi/spi-ath79.c 
  • trunk/target/linux/ar71xx/patches-3.8/005-spi-ath79-avoid-multiple-initialization-of-the-SPI-c.patch

    r35872 r35873  
    1 From e63ceaa0c4f7be0498cd452981073d3ce8e7d1f5 Mon Sep 17 00:00:00 2001 
     1From d731c08cf1d264fd6113b9a97790c5a3a86ea520 Mon Sep 17 00:00:00 2001 
    22From: Gabor Juhos <juhosg@openwrt.org> 
    3 Date: Mon, 9 Jan 2012 15:00:46 +0100 
    4 Subject: [PATCH 32/34] spi/ath79: avoid multiple initialization of the SPI controller 
     3Date: Thu, 27 Dec 2012 10:42:28 +0100 
     4Subject: [PATCH] spi/ath79: avoid multiple initialization of the SPI 
     5 controller 
     6 
     7commit c4a31f43005512b366e8bfc346e7f14c1a7a1ba7 upstream. 
    58 
    69Currently we are initializing the SPI controller in 
     
    1518 
    1619Signed-off-by: Gabor Juhos <juhosg@openwrt.org> 
     20Signed-off-by: Grant Likely <grant.likely@secretlab.ca> 
    1721--- 
    1822 drivers/spi/spi-ath79.c |   41 ++++++++++++++++++++++++----------------- 
    19  1 files changed, 24 insertions(+), 17 deletions(-) 
     23 1 file changed, 24 insertions(+), 17 deletions(-) 
    2024 
    2125--- a/drivers/spi/spi-ath79.c 
Note: See TracChangeset for help on using the changeset viewer.