Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 361174
b: refs/heads/master
c: 93fff4c
h: refs/heads/master
v: v3
  • Loading branch information
Jason Cooper committed Mar 8, 2013
1 parent 93cdc39 commit abe9c94
Show file tree
Hide file tree
Showing 47 changed files with 57 additions and 73 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 769aca03c4d79939ba13cba992af70be6b68da34
refs/heads/master: 93fff4ce19f9978cc1c59db42760717477939249
7 changes: 2 additions & 5 deletions trunk/arch/arm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -1657,16 +1657,13 @@ config LOCAL_TIMERS
accounting to be spread across the timer interval, preventing a
"thundering herd" at every timer tick.

# The GPIO number here must be sorted by descending number. In case of
# a multiplatform kernel, we just want the highest value required by the
# selected platforms.
config ARCH_NR_GPIO
int
default 1024 if ARCH_SHMOBILE || ARCH_TEGRA
default 512 if SOC_OMAP5
default 355 if ARCH_U8500
default 288 if ARCH_VT8500 || ARCH_SUNXI
default 264 if MACH_H4700
default 512 if SOC_OMAP5
default 288 if ARCH_VT8500 || ARCH_SUNXI
default 0
help
Maximum number of GPIOs in the system.
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/arm/Kconfig.debug
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ config DEBUG_IMX_UART_PORT
DEBUG_IMX31_UART || \
DEBUG_IMX35_UART || \
DEBUG_IMX51_UART || \
DEBUG_IMX53_UART || \
DEBUG_IMX50_IMX53_UART || \
DEBUG_IMX6Q_UART
default 1
help
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/arm/boot/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -115,4 +115,4 @@ i:
$(CONFIG_SHELL) $(srctree)/$(src)/install.sh $(KERNELRELEASE) \
$(obj)/Image System.map "$(INSTALL_PATH)"

subdir- := bootp compressed dts
subdir- := bootp compressed
2 changes: 1 addition & 1 deletion trunk/arch/arm/boot/dts/bcm2835.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
compatible = "fixed-clock";
reg = <1>;
#clock-cells = <0>;
clock-frequency = <250000000>;
clock-frequency = <150000000>;
};
};
};
3 changes: 2 additions & 1 deletion trunk/arch/arm/boot/dts/imx53-mba53.dts
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,10 @@
fsl,pins = <689 0x10000 /* DISP1_DRDY */
482 0x10000 /* DISP1_HSYNC */
489 0x10000 /* DISP1_VSYNC */
684 0x10000 /* DISP1_DAT_0 */
515 0x10000 /* DISP1_DAT_22 */
523 0x10000 /* DISP1_DAT_23 */
545 0x10000 /* DISP1_DAT_21 */
543 0x10000 /* DISP1_DAT_21 */
553 0x10000 /* DISP1_DAT_20 */
558 0x10000 /* DISP1_DAT_19 */
564 0x10000 /* DISP1_DAT_18 */
Expand Down
2 changes: 0 additions & 2 deletions trunk/arch/arm/boot/dts/kirkwood-dns320.dts
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,10 @@

ocp@f1000000 {
serial@12000 {
clock-frequency = <166666667>;
status = "okay";
};

serial@12100 {
clock-frequency = <166666667>;
status = "okay";
};
};
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/arm/boot/dts/kirkwood-dns325.dts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@
};
};
serial@12000 {
clock-frequency = <200000000>;
status = "okay";
};
};
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/arm/boot/dts/kirkwood-dockstar.dts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
};
};
serial@12000 {
clock-frequency = <200000000>;
status = "ok";
};

Expand Down
1 change: 0 additions & 1 deletion trunk/arch/arm/boot/dts/kirkwood-dreamplug.dts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
};
};
serial@12000 {
clock-frequency = <200000000>;
status = "ok";
};

Expand Down
1 change: 0 additions & 1 deletion trunk/arch/arm/boot/dts/kirkwood-goflexnet.dts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@
};
};
serial@12000 {
clock-frequency = <200000000>;
status = "ok";
};

Expand Down
1 change: 0 additions & 1 deletion trunk/arch/arm/boot/dts/kirkwood-ib62x0.dts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@
};
};
serial@12000 {
clock-frequency = <200000000>;
status = "okay";
};

Expand Down
1 change: 0 additions & 1 deletion trunk/arch/arm/boot/dts/kirkwood-iconnect.dts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@
};
};
serial@12000 {
clock-frequency = <200000000>;
status = "ok";
};

Expand Down
1 change: 0 additions & 1 deletion trunk/arch/arm/boot/dts/kirkwood-iomega_ix2_200.dts
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@
};

serial@12000 {
clock-frequency = <200000000>;
status = "ok";
};

Expand Down
1 change: 0 additions & 1 deletion trunk/arch/arm/boot/dts/kirkwood-km_kirkwood.dts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
};

