From patchwork Fri Jun 17 15:14: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: 9184389 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id EEFFA608A2 for ; Fri, 17 Jun 2016 15:19:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E4B17283B7 for ; Fri, 17 Jun 2016 15:19:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D91BB283B9; Fri, 17 Jun 2016 15:19:31 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 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.wl.linuxfoundation.org (Postfix) with ESMTPS id 7D71F283B7 for ; Fri, 17 Jun 2016 15:19:31 +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 1bDvWY-0000ki-36; Fri, 17 Jun 2016 15:17:34 +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 1bDvU6-00058m-60 for linux-arm-kernel@lists.infradead.org; Fri, 17 Jun 2016 15:15:03 +0000 Received: by mail-wm0-x235.google.com with SMTP id f126so2166644wma.1 for ; Fri, 17 Jun 2016 08:14:44 -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=qoRqZcFStfV20TN2AQQYGHsFjwh1X5pJBg1eTNFqclc=; b=QjbcyfXiNutAZ3LA1plZyxBgbOh4ygM4xWirFuL03WnauyHNBQeZxu4jHF1LtL3XVE TuxjTms1pP3pY0wUO3IchnsEkwNRGzrxoOCkYID28YydlrUNKWyqM/UTkIdx305tRcsA gEs9Q2hkxmKrwzmgEt3rDqEBFxFcF21/WhkQo= 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=qoRqZcFStfV20TN2AQQYGHsFjwh1X5pJBg1eTNFqclc=; b=BsGt+aSckBzIZxBAGKlYV1eOtAl8xSleiXWVgr8By6TjJoE2YMAnIiAcbJoUzSHUrr EzugQWpK0JLTQ+n6Te1TJgEfYA4S9LBBN+wpvSzF13EtY7CA4n447LL00djD3djxtrv0 xNQa+zwJzEx/VMhZrT2QkOZmTI5kprPXhUYE3iJQfaIeybjPsrCsohS2YVZzMEjYLTfb ODIdWZm9neaV6JyMcIm/yqWiW2PTgjMLT6FWIqQdJfTTf5S3oyg8/SIz0mehGzbMKMQL 2Mnji8e7pKxhBmUdkJUvEHwr4B2/gaByIh3sOWbP5Flc1kJlva2o+Qy8Br88vmy3RIkj IUlA== X-Gm-Message-State: ALyK8tKA6tY20Oz7RCZZk9Lz/hvw4X9IJbyhVU9uZRdDqwVWhY0+4967fkH8J5wb0GNJOB1O X-Received: by 10.28.156.77 with SMTP id f74mr2977581wme.82.1466176483034; Fri, 17 Jun 2016 08:14:43 -0700 (PDT) Received: from localhost.localdomain (host-92-17-247-99.as13285.net. [92.17.247.99]) by smtp.gmail.com with ESMTPSA id o129sm4240934wmb.17.2016.06.17.08.14.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 17 Jun 2016 08:14:42 -0700 (PDT) From: Srinivas Kandagatla To: Andy Gross Subject: [PATCH 13/16] arm64: dts: msm8996: add support to blsp2_spi5 pinctrl Date: Fri, 17 Jun 2016 16:14:10 +0100 Message-Id: <1466176454-28084-14-git-send-email-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1466176454-28084-1-git-send-email-srinivas.kandagatla@linaro.org> References: <1466176454-28084-1-git-send-email-srinivas.kandagatla@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160617_081502_486179_99A4DE49 X-CRM114-Status: UNSURE ( 9.86 ) X-CRM114-Notice: Please train this message. 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, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, David Brown , Rob Herring , Srinivas Kandagatla , linux-soc@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-Virus-Scanned: ClamAV using ClamSMTP This patch adds pinctrl required for blsp2_spi5 device. Signed-off-by: Srinivas Kandagatla --- arch/arm64/boot/dts/qcom/msm8996-pins.dtsi | 34 ++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8996-pins.dtsi b/arch/arm64/boot/dts/qcom/msm8996-pins.dtsi index 9fd37a0..551707a 100644 --- a/arch/arm64/boot/dts/qcom/msm8996-pins.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996-pins.dtsi @@ -218,4 +218,38 @@ bias-disable; }; }; + + blsp2_spi5_default: blsp2_spi5_default { + pinmux { + function = "blsp_spi12"; + pins = "gpio85", "gpio86", "gpio88"; + }; + pinmux_cs { + function = "gpio"; + pins = "gpio87"; + }; + pinconf { + pins = "gpio85", "gpio86", "gpio88"; + drive-strength = <12>; + bias-disable; + }; + pinconf_cs { + pins = "gpio87"; + drive-strength = <16>; + bias-disable; + output-high; + }; + }; + + blsp2_spi5_sleep: blsp2_spi5_sleep { + pinmux { + function = "gpio"; + pins = "gpio85", "gpio86", "gpio87", "gpio88"; + }; + pinconf { + pins = "gpio85", "gpio86", "gpio87", "gpio88"; + drive-strength = <2>; + bias-pull-down; + }; + }; };