Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp2597905rdb; Fri, 8 Dec 2023 12:57:04 -0800 (PST) X-Google-Smtp-Source: AGHT+IFwtCQoT0dPmtnWkZSAJo13zRXZ8ciEnZGkjSKnVf9lcj+kYA+VuPULq0cYH/KYXY14uak5 X-Received: by 2002:a05:6a20:3942:b0:18d:b43:78ea with SMTP id r2-20020a056a20394200b0018d0b4378eamr829376pzg.43.1702069023759; Fri, 08 Dec 2023 12:57:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702069023; cv=none; d=google.com; s=arc-20160816; b=TNBwB60rJPOIjR5RzCHz32sq8a3xtAxU6ou+fFuLKbtIaWMF5A+P8iemiY2LrFXjdf wBdnsfh0nQn/VkX2iYpGLmPFtF2koVefqleBzrvQoE5KPyKdxEO2Mq9EA6QbBs/ajXEM Zgw3PHCKqDMN8sttM2F/pfuGRBUWzODSQPGLa5CRPruRxV6Ow3krOCEPYKL5Z6TPoEcp IZi3G3yl4wF4Wogp71FlJFaWwWGTgciozWvq6KR9PZ9RnuX3u3/povuJRucmRH5QKZch qb0+icFAUHjLDaDNXqRyzn/yQpISjC0nGLLiVktluGlGkyXaiJdiV0AtydZz8ul69uIm z1yg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=PMCsypl2ZT72XEQ1sjBx4SYxL9BLD+/SCpdSyBKF+9U=; fh=4RjCdh3Ukp1XZV4SEjEiiKn4x2PD1tpZQn1pGxvxeP4=; b=wBwXcpR8c+EMsRrmF/FnSC6tyJBVwUafKndWKNjykgWcmPpqfbYQs3RStz+m4xuc52 4HgV+odBvMgfJAhgItetXm2vE/x95WbI/Bi3aBe9iH9lZYZtYV8HvowfOyC0jXLIOIZX kAcO7SZ7x39jzq56sTvGPmagXsjEpB5UTAtpyINKDl3I7PKB0ryAlGsk3PB+9flV+kGg MRIl5DnkBzLy9mdOLXk01rUGw3943jlYBOl06Akg34dLcSqghVUYnBRd1x1dEsmDySJA 7FlQdqsWpsz4vCEB6fWemIoqMsyaYgFE4nZOGLAjtHHGA4t+n9WkKynMOTa0VKXGwYYa 5kaA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id m5-20020a63ed45000000b00578ea9a0b93si2076044pgk.890.2023.12.08.12.57.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 12:57:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 8142683B2E7F; Fri, 8 Dec 2023 12:57:01 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229826AbjLHU4j (ORCPT + 99 others); Fri, 8 Dec 2023 15:56:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38928 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233900AbjLHUzm (ORCPT ); Fri, 8 Dec 2023 15:55:42 -0500 Received: from mail-oa1-f43.google.com (mail-oa1-f43.google.com [209.85.160.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DCCCA1720; Fri, 8 Dec 2023 12:55:47 -0800 (PST) Received: by mail-oa1-f43.google.com with SMTP id 586e51a60fabf-1faf46f96ebso1419806fac.1; Fri, 08 Dec 2023 12:55:47 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702068947; x=1702673747; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=PMCsypl2ZT72XEQ1sjBx4SYxL9BLD+/SCpdSyBKF+9U=; b=xHpmDCtA9tRQ5lJQ1sEx/7MVTlTNPovbqqw5WAEoLNszUE+3IRc71TweNmo4XYWW/a 3xTxxyXojVvADFQ2Y2WEAeWQhuATH+mcjBkvm/QUtwp+z1qbsxE68sA5qnwBPsVWM1gl 42N33MsiP5JrDMg1DGYSaY45Hc7R7bpFl9/Alej8amThq7qyKTb4SosMdicKpMXmCpXU 6fD1T6+9Pw7Zhuj7sL6VxluspUNJzTM5/E1ghEFEhzCiUrHfifcbscmyUMANflzITes6 BqEvsBwO4gj7q8AXLyiMJm2c0oyBjW3rsA0i5j60KBzhIkOWSFldSuREV1ZcSC/wNR+U m4gg== X-Gm-Message-State: AOJu0YyfSqWENmTMFobPO7jnurixXfi052VfzOFgpHhf2wJYLf7oam8w 6f7VF+yQSSs6V1hKbb+T1w== X-Received: by 2002:a05:6871:a687:b0:1fb:75b:99b6 with SMTP id wh7-20020a056871a68700b001fb075b99b6mr800153oab.101.1702068946995; Fri, 08 Dec 2023 12:55:46 -0800 (PST) Received: from herring.priv (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id r6-20020a9d7506000000b006ce2fce83cbsm445837otk.25.2023.12.08.12.55.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 12:55:46 -0800 (PST) Received: (nullmailer pid 2687032 invoked by uid 1000); Fri, 08 Dec 2023 20:55:45 -0000 Date: Fri, 8 Dec 2023 14:55:45 -0600 From: Rob Herring To: Lucas Stach Cc: Sherry Sun , hongxing.zhu@nxp.com, lpieralisi@kernel.org, kw@linux.com, bhelgaas@google.com, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/4] dt-bindings: imx6q-pcie: Add host-wake-gpio property Message-ID: <20231208205545.GA2675840-robh@kernel.org> References: <20231208091355.1417292-1-sherry.sun@nxp.com> <20231208091355.1417292-3-sherry.sun@nxp.com> <83ca3d88cdaa7bc6e6bd3c4e88518b155a6b0f05.camel@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <83ca3d88cdaa7bc6e6bd3c4e88518b155a6b0f05.camel@pengutronix.de> X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Fri, 08 Dec 2023 12:57:01 -0800 (PST) On Fri, Dec 08, 2023 at 11:00:19AM +0100, Lucas Stach wrote: > Hi Sherry, > > Am Freitag, dem 08.12.2023 um 17:13 +0800 schrieb Sherry Sun: > > Add host-wake-gpio property that can be used to wakeup the host > > processor. > > > > Signed-off-by: Sherry Sun > > Reviewed-by: Richard Zhu > > --- > > Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.yaml | 4 ++++ > > 1 file changed, 4 insertions(+) > > > > diff --git a/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.yaml b/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.yaml > > index 81bbb8728f0f..944f0f961809 100644 > > --- a/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.yaml > > +++ b/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.yaml > > @@ -72,6 +72,10 @@ properties: > > L=operation state) (optional required). > > type: boolean > > > > + host-wake-gpio: > > There is only one wake signal in PCIe and it has a defined direction, > so there is no point in specifying that it is a host wakeup. Also GPIO > handles without a traling 's' are deprecated. So this should be > > wake-gpios Any standard PCI slot signals need to be documented in common PCI schema. And they should start going into root port nodes rather than the host bridge node because it's the root ports that correspond to slots rather than the host bridge. We've just taken shortcuts because many host bridges only have 1 root port. Note that I'm in the middle of splitting pci-bus.yaml into host bridge, PCI-PCI bridge (and RP), and common device schemas. Rob