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: 526297 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 E1538C433F5 for ; Mon, 20 Dec 2021 18:03:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240311AbhLTSDm (ORCPT ); Mon, 20 Dec 2021 13:03:42 -0500 Received: from o1.ptr2625.egauge.net ([167.89.112.53]:63888 "EHLO o1.ptr2625.egauge.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238216AbhLTSDj (ORCPT ); Mon, 20 Dec 2021 13:03:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=egauge.net; h=from:subject:mime-version:to:cc:content-transfer-encoding: content-type; s=sgd; bh=CfnGqaPvWPSL9O/lgob586ROT8ZgG94Plol0GBoWOSM=; b=gf6JvNVbEti3SGVdH6udwWlVq1UcwUt2zKX3lZVt5LNfsYkN6ao/iftYWtRGhlfCwzdf 8uGW3alZrtvQVng+Si9VSF2HfZpxPo9T6x8wGSbcNTJ4MNKjnXkAnHnnlRNViDNlj76fCl AUIxpL/zW4faAaIO4Brpq8D1bXqarZ2tRIk/wxQ1rpQPgtL6vm+Wt2XeHzguPpnKp/E1iy yDfS5L5p1shrI9d9Z+s+KFc11k7t38qiziyzJiecyls8dzPKbJ/VBzB06XCYerDF3FTqX2 txYPqneo4C/pJozdBn0f5eeTLV8k/Bz0qsogNaGFufeP758Xq2wxpb+cu+XiHsGQ== Received: by filterdrecv-656998cfdd-ptr8m with SMTP id filterdrecv-656998cfdd-ptr8m-1-61C0C57A-2 2021-12-20 18:03:38.102772415 +0000 UTC m=+7756579.962355144 Received: from pearl.egauge.net (unknown) by geopod-ismtpd-4-1 (SG) with ESMTP id SIMuKpiiSYCqzf8bQuNJMA Mon, 20 Dec 2021 18:03:37.872 +0000 (UTC) Received: by pearl.egauge.net (Postfix, from userid 1000) id 4B6487003AA; Mon, 20 Dec 2021 11:03:37 -0700 (MST) From: David Mosberger-Tang Subject: [PATCH v6 0/2] wilc1000: Add reset/enable GPIO support to SPI driver Date: Mon, 20 Dec 2021 18:03:38 +0000 (UTC) Message-Id: <20211220180334.3990693-1-davidm@egauge.net> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-SG-EID: +kMxBqj35EdRUKoy8diX1j4AXmPtd302oan+iXZuF8m2Nw4HRW2irNspffT/khET6RJF6+Prbl0h/EtF1rRLvFU2nunBDPBrWLBt7d71pPVerD0pCUy3SKVD5aCpCk6GnRjDcUvaoJskiofAJrvpCOa3wbP4RC9cvmQVY+mXZVOR22ml/7kql16DsWdnPk8nD8GBfOOL/RPgo5fCQvbSX0k3o0eEhnWWtANrXq1IvKiEMBqshEQqqaSO2vj4eU4yr3MyMB4W9lvy1fAY8rhHcQ== 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 v6: - Convert line comments to block comments. v5: - Fix a dt_binding_check error by including in microchip,wilc1000.yaml. v4: - Simplify wilc_wlan_power() by letting gpiod_set_value() handle NULL gpios. v3: - Fix to include correct header file. - Rename wilc_set_enable() to wilc_wlan_power(). - Use devm_gpiod_get{,_optional}() instead of of_get_named_gpio() - Parse GPIO pins once at probe time. v2: - Split documentation update and driver changes into seprate patches. David Mosberger-Tang (2): wilc1000: Add reset/enable GPIO support to SPI driver wilc1000: Document enable-gpios and reset-gpios properties .../net/wireless/microchip,wilc1000.yaml | 19 ++++++ drivers/net/wireless/microchip/wilc1000/spi.c | 62 ++++++++++++++++++- .../net/wireless/microchip/wilc1000/wlan.c | 2 +- 3 files changed, 79 insertions(+), 4 deletions(-) Reviewed-by: Rob Herring