From patchwork Thu Dec 3 13:35:24 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanimir Varbanov X-Patchwork-Id: 7760091 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 2B5579F1C2 for ; Thu, 3 Dec 2015 13:39:19 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4811A2050B for ; Thu, 3 Dec 2015 13:39:18 +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 8631620503 for ; Thu, 3 Dec 2015 13:39:17 +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 1a4U4Z-0003wM-E4; Thu, 03 Dec 2015 13:37:23 +0000 Received: from mail-wm0-x232.google.com ([2a00:1450:400c:c09::232]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1a4U3q-0003OK-A8 for linux-arm-kernel@lists.infradead.org; Thu, 03 Dec 2015 13:36:41 +0000 Received: by wmec201 with SMTP id c201so22437366wme.1 for ; Thu, 03 Dec 2015 05:36:17 -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; bh=v7OglF5EqJldkiLfUP10lvnDqdAZe50ZyO5TIxqXSZk=; b=x25Uu+xJgbkKL4DHIlED9CBoSWuhlpb+oWcb9srmaissnlUJSw/T2GQXyx/IfMPK8m qsh6OuxxVp0dP19WkCy28YP1Qp23XZ543233WRu6TFGCfYaolL3/Rbj2MXqXe9DZaqBP FFcBFKcL23/Z5rekQE/7Kp9Gsc0Dm91SUR8jR7ADh0hoGLyh7Kp42/Ert2nvC36SPrbJ xZvgu3jrI44mIP4Wuhk50VXjBHlCELDCAHivUwnNubHGRgdflQ5CWSIJGyqia12qiZLJ pFhpzzp63C9LYDIaS0Fk3agMU7yrTUybwyc10THXF//xfeqjjBSLljir9lk7J+jMlhvv oNQg== 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=v7OglF5EqJldkiLfUP10lvnDqdAZe50ZyO5TIxqXSZk=; b=Zidtft8YM3yCzS+i7HwvfEWKCTiF6vsD7lUkBAzom68zV2wfG6GUJFIWUvUzR4AK/r O83XUfSVQXW2S4XnZosXgvVWLefRZlTqvj8vGppcXm697cz8IjPGD1Lxm+npBv3PfUsY qC/GCSRfQfTTs1N33b/YrgRvgh8jbReRJ03FD2LSnkDHDUtaFCAmLSEX/RfsMx3HkE/q kmAe0DetQO0yKjTCxPYzN8apMWr0yq7n3ielJaFRdJK9t3zTtWyRArIsgpD4w6lVRE0Q Yl/x8KTqToGsZehxJUHR1C9j9DS4/VryJOeGt2Ziy3y7Qnjj3dVORnFPzBSN4pjbJOxA P7bg== X-Gm-Message-State: ALoCoQmOpAXCMr276r5a0FW1w+iL6iueXP7fIJwAnZrM0DWj0Wf72+rnTVIi6HfruBLBwX6TWeMO X-Received: by 10.194.188.11 with SMTP id fw11mr12647692wjc.146.1449149776933; Thu, 03 Dec 2015 05:36:16 -0800 (PST) Received: from mms734.qualcomm.mm-sol.com ([37.157.136.206]) by smtp.gmail.com with ESMTPSA id h189sm35769187wme.1.2015.12.03.05.36.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 03 Dec 2015 05:36:16 -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 v4 5/5] ARM: dts: ifc6410: enable pcie dt node for this board Date: Thu, 3 Dec 2015 15:35:24 +0200 Message-Id: <1449149725-27607-6-git-send-email-stanimir.varbanov@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1449149725-27607-1-git-send-email-stanimir.varbanov@linaro.org> References: <1449149725-27607-1-git-send-email-stanimir.varbanov@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151203_053638_765451_2E19E4C0 X-CRM114-Status: GOOD ( 11.03 ) 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.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 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..f203b94ee460 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; }; }; + + pcie_pins: pcie_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 = <&pcie_pins>; + pinctrl-names = "default"; + perst-gpio = <&tlmm_pinmux 27 GPIO_ACTIVE_LOW>; + }; + qcom,ssbi@500000 { pmic@0 { gpio@150 {