From patchwork Mon Nov 23 09:29:03 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanimir Varbanov X-Patchwork-Id: 7678611 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 CB0CDBF90C for ; Mon, 23 Nov 2015 09:33:24 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id F1C9720445 for ; Mon, 23 Nov 2015 09:33:23 +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 2DD6A2041F for ; Mon, 23 Nov 2015 09:33:23 +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 1a0nTJ-0006GD-1k; Mon, 23 Nov 2015 09:31:41 +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 1a0nRq-00042M-Gw for linux-arm-kernel@lists.infradead.org; Mon, 23 Nov 2015 09:30:11 +0000 Received: by wmec201 with SMTP id c201so150888029wme.0 for ; Mon, 23 Nov 2015 01:29:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=IB8jvZRGiCvLjS/HPd2Femgvl22e5SPYYFizqbYl1ss=; b=EJRZOopzM+lSzm3gbLjj5mBXO3oHWhO7jn/3dOVwgNlK2SeRvOP6JCIEzfgd2QZw/y 3Pt4UX+Af5ny1/+AdlLW+XHTb0kRk6ezNttiI6FHwb3IMN+lIbty4IIGbZJQaJa88Tdw 2fXtn6jHnYxuU7dq+0Y7jfXPo+bEzrXBWRfALIp0ANRWWI1YWgfEAXAP4tcWjOtzQ4sU 5K6XW6kNJodTedSj74KXGv1RLCCMYZGi32SomAlkqaTEh/JKfwV2i14lAnpJG9flBTmp KGYBEKwNnmxNKh18ZZxICPHuKdqu5WP9RZ63G6yJvH1beNUZZ/NhCsEcneMaXcg0QMDP feQA== 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:in-reply-to:references; bh=IB8jvZRGiCvLjS/HPd2Femgvl22e5SPYYFizqbYl1ss=; b=P9omfO89Y3a8OBNj6fPZ3O0WNZqCCJkgGMZwYt0DEc06LiLWJ/elDuO6tQi/MD2xFT RsqmG2Lxl3PG7qeKzzZK4l0C14wICWOfEEHUGrf7WQJWE/OWI8D/I0CJMrdJ8qu0YYr3 4rPGdI91PfsJqz47yFYFQ0iqjFhNP4FXnCtz0UBdOxPujzFKtM4VGCBMA7vv1fTEbnRT VfCeSsX4eULEozaKlK1Gk1FKmPMPKOHPpNVAd9gKOaOWHJ24fau5CHBSQyW5ILStLwgi F8LDJ11TP7yImAnCK8jsJ0nSfhmoqnAoO6NlG6mt6GG1XERDUSAUVE1aZ5XRYJHROfTe bb1Q== X-Gm-Message-State: ALoCoQm/ZnT5DNKWaqTNGMWfY2+zaaiPLC10wFEIRT35JRVCP1MtfU05tpqGVmpjZUv8Iugc5TCx X-Received: by 10.28.227.198 with SMTP id a189mr14886084wmh.74.1448270988474; Mon, 23 Nov 2015 01:29:48 -0800 (PST) Received: from mms734.qualcomm.mm-sol.com ([37.157.136.206]) by smtp.gmail.com with ESMTPSA id k125sm5547508wmf.2.2015.11.23.01.29.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 23 Nov 2015 01:29:47 -0800 (PST) From: Stanimir Varbanov To: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-pci@vger.kernel.org, Bjorn Helgaas Subject: [PATCH v3 6/6] ARM: dts: ifc6410: enable pcie dt node for this board Date: Mon, 23 Nov 2015 11:29:03 +0200 Message-Id: X-Mailer: git-send-email 1.7.9.5 In-Reply-To: References: In-Reply-To: References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151123_013010_839638_4209B7B2 X-CRM114-Status: GOOD ( 11.31 ) X-Spam-Score: -2.6 (--) 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: Mark Rutland , Arnd Bergmann , Pawel Moll , Ian Campbell , Jingoo Han , Pratyush Anand , Stanimir Varbanov , Rob Herring , Srinivas Kandagatla , Bjorn Andersson 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.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,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 Enable pcie dt node and fill pcie dt node with regulator, pinctrl and reset gpio, to use the pcie on the ifc6410 board. Signed-off-by: Stanimir Varbanov --- arch/arm/boot/dts/qcom-apq8064-ifc6410.dts | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts index 11ac608b6d50..bdee36a9b418 100644 --- a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts +++ b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts @@ -47,6 +47,18 @@ bias-disable; }; }; + + pcie0_pins: pcie0_pinmux { + mux { + pins = "gpio27"; + function = "gpio"; + }; + conf { + pins = "gpio27"; + drive-strength = <12>; + bias-disable; + }; + }; }; rpm@108000 { @@ -123,6 +135,10 @@ pm8921_lvs1: lvs1 { bias-pull-down; }; + + pm8921_lvs6: lvs6 { + bias-pull-down; + }; }; }; @@ -231,6 +247,16 @@ status = "okay"; }; + pci@1b500000 { + status = "ok"; + vdda-supply = <&pm8921_s3>; + vdda_phy-supply = <&pm8921_lvs6>; + vdda_refclk-supply = <&ext_3p3v>; + pinctrl-0 = <&pcie0_pins>; + pinctrl-names = "default"; + perst-gpio = <&tlmm_pinmux 27 GPIO_ACTIVE_LOW>; + }; + qcom,ssbi@500000 { pmic@0 { gpio@150 {