Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp10873053rwl; Mon, 2 Jan 2023 09:31:24 -0800 (PST) X-Google-Smtp-Source: AMrXdXspZ9lpMYWF4U/o6jYLBq43h0+gtMdi/1fTcgPYzcVbceQbnwhU69lKCxjnLNgKmwgmue2X X-Received: by 2002:a17:90a:8b14:b0:219:752e:c071 with SMTP id y20-20020a17090a8b1400b00219752ec071mr59515351pjn.6.1672680684740; Mon, 02 Jan 2023 09:31:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672680684; cv=none; d=google.com; s=arc-20160816; b=wGuUwwo4yeC2eXYrFg1SbDwkeXCl6R5dqNd+tZJZHZFFhFBtDxgHwc/Kqkdf1m2p6K bC9WEutZLc8eAmpyfcPIjDHs3dz4eaol3E9TNbhAN1YgF8LEC2gYB45/Y412+4htZjqY t+/2SfMlZej1oBNcMN7jZdLbwYDBgiAQFaYsLpp/KLZkalrxDGlIPpmdwQDAB9xTaxi0 Wz4X/BuQTei/vCGpjcbxvA8rlJwkypnXJYjO/7nvMWVdbRr9qcErFhZYoMyYebX7yb0K wKXxGgLdS/9xZJ20olYdFZLIA5g+zzJyefLAxEw3ca3VVOdsjVpqvmwFfE5s3HwTgL6X oodA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:from; bh=gOjFt6ctS3UwujLNaj4nM0/5FMCmKF5clXtX6KuMPrg=; b=1Isig3lqb2Ykxdrsb2WeDeaSqOZsDzxwwMv8v8Rfx7uXKEfLKlyhVfsc0wQOYjId6L z2KxKt4F11w8A+WR/p/UcR/vCao1GcQ2fWqj+Z3vv5zcFaXJLe7rrvm50rAWDjqvzeKV ViVxK9D9G+nOAkRhfzg6nUYgJimOMQnPcV5qt/C7tBRMAWzKtuYoEpBe9F38fqmzqX0O G/+GR2Gr6pWyZy8qcfNBdMzlKAqqogiVBzqFFoQUEFVymytbNiLkyXxIv86n3QeJu2f8 3XFyPeMWWURQa9YnL0lEaJ1+0NjFVUYR+aArK2i6eKSDsY3Bo/ZjjG90bwNbVBQmPPRw FAWg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-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 pg13-20020a17090b1e0d00b0022335a67eb9si10305054pjb.175.2023.01.02.09.31.17; Mon, 02 Jan 2023 09:31:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-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-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236176AbjABRaj (ORCPT + 66 others); Mon, 2 Jan 2023 12:30:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36312 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236008AbjABRaL (ORCPT ); Mon, 2 Jan 2023 12:30:11 -0500 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D61B1B7F4 for ; Mon, 2 Jan 2023 09:30:10 -0800 (PST) Received: from dude05.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::54]) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1pCOdJ-0003fo-25; Mon, 02 Jan 2023 18:29:57 +0100 From: Philipp Zabel Subject: [PATCH v2 0/2] net: rfkill-gpio device tree support Date: Mon, 02 Jan 2023 18:29:33 +0100 Message-Id: <20230102-rfkill-gpio-dt-v2-0-d1b83758c16d@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAH0Us2MC/02NwQqDMBAFf0Vy7moSRW1P/Y/SQ9SNLrVJSFKRi v/eWCgU3mXgDbOxgJ4wsEu2MY8LBbImgTxlrJ+UGRFoSMwklyUXXILXD5pnGB1ZGCLos+INaqF5 WbMkdSogdF6Zfjq0pc5lEa2jvvgTj6PzqGn9lm/3xNrbJ8TJo/r1pEgTvGp5mYv6XLZNBQJc/lY dzleHZnxFbw2t+YBs3z+oxO2ZywAAAA== To: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Johannes Berg Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-wireless@vger.kernel.org, kernel@pengutronix.de, Philipp Zabel X-Mailer: b4 0.11.0-dev-e429b X-SA-Exim-Connect-IP: 2a0a:edc0:0:1101:1d::54 X-SA-Exim-Mail-From: p.zabel@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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-wireless@vger.kernel.org The rfkill-gpio driver currently only seems to be used for the Broadcom 4752 GPS UART/GPIO device on ACPI systems, but the driver looks generic enough. It is already mostly prepared for device tree support, this series only adds binding documentation and adds support for the "rfkill-gpio" compatible and the renamed "name" -> "label" and "type" -> "radio-type" properties. Changes since v1: - Rename "name" and "type" properties to "label" and "radio-type", respectively, and adapt the driver. - Drop reset-gpios property from DT binding. - Fix some style issues, see individual patches for details. v1: https://lore.kernel.org/all/20221221104803.1693874-1-p.zabel@pengutronix.de/T To: "David S. Miller" To: Eric Dumazet To: Jakub Kicinski To: Paolo Abeni To: Rob Herring To: Krzysztof Kozlowski To: Johannes Berg Cc: netdev@vger.kernel.org Cc: devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: linux-wireless@vger.kernel.org Cc: kernel@pengutronix.de Signed-off-by: Philipp Zabel --- Philipp Zabel (2): dt-bindings: net: Add rfkill-gpio binding net: rfkill: gpio: add DT support .../devicetree/bindings/net/rfkill-gpio.yaml | 51 ++++++++++++++++++++++ net/rfkill/rfkill-gpio.c | 20 ++++++++- 2 files changed, 69 insertions(+), 2 deletions(-) --- base-commit: 1b929c02afd37871d5afb9d498426f83432e71c2 change-id: 20230102-rfkill-gpio-dt-f9a07ef1f036 Best regards, -- Philipp Zabel