Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp734605rdb; Fri, 2 Feb 2024 02:18:41 -0800 (PST) X-Google-Smtp-Source: AGHT+IF8i0j1PzEnKt556DN0TUZ9n28iUpi4CEc4molqKPEpazfqypA6g3dcDTEuPu7eMaEiDtzr X-Received: by 2002:a05:6870:c6aa:b0:205:9fe9:67de with SMTP id cv42-20020a056870c6aa00b002059fe967demr1530197oab.39.1706869120954; Fri, 02 Feb 2024 02:18:40 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706869120; cv=pass; d=google.com; s=arc-20160816; b=QvoNQc+o6MOsxid62vvRO3/BMvaCAlMvE3e9BY3zHAVFXd3ojVrs5l7vxeB5Ygkc/X Vzkwk/lZ309RYoawpkos/1ggHb9z2CjRCAx+9BYMaohuScNDgP7PY5As/ciYWDmF3YL0 uAkzUDjvCpqpe5U31ESt6fGVECGAoWdINHVv7Evp5JspqBN+v/kBdZBYGQ9h8NIkxvCo YeqFPOl02pCLNt6YHh511b9Ez0IJiaXLZvUMHjG1chkC0AuX1z4DmT+FfHV/nmmgr1D7 xMA6UmozamwaOnSfiG+kL9d5lHghy9QLhqAaO/y6jMS7DASluPQS5xEgAx6wD4l2YWWP le0A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:subject:cc:to:from:date:references :in-reply-to:message-id:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:user-agent:feedback-id:dkim-signature :dkim-signature; bh=SJmpIzuAKHZ+INEN1bWvQP5Z9QjNBtitHp12HPXsmf8=; fh=jsk3Jpp/eDQS9f80nASR/5XRwDPKkfL6wwfnsOckp6w=; b=YVO1+VM1/S0mz9i6FYdthjKMx7QUoXGypbf7Ku+P8fUQRQ+lncY+J/YxMmYg4tZceZ blrA8p6SyIuB9ZBqSrFLTqKcuYdwYhqhNjRgiEglvgX+6+nR6Sg5wCMSza0IPrCmgs0/ xpo50En+l1U9EaHXZUAYOJ9ifu1lZgrS9yRFXmxooP3o6nligwonthVFcQ0D+MHLFyPS jOCJGmol9NskQTm7iyQSqRDnjnQd+KN527T56iYNq5uOW2n6n6JA38IHsLFsvQvb8k6o +gP03uriKwIHjQykuwyc6ZNh+BJwhqfwPZoaqfHlQRfSeMXyNXTCGULcRAfOz8qDuPuj kxqQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@arndb.de header.s=fm2 header.b=L6H3UcOH; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=Wkdrr8qr; arc=pass (i=1 spf=pass spfdomain=arndb.de dkim=pass dkdomain=arndb.de dkim=pass dkdomain=messagingengine.com dmarc=pass fromdomain=arndb.de); spf=pass (google.com: domain of linux-wireless+bounces-2997-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-2997-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=arndb.de X-Forwarded-Encrypted: i=1; AJvYcCWUAqGrRCPumivZBJu0zWJGTwB3elY3QH4DzoKNwHIrtzaz0QxJwXCvce3LoVyBsp7TXb8SfeXgWnaDzsHsayPwF3za/m5WOwMjcdT01Q== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id i14-20020a63d44e000000b005d37fa55e44si1406060pgj.420.2024.02.02.02.18.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Feb 2024 02:18:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-2997-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@arndb.de header.s=fm2 header.b=L6H3UcOH; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=Wkdrr8qr; arc=pass (i=1 spf=pass spfdomain=arndb.de dkim=pass dkdomain=arndb.de dkim=pass dkdomain=messagingengine.com dmarc=pass fromdomain=arndb.de); spf=pass (google.com: domain of linux-wireless+bounces-2997-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-2997-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=arndb.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id CD78828CFF8 for ; Fri, 2 Feb 2024 07:35:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 621F048798; Fri, 2 Feb 2024 07:32:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=arndb.de header.i=@arndb.de header.b="L6H3UcOH"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="Wkdrr8qr" X-Original-To: linux-wireless@vger.kernel.org Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C2EC848793; Fri, 2 Feb 2024 07:32:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=66.111.4.25 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706859124; cv=none; b=LxDPVpxr6xNk/CFMLQCvtbeDkkb5/2NiWOqkCYIdKKEJxyjkXreOJmZSKj7W4XmDQJCHUvioP2XQ0sXxf8QlD+w0L2+Rp34YdT9hkLKgGCyPaBvMWJriNSDNWtWwTu5z+PdItDJuHuQ4z19Zuwo6Rkolji49gHS/XZFValY83qo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706859124; c=relaxed/simple; bh=NZE/u8OaAthafIr0Nr/PabOdBPPSuMqlKle4j1t38X8=; h=MIME-Version:Message-Id:In-Reply-To:References:Date:From:To:Cc: Subject:Content-Type; b=gHyc5X17Zj+V/n5vJ8s+T4ZoMwRJ/cfSlGF0P+RBYtFNdg7ueoD8vcIjna7IDePQwrhqAfXvmSWDgsMiGUE4eA7ZGnPBDjRanKP5sTay+6Q2KykaSIxqP+1pR0m1i+HnbfnbD54EY9v/0UFAkJt9h9EMhU44mOfLqRbOB/RVUrk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arndb.de; spf=pass smtp.mailfrom=arndb.de; dkim=pass (2048-bit key) header.d=arndb.de header.i=@arndb.de header.b=L6H3UcOH; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=Wkdrr8qr; arc=none smtp.client-ip=66.111.4.25 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arndb.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arndb.de Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id D7E515C00F9; Fri, 2 Feb 2024 02:32:01 -0500 (EST) Received: from imap51 ([10.202.2.101]) by compute5.internal (MEProxy); Fri, 02 Feb 2024 02:32:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1706859121; x=1706945521; bh=SJmpIzuAKHZ+INEN1bWvQP5Z9QjNBtitHp12HPXsmf8=; b= L6H3UcOHuAzD09WjbF5gleHBgnhcHfT2dE2otv+gR/eSYjiusep8d50cSyxI1UUA 5l1epKn5hwOUy+UGHare0DiL5m47DZBK/mQHUOuUBjTef/oDlX4hOSdlkl+Mop3U eRKWXYDweFHjvjbJoGdiOAAVNfu+lTMGUzRp4yciNy0S1LQPedDms9dvxZxPISlD OyPLG7iOZn77omSpuuGzdE8c86hYj5xWM9HbcNfxs9AlbDH8aV0Nme1KOoKdbcbW aEILE7zyAckjkLhQVQerErVcCBpAFoajyDMa2hMd5yYc5IzNCMCdvuxOS+IrxTc+ Vk9nuSHweYjxSek3Ck4jPA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1706859121; x= 1706945521; bh=SJmpIzuAKHZ+INEN1bWvQP5Z9QjNBtitHp12HPXsmf8=; b=W kdrr8qrhJaZ4sA91YWIJHn8sqPVtj85B1yf3thqqr8ze5R/cEUDicpj97TlNQZyi wqX/E0vbjEzn/PX80Ao3G/GOh98Rxb/wLLuYY7YCORl2On/4S96Xgb5eSoAn4AH/ oNEV7JJsYrSJ+f/M3X2wZe0yX0HAnuZ6MU9FZqeY1os9QaRCzFL2UDwzjRdd3+1Y RYFr+Curcd1t7R7UpxS1pEJ3cEncAhD1brExLv4R+I+pTJffTiuuBU7EYbImpb3K Re86eEF9+rRSNjQWIDlujLNAvrZNu/Ct3oCYckq5a1ITcCmfg2dgQSkjVhtHDTOM crOefo0GBp5vOSpLkUhzQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrfedufedgvdekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtgfesthhqredtreerjeenucfhrhhomhepfdet rhhnugcuuegvrhhgmhgrnhhnfdcuoegrrhhnugesrghrnhgusgdruggvqeenucggtffrrg htthgvrhhnpeegfeejhedvledvffeijeeijeeivddvhfeliedvleevheejleetgedukedt gfejveenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe grrhhnugesrghrnhgusgdruggv X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 26C8FB60098; Fri, 2 Feb 2024 02:32:01 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.11.0-alpha0-144-ge5821d614e-fm-20240125.002-ge5821d61 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: In-Reply-To: <871q9wz2r0.fsf@toke.dk> References: <20240131-descriptors-wireless-v1-0-e1c7c5d68746@linaro.org> <20240131-descriptors-wireless-v1-1-e1c7c5d68746@linaro.org> <613ae419-9a2c-477e-8b19-8a29d42a3164@app.fastmail.com> <789b7ca0-80c5-449a-99eb-8c05b5380245@app.fastmail.com> <871q9wz2r0.fsf@toke.dk> Date: Fri, 02 Feb 2024 08:31:38 +0100 From: "Arnd Bergmann" To: =?UTF-8?Q?Toke_H=C3=B8iland-J=C3=B8rgensen?= , "Andy Shevchenko" Cc: "Linus Walleij" , "Kalle Valo" , "Arend van Spriel" , "Franky Lin" , "Hante Meuleman" , "Lee Jones" , "Brian Norris" , "Srinivasan Raju" , linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, brcm80211-dev-list.pdl@broadcom.com Subject: Re: [PATCH 1/6] wifi: ath9k: Obtain system GPIOS from descriptors Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable On Thu, Feb 1, 2024, at 15:18, Toke H=C3=B8iland-J=C3=B8rgensen wrote: > "Arnd Bergmann" writes: > >> We could probably go a little further in the cleanup and >> throw out the gpiolib path entirely, instead relying >> on the existing leds-gpio driver. Since there are currently >> no upstream users of the gpiolib path, that would likely >> lead to cleaner code but require more changes to any >> out-of-tree users that rely on the platform_data to >> pass the GPIOs today. > > There being exactly one such out of tree user (per your up-thread > email) in OpenWrt? Or are you aware of others? Actually, on a closer look not even that: the ath9k LED support in openwrt is quite different from upstream, and it just uses gpio-led there, with a gpio provider in the driver for the internal gpios. We can probably just remove the gpiolib consumer side from ath9k entirely then: it's not needed for the PCI devices at all, and the SoC devices no longer use it upstream or in openwrt. Arnd