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

Commit 28650f76 authored by Mukund Madhusudan Atre's avatar Mukund Madhusudan Atre
Browse files

ARM: dts: msm: Add LED Flash source info in camera DT for kona



Adding LED Flash DT nodes to camera CDP and MTP device tree
with their respective flash, torch and switch source info.

Change-Id: I9f87f106dbe60566c6b840d8500bc598dfd4e2a4
Signed-off-by: default avatarMukund Madhusudan Atre <matre@codeaurora.org>
parent 71f9600f
Loading
Loading
Loading
Loading
+22 −2
Original line number Original line Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0
// SPDX-License-Identifier: GPL-2.0-only
/*
/*
 * Copyright (c) 2018, The Linux Foundation. All rights reserved.
 * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
 */
 */


&soc {
	led_flash_rear: qcom,camera-flash0 {
		cell-index = <0>;
		compatible = "qcom,camera-flash";
		flash-source = <&pm8150l_flash0 &pm8150l_flash1>;
		torch-source = <&pm8150l_torch0 &pm8150l_torch1>;
		switch-source = <&pm8150l_switch2>;
		status = "ok";
	};

	led_flash_rear_aux: qcom,camera-flash1 {
		cell-index = <1>;
		compatible = "qcom,camera-flash";
		flash-source = <&pm8150l_flash0 &pm8150l_flash1>;
		torch-source = <&pm8150l_torch0 &pm8150l_torch1>;
		switch-source = <&pm8150l_switch2>;
		status = "ok";
	};
};

&cam_cci0 {
&cam_cci0 {
	qcom,cam-res-mgr {
	qcom,cam-res-mgr {
		compatible = "qcom,cam-res-mgr";
		compatible = "qcom,cam-res-mgr";
+22 −2
Original line number Original line Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0
// SPDX-License-Identifier: GPL-2.0-only
/*
/*
 * Copyright (c) 2018, The Linux Foundation. All rights reserved.
 * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
 */
 */


&soc {
	led_flash_rear: qcom,camera-flash0 {
		cell-index = <0>;
		compatible = "qcom,camera-flash";
		flash-source = <&pm8150l_flash0 &pm8150l_flash1>;
		torch-source = <&pm8150l_torch0 &pm8150l_torch1>;
		switch-source = <&pm8150l_switch2>;
		status = "ok";
	};

	led_flash_rear_aux: qcom,camera-flash1 {
		cell-index = <1>;
		compatible = "qcom,camera-flash";
		flash-source = <&pm8150l_flash0 &pm8150l_flash1>;
		torch-source = <&pm8150l_torch0 &pm8150l_torch1>;
		switch-source = <&pm8150l_switch2>;
		status = "ok";
	};
};

&cam_cci0 {
&cam_cci0 {
	qcom,cam-res-mgr {
	qcom,cam-res-mgr {
		compatible = "qcom,cam-res-mgr";
		compatible = "qcom,cam-res-mgr";