From patchwork Wed Mar 23 19:47:09 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 8653691 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 8AC63C0553 for ; Wed, 23 Mar 2016 19:49:29 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id AC1C6203E5 for ; Wed, 23 Mar 2016 19:49:28 +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 29C28203F1 for ; Wed, 23 Mar 2016 19:49:27 +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 1aiokw-0002sL-Vy; Wed, 23 Mar 2016 19:47:51 +0000 Received: from mail-wm0-x22e.google.com ([2a00:1450:400c:c09::22e]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aiokg-0002jX-9x for linux-arm-kernel@lists.infradead.org; Wed, 23 Mar 2016 19:47:36 +0000 Received: by mail-wm0-x22e.google.com with SMTP id l68so247566437wml.0 for ; Wed, 23 Mar 2016 12:47:13 -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=sZd/Ne6zJ/TVQJSrtlXZy/dBh63/Yz29dMpBnIuUYWI=; b=EMosjRm0dvwf3ZX1sBBsmZ54LSet6CzbAqC/0RvxY9SzgsiBKdC3BXDbC2H3roUDEp WClurUj2Xz2DxJRlh6y/0zM8BhwDvlHTh+ok3M8wsVA+1VvdItQ75+be4Ci5bimuCL5+ v0XCor/y9FQdLLXCjbJUpUutPaAFAt4tBJ0qc= 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=sZd/Ne6zJ/TVQJSrtlXZy/dBh63/Yz29dMpBnIuUYWI=; b=Me73q49l+F5pCJDmM04dpSgupAmxeZmyCDu03USSvwMHssUlFXloK4LCGtC4Y+QPyC EI+NGyHlA6wL1Ezw5TVlNy2rCKLFTowJxKztNOZLuNaYH8hUi4klDkCWNkk8p+rsMBgv Gq5AAV0Jfmgyxi0j1OJh4WDTdvXMWnqJNGivgKNGlr3IclMz2GBOAqlMLzvGd3XRL9nt aXX9ZzI64W6ad9z+iZBlw7sBKFZyZum2FnunTP9DDhzkPNQM1pd+TSJp7SAedB7XzM5d 55RpsCWpusKBAxl9i0zh/I8Z3XJmMu5QeNYhDQN/czIpkiTDTqc1TU9kYnaMIflXViLC MgeA== X-Gm-Message-State: AD7BkJI+IZBu2wMB4HuImjMmSaWblAKOTNSklxPwBTM9Od92iJwUQK4IeQeWz0fnVapDB2Ah X-Received: by 10.194.84.66 with SMTP id w2mr5395180wjy.6.1458762432646; Wed, 23 Mar 2016 12:47:12 -0700 (PDT) Received: from localhost.localdomain (host-92-17-247-99.as13285.net. [92.17.247.99]) by smtp.gmail.com with ESMTPSA id u3sm23627249wmg.15.2016.03.23.12.47.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 23 Mar 2016 12:47:12 -0700 (PDT) From: Srinivas Kandagatla To: Andy Gross , linux-arm-msm@vger.kernel.org Subject: [PATCH 02/12] ARM: dts: apq8064: add support to gsbi1 uart Date: Wed, 23 Mar 2016 19:47:09 +0000 Message-Id: <1458762429-9397-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_124734_682224_D3EA2C34 X-CRM114-Status: GOOD ( 10.52 ) 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=ham 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 support to gsbi1 uart and its pinctrls nodes. Signed-off-by: Srinivas Kandagatla --- arch/arm/boot/dts/qcom-apq8064-pins.dtsi | 14 ++++++++++++++ arch/arm/boot/dts/qcom-apq8064.dtsi | 10 ++++++++++ 2 files changed, 24 insertions(+) diff --git a/arch/arm/boot/dts/qcom-apq8064-pins.dtsi b/arch/arm/boot/dts/qcom-apq8064-pins.dtsi index b57c59d..8bb5e5f 100644 --- a/arch/arm/boot/dts/qcom-apq8064-pins.dtsi +++ b/arch/arm/boot/dts/qcom-apq8064-pins.dtsi @@ -39,6 +39,20 @@ }; }; + gsbi1_uart_2pins: gsbi1_uart_2pins { + mux { + pins = "gpio18", "gpio19"; + function = "gsbi1"; + }; + }; + + gsbi1_uart_4pins: gsbi1_uart_4pins { + mux { + pins = "gpio18", "gpio19", "gpio20", "gpio21"; + function = "gsbi1"; + }; + }; + i2c2_pins: i2c2 { mux { pins = "gpio24", "gpio25"; diff --git a/arch/arm/boot/dts/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom-apq8064.dtsi index c6ff8fc..81b4290 100644 --- a/arch/arm/boot/dts/qcom-apq8064.dtsi +++ b/arch/arm/boot/dts/qcom-apq8064.dtsi @@ -225,6 +225,16 @@ syscon-tcsr = <&tcsr>; + gsbi1_serial: serial@12450000 { + compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm"; + reg = <0x12450000 0x100>, + <0x12400000 0x03>; + interrupts = <0 193 0x0>; + clocks = <&gcc GSBI1_UART_CLK>, <&gcc GSBI1_H_CLK>; + clock-names = "core", "iface"; + status = "disabled"; + }; + gsbi1_i2c: i2c@12460000 { compatible = "qcom,i2c-qup-v1.1.1"; pinctrl-0 = <&i2c1_pins>;