Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2216190/?format=api
{ "id": 2216190, "url": "http://patchwork.ozlabs.org/api/patches/2216190/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-tegra/patch/acRtWZohqfDLbMKE@google.com/", "project": { "id": 21, "url": "http://patchwork.ozlabs.org/api/projects/21/?format=api", "name": "Linux Tegra Development", "link_name": "linux-tegra", "list_id": "linux-tegra.vger.kernel.org", "list_email": "linux-tegra@vger.kernel.org", "web_url": null, "scm_url": null, "webscm_url": null, "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<acRtWZohqfDLbMKE@google.com>", "list_archive_url": null, "date": "2026-03-25T23:29:54", "name": "[v2] ARM: tegra: paz00: configure WiFi rfkill switch through device tree", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "49e4c625d1e8fc6ce8eeeb73cfc2092efe7dcde1", "submitter": { "id": 695, "url": "http://patchwork.ozlabs.org/api/people/695/?format=api", "name": "Dmitry Torokhov", "email": "dmitry.torokhov@gmail.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/linux-tegra/patch/acRtWZohqfDLbMKE@google.com/mbox/", "series": [ { "id": 497522, "url": "http://patchwork.ozlabs.org/api/series/497522/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-tegra/list/?series=497522", "date": "2026-03-25T23:29:54", "name": "[v2] ARM: tegra: paz00: configure WiFi rfkill switch through device tree", "version": 2, "mbox": "http://patchwork.ozlabs.org/series/497522/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2216190/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2216190/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "\n <linux-tegra+bounces-13261-incoming=patchwork.ozlabs.org@vger.kernel.org>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "linux-tegra@vger.kernel.org" ], "Delivered-To": "patchwork-incoming@legolas.ozlabs.org", "Authentication-Results": [ "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20251104 header.b=CSD5b+kH;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=2600:3c04:e001:36c::12fc:5321; helo=tor.lore.kernel.org;\n envelope-from=linux-tegra+bounces-13261-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)", "smtp.subspace.kernel.org;\n\tdkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com\n header.b=\"CSD5b+kH\"", "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=74.125.82.43", "smtp.subspace.kernel.org;\n dmarc=pass (p=none dis=none) header.from=gmail.com", "smtp.subspace.kernel.org;\n spf=pass smtp.mailfrom=gmail.com" ], "Received": [ "from tor.lore.kernel.org (tor.lore.kernel.org\n [IPv6:2600:3c04:e001:36c::12fc:5321])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fh38b6xgwz1y1G\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 26 Mar 2026 10:31:59 +1100 (AEDT)", "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby tor.lore.kernel.org (Postfix) with ESMTP id DED45300516A\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 25 Mar 2026 23:30:00 +0000 (UTC)", "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 53C1E396B77;\n\tWed, 25 Mar 2026 23:30:00 +0000 (UTC)", "from mail-dl1-f43.google.com (mail-dl1-f43.google.com\n [74.125.82.43])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))\n\t(No client certificate requested)\n\tby smtp.subspace.kernel.org (Postfix) with ESMTPS id DD55037475C\n\tfor <linux-tegra@vger.kernel.org>; Wed, 25 Mar 2026 23:29:58 +0000 (UTC)", "by mail-dl1-f43.google.com with SMTP id\n a92af1059eb24-12a71ade78cso474580c88.0\n for <linux-tegra@vger.kernel.org>;\n Wed, 25 Mar 2026 16:29:58 -0700 (PDT)", "from google.com ([2a00:79e0:2ebe:8:b7b4:352d:eb23:66e5])\n by smtp.gmail.com with ESMTPSA id\n a92af1059eb24-12aa7274231sm1355207c88.8.2026.03.25.16.29.56\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Wed, 25 Mar 2026 16:29:57 -0700 (PDT)" ], "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1774481400; cv=none;\n b=SvO4XoccCDCcl07BsYLXTRE3d0tURlEVr+5js/iLT3IUP+whkp50Kq/BJgCe/P5ErwfwetgJNq05MBMxXqHgbRaP8hzYrYo3Qaxl1ARM7hkG2XJsg5pdZFdH102ACpALtnA8JbmO7FDZLwrCjrmAM5oSX3mgnWAcp4So1q9Lyjc=", "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1774481400; c=relaxed/simple;\n\tbh=mLvr4LbWxK3l3yaPJ/LpQ1h0O1hbnOLYnavoq7f3sM8=;\n\th=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type:\n\t Content-Disposition;\n b=Piwwtlwp6NfFzgfZbPpwQ5pJ2jhuTAf8Ri1ioCTfkSztLzR7cKTcrKkjhsPUpv8t9oZAtuEhcdGuHCIvz++PT7tMeUnZ7dQXXvY49ySe1xRd5DQJwzm+DWoCzMI5k56+qdHNzXz5wrsu0TrqfIo1tODk7KKLCq7z4NQL59b6onI=", "ARC-Authentication-Results": "i=1; smtp.subspace.kernel.org;\n dmarc=pass (p=none dis=none) header.from=gmail.com;\n spf=pass smtp.mailfrom=gmail.com;\n dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com\n header.b=CSD5b+kH; arc=none smtp.client-ip=74.125.82.43", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=gmail.com; s=20251104; t=1774481398; x=1775086198;\n darn=vger.kernel.org;\n h=content-disposition:mime-version:message-id:subject:cc:to:from:date\n :from:to:cc:subject:date:message-id:reply-to;\n bh=KbyKbyFuHp+6dsr0KIzDsUutYDB3nuzbv/Jgu2ebttc=;\n b=CSD5b+kH9ZqDgar2SHAzMPOK7mDXuMmmZrHBb+gZ2Ax5xh/G8lJg9dXrWxAsBYCRRf\n 7jj1UbSb2esolz+unuCrBn03FbSAn0+QQ0/v1zq+70hT4PuDgMJJCWxVphxg+3W4N0h4\n uMypRZMsu0rJrug8k6cVAgywDLabuf7nrUqz/8C/EtskLq/nvolMTyhnOwONGeibn8nv\n jT7WRkINCBrzzfHKJSGSS386A3naVQMHUJTkCkjMjtCrOscWguV4aLkYKE5sq194l2rS\n Gs3wTuf2Yda2/4eN9HROQpPjbsuuThmPRjO4MXqQh4FyA/kOfbWxiijOuBlx9QmWLusl\n ZoIA==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1774481398; x=1775086198;\n h=content-disposition:mime-version:message-id:subject:cc:to:from:date\n :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id\n :reply-to;\n bh=KbyKbyFuHp+6dsr0KIzDsUutYDB3nuzbv/Jgu2ebttc=;\n b=LIzE9dn41qnLj9z1vuRpSFvyBYbQz3vqvN8J6nRlvpLL1oh0OoIH6u/3HMwyEH0PTe\n Raunc/SyIy5PGW9Syqcw56Sph5ZfpqJfbABnxhPaTfya/GadQlzV5rr5wmixZwIedYge\n sGnAP2KIoguQTy5inlmZrfub7EICHutveTG11aiqF6U8AT7wFYRe14vs0WYjXuDRvdZH\n OgnQ0MATWwgERPTfIF+WKEhWwKT065Z+9CXq8JCKQ8fW8pHVZQj5m+7X04GstaI60ubT\n 1rop0seqanBj/IPbXeJppo6wVrVxqaTWn87RYm0mdiSW/viiEso8E2BcQOVC7/sTrNtU\n oBCQ==", "X-Forwarded-Encrypted": "i=1;\n AJvYcCXVDzXSztjFLUlZz3aNS/K8I5IGxGXPvEvFFsd+/Kb7r4DAg5y3NQLDwi3BiTMdiPrIpLv6g7HMbhpYWg==@vger.kernel.org", "X-Gm-Message-State": "AOJu0YwDSqPeiMD9DpR98VCs9Ewsr6pLmiusmCQ9bRhkL52RquPr+XAq\n\ttRbIABrSuvgVXGCvzHDkiaLtVO3v9C/I7TpInebOtquF/yeqKc/ZzMh6", "X-Gm-Gg": "ATEYQzyaXWdXhZ43DWg6OPac+DlbqZoS7I72NtevGFZPEb3SZ2yRipAa9Xp1DIqAArG\n\tmpTnzEkruekJhMcfFyCvHP3h8vHIuQaNqMUQNGeM7M364tdtUoe5xNUjoRHFGysJZM0u3P/6AR1\n\tYhBjYA1GbU/aTIByE7AtC+/WwnDYRlKUIiCGocBjWXT/GG4Aa3L7MTPpf7ECotwZuR0vyffefcf\n\tSlAVxuEXcjeeQX+Ai8Gu/4riwcxFpSopouGQac6HjwzsVDZL4HI5u/LizQ2IJNOY7GgtKVFA8rr\n\tflm8ZFxTib7BYG229GucuNiuOqp34yCVCpsq9WLilPLYOx2exeUmY5PHwDDFmc+Own35Y4vRBxs\n\tMu0PG+uw+V5RBDNmcLIRxI9KKElp4R0GIrM3CvfuLv+R1nnrvI9Nxvxa2g8297ik7fhcjSJYliS\n\tHULkRfXAUeWDOF9zoiYDPG6qjLK2WTMejbI75eH8eKuDk4eHVZPXK7JMN0WxAiKVca", "X-Received": "by 2002:a05:7022:402:b0:122:8d:3688 with SMTP id\n a92af1059eb24-12a96eceb55mr2801523c88.22.1774481397800;\n Wed, 25 Mar 2026 16:29:57 -0700 (PDT)", "Date": "Wed, 25 Mar 2026 16:29:54 -0700", "From": "Dmitry Torokhov <dmitry.torokhov@gmail.com>", "To": "Thierry Reding <thierry.reding@gmail.com>", "Cc": "Marc Dietrich <marvin24@gmx.de>,\n\tKrzysztof Kozlowski <krzk+dt@kernel.org>, Rob Herring <robh@kernel.org>,\n\tConor Dooley <conor+dt@kernel.org>, Jonathan Hunter <jonathanh@nvidia.com>,\n\tBartosz Golaszewski <brgl@kernel.org>, devicetree@vger.kernel.org,\n linux-tegra@vger.kernel.org,\n\tlinux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org", "Subject": "[PATCH v2] ARM: tegra: paz00: configure WiFi rfkill switch through\n device tree", "Message-ID": "<acRtWZohqfDLbMKE@google.com>", "Precedence": "bulk", "X-Mailing-List": "linux-tegra@vger.kernel.org", "List-Id": "<linux-tegra.vger.kernel.org>", "List-Subscribe": "<mailto:linux-tegra+subscribe@vger.kernel.org>", "List-Unsubscribe": "<mailto:linux-tegra+unsubscribe@vger.kernel.org>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=us-ascii", "Content-Disposition": "inline" }, "content": "As of d64c732dfc9e (\"net: rfkill: gpio: add DT support\") rfkill-gpio\ndevice can be instantiated via device tree.\n\nAdd the declaration there and drop board-paz00.c file and relevant\nMakefile fragments.\n\nTested-by: Marc Dietrich <marvin24@gmx.de>\nSigned-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>\n---\n\nV2:\n- added Marc's Tested-by\n\nV1:\n- https://lore.kernel.org/r/aY_BpRQmLdqOOW2K@google.com\n\n arch/arm/boot/dts/nvidia/tegra20-paz00.dts | 8 ++++\n arch/arm/mach-tegra/Makefile | 2 -\n arch/arm/mach-tegra/board-paz00.c | 56 ----------------------\n arch/arm/mach-tegra/board.h | 2 -\n arch/arm/mach-tegra/tegra.c | 4 --\n 5 files changed, 8 insertions(+), 64 deletions(-)", "diff": "diff --git a/arch/arm/boot/dts/nvidia/tegra20-paz00.dts b/arch/arm/boot/dts/nvidia/tegra20-paz00.dts\nindex 1408e1e00759..d1093ad569e6 100644\n--- a/arch/arm/boot/dts/nvidia/tegra20-paz00.dts\n+++ b/arch/arm/boot/dts/nvidia/tegra20-paz00.dts\n@@ -706,6 +706,14 @@ vdd_pnl_reg: regulator-3v0 {\n \t\tenable-active-high;\n \t};\n \n+\trfkill {\n+\t\tcompatible = \"rfkill-gpio\";\n+\t\tlabel = \"wifi_rfkill\";\n+\t\tradio-type = \"wlan\";\n+\t\treset-gpios = <&gpio TEGRA_GPIO(D, 1) GPIO_ACTIVE_HIGH>;\n+\t\tshutdown-gpios = <&gpio TEGRA_GPIO(K, 5) GPIO_ACTIVE_HIGH>;\n+\t};\n+\n \tsound {\n \t\tcompatible = \"nvidia,tegra-audio-alc5632-paz00\",\n \t\t\t\"nvidia,tegra-audio-alc5632\";\ndiff --git a/arch/arm/mach-tegra/Makefile b/arch/arm/mach-tegra/Makefile\nindex a2bb55bc0081..9e3abb14fbc1 100644\n--- a/arch/arm/mach-tegra/Makefile\n+++ b/arch/arm/mach-tegra/Makefile\n@@ -15,5 +15,3 @@ obj-$(CONFIG_HOTPLUG_CPU) += hotplug.o\n \n obj-$(CONFIG_ARCH_TEGRA_114_SOC)\t+= pm-tegra30.o\n obj-$(CONFIG_ARCH_TEGRA_124_SOC)\t+= pm-tegra30.o\n-\n-obj-$(CONFIG_ARCH_TEGRA_2x_SOC)\t\t+= board-paz00.o\ndiff --git a/arch/arm/mach-tegra/board-paz00.c b/arch/arm/mach-tegra/board-paz00.c\ndeleted file mode 100644\nindex 3ec810b6f1a7..000000000000\n--- a/arch/arm/mach-tegra/board-paz00.c\n+++ /dev/null\n@@ -1,56 +0,0 @@\n-// SPDX-License-Identifier: GPL-2.0-only\n-/*\n- * arch/arm/mach-tegra/board-paz00.c\n- *\n- * Copyright (C) 2011 Marc Dietrich <marvin24@gmx.de>\n- *\n- * Based on board-harmony.c\n- * Copyright (C) 2010 Google, Inc.\n- */\n-\n-#include <linux/err.h>\n-#include <linux/gpio/machine.h>\n-#include <linux/gpio/property.h>\n-#include <linux/platform_device.h>\n-#include <linux/printk.h>\n-#include <linux/property.h>\n-\n-#include \"board.h\"\n-\n-static const struct software_node tegra_gpiochip_node = {\n-\t.name\t= \"tegra-gpio\",\n-};\n-\n-static const struct property_entry wifi_rfkill_prop[] __initconst = {\n-\tPROPERTY_ENTRY_STRING(\"name\", \"wifi_rfkill\"),\n-\tPROPERTY_ENTRY_STRING(\"type\", \"wlan\"),\n-\tPROPERTY_ENTRY_GPIO(\"reset-gpios\",\n-\t\t\t &tegra_gpiochip_node, 25, GPIO_ACTIVE_HIGH),\n-\tPROPERTY_ENTRY_GPIO(\"shutdown-gpios\",\n-\t\t\t &tegra_gpiochip_node, 85, GPIO_ACTIVE_HIGH),\n-\t{ }\n-};\n-\n-static const struct platform_device_info wifi_rfkill_info __initconst = {\n-\t.name\t\t= \"rfkill_gpio\",\n-\t.id\t\t= PLATFORM_DEVID_NONE,\n-\t.properties\t= wifi_rfkill_prop,\n-};\n-\n-void __init tegra_paz00_wifikill_init(void)\n-{\n-\tstruct platform_device *pd;\n-\tint err;\n-\n-\terr = software_node_register(&tegra_gpiochip_node);\n-\tif (err) {\n-\t\tpr_err(\"failed to register %s node: %d\\n\",\n-\t\t tegra_gpiochip_node.name, err);\n-\t\treturn;\n-\t}\n-\n-\tpd = platform_device_register_full(&wifi_rfkill_info);\n-\terr = PTR_ERR_OR_ZERO(pd);\n-\tif (err)\n-\t\tpr_err(\"failed to register WiFi rfkill device: %d\\n\", err);\n-}\ndiff --git a/arch/arm/mach-tegra/board.h b/arch/arm/mach-tegra/board.h\nindex 7b3ef0dc9be1..86c3ea0d6b30 100644\n--- a/arch/arm/mach-tegra/board.h\n+++ b/arch/arm/mach-tegra/board.h\n@@ -19,6 +19,4 @@\n void __init tegra_map_common_io(void);\n void __init tegra_init_irq(void);\n \n-void __init tegra_paz00_wifikill_init(void);\n-\n #endif\ndiff --git a/arch/arm/mach-tegra/tegra.c b/arch/arm/mach-tegra/tegra.c\nindex 9ef1dfa7b926..f324a7e491d8 100644\n--- a/arch/arm/mach-tegra/tegra.c\n+++ b/arch/arm/mach-tegra/tegra.c\n@@ -83,10 +83,6 @@ static void __init tegra_dt_init(void)\n \n static void __init tegra_dt_init_late(void)\n {\n-\tif (IS_ENABLED(CONFIG_ARCH_TEGRA_2x_SOC) &&\n-\t of_machine_is_compatible(\"compal,paz00\"))\n-\t\ttegra_paz00_wifikill_init();\n-\n \tif (IS_ENABLED(CONFIG_ARCH_TEGRA_2x_SOC) &&\n \t of_machine_is_compatible(\"nvidia,tegra20\"))\n \t\tplatform_device_register_simple(\"tegra20-cpufreq\", -1, NULL, 0);\n", "prefixes": [ "v2" ] }