From patchwork Wed Oct 16 01:24:56 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 3049631 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: X-Original-To: patchwork-linux-pci@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id B341A9F243 for ; Wed, 16 Oct 2013 01:25:46 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CCCE020345 for ; Wed, 16 Oct 2013 01:25:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B5291202B8 for ; Wed, 16 Oct 2013 01:25:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757494Ab3JPBZA (ORCPT ); Tue, 15 Oct 2013 21:25:00 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:52221 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753143Ab3JPBY7 (ORCPT ); Tue, 15 Oct 2013 21:24:59 -0400 Received: from epcpsbgr2.samsung.com (u142.gpu120.samsung.co.kr [203.254.230.142]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MUQ00D7SMLHXV50@mailout3.samsung.com> for linux-pci@vger.kernel.org; Wed, 16 Oct 2013 10:24:58 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [203.254.230.48]) by epcpsbgr2.samsung.com (EPCPMTA) with SMTP id F3.87.16566.9EAED525; Wed, 16 Oct 2013 10:24:57 +0900 (KST) X-AuditID: cbfee68e-b7f486d0000040b6-88-525deae993b4 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id F3.B7.05832.9EAED525; Wed, 16 Oct 2013 10:24:57 +0900 (KST) Received: from DOJG1HAN03 ([12.23.120.99]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MUQ00GECMLLG760@mmp2.samsung.com>; Wed, 16 Oct 2013 10:24:57 +0900 (KST) From: Jingoo Han To: 'Marek Vasut' , linux-pci@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, 'Bjorn Helgaas' , 'Frank Li' , 'Mohit KUMAR' , 'Pratyush Anand' , 'Richard Zhu' , 'Sascha Hauer' , 'Sean Cross' , 'Shawn Guo' , 'Siva Reddy Kallam' , 'Srikanth T Shivanand' , 'Tim Harvey' , 'Troy Kisky' , 'Yinghai Lu' , 'Kishon Vijay Abraham I' , 'Jingoo Han' References: <1381853200-5534-1-git-send-email-marex@denx.de> <1381853200-5534-2-git-send-email-marex@denx.de> In-reply-to: <1381853200-5534-2-git-send-email-marex@denx.de> Subject: Re: [PATCH 1/6] PCI: imx6: Make reset-gpio optional Date: Wed, 16 Oct 2013 10:24:56 +0900 Message-id: <006401ceca0e$86427be0$92c773a0$%han@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-index: Ac7JwJiDX6U4zURyT8Sq7v328e5jFgATUuFw Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrOKsWRmVeSWpSXmKPExsVy+t8zA92Xr2KDDCZsk7NY0pRh8fKQpsXl hZdYLS487WGz2PT4GqvF2XnH2Szuz97GbPGmrZHRYuPUX4wW7ZeULR7PErb4u30Ti8XTdUuY LVY0bWW0uHjiE7PFxkMdTBaNRx+wWrQ+ecBo8X/LZzYHYY+He3k85s06weLx73A/k8e5nrts Hjtn3WX3WLCp1GPTqk42j+8L57N73Lm2h81j85J6j/6/Bh59W1Yxejz9sZ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XHwCdN0yc4C+ VVIoS8wpBQoFJBYXK+nbYZoQGuKmawHTGKHrGxIE12NkgAYS1jFmtOy/w1jQwF/xuXcvYwPj VJ4uRk4OCQETiTtdPawQtpjEhXvr2boYuTiEBKYzSsxvamQESQgJ/GKUmHTRGsRmE1CT+PLl MDuILSJgI/HpxA4wm1mgi1Wiv6Meoj5fYvWtpWwgNqeArcTO7vNMILYwUP2kRU0sIDaLgKpE 8953zCA2L1DN7MVbWCFsQYkfk++xQMzUkli/8zgThC0vsXnNW6B6DqBD1SUe/dWFOMFIYtLL dlaIEhGJfS/eMU5gFJqFZNIsJJNmIZk0C0nLAkaWVYyiqQXJBcVJ6blGesWJucWleel6yfm5 mxjBae6Z9A7GVQ0WhxgFOBiVeHhPRMUGCbEmlhVX5h5ilOBgVhLh5T8NFOJNSaysSi3Kjy8q zUktPsSYDPToRGYp0eR8YArOK4k3NDYxM7I0MrMwMjE3J01YSZz3YKt1oJBAemJJanZqakFq EcwWJg5OqQbGbQuY91vcq/u28NUm979J719tav63ahkX79E+voS5civF+LMMSq+Xy5TF2J2e U5Ml/UmqyOyxOW/thigO29QdveXlTqZxPl5zUnlevlSuE7f8V/LCmInR2Sjqyo0/OnaGXDde nXk+Q/X5p1eZLM5H5ppvLX184OJSKTbmd0JVrI2SWT/XKNYqsRRnJBpqMRcVJwIAldqHSbcD AAA= DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,KHOP_BIG_TO_CC, RCVD_IN_DNSWL_HI, 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 On Wednesday, October 16, 2013 1:07 AM, Marek Vasut wrote: > > Some boards do not have a PCIe reset GPIO. To avoid probe > failure on these boards, make the reset GPIO optional as > well. > > Signed-off-by: Marek Vasut [.....] > --- > .../devicetree/bindings/pci/designware-pcie.txt | 2 +- > drivers/pci/host/pci-imx6.c | 29 +++++++++++----------- > 2 files changed, 16 insertions(+), 15 deletions(-) > > diff --git a/Documentation/devicetree/bindings/pci/designware-pcie.txt > b/Documentation/devicetree/bindings/pci/designware-pcie.txt > index d5d26d4..b7a2279 100644 > --- a/Documentation/devicetree/bindings/pci/designware-pcie.txt > +++ b/Documentation/devicetree/bindings/pci/designware-pcie.txt > @@ -19,9 +19,9 @@ Required properties: > to define the mapping of the PCIe interface to interrupt > numbers. > - num-lanes: number of lanes to use > -- reset-gpio: gpio pin number of power good signal > > Optional properties for fsl,imx6q-pcie > +- reset-gpio: gpio pin number of power good signal > - power-on-gpio: gpio pin number of power-enable signal > - wake-up-gpio: gpio pin number of incoming wakeup signal > - disable-gpio: gpio pin number of outgoing rfkill/endpoint disable signal (+cc Kishon Vijay Abraham I) Also, 'reset-gpio' property can be used for 'samsung,exynos5440-pcie'. Thus, it is not specific for 'fsl,imx6q-pcie'. Please, modify it as below: Best regards, Jingoo Han --- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- a/Documentation/devicetree/bindings/pci/designware-pcie.txt +++ b/Documentation/devicetree/bindings/pci/designware-pcie.txt @@ -19,6 +19,8 @@ Required properties: to define the mapping of the PCIe interface to interrupt numbers. - num-lanes: number of lanes to use + +Optional properties - reset-gpio: gpio pin number of power good signal Optional properties for fsl,imx6q-pcie