From 09b4b95f9cb7f17823d561939b54eecb80238784 Mon Sep 17 00:00:00 2001 From: Wei Ding Date: Fri, 17 Feb 2017 12:50:30 +0800 Subject: [PATCH] ARM: dts: msm: add support for msm8998 QRD HDK board Add camera node include rear,aux and front camera to support the msm8998 QRD HDK device. Increased the drive strength of mclk clock. Change-Id: I6c8a3f3c69ca2bc2e3b54b46324525c67d0a2fd3 Signed-off-by: Wei Ding --- .../qcom/msm8998-camera-sensor-skuk-hdk.dtsi | 46 +++++++++++++++++++ .../boot/dts/qcom/msm8998-v2-qrd-skuk-hdk.dts | 2 +- 2 files changed, 47 insertions(+), 1 deletion(-) create mode 100644 arch/arm/boot/dts/qcom/msm8998-camera-sensor-skuk-hdk.dtsi diff --git a/arch/arm/boot/dts/qcom/msm8998-camera-sensor-skuk-hdk.dtsi b/arch/arm/boot/dts/qcom/msm8998-camera-sensor-skuk-hdk.dtsi new file mode 100644 index 000000000000..4b3748e5a40a --- /dev/null +++ b/arch/arm/boot/dts/qcom/msm8998-camera-sensor-skuk-hdk.dtsi @@ -0,0 +1,46 @@ +/* + * 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. + */ + +#include "msm8998-camera-sensor-skuk-evt3.dtsi" + +&tlmm{ + cam_sensor_mclk1_active: cam_sensor_mclk1_active { + /* MCLK1 */ + mux { + /* CLK, DATA */ + pins = "gpio14"; + function = "cam_mclk"; + }; + + config { + pins = "gpio14"; + bias-disable; /* No PULL */ + drive-strength = <8>; /* 2 MA */ + }; + }; + + cam_sensor_mclk2_active: cam_sensor_mclk2_active { + /* MCLK1 */ + mux { + /* CLK, DATA */ + pins = "gpio15"; + function = "cam_mclk"; + }; + + config { + pins = "gpio15"; + bias-disable; /* No PULL */ + drive-strength = <8>; /* 2 MA */ + }; + }; +}; diff --git a/arch/arm/boot/dts/qcom/msm8998-v2-qrd-skuk-hdk.dts b/arch/arm/boot/dts/qcom/msm8998-v2-qrd-skuk-hdk.dts index 0e17ce31d52f..0b34a08b0870 100644 --- a/arch/arm/boot/dts/qcom/msm8998-v2-qrd-skuk-hdk.dts +++ b/arch/arm/boot/dts/qcom/msm8998-v2-qrd-skuk-hdk.dts @@ -15,7 +15,7 @@ #include "msm8998-v2.dtsi" #include "msm8998-qrd-skuk.dtsi" -#include "msm8998-camera-sensor-skuk.dtsi" +#include "msm8998-camera-sensor-skuk-hdk.dtsi" / { model = "Qualcomm Technologies, Inc. MSM 8998 SKUK HDK";