mirror of
https://github.com/torvalds/linux.git
synced 2024-11-08 05:01:48 +00:00
6c6000c2cc
There are 2 revisions of the Exynos5250 Snow Chromebook that were shipped: Rev4 and Rev5. The only difference between these 2 revisions is the codec, Rev4 has a max98095 codec while Rev5 has a max98090. Mainline only supports Rev4 so this patch moves the common device nodes to a DTSI file and adds a DTS for the Exynos5250 Snow Rev5. The Snow Rev5 DTS is based on the DTS found in the ChromiumOS 3.8 tree. Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com> Tested-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com> Reviewed-by: Douglas Anderson <dianders@chromium.org> Signed-off-by: Kukjin Kim <kgene@kernel.org>
44 lines
887 B
Plaintext
44 lines
887 B
Plaintext
/*
|
|
* Google Snow board device tree source
|
|
*
|
|
* Copyright (c) 2012 Google, Inc
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
|
|
/dts-v1/;
|
|
#include "exynos5250-snow-common.dtsi"
|
|
|
|
/ {
|
|
model = "Google Snow";
|
|
compatible = "google,snow-rev4", "google,snow", "samsung,exynos5250",
|
|
"samsung,exynos5";
|
|
|
|
sound {
|
|
compatible = "google,snow-audio-max98095";
|
|
|
|
samsung,model = "Snow-I2S-MAX98095";
|
|
samsung,audio-codec = <&max98095>;
|
|
};
|
|
};
|
|
|
|
&i2c_7 {
|
|
max98095: codec@11 {
|
|
compatible = "maxim,max98095";
|
|
reg = <0x11>;
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&max98095_en>;
|
|
};
|
|
};
|
|
|
|
&pinctrl_0 {
|
|
max98095_en: max98095-en {
|
|
samsung,pins = "gpx1-7";
|
|
samsung,pin-function = <0>;
|
|
samsung,pin-pud = <3>;
|
|
samsung,pin-drv = <0>;
|
|
};
|
|
};
|