forked from luck/tmp_suning_uos_patched
Second Round of Renesas ARM based SoC Fixes for v3.13
* r8a7790 (R-Car H2) based Lager board - Correct SHDI resource sizes This bug has been present since sdhi resources were added to the r8a7790 by8c9b1aa418
("ARM: shmobile: r8a7790: add MMCIF and SDHI DT templates") in v3.11-rc2. * r8a7778 (R-Car M1) based Bock-W board - Correct DMA mask This resolves a regression introduced by4dcfa60071
("ARM: DMA-API: better handing of DMA masks for coherent allocations") in v3.12-rc1. * r8a7740 (R-Mobile A1) based Armadillo board - Add PWM backlight power supply This resolves a regression introduced by22ceeee16e
("pwm-backlight: Add power supply support") in v3.12. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (GNU/Linux) iQIcBAABAgAGBQJSuQF7AAoJENfPZGlqN0++83IP/3AyhSixjpxUagqxsOkI8FJu uL5Z5gNVfV+/inNWptM94L/T5pZ9IL2uhcoDGKyISs78UMGCTh5gqwC8ZsXGm0IZ 3Y2nkgx4Ohgx+62KJLYt/by6RX+Hrx/O09E+1o7BAyF26Lq6ncKczrIR5+n7Sak5 mHea7P+uk2njVjj7oM1Sbvk+3wJ1yoEdRkI/s4iORA7sCgQTEyxMbIS2aDHOkRx1 3jwlA/BbXUCEeWf45TC7MQCd7OuHEj1bGGocdSC59wqvTLd+IFQviK+EHjAXgUIf vnuTLpXZMihJ19FZbcOrEndjlM9W+opZ775x1IrKU+w/C9JmlI9Gf1D5IWxbTdD2 bQ/mXBHmFo9IMO+i/Q2mqfPYzAGCBpz7ITyt1IVzXd6EYVsPXYWzQsW+j+BE4vsp XGhQ+vh0Au7o3KABnvjxVQvWIkZUpqGr4n3SKoJ74X1+eZOEyNQ31kg14zr5Xsz3 rAY9taP2r3uNZiaQJzFOsbaPKxe81pjbx34TmHiKEKzmdAhwKjeb94o2HkoY90z2 us3tBVjjIr9f4Yyc3JLB0VLRsfW4fu6ovzJYdxe2lo5EFpq8zlMVY4XbgP0QUFxD tAHvO9FeS2jtxxk0OS7N2MiqWBmTTsluUuxu9cXyBO0afHVqWhhWR3Upkt82f46u BGEKCgd9mXKP8M5FHTZE =6ai1 -----END PGP SIGNATURE----- Merge tag 'renesas-fixes2-for-v3.13' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into fixes From Simon Horman: Second Round of Renesas ARM based SoC Fixes for v3.13 * r8a7790 (R-Car H2) based Lager board - Correct SHDI resource sizes This bug has been present since sdhi resources were added to the r8a7790 by8c9b1aa418
("ARM: shmobile: r8a7790: add MMCIF and SDHI DT templates") in v3.11-rc2. * r8a7778 (R-Car M1) based Bock-W board - Correct DMA mask This resolves a regression introduced by4dcfa60071
("ARM: DMA-API: better handing of DMA masks for coherent allocations") in v3.12-rc1. * r8a7740 (R-Mobile A1) based Armadillo board - Add PWM backlight power supply This resolves a regression introduced by22ceeee16e
("pwm-backlight: Add power supply support") in v3.12. * tag 'renesas-fixes2-for-v3.13' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas: ARM: shmobile: r8a7790: fix shdi resource sizes ARM: shmobile: bockw: fixup DMA mask ARM: shmobile: armadillo: Add PWM backlight power supply Signed-off-by: Olof Johansson <olof@lixom.net> Signed-off-by: Olof Johansson <olof@lixom.net>
This commit is contained in:
commit
4cff612353
@ -241,7 +241,7 @@ pfc: pfc@e6060000 {
|
|||||||
|
|
||||||
sdhi0: sdhi@ee100000 {
|
sdhi0: sdhi@ee100000 {
|
||||||
compatible = "renesas,sdhi-r8a7790";
|
compatible = "renesas,sdhi-r8a7790";
|
||||||
reg = <0 0xee100000 0 0x100>;
|
reg = <0 0xee100000 0 0x200>;
|
||||||
interrupt-parent = <&gic>;
|
interrupt-parent = <&gic>;
|
||||||
interrupts = <0 165 4>;
|
interrupts = <0 165 4>;
|
||||||
cap-sd-highspeed;
|
cap-sd-highspeed;
|
||||||
@ -250,7 +250,7 @@ sdhi0: sdhi@ee100000 {
|
|||||||
|
|
||||||
sdhi1: sdhi@ee120000 {
|
sdhi1: sdhi@ee120000 {
|
||||||
compatible = "renesas,sdhi-r8a7790";
|
compatible = "renesas,sdhi-r8a7790";
|
||||||
reg = <0 0xee120000 0 0x100>;
|
reg = <0 0xee120000 0 0x200>;
|
||||||
interrupt-parent = <&gic>;
|
interrupt-parent = <&gic>;
|
||||||
interrupts = <0 166 4>;
|
interrupts = <0 166 4>;
|
||||||
cap-sd-highspeed;
|
cap-sd-highspeed;
|
||||||
|
@ -614,6 +614,11 @@ static struct regulator_consumer_supply fixed3v3_power_consumers[] = {
|
|||||||
REGULATOR_SUPPLY("vqmmc", "sh_mmcif"),
|
REGULATOR_SUPPLY("vqmmc", "sh_mmcif"),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/* Fixed 3.3V regulator used by LCD backlight */
|
||||||
|
static struct regulator_consumer_supply fixed5v0_power_consumers[] = {
|
||||||
|
REGULATOR_SUPPLY("power", "pwm-backlight.0"),
|
||||||
|
};
|
||||||
|
|
||||||
/* Fixed 3.3V regulator to be used by SDHI0 */
|
/* Fixed 3.3V regulator to be used by SDHI0 */
|
||||||
static struct regulator_consumer_supply vcc_sdhi0_consumers[] = {
|
static struct regulator_consumer_supply vcc_sdhi0_consumers[] = {
|
||||||
REGULATOR_SUPPLY("vmmc", "sh_mobile_sdhi.0"),
|
REGULATOR_SUPPLY("vmmc", "sh_mobile_sdhi.0"),
|
||||||
@ -1196,6 +1201,8 @@ static void __init eva_init(void)
|
|||||||
|
|
||||||
regulator_register_always_on(0, "fixed-3.3V", fixed3v3_power_consumers,
|
regulator_register_always_on(0, "fixed-3.3V", fixed3v3_power_consumers,
|
||||||
ARRAY_SIZE(fixed3v3_power_consumers), 3300000);
|
ARRAY_SIZE(fixed3v3_power_consumers), 3300000);
|
||||||
|
regulator_register_always_on(3, "fixed-5.0V", fixed5v0_power_consumers,
|
||||||
|
ARRAY_SIZE(fixed5v0_power_consumers), 5000000);
|
||||||
|
|
||||||
pinctrl_register_mappings(eva_pinctrl_map, ARRAY_SIZE(eva_pinctrl_map));
|
pinctrl_register_mappings(eva_pinctrl_map, ARRAY_SIZE(eva_pinctrl_map));
|
||||||
pwm_add_table(pwm_lookup, ARRAY_SIZE(pwm_lookup));
|
pwm_add_table(pwm_lookup, ARRAY_SIZE(pwm_lookup));
|
||||||
|
@ -679,7 +679,7 @@ static void __init bockw_init(void)
|
|||||||
.id = i,
|
.id = i,
|
||||||
.data = &rsnd_card_info[i],
|
.data = &rsnd_card_info[i],
|
||||||
.size_data = sizeof(struct asoc_simple_card_info),
|
.size_data = sizeof(struct asoc_simple_card_info),
|
||||||
.dma_mask = ~0,
|
.dma_mask = DMA_BIT_MASK(32),
|
||||||
};
|
};
|
||||||
|
|
||||||
platform_device_register_full(&cardinfo);
|
platform_device_register_full(&cardinfo);
|
||||||
|
Loading…
Reference in New Issue
Block a user