Skip to content

Commit 7c2db36

Browse files
committed
Merge branch 'akpm' (incoming from Andrew)
Merge misc patches from Andrew Morton: - Florian has vanished so I appear to have become fbdev maintainer again :( - Joel and Mark are distracted to welcome to the new OCFS2 maintainer - The backlight queue - Small core kernel changes - lib/ updates - The rtc queue - Various random bits * akpm: (164 commits) rtc: rtc-davinci: use devm_*() functions rtc: rtc-max8997: use devm_request_threaded_irq() rtc: rtc-max8907: use devm_request_threaded_irq() rtc: rtc-da9052: use devm_request_threaded_irq() rtc: rtc-wm831x: use devm_request_threaded_irq() rtc: rtc-tps80031: use devm_request_threaded_irq() rtc: rtc-lp8788: use devm_request_threaded_irq() rtc: rtc-coh901331: use devm_clk_get() rtc: rtc-vt8500: use devm_*() functions rtc: rtc-tps6586x: use devm_request_threaded_irq() rtc: rtc-imxdi: use devm_clk_get() rtc: rtc-cmos: use dev_warn()/dev_dbg() instead of printk()/pr_debug() rtc: rtc-pcf8583: use dev_warn() instead of printk() rtc: rtc-sun4v: use pr_warn() instead of printk() rtc: rtc-vr41xx: use dev_info() instead of printk() rtc: rtc-rs5c313: use pr_err() instead of printk() rtc: rtc-at91rm9200: use dev_dbg()/dev_err() instead of printk()/pr_debug() rtc: rtc-rs5c372: use dev_dbg()/dev_warn() instead of printk()/pr_debug() rtc: rtc-ds2404: use dev_err() instead of printk() rtc: rtc-efi: use dev_err()/dev_warn()/pr_err() instead of printk() ...
2 parents 8b5628a + a47a376 commit 7c2db36

165 files changed

Lines changed: 9671 additions & 1297 deletions

File tree

Some content is hidden

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

‎Documentation/ABI/testing/sysfs-class-bdi‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,8 @@ max_ratio (read-write)
4848
most of the write-back cache. For example in case of an NFS
4949
mount that is prone to get stuck, or a FUSE mount which cannot
5050
be trusted to play fair.
51+
52+
stable_pages_required (read-only)
53+
54+
If set, the backing device requires that all pages comprising a write
55+
request must not be changed until writeout is complete.

‎Documentation/backlight/lp855x-driver.txt‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Kernel driver lp855x
44
Backlight driver for LP855x ICs
55

66
Supported chips:
7-
Texas Instruments LP8550, LP8551, LP8552, LP8553 and LP8556
7+
Texas Instruments LP8550, LP8551, LP8552, LP8553, LP8556 and LP8557
88

99
Author: Milo(Woogyom) Kim <milo.kim@ti.com>
1010

@@ -24,7 +24,7 @@ Value : pwm based or register based
2424

2525
2) chip_id
2626
The lp855x chip id.
27-
Value : lp8550/lp8551/lp8552/lp8553/lp8556
27+
Value : lp8550/lp8551/lp8552/lp8553/lp8556/lp8557
2828

2929
Platform data for lp855x
3030
------------------------

‎Documentation/devicetree/booting-without-of.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1228,7 +1228,7 @@ hierarchy and routing of interrupts in the hardware.
12281228
The interrupt tree model is fully described in the
12291229
document "Open Firmware Recommended Practice: Interrupt
12301230
Mapping Version 0.9". The document is available at:
1231-
<http://playground.sun.com/1275/practice>.
1231+
<http://www.openfirmware.org/ofwg/practice/>
12321232

12331233
1) interrupts property
12341234
----------------------

‎Documentation/printk-formats.txt‎

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,14 @@ Struct Resources:
5353
For printing struct resources. The 'R' and 'r' specifiers result in a
5454
printed resource with ('R') or without ('r') a decoded flags member.
5555

56+
Physical addresses:
57+
58+
%pa 0x01234567 or 0x0123456789abcdef
59+
60+
For printing a phys_addr_t type (and its derivatives, such as
61+
resource_size_t) which can vary based on build options, regardless of
62+
the width of the CPU data path. Passed by reference.
63+
5664
Raw buffer as a hex string:
5765
%*ph 00 01 02 ... 3f
5866
%*phC 00:01:02: ... :3f
@@ -150,9 +158,9 @@ s64 SHOULD be printed with %lld/%llx, (long long):
150158
printk("%lld", (long long)s64_var);
151159

152160
If <type> is dependent on a config option for its size (e.g., sector_t,
153-
blkcnt_t, phys_addr_t, resource_size_t) or is architecture-dependent
154-
for its size (e.g., tcflag_t), use a format specifier of its largest
155-
possible type and explicitly cast to it. Example:
161+
blkcnt_t) or is architecture-dependent for its size (e.g., tcflag_t), use a
162+
format specifier of its largest possible type and explicitly cast to it.
163+
Example:
156164

157165
printk("test: sector number/total blocks: %llu/%llu\n",
158166
(unsigned long long)sector, (unsigned long long)blockcount);

