Skip to content

Commit cdd854b

Browse files
committed
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc
* 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc: (79 commits) powerpc/8xx: Add support for the MPC8xx based boards from TQC powerpc/85xx: Introduce support for the Freescale P1022DS reference board powerpc/85xx: Adding DTS for the STx GP3-SSA MPC8555 board powerpc/85xx: Change deprecated binding for 85xx-based boards powerpc/tqm85xx: add a quirk for ti1520 PCMCIA bridge powerpc/tqm85xx: update PCI interrupt-map attribute powerpc/mpc8308rdb: support for MPC8308RDB board from Freescale powerpc/fsl_pci: add quirk for mpc8308 pcie bridge powerpc/85xx: Cleanup QE initialization for MPC85xxMDS boards powerpc/85xx: Fix booting for P1021MDS boards powerpc/85xx: Fix SWIOTLB initalization for MPC85xxMDS boards powerpc/85xx: kexec for SMP 85xx BookE systems powerpc/5200/i2c: improve i2c bus error recovery of/xilinxfb: update tft compatible versions powerpc/fsl-diu-fb: Support setting display mode using EDID powerpc/5121: doc/dts-bindings: update doc of FSL DIU bindings powerpc/5121: shared DIU framebuffer support powerpc/5121: move fsl-diu-fb.h to include/linux powerpc/5121: fsl-diu-fb: fix issue with re-enabling DIU area descriptor powerpc/512x: add clock structure for Video-IN (VIU) unit ...
2 parents bbc4fd1 + 42a0ae2 commit cdd854b

137 files changed

Lines changed: 8141 additions & 1065 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/powerpc/dts-bindings/fsl/diu.txt‎

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,17 @@ The Freescale DIU is a LCD controller, with proper hardware, it can also
44
drive DVI monitors.
55

66
Required properties:
7-
- compatible : should be "fsl-diu".
7+
- compatible : should be "fsl,diu" or "fsl,mpc5121-diu".
88
- reg : should contain at least address and length of the DIU register
99
set.
10-
- Interrupts : one DIU interrupt should be describe here.
10+
- interrupts : one DIU interrupt should be described here.
11+
- interrupt-parent : the phandle for the interrupt controller that
12+
services interrupts for this device.
13+
14+
Optional properties:
15+
- edid : verbatim EDID data block describing attached display.
16+
Data from the detailed timing descriptor will be used to
17+
program the display controller.
1118

1219
Example (MPC8610HPCD):
1320
display@2c000 {
@@ -16,3 +23,12 @@ Example (MPC8610HPCD):
1623
interrupts = <72 2>;
1724
interrupt-parent = <&mpic>;
1825
};
26+
27+
Example for MPC5121:
28+
display@2100 {
29+
compatible = "fsl,mpc5121-diu";
30+
reg = <0x2100 0x100>;
31+
interrupts = <64 0x8>;
32+
interrupt-parent = <&ipic>;
33+
edid = [edid-data];
34+
};

‎Documentation/powerpc/dts-bindings/fsl/i2c.txt‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ Recommended properties :
2020
- fsl,preserve-clocking : boolean; if defined, the clock settings
2121
from the bootloader are preserved (not touched).
2222
- clock-frequency : desired I2C bus clock frequency in Hz.
23+
- fsl,timeout : I2C bus timeout in microseconds.
2324

2425
Examples :
2526

@@ -59,4 +60,5 @@ Examples :
5960
interrupts = <43 2>;
6061
interrupt-parent = <&mpic>;
6162
clock-frequency = <400000>;
63+
fsl,timeout = <10000>;
6264
};

‎arch/powerpc/Kconfig‎

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ config PPC
141141
select GENERIC_ATOMIC64 if PPC32
142142
select HAVE_PERF_EVENTS
143143
select HAVE_REGS_AND_STACK_ACCESS_API
144+
select HAVE_HW_BREAKPOINT if PERF_EVENTS && PPC_BOOK3S_64
144145

145146
config EARLY_PRINTK
146147
bool
@@ -218,7 +219,7 @@ config ARCH_HIBERNATION_POSSIBLE
218219
config ARCH_SUSPEND_POSSIBLE
219220
def_bool y
220221
depends on ADB_PMU || PPC_EFIKA || PPC_LITE5200 || PPC_83xx || \
221-
PPC_85xx || PPC_86xx
222+
PPC_85xx || PPC_86xx || PPC_PSERIES
222223

