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: 5863011 Return-Path: X-Original-To: patchwork-linux-arm-msm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id A7679BF440 for ; Mon, 23 Feb 2015 07:56:51 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id DB26E2062D for ; Mon, 23 Feb 2015 07:56:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DDC612062C for ; Mon, 23 Feb 2015 07:56:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752605AbbBWH4d (ORCPT ); Mon, 23 Feb 2015 02:56:33 -0500 Received: from mail-wg0-f41.google.com ([74.125.82.41]:46084 "EHLO mail-wg0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752756AbbBWH4b (ORCPT ); Mon, 23 Feb 2015 02:56:31 -0500 Received: by mail-wg0-f41.google.com with SMTP id b13so23991049wgh.0 for ; Sun, 22 Feb 2015 23:56:30 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=ayetRuicEi3qXTVGn1JxTW0of7ne/sOPbCAdXXtUGJ4=; b=jUpyr1o4TwmAIDBvR14MW6WO8KNiUIE5rtyMDl0I27wjzndwUpKSVxrMNhX0cA3VCz VLgQS9uYWABrbDGcmp9qb8LlOlS+5exLF/8CR988qYrEILgoMsjFkcBrLUDpKIWF1KnH 6B43qmV0UGQZxT+fTzY33XvKUNDZC18scPZLWl5xOySmN+Z3LfBe5NYop4TNJlmb10Wa rPttpKBgYVrQMId2szbpGMzcbripcsPkR4uO0FivZQlekmnHfLcjDcqc0NM7ZDNhjiRB HIuAAIhvXHwYvC8oz27KkmSr/Dr7MnRr2UUSOHJbVK+aQ9awR86caC6ZuUA1Rt5tc3rH YoYQ== X-Gm-Message-State: ALoCoQkLi5bHE8nocHBXvWqc+2GmpNEg4XP4L8GcXC7vAnRcV+97l0JjhTW55BdGzuFtUkoYnBX3 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-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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";