Skip to content

Commit 6d6be43

Browse files
committed
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vapier/blackfin
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vapier/blackfin: (43 commits) Blackfin: spi-docs: further clarify GPIO CS behavior with various modes Blackfin: boards: fix pcm device name Blackfin: SMP: punt unused atomic_test_mask helper Blackfin: irqs: do not trace arch_local_{*,irq_*} functions Blackfin: bf526: restrict reboot workaround to 0.0 silicon Blackfin: bf51x: fix alternative portmux options Blackfin: bf54x: fix GPIO resume code Blackfin: dpmc: optimize SDRAM programming slightly Blackfin: dpmc: don't save/restore scratch registers Blackfin: bf538: pull gpio/port logic out of core hibernate paths Blackfin: dpmc: optimize hibernate/resume path Blackfin: dpmc: do not save/restore EVT0/EVT1/EVT4 when hibernating Blackfin: dpmc: relocate hibernate helper macros Blackfin: dpmc: omit RETE/RETN when hibernating Blackfin: dpmc: optimize SIC_IWR programming a little Blackfin: gpio/ints: generalize pint logic Blackfin: dpmc: bind to MMR names and not CPUs Blackfin: debug-mmrs: generalize pint logic Blackfin: bf54x: switch to common pint MMR struct Blackfin: bf54x: tweak MMR pint names ...
2 parents f5fc879 + 1061734 commit 6d6be43

115 files changed

Lines changed: 1735 additions & 2138 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎Documentation/blackfin/bfin-spi-notes.txt‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ the entire SPI transfer. - And not just bits_per_word duration.
99
In most cases you can utilize SPI MODE_3 instead of MODE_0 to work-around this
1010
behavior. If your SPI slave device in question requires SPI MODE_0 or MODE_2
1111
timing, you can utilize the GPIO controlled SPI Slave Select option instead.
12+
In this case, you should use GPIO based CS for all of your slaves and not just
13+
the ones using mode 0 or 2 in order to guarantee correct CS toggling behavior.
1214

1315
You can even use the same pin whose peripheral role is a SSEL,
1416
but use it as a GPIO instead.

‎arch/blackfin/Kconfig‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -953,6 +953,16 @@ config BFIN_GPTIMERS
953953
To compile this driver as a module, choose M here: the module
954954
will be called gptimers.
955955

956+
config HAVE_PWM
957+
tristate "Enable PWM API support"
958+
depends on BFIN_GPTIMERS
959+
help
960+
Enable support for the Pulse Width Modulation framework (as
961+
found in linux/pwm.h).
962+
963+
To compile this driver as a module, choose M here: the module
964+
will be called pwm.
965+
956966
choice
957967
prompt "Uncached DMA region"
958968
default DMA_UNCACHED_1M

‎arch/blackfin/configs/BF561-EZKIT_defconfig‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,13 @@ CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
5858
CONFIG_MTD=y
5959
CONFIG_MTD_PARTITIONS=y
6060
CONFIG_MTD_CMDLINE_PARTS=y
61-
CONFIG_MTD_CHAR=m
61+
CONFIG_MTD_CHAR=y
6262
CONFIG_MTD_BLOCK=y
63-
CONFIG_MTD_CFI=m
64-
CONFIG_MTD_CFI_AMDSTD=m
63+
CONFIG_MTD_CFI=y
64+
CONFIG_MTD_CFI_AMDSTD=y
6565
CONFIG_MTD_RAM=y
6666
CONFIG_MTD_ROM=m
67-
CONFIG_MTD_PHYSMAP=m
67+
CONFIG_MTD_PHYSMAP=y
6868
CONFIG_BLK_DEV_RAM=y
6969
CONFIG_NETDEVICES=y
7070
CONFIG_NET_ETHERNET=y

‎arch/blackfin/include/asm/Kbuild‎

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,48 @@
11
include include/asm-generic/Kbuild.asm
22

3+
generic-y += auxvec.h
4+
generic-y += bitsperlong.h
5+
generic-y += bugs.h
6+
generic-y += cputime.h
7+
generic-y += current.h
8+
generic-y += device.h
9+
generic-y += div64.h
10+
generic-y += emergency-restart.h
11+
generic-y += errno.h
12+
generic-y += fb.h
13+
generic-y += futex.h
14+
generic-y += hw_irq.h
15+
generic-y += ioctl.h
16+
generic-y += ipcbuf.h
17+
generic-y += irq_regs.h
18+
generic-y += kdebug.h
19+
generic-y += kmap_types.h
20+
generic-y += local64.h
21+
generic-y += local.h
22+
generic-y += mman.h
23+
generic-y += msgbuf.h
24+
generic-y += param.h
25+
generic-y += percpu.h
26+
generic-y += pgalloc.h
27+
generic-y += resource.h
28+
generic-y += scatterlist.h
29+
generic-y += sembuf.h
30+
generic-y += serial.h
31+
generic-y += setup.h
32+
generic-y += shmbuf.h
33+
generic-y += shmparam.h
34+
generic-y += socket.h
35+
generic-y += sockios.h
36+
generic-y += statfs.h
37+
generic-y += termbits.h
38+
generic-y += termios.h
39+
generic-y += topology.h
40+
generic-y += types.h
41+
generic-y += ucontext.h
42+
generic-y += unaligned.h
43+
generic-y += user.h
44+
generic-y += xor.h
45+
346
header-y += bfin_sport.h
447
header-y += cachectl.h
548
header-y += fixed_code.h

‎arch/blackfin/include/asm/atomic.h‎

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*
2-
 * Copyright 2004-2009 Analog Devices Inc.
3-
 *
4-
 * Licensed under the GPL-2 or later.
5-
 */
2+
* Copyright 2004-2009 Analog Devices Inc.
3+
*
4+
* Licensed under the GPL-2 or later.
5+
*/
66

77
#ifndef __ARCH_BLACKFIN_ATOMIC__
88
#define __ARCH_BLACKFIN_ATOMIC__
@@ -76,11 +76,6 @@ static inline void atomic_set_mask(int mask, atomic_t *v)
7676
__raw_atomic_set_asm(&v->counter, mask);
7777
}
7878

79-
static inline int atomic_test_mask(int mask, atomic_t *v)
80-
{
81-
return __raw_atomic_test_asm(&v->counter, mask);
82-
}
83-
8479
/* Atomic operations are already serializing */
8580
#define smp_mb__before_atomic_dec() barrier()
8681
#define smp_mb__after_atomic_dec() barrier()

‎arch/blackfin/include/asm/auxvec.h‎

Lines changed: 0 additions & 1 deletion
This file was deleted.

‎arch/blackfin/include/asm/bitsperlong.h‎

Lines changed: 0 additions & 1 deletion
This file was deleted.

‎arch/blackfin/include/asm/blackfin.h‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/*
22
* Common header file for Blackfin family of processors.
33
*
4-
 * Copyright 2004-2009 Analog Devices Inc.
5-
 *
6-
 * Licensed under the GPL-2 or later.
4+
* Copyright 2004-2009 Analog Devices Inc.
5+
*
6+
* Licensed under the GPL-2 or later.
77
*/
88

99
#ifndef _BLACKFIN_H_

‎arch/blackfin/include/asm/bugs.h‎

Lines changed: 0 additions & 1 deletion
This file was deleted.

‎arch/blackfin/include/asm/cputime.h‎

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)