serial@12000 {
clock-frequency = <200000000>;
status = "ok";
};

Expand Down
1 change: 0 additions & 1 deletion trunk/arch/arm/boot/dts/kirkwood-lschlv2.dts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

ocp@f1000000 {
serial@12000 {
clock-frequency = <166666667>;
status = "okay";
};
};
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/arm/boot/dts/kirkwood-lsxhl.dts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

ocp@f1000000 {
serial@12000 {
clock-frequency = <200000000>;
status = "okay";
};
};
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/arm/boot/dts/kirkwood-mplcec4.dts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@
};

serial@12000 {
clock-frequency = <200000000>;
status = "ok";
};

Expand Down
1 change: 0 additions & 1 deletion trunk/arch/arm/boot/dts/kirkwood-ns2-common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
};

serial@12000 {
clock-frequency = <166666667>;
status = "okay";
};

Expand Down
1 change: 0 additions & 1 deletion trunk/arch/arm/boot/dts/kirkwood-nsa310.dts
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@
};

serial@12000 {
clock-frequency = <200000000>;
status = "ok";
};

Expand Down
2 changes: 0 additions & 2 deletions trunk/arch/arm/boot/dts/kirkwood-openblocks_a6.dts
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,10 @@

ocp@f1000000 {
serial@12000 {
clock-frequency = <200000000>;
status = "ok";
};

serial@12100 {
clock-frequency = <200000000>;
status = "ok";
};

Expand Down
1 change: 0 additions & 1 deletion trunk/arch/arm/boot/dts/kirkwood-topkick.dts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@
};

serial@12000 {
clock-frequency = <200000000>;
status = "ok";
};

Expand Down
2 changes: 0 additions & 2 deletions trunk/arch/arm/boot/dts/kirkwood.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@
reg-shift = <2>;
interrupts = <33>;
clocks = <&gate_clk 7>;
/* set clock-frequency in board dts */
status = "disabled";
};

Expand All @@ -67,7 +66,6 @@
reg-shift = <2>;
interrupts = <34>;
clocks = <&gate_clk 7>;
/* set clock-frequency in board dts */
status = "disabled";
};

Expand Down
1 change: 0 additions & 1 deletion trunk/arch/arm/boot/dts/tegra20.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@
compatible = "arm,cortex-a9-twd-timer";
reg = <0x50040600 0x20>;
interrupts = <1 13 0x304>;
clocks = <&tegra_car 132>;
};

intc: interrupt-controller {
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/arm/boot/dts/tegra30.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@
compatible = "arm,cortex-a9-twd-timer";
reg = <0x50040600 0x20>;
interrupts = <1 13 0xf04>;
clocks = <&tegra_car 214>;
};

