Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp863888rwb; Sat, 1 Oct 2022 09:52:31 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4VJ0Pq5V0TlhVTiRGF3UC8pTiZswZd/WihBBMYMPBvGLvW107GpMlnePqdq8ftSo4Fd+RP X-Received: by 2002:aa7:8d17:0:b0:560:485a:e242 with SMTP id j23-20020aa78d17000000b00560485ae242mr1613886pfe.31.1664643151479; Sat, 01 Oct 2022 09:52:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664643151; cv=none; d=google.com; s=arc-20160816; b=cF7Phadv8Wm/Qv2JWe2PUJrNEEIrX44NWJR5miQEz95qITsptqJW3g/JJwH8tUa4tH H1YK3lrDcewRSuMcxQ+oLfGps4KOthDElimjcGPIhPuReM64O9nqgK41qAHTrLEvUbJD SD3hC1ZUqSe7njfwl4AqePIieq0LuQHoVzc2u8Mgr65S4cERU52tLY506/Vuq9b3nRH4 w4v3Z5UpxIqftswKZrm3u/B0+Ax7Isis2MOUtwhvRUXCcctdQ6Tz6D9dkpJsAdoX8AB4 rZQMTw5SLqbDxz+bhpOH8aRWeoTSdo+zs9ufV8iT5Wx03Jnzd6uFzXkr7v8N/CzrQodd QMzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=luDHY/Rfu4Slt2fUXgzSQN+FMLayUnyYmYCWbf8MHwk=; b=byK8K7+CrsrWXxQqLZn4WJbVzNwFZZ8Odl4nOlRyHrCMnJ1HzQs3mpD9QbK88li16w QCm0+194eNZRU1cIzdiKxpc+PQvVmAtWqg4kYFwkt0hS/z9XXylpyw9FSXz1PaiFALET MD2Lwb94HIic3jyLJzzHTuVAUjRZ9xNG4q/d9rXPoK5IlyyRnAj3PHNAn/gmS7/wCMmr KRGeeAVSXI5f1UD77Qp9nhSg6WTaTvzIxGzHKttBaGxqT/vkr1plOb6kepHReSXpQQ32 1MphWQoCOMIJQBBHBrxnprJcr28dw5oQ7vxE4qWCpX6rUekskeX25UVYCErroxjtK0/M uv/w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a15-20020a17090a8c0f00b001fdc17f948esi4800969pjo.189.2022.10.01.09.52.19; Sat, 01 Oct 2022 09:52:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229655AbiJAP4g (ORCPT + 99 others); Sat, 1 Oct 2022 11:56:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42126 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229464AbiJAP4d (ORCPT ); Sat, 1 Oct 2022 11:56:33 -0400 Received: from bmailout2.hostsharing.net (bmailout2.hostsharing.net [83.223.78.240]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 685751116D; Sat, 1 Oct 2022 08:56:31 -0700 (PDT) Received: from h08.hostsharing.net (h08.hostsharing.net [83.223.95.28]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "*.hostsharing.net", Issuer "RapidSSL TLS DV RSA Mixed SHA256 2020 CA-1" (verified OK)) by bmailout2.hostsharing.net (Postfix) with ESMTPS id 18CFB2800B3C7; Sat, 1 Oct 2022 17:56:27 +0200 (CEST) Received: by h08.hostsharing.net (Postfix, from userid 100393) id F3DA56DC9B; Sat, 1 Oct 2022 17:56:26 +0200 (CEST) Date: Sat, 1 Oct 2022 17:56:26 +0200 From: Lukas Wunner To: Vidya Sagar Cc: bhelgaas@google.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, lpieralisi@kernel.org, kw@linux.com, thierry.reding@gmail.com, jonathanh@nvidia.com, mani@kernel.org, Sergey.Semin@baikalelectronics.ru, jszhang@kernel.org, linux-pci@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, kthota@nvidia.com, mmaddireddy@nvidia.com, sagar.tv@gmail.com, Marek =?iso-8859-1?Q?Beh=FAn?= , Pali =?iso-8859-1?Q?Roh=E1r?= , Jonathan Derrick Subject: Re: [PATCH V1 1/4] dt-bindings: Add "hotplug-gpios" PCIe property Message-ID: <20221001155626.GA9324@wunner.de> References: <20220930192747.21471-1-vidyas@nvidia.com> <20220930192747.21471-2-vidyas@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220930192747.21471-2-vidyas@nvidia.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Oct 01, 2022 at 12:57:44AM +0530, Vidya Sagar wrote: > Provide a way for the firmware to tell the OS about the GPIO that can be > used to get the Hot-Plug and Unplug events. [...] > --- a/Documentation/devicetree/bindings/pci/pci.txt > +++ b/Documentation/devicetree/bindings/pci/pci.txt > @@ -32,6 +32,10 @@ driver implementation may support the following properties: > root port to downstream device and host bridge drivers can do programming > which depends on CLKREQ signal existence. For example, programming root port > not to advertise ASPM L1 Sub-States support if there is no CLKREQ signal. > +- hotplug-gpios: > + If present this property specifies the GPIO to be used for Hot-Plug/Unplug > + functionality. It is used by the PCIe GPIO Hot-Plug core driver for > + PCIe device Hot-Plug/Unplug events. Please specify the GPIO's semantics in more detail: Is the pin high as long as presence of a card is detected? Or does it pulse when a hotplug/unplug event occurs? Thanks, Lukas