mirror of https://gitee.com/openkylin/linux.git
ARM: dts: exynos: Add flash support to Galaxy S3 boards
The Galaxy S3 boards use an aat1290 to control the flash LED. Add the relevant device tree configuration to use it. Signed-off-by: Simon Shields <simon@lineageos.org> Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> [rebase] Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
This commit is contained in:
parent
d2cac68e0d
commit
4e4dfcb2a4
|
@ -15,6 +15,24 @@ aliases {
|
||||||
i2c10 = &i2c_cm36651;
|
i2c10 = &i2c_cm36651;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
aat1290 {
|
||||||
|
compatible = "skyworks,aat1290";
|
||||||
|
flen-gpios = <&gpj1 1 GPIO_ACTIVE_HIGH>;
|
||||||
|
enset-gpios = <&gpj1 2 GPIO_ACTIVE_HIGH>;
|
||||||
|
|
||||||
|
pinctrl-names = "default", "host", "isp";
|
||||||
|
pinctrl-0 = <&camera_flash_host>;
|
||||||
|
pinctrl-1 = <&camera_flash_host>;
|
||||||
|
pinctrl-2 = <&camera_flash_isp>;
|
||||||
|
|
||||||
|
flash-led {
|
||||||
|
label = "flash";
|
||||||
|
led-max-microamp = <520833>;
|
||||||
|
flash-max-microamp = <1012500>;
|
||||||
|
flash-max-timeout-us = <1940000>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
lcd_vdd3_reg: voltage-regulator-6 {
|
lcd_vdd3_reg: voltage-regulator-6 {
|
||||||
compatible = "regulator-fixed";
|
compatible = "regulator-fixed";
|
||||||
regulator-name = "LCD_VDD_2.2V";
|
regulator-name = "LCD_VDD_2.2V";
|
||||||
|
@ -131,6 +149,20 @@ &ldo25_reg {
|
||||||
regulator-max-microvolt = <2800000>;
|
regulator-max-microvolt = <2800000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&pinctrl_0 {
|
||||||
|
camera_flash_host: camera-flash-host {
|
||||||
|
samsung,pins = "gpj1-0";
|
||||||
|
samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
|
||||||
|
samsung,pin-val = <0>;
|
||||||
|
};
|
||||||
|
|
||||||
|
camera_flash_isp: camera-flash-isp {
|
||||||
|
samsung,pins = "gpj1-0";
|
||||||
|
samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
|
||||||
|
samsung,pin-val = <1>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
&s5c73m3 {
|
&s5c73m3 {
|
||||||
standby-gpios = <&gpm0 1 GPIO_ACTIVE_LOW>; /* ISP_STANDBY */
|
standby-gpios = <&gpm0 1 GPIO_ACTIVE_LOW>; /* ISP_STANDBY */
|
||||||
vdda-supply = <&ldo17_reg>;
|
vdda-supply = <&ldo17_reg>;
|
||||||
|
|
Loading…
Reference in New Issue