From patchwork Tue Nov 13 09:19:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Todor Tomov X-Patchwork-Id: 150936 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp4167747ljp; Tue, 13 Nov 2018 01:20:11 -0800 (PST) X-Google-Smtp-Source: AJdET5deKkNRMWoDBRbZK5fwL8wDHEehiEsbZkzDT8eT1o3e8H0WYg8VxDv0wOCkOWrdlk3ubrgI X-Received: by 2002:a62:1a92:: with SMTP id a140-v6mr4340028pfa.219.1542100810935; Tue, 13 Nov 2018 01:20:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542100810; cv=none; d=google.com; s=arc-20160816; b=PK0et/elQnBWkpirEVlHW3BOyKFkv2m2lgJsdKSmbEpz2HkljvGMYu6ALzD1G7J9fb eRL9phu4ObD1MldXm3APOt0q0FLns76dJjFugWDklTnFlhtzVhKE0/R7Dg6A54ewqWMJ skYH9LXuBAWtYNt4CLURB+XFyl7oUHo+l6B32HanzZ6WWDYXDyuGi6bPAM/AqfRXdjE+ nppIAyGVSLdOQmjOsYquFb4srwUL76siW1m52YM4WWbaXQyt47tX/wV2TRVltkIfqpg7 VYF9Vp2PntDGovR4aYonXHDkHljpjHBJ5A2CHNhxfa3iiGWfPJx0wG+V+XRZW2L4etRY vARw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=ysn+F6fzrnwF3K/zek1criIdFInIwGNDgyKiE53nDms=; b=rzsa9fT/ZMXPWPZAiGD+hRsyfH0CmF8TYwx9CGQuVZNyoJWz+DTr2m3mmrFBdZ+TXt 8VfhLTPi/U66bYnvB7uurTCD2SSOOIgmqNHgCjjX3P2RaPyLfEtHkcKkIboaUQTRBeuV yOeyaDb4pPXBh3iDVLVW1DhCTQYdofcK1+oE2hCN+7a7hLj+sLRv+HAk9xdVCtBFVhaY dxQQfG91SM2+K+NAce0cD5DeuJ9RR4P+qgvpqyJm0WGMsiTWoONWNhzK1kO3wJLn1N17 2IndW8zf0gwR5sbmIp+++nH9JoCpYeyn6y1WN6YsQ2sfeeg5RibqGO/xC1I7AaadbM0R JGrg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l12-v6si21669060plc.54.2018.11.13.01.20.10; Tue, 13 Nov 2018 01:20:10 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731001AbeKMTRU (ORCPT + 14 others); Tue, 13 Nov 2018 14:17:20 -0500 Received: from ns.mm-sol.com ([37.157.136.199]:32971 "EHLO extserv.mm-sol.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727530AbeKMTRU (ORCPT ); Tue, 13 Nov 2018 14:17:20 -0500 Received: from mms-0439.qualcomm.mm-sol.com (unknown [37.157.136.206]) by extserv.mm-sol.com (Postfix) with ESMTPSA id 73FC4CDCF; Tue, 13 Nov 2018 11:20:06 +0200 (EET) From: Todor Tomov To: andy.gross@linaro.org, david.brown@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org, vinod.koul@linaro.org, Todor Tomov Subject: [PATCH 1/2] arm64: dts: qcom: Add Camera Control Interface pinctrls Date: Tue, 13 Nov 2018 11:19:12 +0200 Message-Id: <1542100753-27816-1-git-send-email-todor.tomov@linaro.org> X-Mailer: git-send-email 2.7.4 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add pinctrls required for Camera Control Interface. Signed-off-by: Todor Tomov --- arch/arm64/boot/dts/qcom/msm8916-pins.dtsi | 12 ++++++++++++ arch/arm64/boot/dts/qcom/msm8996-pins.dtsi | 24 ++++++++++++++++++++++++ 2 files changed, 36 insertions(+) -- 2.7.4 diff --git a/arch/arm64/boot/dts/qcom/msm8916-pins.dtsi b/arch/arm64/boot/dts/qcom/msm8916-pins.dtsi index 390a2fa..990120c 100644 --- a/arch/arm64/boot/dts/qcom/msm8916-pins.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916-pins.dtsi @@ -689,4 +689,16 @@ bias-pull-up; }; }; + + cci0_default: cci0_default { + pinmux { + function = "cci_i2c"; + pins = "gpio29", "gpio30"; + }; + pinconf { + pins = "gpio29", "gpio30"; + drive-strength = <16>; + bias-disable; + }; + }; }; diff --git a/arch/arm64/boot/dts/qcom/msm8996-pins.dtsi b/arch/arm64/boot/dts/qcom/msm8996-pins.dtsi index c5c42e9..d6a0a4a 100644 --- a/arch/arm64/boot/dts/qcom/msm8996-pins.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996-pins.dtsi @@ -495,4 +495,28 @@ bias-disable; }; }; + + cci0_default: cci0_default { + pinmux { + function = "cci_i2c"; + pins = "gpio17", "gpio18"; + }; + pinconf { + pins = "gpio17", "gpio18"; + drive-strength = <16>; + bias-disable; + }; + }; + + cci1_default: cci1_default { + pinmux { + function = "cci_i2c"; + pins = "gpio19", "gpio20"; + }; + pinconf { + pins = "gpio19", "gpio20"; + drive-strength = <16>; + bias-disable; + }; + }; };