From patchwork Fri Apr 10 20:44:48 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 47073 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f200.google.com (mail-wi0-f200.google.com [209.85.212.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id CE8B4218D9 for ; Fri, 10 Apr 2015 20:45:01 +0000 (UTC) Received: by widjs5 with SMTP id js5sf1854552wid.3 for ; Fri, 10 Apr 2015 13:45:01 -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=luw9OvjiU/5hMQVAaVUhbda4WRPEK09FSG0Z6LmQOSE=; b=lPRQaqLPCayHP3dsRy6F+mkEM+kpH70dX+0aRvet8dvoRob5JLKT64gN/jzxUE3Iy/ Vu/95vbu7KmWmZwfuAkIND+NiI4ALOmPOgJ16GmL01EmWtsNj4p293xq1lemzaO2+yrD UAjlqd/xOiO76Qomrn6IVOOlnswXlQKoSn6HZERH0ao4wS21gF99XXQ+MDWACml0YxXj /pD+SEXkHEORFF051HPmOcwVJ9SF8OHLaEylYyyed2lU30UH54uUwDf4LHInMcnwqA4r xLQUkW+NcU/WMAXBuCXL4mLQZMaUj/W02tzY0N4gpA51IlDThe3D9r8AwsJdXrVdaD+1 NgPA== X-Gm-Message-State: ALoCoQlcRM3uLpvcmAkqE/ervUD5QZG0sSFr5WclgCMem7rav8TUVdo4YY0h4k6aAMg26uR0u9LM X-Received: by 10.112.28.111 with SMTP id a15mr610153lbh.21.1428698701143; Fri, 10 Apr 2015 13:45:01 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.42.172 with SMTP id p12ls510736lal.40.gmail; Fri, 10 Apr 2015 13:45:01 -0700 (PDT) X-Received: by 10.152.36.73 with SMTP id o9mr2978919laj.48.1428698701007; Fri, 10 Apr 2015 13:45:01 -0700 (PDT) Received: from mail-lb0-f169.google.com (mail-lb0-f169.google.com. [209.85.217.169]) by mx.google.com with ESMTPS id sw10si2308425lbb.158.2015.04.10.13.45.00 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 10 Apr 2015 13:45:00 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.169 as permitted sender) client-ip=209.85.217.169; Received: by lbcga7 with SMTP id ga7so22157965lbc.1 for ; Fri, 10 Apr 2015 13:45:00 -0700 (PDT) X-Received: by 10.152.23.70 with SMTP id k6mr2942096laf.76.1428698700915; Fri, 10 Apr 2015 13:45:00 -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.112.67.65 with SMTP id l1csp1326939lbt; Fri, 10 Apr 2015 13:45:00 -0700 (PDT) X-Received: by 10.66.139.70 with SMTP id qw6mr5764902pab.112.1428698699198; Fri, 10 Apr 2015 13:44:59 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h4si1380737pdi.136.2015.04.10.13.44.58; Fri, 10 Apr 2015 13:44:59 -0700 (PDT) Received-SPF: none (google.com: devicetree-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 S933054AbbDJUo4 (ORCPT + 5 others); Fri, 10 Apr 2015 16:44:56 -0400 Received: from mail-wi0-f179.google.com ([209.85.212.179]:36002 "EHLO mail-wi0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933045AbbDJUox (ORCPT ); Fri, 10 Apr 2015 16:44:53 -0400 Received: by wizk4 with SMTP id k4so9614115wiz.1 for ; Fri, 10 Apr 2015 13:44:52 -0700 (PDT) X-Received: by 10.194.48.12 with SMTP id h12mr6420249wjn.74.1428698692872; Fri, 10 Apr 2015 13:44:52 -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 l1sm1121980wiy.20.2015.04.10.13.44.50 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 10 Apr 2015 13:44:52 -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 v3 11/11] ARM: dts: apq8064: add i2c3 node for panel. Date: Fri, 10 Apr 2015 21:44:48 +0100 Message-Id: <1428698688-12366-1-git-send-email-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1428698491-11881-1-git-send-email-srinivas.kandagatla@linaro.org> References: <1428698491-11881-1-git-send-email-srinivas.kandagatla@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: devicetree@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.217.169 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 f97339a..a7c939b 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 345ea08..df2061e 100644 --- a/arch/arm/boot/dts/qcom-apq8064.dtsi +++ b/arch/arm/boot/dts/qcom-apq8064.dtsi @@ -120,6 +120,13 @@ function = "gsbi1"; }; }; + + i2c3_pins: i2c3 { + mux { + pins = "gpio8", "gpio9"; + function = "gsbi3"; + }; + }; }; intc: interrupt-controller@2000000 { @@ -233,6 +240,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";