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

Commit 08d71926 authored by shaoxing's avatar shaoxing Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: msm: add Reddragon 360camera overlay dts



init the overlay dts for qcs605 360camera.

Change-Id: I125cbb9c3f801659a8b3c44fe5efb9cd2b125a9a
Signed-off-by: default avatarShaoxing <shaoxing@codeaurora.org>
parent cf5aef35
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -126,6 +126,7 @@ ifeq ($(CONFIG_BUILD_ARM64_DT_OVERLAY),y)
		sda670-pm660a-mtp-overlay.dtbo \
		qcs605-cdp-overlay.dtbo \
		qcs605-mtp-overlay.dtbo \
		qcs605-360camera-overlay.dtbo \
		qcs605-external-codec-mtp-overlay.dtbo \
		qcs605-lc-mtp-overlay.dtbo

@@ -156,6 +157,7 @@ qcs605-cdp-overlay.dtbo-base := qcs605.dtb
qcs605-mtp-overlay.dtbo-base := qcs605.dtb
qcs605-external-codec-mtp-overlay.dtbo-base := qcs605.dtb
qcs605-lc-mtp-overlay.dtbo-base := qcs605.dtb
qcs605-360camera-overlay.dtbo-base := qcs605.dtb

else
dtb-$(CONFIG_ARCH_SDM670) += sdm670-rumi.dtb \
+34 −0
Original line number Diff line number Diff line
/*
 * Copyright (c) 2017, 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
 * only version 2 as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */

/dts-v1/;
/plugin/;

#include <dt-bindings/clock/qcom,gcc-sdm845.h>
#include <dt-bindings/clock/qcom,camcc-sdm845.h>
#include <dt-bindings/clock/qcom,dispcc-sdm845.h>
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>

#include "qcs605-360camera.dtsi"

/ {
	model = "Qualcomm Technologies, Inc. QCS605 PM660+PM660L 360camera";
	compatible = "qcom,qcs605-mtp", "qcom,qcs605", "qcom,mtp";
	qcom,msm-id = <347 0x0>;
	qcom,board-id = <0x0000000b 1>;
	qcom,pmic-id = <0x0001001b 0x0101011a 0x0 0x0>,
		       <0x0001001b 0x0102001a 0x0 0x0>,
		       <0x0001001b 0x0201011a 0x0 0x0>;
};
+225 −227
Original line number Diff line number Diff line
@@ -11,8 +11,7 @@
 * GNU General Public License for more details.
 */

&soc {
	led_flash_rear: qcom,camera-flash@0 {
&led_flash_rear {
	cell-index = <0>;
	reg = <0x00 0x00>;
	compatible = "qcom,camera-flash";
@@ -22,7 +21,7 @@
	status = "ok";
};

	led_flash_front: qcom,camera-flash@1 {
&led_flash_front {
	cell-index = <1>;
	reg = <0x01 0x00>;
	compatible = "qcom,camera-flash";
@@ -32,7 +31,7 @@
	status = "ok";
};

	actuator_regulator: gpio-regulator@0 {
&actuator_regulator {
	compatible = "regulator-fixed";
	reg = <0x00 0x00>;
	regulator-name = "actuator_regulator";
@@ -43,7 +42,7 @@
	gpio = <&tlmm 27 0>;
};

	camera_ldo: gpio-regulator@2 {
&camera_ldo {
	compatible = "regulator-fixed";
	reg = <0x02 0x00>;
	regulator-name = "camera_ldo";
@@ -57,7 +56,7 @@
	vin-supply = <&pm660_s6>;
};

	camera_rear_ldo: gpio-regulator@1 {
&camera_rear_ldo {
	compatible = "regulator-fixed";
	reg = <0x01 0x00>;
	regulator-name = "camera_rear_ldo";
@@ -71,7 +70,7 @@
	vin-supply = <&pm660_s6>;
};

	camera_vio_ldo: gpio-regulator@3 {
&camera_vio_ldo {
	compatible = "regulator-fixed";
	reg = <0x03 0x00>;
	regulator-name = "camera_vio_ldo";
@@ -85,7 +84,7 @@
	vin-supply = <&pm660_s4>;
};

	camera_vana_ldo: gpio-regulator@4 {
&camera_vana_ldo {
	compatible = "regulator-fixed";
	reg = <0x04 0x00>;
	regulator-name = "camera_vana_ldo";
@@ -98,10 +97,8 @@
	pinctrl-0 = <&cam_sensor_rear_vana>;
	vin-supply = <&pm660l_bob>;
};
};

&cam_cci {
	actuator_rear: qcom,actuator@0 {
&actuator_rear {
	cell-index = <0>;
	reg = <0x0>;
	compatible = "qcom,actuator";
@@ -114,7 +111,7 @@
	rgltr-load-current = <0>;
};

	actuator_front: qcom,actuator@1 {
&actuator_front {
	cell-index = <1>;
	reg = <0x1>;
	compatible = "qcom,actuator";
@@ -127,7 +124,7 @@
	rgltr-load-current = <0>;
};

	ois_rear: qcom,ois@0 {
&ois_rear {
	cell-index = <0>;
	reg = <0x0>;
	compatible = "qcom,ois";
@@ -141,7 +138,7 @@
	status = "disabled";
};

	eeprom_rear: qcom,eeprom@0 {
&eeprom_rear {
	cell-index = <0>;
	reg = <0>;
	compatible = "qcom,eeprom";
@@ -178,7 +175,7 @@
	clock-rates = <24000000>;
};

	eeprom_rear_aux: qcom,eeprom@1 {
&eeprom_rear_aux {
	cell-index = <1>;
	reg = <0x1>;
	compatible = "qcom,eeprom";
@@ -215,7 +212,7 @@
	clock-rates = <24000000>;
};

	eeprom_front: qcom,eeprom@2 {
&eeprom_front {
	cell-index = <2>;
	reg = <0x2>;
	compatible = "qcom,eeprom";
@@ -252,6 +249,7 @@
	clock-rates = <24000000>;
};

&cam_cci {
	qcom,cam-sensor@0 {
		cell-index = <0>;
		compatible = "qcom,cam-sensor";