From patchwork Mon Dec 20 18:03:38 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Mosberger-Tang X-Patchwork-Id: 526806 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A882AC4332F for ; Mon, 20 Dec 2021 18:03:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240316AbhLTSDn (ORCPT ); Mon, 20 Dec 2021 13:03:43 -0500 Received: from o1.ptr2625.egauge.net ([167.89.112.53]:64054 "EHLO o1.ptr2625.egauge.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240160AbhLTSDm (ORCPT ); Mon, 20 Dec 2021 13:03:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=egauge.net; h=from:subject:in-reply-to:references:mime-version:to:cc: content-transfer-encoding:content-type; s=sgd; bh=QWM9YsbpUa2tq7fJXkCMatPQQZnA34M+sSBg18iyfvg=; b=qYfOqHWLIZDUm8S5CLejAgsPW3zvJ8r1g1/gJQEmxx7d+6jnvZP5qvnpKD0LZEi39lGI Y8mht/gIMMIIQoFedepzsdIzz1NZ1i4yeP+sjHpxgH1XzsBlwkfJ1skUFBq5NrP0Dhz4LF AHkqZUis3rxrkr7MRq+c16AQ83lXGkKrHhB0o7iGbdAx0XJXlLSj1MJKGWy3vqSE/on1pw ubd8dCOxlxBZFAeAseRULqBx5XFOZUtIpMDlgiSSo5fO1LNPauUNLp2XTgIUAcAnHygIdO qTOEOXsfKPoIYxg9cOh3e9wx+MC8r2v9AXuNMsiSv0HpTbosT92Xel3I+L6Oq3uA== Received: by filterdrecv-656998cfdd-bkftm with SMTP id filterdrecv-656998cfdd-bkftm-1-61C0C57A-8 2021-12-20 18:03:38.098190542 +0000 UTC m=+7756580.525339306 Received: from pearl.egauge.net (unknown) by geopod-ismtpd-6-0 (SG) with ESMTP id 2IkVQ0rYSmmaaNjVrWXcYQ Mon, 20 Dec 2021 18:03:37.905 +0000 (UTC) Received: by pearl.egauge.net (Postfix, from userid 1000) id 52DB6700588; Mon, 20 Dec 2021 11:03:37 -0700 (MST) From: David Mosberger-Tang Subject: [PATCH v6 2/2] wilc1000: Document enable-gpios and reset-gpios properties Date: Mon, 20 Dec 2021 18:03:38 +0000 (UTC) Message-Id: <20211220180334.3990693-3-davidm@egauge.net> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211220180334.3990693-1-davidm@egauge.net> References: <20211220180334.3990693-1-davidm@egauge.net> MIME-Version: 1.0 X-SG-EID: +kMxBqj35EdRUKoy8diX1j4AXmPtd302oan+iXZuF8m2Nw4HRW2irNspffT/khET6RJF6+Prbl0h/EtF1rRLvCZJmChV6WiC1WWNDc1LMEiKwYZUaMMEg8c9SpxKE1fHLOQLhUvKxEMiHPcK+WyZBnUilTDsUEOjbOMr6h6h1YuLHt29vOgScJp7vpTLyLTG5edGKPjMi3YKI0eo9kpXhsPCYKoaFkRdZ7Rk8Kfe593jMNO5zuAIQkgF+0OHDjv9txzgcTfxVj4CeMaxjSmuJw== To: Ajay Singh Cc: Adham Abozaeid , Claudiu Beznea , "David S. Miller" , devicetree@vger.kernel.org, Jakub Kicinski , Kalle Valo , linux-kernel@vger.kernel.org, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, Rob Herring , David Mosberger-Tang X-Entity-ID: Xg4JGAcGrJFIz2kDG9eoaQ== Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Add documentation for the ENABLE and RESET GPIOs that may be needed by wilc1000-spi. Signed-off-by: David Mosberger-Tang --- .../net/wireless/microchip,wilc1000.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/Documentation/devicetree/bindings/net/wireless/microchip,wilc1000.yaml b/Documentation/devicetree/bindings/net/wireless/microchip,wilc1000.yaml index 6c35682377e6d..60de78f1bc7b9 100644 --- a/Documentation/devicetree/bindings/net/wireless/microchip,wilc1000.yaml +++ b/Documentation/devicetree/bindings/net/wireless/microchip,wilc1000.yaml @@ -32,6 +32,21 @@ properties: clock-names: const: rtc + enable-gpios: + maxItems: 1 + description: Used by wilc1000-spi to determine the GPIO line + connected to the ENABLE line. If specified, reset-gpios + must be specified as well as otherwise the driver cannot + ensure the timing required between asserting ENABLE + and deasserting RESET. This should be declared as an + active-high signal. + + reset-gpios: + maxItems: 1 + description: Used by wilc1000-spi to determine the GPIO line + connected to the RESET line. This should be declared as an + active-low signal. + required: - compatible - interrupts @@ -40,6 +55,8 @@ additionalProperties: false examples: - | + #include + spi { #address-cells = <1>; #size-cells = <0>; @@ -51,6 +68,8 @@ examples: interrupts = <27 0>; clocks = <&pck1>; clock-names = "rtc"; + enable-gpios = <&pioA 5 GPIO_ACTIVE_HIGH>; + reset-gpios = <&pioA 6 GPIO_ACTIVE_LOW>; }; };