Skip to content

Commit

Permalink
squash! arm64: dts: qcom: msm8916/39-samsung-a2015: Add flash LED
Browse files Browse the repository at this point in the history
  • Loading branch information
wonderfulShrineMaidenOfParadise committed Jun 20, 2024
1 parent 64ec5bd commit 18ee60d
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 30 deletions.
30 changes: 15 additions & 15 deletions arch/arm64/boot/dts/qcom/msm8916-samsung-a2015-common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -46,21 +46,6 @@
status = "disabled";
};

flash-led-controller {
compatible = "richtek,rt5033-led";
enable-gpios = <&tlmm 34 GPIO_ACTIVE_HIGH>;
flash-gpios = <&tlmm 36 GPIO_ACTIVE_HIGH>;

pinctrl-0 = <&camera_flash_default>;
pinctrl-names = "default";

flash_led: led {
function = LED_FUNCTION_FLASH;
color = <LED_COLOR_ID_WHITE>;
flash-max-timeout-us = <544000>;
};
};

gpio-keys {
compatible = "gpio-keys";

Expand Down Expand Up @@ -313,6 +298,21 @@
monitored-battery = <&battery>;
richtek,usb-connector = <&usb_con>;
};

flash-led-controller {
compatible = "richtek,rt5033-led";
enable-gpios = <&tlmm 34 GPIO_ACTIVE_HIGH>;
flash-gpios = <&tlmm 36 GPIO_ACTIVE_HIGH>;

pinctrl-0 = <&camera_flash_default>;
pinctrl-names = "default";

flash_led: led {
function = LED_FUNCTION_FLASH;
color = <LED_COLOR_ID_WHITE>;
flash-max-timeout-us = <544000>;
};
};
};
};

Expand Down
30 changes: 15 additions & 15 deletions arch/arm64/boot/dts/qcom/msm8939-samsung-a7.dts
Original file line number Diff line number Diff line change
Expand Up @@ -43,21 +43,6 @@
precharge-upper-limit-microvolt = <3500000>;
};

flash-led-controller {
compatible = "richtek,rt5033-led";
enable-gpios = <&tlmm 34 GPIO_ACTIVE_HIGH>;
flash-gpios = <&tlmm 36 GPIO_ACTIVE_HIGH>;

pinctrl-0 = <&camera_flash_default>;
pinctrl-names = "default";

flash_led: led {
function = LED_FUNCTION_FLASH;
color = <LED_COLOR_ID_WHITE>;
flash-max-timeout-us = <544000>;
};
};

gpio-hall-sensor {
compatible = "gpio-keys";

Expand Down Expand Up @@ -426,6 +411,21 @@
monitored-battery = <&battery>;
richtek,usb-connector = <&usb_con>;
};

flash-led-controller {
compatible = "richtek,rt5033-led";
enable-gpios = <&tlmm 34 GPIO_ACTIVE_HIGH>;
flash-gpios = <&tlmm 36 GPIO_ACTIVE_HIGH>;

pinctrl-0 = <&camera_flash_default>;
pinctrl-names = "default";

flash_led: led {
function = LED_FUNCTION_FLASH;
color = <LED_COLOR_ID_WHITE>;
flash-max-timeout-us = <544000>;
};
};
};
};

Expand Down

0 comments on commit 18ee60d

Please sign in to comment.