Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp736530rdb; Fri, 2 Feb 2024 02:23:21 -0800 (PST) X-Google-Smtp-Source: AGHT+IGo2F69xRljWzd/rILpOccMJvGKCGPcey1CXGHBynVy/MsaAp7KcsLTLwZrxAqlWcpodOCl X-Received: by 2002:a05:6808:2121:b0:3bf:bb89:3440 with SMTP id r33-20020a056808212100b003bfbb893440mr2976574oiw.50.1706869401125; Fri, 02 Feb 2024 02:23:21 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706869401; cv=pass; d=google.com; s=arc-20160816; b=VgRE6N17CFeH7VhimQ5Sfzz/TH9zezertRTlNLbZWf0Oug4v6xIfgPWg7bbnxioHIR /eLae9/TdT9M+ffh3bSqGEw0cF6qy1MCEgvSTcT3OVm1Nk39BTwZ0mdEoPjM49ZcDENF FHMu9EoLgSh9kBkPv8iwDkGz+maHj3NC3HUr8uZU5K3H+ZduDL9BQoz9M3UE0prx7GSr yw+KjBBCl8LWbPG1W7h88Ua2hlwE2AGV9soL4+4cYMhlBZW6TiCClufGJH0uSlOPzcKh HXekJWs0FPUcy7/7VYTK91JNTPjX2lJOeaLqZ1XRf66kZGniyMxnT681GUFCUFwWypCB 4zcQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:references :in-reply-to:subject:cc:to:dkim-signature:from; bh=hiC1Ur9jHiRNpct6U6sroqQWDjCDaFKufzfpTuJBcjI=; fh=YYSw4tY4eQZ78LBvCTnHFQnelvSQEDlnIYZi6H4rC7I=; b=AMZakYNexZ3xp/70PudRRRqf20xWy+PxzCzMsUeyJaqrMRXLWonzh3btgXAIzvGrot kyvrgwB3IbZSsa1B4EbrIte09izAXTa/+cfSKOYMXHjytVJ6ftDrcppOX1KPLW1dbD3u bttoDA9Q5bdZIV6V5lc6mJWMhdHk2+ijPhYRpBSGgAfIYkvKf1XpbKJIIlfJDGfyGDhy +uGqRG88ycYUlMMpy0n/leGMJwaEXjDbDdBZNcTlRuTmvO92UfRQeZmij4AiGKZPjZk4 ov+3AYykZznjx+2fUjuZtLqpo7UPgiZ+D7PKQZh3hZa1PSkQVLkfZh4EwqUCUTxjYlQ2 umVA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@toke.dk header.s=20161023 header.b=AjIhSaVq; arc=pass (i=1 spf=pass spfdomain=toke.dk dkim=pass dkdomain=toke.dk dmarc=pass fromdomain=toke.dk); spf=pass (google.com: domain of linux-wireless+bounces-3003-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-3003-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=toke.dk X-Forwarded-Encrypted: i=1; AJvYcCXK3h2fh/cu8nhNapbSfxlSSe8obOOhgKFetz1Q7eespRGg7M0pvarsGnRg2VfUS1KWXuN1Tt3iXLAuL/yMRujM89M6CKp1QJUjd79Lbg== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id y20-20020a05622a005400b0042be1aeae59si1654690qtw.358.2024.02.02.02.23.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Feb 2024 02:23:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-3003-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@toke.dk header.s=20161023 header.b=AjIhSaVq; arc=pass (i=1 spf=pass spfdomain=toke.dk dkim=pass dkdomain=toke.dk dmarc=pass fromdomain=toke.dk); spf=pass (google.com: domain of linux-wireless+bounces-3003-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-3003-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=toke.dk 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 5FD341C21753 for ; Fri, 2 Feb 2024 10:23:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F08CF7765C; Fri, 2 Feb 2024 10:23:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=toke.dk header.i=@toke.dk header.b="AjIhSaVq" X-Original-To: linux-wireless@vger.kernel.org Received: from mail.toke.dk (mail.toke.dk [45.145.95.4]) (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 2879F7C084; Fri, 2 Feb 2024 10:23:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.145.95.4 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706869395; cv=none; b=FGssm4RzzZGaoYo/lhlecokqyew6jRO2si5FOCXU4yECLSes1py/Y0Fossm5giCjQ0o38J02FPdPUljxPQi9njt/cP25CvVqvSIFyoXaIxe4DAAzq4CHxSBl7EDKokTzTVF64NpaWKCWRmlFu8Idz3m0njQ0sSTPRVQOUfru/rg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706869395; c=relaxed/simple; bh=hiC1Ur9jHiRNpct6U6sroqQWDjCDaFKufzfpTuJBcjI=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=rRDf9ApoczicXmoRyoIMnsTunPkXFoHrYRU1EDNd6rRWWHy/wWZ9nXf239ZBFAU2TV1O7DOumIhVWyQkOwcesDG8I09THEDcB/q3JxeZ8+5c3wZojfqw6+4puvzh4ni9MKcX42ztugdpSEc1EIDWFKrvUURE9Q/+NSJqiBu/tY4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=toke.dk; spf=pass smtp.mailfrom=toke.dk; dkim=pass (2048-bit key) header.d=toke.dk header.i=@toke.dk header.b=AjIhSaVq; arc=none smtp.client-ip=45.145.95.4 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=toke.dk Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=toke.dk From: Toke =?utf-8?Q?H=C3=B8iland-J=C3=B8rgensen?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=toke.dk; s=20161023; t=1706869386; bh=hiC1Ur9jHiRNpct6U6sroqQWDjCDaFKufzfpTuJBcjI=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=AjIhSaVqGzzegmBVE/AmTUaQ3GuC2L/hctoxnIkMzphqtzLt64sn8wIhhN8ocVxSO hpMSRYRJWmjnZW+a8rVxi/OkfHWzckgI1AZbHKg3Ff2ER07SkjHQtmmg5QAN8VNVwA fCbT5rdqR9Q6zpk8FpWnzM6moPVOy2hlTiDBwFDkJCWJEcapfyuBmm6c8EMywO5I9t c30EYxmn0jN6Lx6g/YpgDwCmYNzIcX9B0QE0/qIRABVR3HKXX0iP33Yd1CVUL6L7YT O85i0lHptbH53bqmzn/bE0q5JTRZGgtL/4j9FC/4TtkRRb09Pw1FmxwKnErMJdxuLd WM/Om6VB6qTCA== To: Arnd Bergmann , 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 In-Reply-To: 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 11:23:06 +0100 X-Clacks-Overhead: GNU Terry Pratchett Message-ID: <87y1c3xj05.fsf@toke.dk> Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable "Arnd Bergmann" writes: > 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. Alright cool, in that case I am OK with just ripping it out entirely :) -Toke