Skip to content

Commit

Permalink
Merge branch 'boards' of git://git.kernel.org/pub/scm/linux/kernel/gi…
Browse files Browse the repository at this point in the history
…t/horms/renesas into next/boards

From Simon Horman, updates to a few shmobile boards.

* 'boards' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
  ARM: shmobile: Include sh73a0 DTSI in kzm9g
  ARM: shmobile: Include DTSI of r8a7740 to armadillo800eva
  ARM: shmobile: kzm9g: Use of_machine_is_compatible()
  ARM: shmobile: add sample amixer settings for armadillo800eva
  ARM: shmobile: add sample amixer settings for ap4evb
  ARM: shmobile: fix sample amixer settings for mackerel
  ARM: mackerel: include the correct .dtsi file

Signed-off-by: Olof Johansson <olof@lixom.net>
  • Loading branch information
Olof Johansson committed Jan 29, 2013
2 parents 95e0d11 + 42dd581 commit 51063a4
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 7 deletions.
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/r8a7740-armadillo800eva.dts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*/

/dts-v1/;
/include/ "skeleton.dtsi"
/include/ "r8a7740.dtsi"

/ {
model = "armadillo 800 eva";
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/sh7372-mackerel.dts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*/

/dts-v1/;
/include/ "skeleton.dtsi"
/include/ "sh7372.dtsi"

/ {
model = "Mackerel (AP4 EVM 2nd)";
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/sh73a0-kzm9g.dts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*/

/dts-v1/;
/include/ "skeleton.dtsi"
/include/ "sh73a0.dtsi"

/ {
model = "KZM-A9-GT";
Expand Down
4 changes: 4 additions & 0 deletions arch/arm/mach-shmobile/board-ap4evb.c
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,10 @@
*
* SW41 : ON : SH-Mobile AP4 Audio Mode
* : OFF : Bluetooth Audio Mode
*
* it needs amixer settings for playing
*
* amixer set "Headphone Enable" on
*/

/*
Expand Down
8 changes: 8 additions & 0 deletions arch/arm/mach-shmobile/board-armadillo800eva.c
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,14 @@
* this command is required when playback.
*
* # amixer set "Headphone" 50
*
* this command is required when capture.
*
* # amixer set "Input PGA" 15
* # amixer set "Left Input Mixer MicP" on
* # amixer set "Left Input Mixer MicN" on
* # amixer set "Right Input Mixer MicN" on
* # amixer set "Right Input Mixer MicP" on
*/

/*
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-shmobile/board-kzm9g.c
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,7 @@ static int __init as3711_enable_lcdc_backlight(void)
0x45, 0xf0,
};

if (!machine_is_kzm9g())
if (!of_machine_is_compatible("renesas,kzm9g"))
return 0;

if (!a)
Expand Down
4 changes: 1 addition & 3 deletions arch/arm/mach-shmobile/board-mackerel.c
Original file line number Diff line number Diff line change
Expand Up @@ -202,9 +202,7 @@
*
* it needs amixer settings for playing
*
* amixer set "Headphone" on
* amixer set "HPOUTL Mixer DACH" on
* amixer set "HPOUTR Mixer DACH" on
* amixer set "Headphone Enable" on
*/

/* Fixed 3.3V and 1.8V regulators to be used by multiple devices */
Expand Down

0 comments on commit 51063a4

Please sign in to comment.