Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f3800c95 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ARM: dts: msm: camera: Changes to enable flash on 8909 QRD"

parents b503b439 3d406486
Loading
Loading
Loading
Loading
+15 −12
Original line number Diff line number Diff line
/*
 * Copyright (c) 2017 The Linux Foundation. All rights reserved.
 * Copyright (c) 2017-18 The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -11,6 +11,8 @@
 * GNU General Public License for more details.
 */
&soc {

	msm_gpio: pinctrl@1000000 {
		SY7803_default: SY7803_default {
			mux {
				/* CLK, DATA */
@@ -24,6 +26,7 @@
				drive-strength = <2>; /* 2 MA */
			};
		};
	};

	flash_SY7803:flashlight {
		compatible = "qcom,leds-gpio-flash";
@@ -33,7 +36,7 @@
		qcom,flash-en = <&msm_gpio 31 0>;
		qcom,flash-now = <&msm_gpio 32 0>;
		qcom,op-seq = "flash_en", "flash_now";
		qcom,torch-seq-val = <1 0>;
		qcom,torch-seq-val = <0 1>;
		qcom,flash-seq-val = <1 1>;
		linux,name = "flashlight";
		linux,default-trigger = "flashlight-trigger";