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>
48 lines
1.0 KiB
Plaintext
48 lines
1.0 KiB
Plaintext
/*
|
|
* Google Snow Rev 5+ board device tree source
|
|
*
|
|
* Copyright (c) 2012 Google, Inc
|
|
* Copyright (c) 2015 Samsung Electronics Co., Ltd.
|
|
* http://www.samsung.com
|
|
*
|
|
* 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 Rev 5+";
|
|
compatible = "google,snow-rev5", "samsung,exynos5250",
|
|
"samsung,exynos5";
|
|
|
|
sound {
|
|
compatible = "google,snow-audio-max98090";
|
|
|
|
samsung,model = "Snow-I2S-MAX98090";
|
|
samsung,audio-codec = <&max98090>;
|
|
};
|
|
};
|
|
|
|
&i2c_7 {
|
|
max98090: codec@10 {
|
|
compatible = "maxim,max98090";
|
|
reg = <0x10>;
|
|
interrupts = <4 IRQ_TYPE_NONE>;
|
|
interrupt-parent = <&gpx0>;
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&max98090_irq>;
|
|
};
|
|
};
|
|
|
|
&pinctrl_0 {
|
|
max98090_irq: max98090-irq {
|
|
samsung,pins = "gpx0-4";
|
|
samsung,pin-function = <0>;
|
|
samsung,pin-pud = <0>;
|
|
samsung,pin-drv = <0>;
|
|
};
|
|
};
|