223224
config PPC_DCR_NATIVE
224225
bool
@@ -351,7 +352,7 @@ config ARCH_ENABLE_MEMORY_HOTREMOVE
351352

352353
config KEXEC
353354
bool "kexec system call (EXPERIMENTAL)"
354-
depends on (PPC_BOOK3S || (FSL_BOOKE && !SMP)) && EXPERIMENTAL
355+
depends on (PPC_BOOK3S || FSL_BOOKE) && EXPERIMENTAL
355356
help
356357
kexec is a system call that implements the ability to shutdown your
357358
current kernel, and to start another kernel. It is like a reboot
@@ -368,8 +369,8 @@ config KEXEC
368369

369370
config CRASH_DUMP
370371
bool "Build a kdump crash kernel"
371-
depends on PPC64 || 6xx
372-
select RELOCATABLE if PPC64
372+
depends on PPC64 || 6xx || FSL_BOOKE
373+
select RELOCATABLE if PPC64 || FSL_BOOKE
373374
help
374375
Build a kernel suitable for use as a kdump capture kernel.
375376
The same kernel binary can be used as production kernel and dump
@@ -668,7 +669,7 @@ config NEED_SG_DMA_LENGTH
668669

669670
config GENERIC_ISA_DMA
670671
bool
671-
depends on PPC64 || POWER4 || 6xx && !CPM2
672+
depends on ISA_DMA_API
672673
default y
673674

674675
config PPC_INDIRECT_PCI
@@ -897,7 +898,7 @@ config KERNEL_START_BOOL
897898
config KERNEL_START
898899
hex "Virtual address of kernel base" if KERNEL_START_BOOL
899900
default PAGE_OFFSET if PAGE_OFFSET_BOOL
900-
default "0xc2000000" if CRASH_DUMP
901+
default "0xc2000000" if CRASH_DUMP && !RELOCATABLE
901902
default "0xc0000000"
902903

903904
config PHYSICAL_START_BOOL
@@ -910,7 +911,7 @@ config PHYSICAL_START_BOOL
910911

911912
config PHYSICAL_START
912913
hex "Physical address where the kernel is loaded" if PHYSICAL_START_BOOL
913-
default "0x02000000" if PPC_STD_MMU && CRASH_DUMP
914+
default "0x02000000" if PPC_STD_MMU && CRASH_DUMP && !RELOCATABLE
914915
default "0x00000000"
915916

916917
config PHYSICAL_ALIGN

‎arch/powerpc/boot/dts/canyonlands.dts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@
270270
clock-frequency = <0>; /* Filled in by U-Boot */
271271
current-speed = <0>; /* Filled in by U-Boot */
272272
interrupt-parent = <&UIC1>;
273-
interrupts = <0x1d 0x4>;
273+
interrupts = <28 0x4>;
274274
};
275275

276276
UART3: serial@ef600600 {
@@ -281,7 +281,7 @@
281281
clock-frequency = <0>; /* Filled in by U-Boot */
282282
current-speed = <0>; /* Filled in by U-Boot */
283283
interrupt-parent = <&UIC1>;
284-
interrupts = <0x1e 0x4>;
284+
interrupts = <29 0x4>;
285285
};
286286

287287
IIC0: i2c@ef600700 {

‎arch/powerpc/boot/dts/glacier.dts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@
259259
clock-frequency = <0>; /* Filled in by U-Boot */
260260
current-speed = <0>; /* Filled in by U-Boot */
261261
interrupt-parent = <&UIC1>;
262-
interrupts = <0x1d 0x4>;
262+
interrupts = <28 0x4>;
263263
};
264264

265265
UART3: serial@ef600600 {
@@ -270,7 +270,7 @@
270270
clock-frequency = <0>; /* Filled in by U-Boot */
271271
current-speed = <0>; /* Filled in by U-Boot */
272272
interrupt-parent = <&UIC1>;
273-
interrupts = <0x1e 0x4>;
273+
interrupts = <29 0x4>;
274274
};
275275

276276
IIC0: i2c@ef600700 {

0 commit comments

Comments
 (0)