intc: interrupt-controller {
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/arm/configs/mxs_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ CONFIG_SND_SOC=y
CONFIG_SND_MXS_SOC=y
CONFIG_SND_SOC_MXS_SGTL5000=y
CONFIG_USB=y
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_CHIPIDEA=y
CONFIG_USB_CHIPIDEA_HOST=y
CONFIG_USB_STORAGE=y
Expand Down
2 changes: 0 additions & 2 deletions trunk/arch/arm/configs/omap2plus_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,6 @@ CONFIG_INPUT_MISC=y
CONFIG_INPUT_TWL4030_PWRBUTTON=y
CONFIG_VT_HW_CONSOLE_BINDING=y
# CONFIG_LEGACY_PTYS is not set
CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_CONSOLE=y
CONFIG_SERIAL_8250_NR_UARTS=32
CONFIG_SERIAL_8250_EXTENDED=y
CONFIG_SERIAL_8250_MANY_PORTS=y
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-imx/clk-imx6q.c
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ static struct clk *clk[clk_max];
static struct clk_onecell_data clk_data;

static enum mx6q_clks const clks_init_on[] __initconst = {
mmdc_ch0_axi, rom, pll1_sys,
mmdc_ch0_axi, rom,
};

static struct clk_div_table clk_enet_ref_table[] = {
Expand Down
18 changes: 9 additions & 9 deletions trunk/arch/arm/mach-imx/headsmp.S
Original file line number Diff line number Diff line change
Expand Up @@ -26,26 +26,26 @@ ENDPROC(v7_secondary_startup)

#ifdef CONFIG_PM
/*
* The following code must assume it is running from physical address
* where absolute virtual addresses to the data section have to be
* turned into relative ones.
* The following code is located into the .data section. This is to
* allow phys_l2x0_saved_regs to be accessed with a relative load
* as we are running on physical address here.
*/
.data
.align

#ifdef CONFIG_CACHE_L2X0
.macro pl310_resume
adr r0, l2x0_saved_regs_offset
ldr r2, [r0]
add r2, r2, r0
ldr r2, phys_l2x0_saved_regs
ldr r0, [r2, #L2X0_R_PHY_BASE] @ get physical base of l2x0
ldr r1, [r2, #L2X0_R_AUX_CTRL] @ get aux_ctrl value
str r1, [r0, #L2X0_AUX_CTRL] @ restore aux_ctrl
mov r1, #0x1
str r1, [r0, #L2X0_CTRL] @ re-enable L2
.endm

l2x0_saved_regs_offset:
.word l2x0_saved_regs - .

.globl phys_l2x0_saved_regs
phys_l2x0_saved_regs:
.long 0
#else
.macro pl310_resume
.endm
Expand Down
15 changes: 15 additions & 0 deletions trunk/arch/arm/mach-imx/pm-imx6q.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
#include "common.h"
#include "hardware.h"

extern unsigned long phys_l2x0_saved_regs;

static int imx6q_suspend_finish(unsigned long val)
{
cpu_do_idle();
Expand Down Expand Up @@ -55,5 +57,18 @@ static const struct platform_suspend_ops imx6q_pm_ops = {

void __init imx6q_pm_init(void)
{
/*
* The l2x0 core code provides an infrastucture to save and restore
* l2x0 registers across suspend/resume cycle. But because imx6q
* retains L2 content during suspend and needs to resume L2 before
* MMU is enabled, it can only utilize register saving support and
* have to take care of restoring on its own. So we save physical
* address of the data structure used by l2x0 core to save registers,
* and later restore the necessary ones in imx6q resume entry.
*/
#ifdef CONFIG_CACHE_L2X0
phys_l2x0_saved_regs = __pa(&l2x0_saved_regs);
#endif

suspend_set_ops(&imx6q_pm_ops);
}
2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-mxs/icoll.c
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ static struct irq_domain_ops icoll_irq_domain_ops = {
.xlate = irq_domain_xlate_onecell,
};

static void __init icoll_of_init(struct device_node *np,
void __init icoll_of_init(struct device_node *np,
struct device_node *interrupt_parent)
{
/*
Expand Down
10 changes: 5 additions & 5 deletions trunk/arch/arm/mach-mxs/mach-mxs.c
Original file line number Diff line number Diff line change
Expand Up @@ -402,17 +402,17 @@ static void __init cfa10049_init(void)
{
enable_clk_enet_out();
update_fec_mac_prop(OUI_CRYSTALFONTZ);

mxsfb_pdata.mode_list = cfa10049_video_modes;
mxsfb_pdata.mode_count = ARRAY_SIZE(cfa10049_video_modes);
mxsfb_pdata.default_bpp = 32;
mxsfb_pdata.ld_intf_width = STMLCDIF_18BIT;
}

static void __init cfa10037_init(void)
{
enable_clk_enet_out();
update_fec_mac_prop(OUI_CRYSTALFONTZ);

mxsfb_pdata.mode_list = cfa10049_video_modes;
mxsfb_pdata.mode_count = ARRAY_SIZE(cfa10049_video_modes);
mxsfb_pdata.default_bpp = 32;
mxsfb_pdata.ld_intf_width = STMLCDIF_18BIT;
}

static void __init apf28_init(void)
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/arm/mach-mxs/mm.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

#include <mach/mx23.h>
#include <mach/mx28.h>
#include <mach/common.h>

/*
* Define the MX23 memory map.
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/arm/mach-mxs/ocotp.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
#include <asm/processor.h> /* for cpu_relax() */

#include <mach/mxs.h>
#include <mach/common.h>

#define OCOTP_WORD_OFFSET 0x20
#define OCOTP_WORD_COUNT 0x20
Expand Down
2 changes: 0 additions & 2 deletions trunk/arch/arm/mach-omap1/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@

#include <plat/i2c.h>

#include <mach/irqs.h>

#if defined(CONFIG_ARCH_OMAP730) || defined(CONFIG_ARCH_OMAP850)
void omap7xx_map_io(void);
#else
Expand Down
6 changes: 6 additions & 0 deletions trunk/arch/arm/mach-omap2/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -311,13 +311,19 @@ config MACH_OMAP_ZOOM2
default y
select OMAP_PACKAGE_CBB
select REGULATOR_FIXED_VOLTAGE if REGULATOR
select SERIAL_8250
select SERIAL_8250_CONSOLE
select SERIAL_CORE_CONSOLE

config MACH_OMAP_ZOOM3
bool "OMAP3630 Zoom3 board"
depends on ARCH_OMAP3
default y
select OMAP_PACKAGE_CBP
select REGULATOR_FIXED_VOLTAGE if REGULATOR
select SERIAL_8250
select SERIAL_8250_CONSOLE
select SERIAL_CORE_CONSOLE

config MACH_CM_T35
bool "CompuLab CM-T35/CM-T3730 modules"
Expand Down
Loading

0 comments on commit abe9c94

Please sign in to comment.