From patchwork Fri Apr 10 12:35:23 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 47037 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pa0-f69.google.com (mail-pa0-f69.google.com [209.85.220.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 4415421416 for ; Fri, 10 Apr 2015 12:35:44 +0000 (UTC) Received: by pabie18 with SMTP id ie18sf29174137pab.1 for ; Fri, 10 Apr 2015 05:35:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=VlI5c6hgeh3LLxP5PxFCEHwhBqdC0u2R7R7x3SAbaoE=; b=mEVaGdQ9zulHB7LymYbHTd/YCLU/c4PSl4HgMlHPhf5W5sfKcZJJbUdteBc0Qb5jpn kPsufFkkIgh3SRj68luRlPPRQ8tSMVO7aO3FubARF9LlcKvFr4PU6AUhvUWcYm4/dBTO LMjkTfRZSPA8Uco9gXu+yT+K2WXZyAqugOZF8TzjzV9nXnDpd/HkbwfP5rIByDtSOhev cBb6dbjZju/1P5b/vzzE5WJu3dE7f2sVD50dqKNYGfuYtOTxicBh38ozusZCtVoS81TC 4m0qU2ZoOYX/FV6jTb/yEWzYoddgqV8s+NEyUw0Cczz7m02K9uxzi+Io0XOMLvwbIBjc be7g== X-Gm-Message-State: ALoCoQkk3VpXTx+KJ/fm8m0PF8CEIFPIiYIzVhyUQWOqEnoZuNG9hmyRw0GWRNhUtirKEW3eBj45 X-Received: by 10.69.13.226 with SMTP id fb2mr1572835pbd.0.1428669343680; Fri, 10 Apr 2015 05:35:43 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.48.9 with SMTP id n9ls1587925qga.58.gmail; Fri, 10 Apr 2015 05:35:43 -0700 (PDT) X-Received: by 10.55.15.163 with SMTP id 35mr2260647qkp.96.1428669343237; Fri, 10 Apr 2015 05:35:43 -0700 (PDT) Received: from mail-qk0-f173.google.com (mail-qk0-f173.google.com. [209.85.220.173]) by mx.google.com with ESMTPS id j66si1624229qhc.86.2015.04.10.05.35.43 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 10 Apr 2015 05:35:43 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.173 as permitted sender) client-ip=209.85.220.173; Received: by qku63 with SMTP id 63so28182728qku.3 for ; Fri, 10 Apr 2015 05:35:43 -0700 (PDT) X-Received: by 10.140.152.209 with SMTP id 200mr1439283qhy.34.1428669343124; Fri, 10 Apr 2015 05:35:43 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.96.155.231 with SMTP id vz7csp984928qdb; Fri, 10 Apr 2015 05:35:42 -0700 (PDT) X-Received: by 10.70.88.237 with SMTP id bj13mr2353371pdb.160.1428669342140; Fri, 10 Apr 2015 05:35:42 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t2si2765244pdh.156.2015.04.10.05.35.41; Fri, 10 Apr 2015 05:35:42 -0700 (PDT) Received-SPF: none (google.com: linux-arm-msm-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933118AbbDJMfg (ORCPT + 5 others); Fri, 10 Apr 2015 08:35:36 -0400 Received: from mail-wg0-f50.google.com ([74.125.82.50]:35982 "EHLO mail-wg0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933085AbbDJMf3 (ORCPT ); Fri, 10 Apr 2015 08:35:29 -0400 Received: by wgsk9 with SMTP id k9so16160109wgs.3 for ; Fri, 10 Apr 2015 05:35:28 -0700 (PDT) X-Received: by 10.194.61.12 with SMTP id l12mr2632603wjr.139.1428669328043; Fri, 10 Apr 2015 05:35:28 -0700 (PDT) Received: from srini-ThinkPad-X1-Carbon-2nd.dlink.com (host-78-145-247-151.as13285.net. [78.145.247.151]) by mx.google.com with ESMTPSA id g5sm2781260wjr.19.2015.04.10.05.35.26 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 10 Apr 2015 05:35:27 -0700 (PDT) From: Srinivas Kandagatla To: galak@codeaurora.org, linux-arm-msm@vger.kernel.org Cc: bjorn.andersson@sonymobile.com, Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Russell King , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Srinivas Kandagatla Subject: [PATCH v2 12/12] ARM: dts: apq8064: add i2c3 node for panel. Date: Fri, 10 Apr 2015 13:35:23 +0100 Message-Id: <1428669323-11291-1-git-send-email-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1428669187-10775-1-git-send-email-srinivas.kandagatla@linaro.org> References: <1428669187-10775-1-git-send-email-srinivas.kandagatla@linaro.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: srinivas.kandagatla@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.173 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , This patch adds i2c3 node which is used for panel control on IFC6410. Signed-off-by: Srinivas Kandagatla --- arch/arm/boot/dts/qcom-apq8064-ifc6410.dts | 10 ++++++++++ arch/arm/boot/dts/qcom-apq8064.dtsi | 27 +++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts index 8f955d8..45855c5 100644 --- a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts +++ b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts @@ -87,6 +87,16 @@ }; }; + gsbi3: gsbi@16200000 { + status = "okay"; + qcom,mode = ; + i2c3: i2c@16280000 { + status = "okay"; + pinctrl-0 = <&i2c3_pins>; + pinctrl-names = "default"; + }; + }; + gsbi@12440000 { status = "okay"; qcom,mode = ; diff --git a/arch/arm/boot/dts/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom-apq8064.dtsi index c87f92a..00f725e 100644 --- a/arch/arm/boot/dts/qcom-apq8064.dtsi +++ b/arch/arm/boot/dts/qcom-apq8064.dtsi @@ -135,6 +135,13 @@ function = "gsbi1"; }; }; + + i2c3_pins: i2c3 { + mux { + pins = "gpio8", "gpio9"; + function = "gsbi3"; + }; + }; }; intc: interrupt-controller@2000000 { @@ -248,6 +255,26 @@ }; }; + gsbi3: gsbi@16200000 { + status = "disabled"; + compatible = "qcom,gsbi-v1.0.0"; + reg = <0x16200000 0x100>; + clocks = <&gcc GSBI3_H_CLK>; + clock-names = "iface"; + #address-cells = <1>; + #size-cells = <1>; + ranges; + + i2c3: i2c@16280000 { + compatible = "qcom,i2c-qup-v1.1.1"; + reg = <0x16280000 0x1000>; + interrupts = ; + clocks = <&gcc GSBI3_QUP_CLK>, + <&gcc GSBI3_H_CLK>; + clock-names = "core", "iface"; + }; + }; + gsbi7: gsbi@16600000 { status = "disabled"; compatible = "qcom,gsbi-v1.0.0";