‎MAINTAINERS‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1956,7 +1956,8 @@ F: drivers/misc/*
19561956

19571957
CHECKPATCH
19581958
M: Andy Whitcroft <apw@canonical.com>
1959-
S: Supported
1959+
M: Joe Perches <joe@perches.com>
1960+
S: Maintained
19601961
F: scripts/checkpatch.pl
19611962

19621963
CHINESE DOCUMENTATION
@@ -5035,6 +5036,10 @@ L: linux-mm@kvack.org
50355036
W: http://www.linux-mm.org
50365037
S: Maintained
50375038
F: include/linux/mm.h
5039+
F: include/linux/gfp.h
5040+
F: include/linux/mmzone.h
5041+
F: include/linux/memory_hotplug.h
5042+
F: include/linux/vmalloc.h
50385043
F: mm/
50395044

50405045
MEMORY RESOURCE CONTROLLER

‎arch/alpha/kernel/osf_sys.c‎

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1300,17 +1300,15 @@ static unsigned long
13001300
arch_get_unmapped_area_1(unsigned long addr, unsigned long len,
13011301
unsigned long limit)
13021302
{
1303-
struct vm_area_struct *vma = find_vma(current->mm, addr);
1304-
1305-
while (1) {
1306-
/* At this point: (!vma || addr < vma->vm_end). */
1307-
if (limit - len < addr)
1308-
return -ENOMEM;
1309-
if (!vma || addr + len <= vma->vm_start)
1310-
return addr;
1311-
addr = vma->vm_end;
1312-
vma = vma->vm_next;
1313-
}
1303+
struct vm_unmapped_area_info info;
1304+
1305+
info.flags = 0;
1306+
info.length = len;
1307+
info.low_limit = addr;
1308+
info.high_limit = limit;
1309+
info.align_mask = 0;
1310+
info.align_offset = 0;
1311+
return vm_unmapped_area(&info);
13141312
}
13151313

13161314
unsigned long

‎arch/arm/boot/dts/armada-370-xp.dtsi‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,12 @@
131131
clocks = <&coreclk 0>;
132132
status = "disabled";
133133
};
134+
135+
rtc@10300 {
136+
compatible = "marvell,orion-rtc";
137+
reg = <0xd0010300 0x20>;
138+
interrupts = <50>;
139+
};
134140
};
135141
};
136142

‎arch/arm/configs/pxa910_defconfig‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,14 @@ CONFIG_SMC91X=y
4242
# CONFIG_SERIO is not set
4343
CONFIG_SERIAL_PXA=y
4444
CONFIG_SERIAL_PXA_CONSOLE=y
45+
CONFIG_SPI=y
46+
CONFIG_FB=y
47+
CONFIG_MMP_DISP=y
48+
CONFIG_MMP_DISP_CONTROLLER=y
49+
CONFIG_MMP_SPI=y
50+
CONFIG_MMP_PANEL_TPOHVGA=y
51+
CONFIG_MMP_FB=y
52+
CONFIG_LOGO=y
4553
# CONFIG_LEGACY_PTYS is not set
4654
# CONFIG_HW_RANDOM is not set
4755
# CONFIG_HWMON is not set

‎arch/arm/mach-mmp/include/mach/pxa910.h‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ extern void __init pxa910_init_irq(void);
88
#include <linux/i2c/pxa-i2c.h>
99
#include <mach/devices.h>
1010
#include <linux/platform_data/mtd-nand-pxa3xx.h>
11+
#include <video/mmp_disp.h>
1112

1213
extern struct pxa_device_desc pxa910_device_uart1;
1314
extern struct pxa_device_desc pxa910_device_uart2;
@@ -21,7 +22,9 @@ extern struct pxa_device_desc pxa910_device_nand;
2122
extern struct platform_device pxa168_device_u2o;
2223
extern struct platform_device pxa168_device_u2ootg;
2324
extern struct platform_device pxa168_device_u2oehci;
24-
25+
extern struct pxa_device_desc pxa910_device_disp;
26+
extern struct pxa_device_desc pxa910_device_fb;
27+
extern struct pxa_device_desc pxa910_device_panel;
2528
extern struct platform_device pxa910_device_gpio;
2629
extern struct platform_device pxa910_device_rtc;
2730

‎arch/arm/mach-mmp/pxa910.c‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,9 @@ PXA910_DEVICE(pwm2, "pxa910-pwm", 1, NONE, 0xd401a400, 0x10);
134134
PXA910_DEVICE(pwm3, "pxa910-pwm", 2, NONE, 0xd401a800, 0x10);
135135
PXA910_DEVICE(pwm4, "pxa910-pwm", 3, NONE, 0xd401ac00, 0x10);
136136
PXA910_DEVICE(nand, "pxa3xx-nand", -1, NAND, 0xd4283000, 0x80, 97, 99);
137+
PXA910_DEVICE(disp, "mmp-disp", 0, LCD, 0xd420b000, 0x1ec);
138+
PXA910_DEVICE(fb, "mmp-fb", -1, NONE, 0, 0);
139+
PXA910_DEVICE(panel, "tpo-hvga", -1, NONE, 0, 0);
137140

138141
struct resource pxa910_resource_gpio[] = {
139142
{

0 commit comments

Comments
 (0)