From patchwork Mon Feb 23 07:56:24 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 44900 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f72.google.com (mail-wg0-f72.google.com [74.125.82.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 322D721570 for ; Mon, 23 Feb 2015 07:56:45 +0000 (UTC) Received: by mail-wg0-f72.google.com with SMTP id l18sf15951079wgh.3 for ; Sun, 22 Feb 2015 23:56:44 -0800 (PST) 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=iQYNbTs3WJY7BjK2ZDsy+gKIvmszqFbYIMhe72UlA4w=; b=Ajh5UBLNbqhtyMi//1w+3pvmAwtgNSkiqTsxGKQMWqzMqUA0TekgOdUfRaFZfkpcTf ZOamOUfxnKR7nn4oUOGJS2oJxktYacQjfw6qeYA/i6UyL7v6apsveqoIx/HHTXpgy9yi /eA+qYK7H8XSwHYkC5ZN8CsEcNylzWAcAn41GxLCDRwrNhwl5EhgrTCZ91ML/avux2Hr db9BWdOhOhzwGpQfrAGgUHfEzAqdKe75d1NpoDbVFhy4PFfTmFatKayMsuP9btqaSGi7 Ao+X2/0N/szCwIWOB5/1HyKyod6j1ojbBAagFK/uWMZhaQg/2DERieaeOgRae3stCC8g JQsA== X-Gm-Message-State: ALoCoQlIpM5IYQN2HYLlELqNDKk14sAomq08XXOsdxWY9aDTWEwcNwqG6pWNn0Qko+7GV4KMdcMh X-Received: by 10.194.178.234 with SMTP id db10mr1083837wjc.2.1424678204512; Sun, 22 Feb 2015 23:56:44 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.153.6.7 with SMTP id cq7ls524303lad.8.gmail; Sun, 22 Feb 2015 23:56:44 -0800 (PST) X-Received: by 10.112.198.66 with SMTP id ja2mr8464522lbc.39.1424678204191; Sun, 22 Feb 2015 23:56:44 -0800 (PST) Received: from mail-la0-f43.google.com (mail-la0-f43.google.com. [209.85.215.43]) by mx.google.com with ESMTPS id d9si2030784lah.152.2015.02.22.23.56.44 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 22 Feb 2015 23:56:44 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.43 as permitted sender) client-ip=209.85.215.43; Received: by labhs14 with SMTP id hs14so16799332lab.1 for ; Sun, 22 Feb 2015 23:56:44 -0800 (PST) X-Received: by 10.112.64.193 with SMTP id q1mr8661423lbs.88.1424678204090; Sun, 22 Feb 2015 23:56:44 -0800 (PST) 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.35.133 with SMTP id h5csp1104217lbj; Sun, 22 Feb 2015 23:56:43 -0800 (PST) X-Received: by 10.68.125.197 with SMTP id ms5mr17419190pbb.12.1424678202281; Sun, 22 Feb 2015 23:56:42 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id zg6si34510299pac.237.2015.02.22.23.56.40; Sun, 22 Feb 2015 23:56:42 -0800 (PST) Received-SPF: none (google.com: linux-kernel-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 S1752785AbbBWH4f (ORCPT + 28 others); Mon, 23 Feb 2015 02:56:35 -0500 Received: from mail-wg0-f53.google.com ([74.125.82.53]:45359 "EHLO mail-wg0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752758AbbBWH4b (ORCPT ); Mon, 23 Feb 2015 02:56:31 -0500 Received: by mail-wg0-f53.google.com with SMTP id a1so23860510wgh.12 for ; Sun, 22 Feb 2015 23:56:30 -0800 (PST) X-Received: by 10.180.74.39 with SMTP id q7mr17826677wiv.73.1424678190692; Sun, 22 Feb 2015 23:56:30 -0800 (PST) Received: from srini-ThinkPad-X1-Carbon-2nd.dlink.com (host-2-96-88-56.as13285.net. [2.96.88.56]) by mx.google.com with ESMTPSA id n6sm54379030wjy.8.2015.02.22.23.56.27 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 22 Feb 2015 23:56:29 -0800 (PST) From: Srinivas Kandagatla To: Kumar Gala , linux-arm-msm@vger.kernel.org Cc: 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 12/12] ARM: dts: apq8064 add i2c3 node for panel. Date: Mon, 23 Feb 2015 07:56:24 +0000 Message-Id: <1424678184-13435-1-git-send-email-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <424678035-12862-1-git-send-email-srinivas.kandagatla@linaro.org> References: <424678035-12862-1-git-send-email-srinivas.kandagatla@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@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.215.43 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 | 25 +++++++++++++++++++++++++ 2 files changed, 35 insertions(+) diff --git a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts index ab7aee2..70fa747 100644 --- a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts +++ b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts @@ -20,6 +20,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 09077a0..890db8e 100644 --- a/arch/arm/boot/dts/qcom-apq8064.dtsi +++ b/arch/arm/boot/dts/qcom-apq8064.dtsi @@ -122,6 +122,13 @@ function = "gsbi1"; }; }; + + i2c3_pins: i2c3 { + mux { + pins = "gpio8", "gpio9"; + function = "gsbi3"; + }; + }; }; intc: interrupt-controller@2000000 { @@ -208,6 +215,24 @@ }; }; + 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 = <0 151 IRQ_TYPE_NONE>; + clocks = <&gcc GSBI3_QUP_CLK>, <&gcc GSBI3_H_CLK>; + clock-names = "core", "iface"; + }; + }; gsbi7: gsbi@16600000 { status = "disabled";