Skip to content

Commit d7ada73

Browse files
committed
Merge tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
Pull ARM SoC fixes from Olof Johansson: "Another smallish batch of fixes, it's been quiet due to the holidays. Nothing controversial here, a handful of things across the board" * tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: ARM: pxa: fix USB gadget driver compilation regression ARM: OMAP2+: Fix LCD panel backlight regression for LDP legacy booting ARM: OMAP2+: hwmod_data: fix missing OMAP_INTC_START in irq data ARM: DRA7: hwmod: Fix boot crash with DEBUG_LL ARM: shmobile: r8a7790: fix shdi resource sizes ARM: shmobile: bockw: fixup DMA mask ARM: shmobile: armadillo: Add PWM backlight power supply
2 parents 8cf126d + 9b17c16 commit d7ada73

File tree

8 files changed

+24
-10
lines changed

8 files changed

+24
-10
lines changed

arch/arm/boot/dts/r8a7790.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@
241241

242242
sdhi0: sdhi@ee100000 {
243243
compatible = "renesas,sdhi-r8a7790";
244-
reg = <0 0xee100000 0 0x100>;
244+
reg = <0 0xee100000 0 0x200>;
245245
interrupt-parent = <&gic>;
246246
interrupts = <0 165 4>;
247247
cap-sd-highspeed;
@@ -250,7 +250,7 @@
250250

251251
sdhi1: sdhi@ee120000 {
252252
compatible = "renesas,sdhi-r8a7790";
253-
reg = <0 0xee120000 0 0x100>;
253+
reg = <0 0xee120000 0 0x200>;
254254
interrupt-parent = <&gic>;
255255
interrupts = <0 166 4>;
256256
cap-sd-highspeed;

arch/arm/mach-omap2/board-ldp.c

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,12 +242,18 @@ static void __init ldp_display_init(void)
242242

243243
static int ldp_twl_gpio_setup(struct device *dev, unsigned gpio, unsigned ngpio)
244244
{
245+
int res;
246+
245247
/* LCD enable GPIO */
246248
ldp_lcd_pdata.enable_gpio = gpio + 7;
247249

248250
/* Backlight enable GPIO */
249251
ldp_lcd_pdata.backlight_gpio = gpio + 15;
250252

253+
res = platform_device_register(&ldp_lcd_device);
254+
if (res)
255+
pr_err("Unable to register LCD: %d\n", res);
256+
251257
return 0;
252258
}
253259

@@ -346,7 +352,6 @@ static struct omap2_hsmmc_info mmc[] __initdata = {
346352

347353
static struct platform_device *ldp_devices[] __initdata = {
348354
&ldp_gpio_keys_device,
349-
&ldp_lcd_device,
350355
};
351356

352357
#ifdef CONFIG_OMAP_MUX

arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -796,7 +796,7 @@ struct omap_hwmod omap2xxx_counter_32k_hwmod = {
796796

797797
/* gpmc */
798798
static struct omap_hwmod_irq_info omap2xxx_gpmc_irqs[] = {
799-
{ .irq = 20 },
799+
{ .irq = 20 + OMAP_INTC_START, },
800800
{ .irq = -1 }
801801
};
802802

@@ -841,7 +841,7 @@ static struct omap_hwmod_class omap2_rng_hwmod_class = {
841841
};
842842

843843
static struct omap_hwmod_irq_info omap2_rng_mpu_irqs[] = {
844-
{ .irq = 52 },
844+
{ .irq = 52 + OMAP_INTC_START, },
845845
{ .irq = -1 }
846846
};
847847

arch/arm/mach-omap2/omap_hwmod_3xxx_data.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2165,7 +2165,7 @@ static struct omap_hwmod_class omap3xxx_gpmc_hwmod_class = {
21652165
};
21662166

21672167
static struct omap_hwmod_irq_info omap3xxx_gpmc_irqs[] = {
2168-
{ .irq = 20 },
2168+
{ .irq = 20 + OMAP_INTC_START, },
21692169
{ .irq = -1 }
21702170
};
21712171

@@ -2999,7 +2999,7 @@ static struct omap_mmu_dev_attr mmu_isp_dev_attr = {
29992999

30003000
static struct omap_hwmod omap3xxx_mmu_isp_hwmod;
30013001
static struct omap_hwmod_irq_info omap3xxx_mmu_isp_irqs[] = {
3002-
{ .irq = 24 },
3002+
{ .irq = 24 + OMAP_INTC_START, },
30033003
{ .irq = -1 }
30043004
};
30053005

@@ -3041,7 +3041,7 @@ static struct omap_mmu_dev_attr mmu_iva_dev_attr = {
30413041

30423042
static struct omap_hwmod omap3xxx_mmu_iva_hwmod;
30433043
static struct omap_hwmod_irq_info omap3xxx_mmu_iva_irqs[] = {
3044-
{ .irq = 28 },
3044+
{ .irq = 28 + OMAP_INTC_START, },
30453045
{ .irq = -1 }
30463046
};
30473047

arch/arm/mach-omap2/omap_hwmod_7xx_data.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1637,7 +1637,7 @@ static struct omap_hwmod dra7xx_uart1_hwmod = {
16371637
.class = &dra7xx_uart_hwmod_class,
16381638
.clkdm_name = "l4per_clkdm",
16391639
.main_clk = "uart1_gfclk_mux",
1640-
.flags = HWMOD_SWSUP_SIDLE_ACT,
1640+
.flags = HWMOD_SWSUP_SIDLE_ACT | DEBUG_OMAP2UART1_FLAGS,
16411641
.prcm = {
16421642
.omap4 = {
16431643
.clkctrl_offs = DRA7XX_CM_L4PER_UART1_CLKCTRL_OFFSET,

arch/arm/mach-pxa/include/mach/lubbock.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
* published by the Free Software Foundation.
1111
*/
1212

13+
#include <mach/irqs.h>
14+
1315
#define LUBBOCK_ETH_PHYS PXA_CS3_PHYS
1416

1517
#define LUBBOCK_FPGA_PHYS PXA_CS2_PHYS

arch/arm/mach-shmobile/board-armadillo800eva.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -614,6 +614,11 @@ static struct regulator_consumer_supply fixed3v3_power_consumers[] = {
614614
REGULATOR_SUPPLY("vqmmc", "sh_mmcif"),
615615
};
616616

617+
/* Fixed 3.3V regulator used by LCD backlight */
618+
static struct regulator_consumer_supply fixed5v0_power_consumers[] = {
619+
REGULATOR_SUPPLY("power", "pwm-backlight.0"),
620+
};
621+
617622
/* Fixed 3.3V regulator to be used by SDHI0 */
618623
static struct regulator_consumer_supply vcc_sdhi0_consumers[] = {
619624
REGULATOR_SUPPLY("vmmc", "sh_mobile_sdhi.0"),
@@ -1196,6 +1201,8 @@ static void __init eva_init(void)
11961201

11971202
regulator_register_always_on(0, "fixed-3.3V", fixed3v3_power_consumers,
11981203
ARRAY_SIZE(fixed3v3_power_consumers), 3300000);
1204+
regulator_register_always_on(3, "fixed-5.0V", fixed5v0_power_consumers,
1205+
ARRAY_SIZE(fixed5v0_power_consumers), 5000000);
11991206

12001207
pinctrl_register_mappings(eva_pinctrl_map, ARRAY_SIZE(eva_pinctrl_map));
12011208
pwm_add_table(pwm_lookup, ARRAY_SIZE(pwm_lookup));

arch/arm/mach-shmobile/board-bockw.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,7 @@ static void __init bockw_init(void)
679679
.id = i,
680680
.data = &rsnd_card_info[i],
681681
.size_data = sizeof(struct asoc_simple_card_info),
682-
.dma_mask = ~0,
682+
.dma_mask = DMA_BIT_MASK(32),
683683
};
684684

685685
platform_device_register_full(&cardinfo);

0 commit comments

Comments
 (0)