From patchwork Wed Mar 23 19:48:10 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 8653811 Return-Path: X-Original-To: patchwork-linux-arm@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 849D6C0553 for ; Wed, 23 Mar 2016 19:55:03 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1CB53203F1 for ; Wed, 23 Mar 2016 19:55:01 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 37AC2203E5 for ; Wed, 23 Mar 2016 19:55:00 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1aioqK-0008WV-Kv; Wed, 23 Mar 2016 19:53:24 +0000 Received: from mail-wm0-x235.google.com ([2a00:1450:400c:c09::235]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aiole-00034V-FW for linux-arm-kernel@lists.infradead.org; Wed, 23 Mar 2016 19:48:38 +0000 Received: by mail-wm0-x235.google.com with SMTP id l68so210349653wml.0 for ; Wed, 23 Mar 2016 12:48:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=+AYO58eoPSTZKLf2rJxCXhEZiS/Gwib3UBBmcQxn/oY=; b=cTvPfZp8aDqiSStM6iWtEbmBKFeTsg9crLWCdGeiaoKlnRYCFbxqta85iW/3ro75wq W7tiCz5LyPwt8tDce5c/M0z30Nw38MBA3f4c7hNQn/kQaQ1mTqpVF8cwJh7+hn/3ImK9 urFnyKsJK4AvULtBLMj9HtdAVbpXF2dnO26Z8= 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=+AYO58eoPSTZKLf2rJxCXhEZiS/Gwib3UBBmcQxn/oY=; b=FJ0o5DqW0FL680dPTUoPX5xh84+OSKEgEse824xkAwLWYATo+9w1yW20F3dTGtlv1V PkIcnQ7pxuJQqNePIwqoN3gYFEYSzQLrtqEXBKxDXgWma1dGvfslSVEHAn0DmW9UGEf7 syTxuWmadOjR+cYVYqy7PL7adx+nTOCA7T8tfOrUzfwiL6tXK5pGY2VMhVvii+y8QAKb XHb192HLvTmqHA9LCPsSMzFrGy0PxGzqCh2sbdt7OaCpxMygRWSHQgH0KYwJDM8EnumI x076nZX6T43Ng1AxhLUsl5R2NWTWt/Vck+jdqCcA4uUXoGsm23mKQXWa77EZUt2PS72K tDdg== X-Gm-Message-State: AD7BkJLXk6CDwKa1JkDa+MXbSP4/kPAbuzDEwOSeTlUmYe8GpftQYEtxYedTRbt3DIrD39od X-Received: by 10.28.53.134 with SMTP id c128mr28565098wma.10.1458762493177; Wed, 23 Mar 2016 12:48:13 -0700 (PDT) Received: from localhost.localdomain (host-92-17-247-99.as13285.net. [92.17.247.99]) by smtp.gmail.com with ESMTPSA id w203sm4430780wmg.14.2016.03.23.12.48.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 23 Mar 2016 12:48:12 -0700 (PDT) From: Srinivas Kandagatla To: Andy Gross , linux-arm-msm@vger.kernel.org Subject: [PATCH 11/12] ARM: dts: dragonboard-600c: add i2c support Date: Wed, 23 Mar 2016 19:48:10 +0000 Message-Id: <1458762490-9814-1-git-send-email-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1458762366-9233-1-git-send-email-srinivas.kandagatla@linaro.org> References: <1458762366-9233-1-git-send-email-srinivas.kandagatla@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160323_124835_146799_5FAB54A8 X-CRM114-Status: GOOD ( 10.59 ) X-Spam-Score: -2.7 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Srinivas Kandagatla , linux-soc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, 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 nodes required to enable 4 i2c buses on the board which are connected to various sensors and eeprom. Signed-off-by: Srinivas Kandagatla --- .../arm/boot/dts/qcom-apq8064-dragonboard-600c.dts | 46 ++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/arch/arm/boot/dts/qcom-apq8064-dragonboard-600c.dts b/arch/arm/boot/dts/qcom-apq8064-dragonboard-600c.dts index 4fecd94..942de04 100644 --- a/arch/arm/boot/dts/qcom-apq8064-dragonboard-600c.dts +++ b/arch/arm/boot/dts/qcom-apq8064-dragonboard-600c.dts @@ -8,6 +8,10 @@ aliases { serial0 = &gsbi7_serial; serial1 = &gsbi1_serial; + i2c0 = &gsbi2_i2c; + i2c1 = &gsbi3_i2c; + i2c2 = &gsbi4_i2c; + i2c3 = &gsbi7_i2c; }; regulators { @@ -180,6 +184,42 @@ }; }; + gsbi@12480000 { + status = "okay"; + qcom,mode = ; + i2c@124a0000 { + /* On Low speed expansion and Sensors */ + label = "LS-I2C0"; + status = "okay"; + }; + }; + + gsbi@16200000 { + status = "okay"; + qcom,mode = ; + i2c@16280000 { + /* On Low speed expansion */ + status = "okay"; + label = "LS-I2C1"; + clock-frequency = <200000>; + eeprom@52 { + compatible = "atmel,24c128"; + reg = <0x52>; + pagesize = <64>; + }; + }; + }; + + gsbi@16300000 { + status = "okay"; + qcom,mode = ; + i2c@16380000 { + /* On High speed expansion */ + label = "HS-CAM-I2C3"; + status = "okay"; + }; + }; + /* DEBUG UART */ gsbi@16600000 { status = "okay"; @@ -190,6 +230,12 @@ pinctrl-names = "default"; pinctrl-0 = <&gsbi7_uart_2pins>; }; + + i2c@16680000 { + /* On High speed expansion */ + status = "okay"; + label = "HS-CAM-I2C2"; + }; }; leds {