Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp526937lqo; Fri, 10 May 2024 07:11:13 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXMO/NRXdw9XVp09y9Rj0KeLREpgXFSk+g5tr7ZSjRfK/tibTZKtkIGWGKRQ6CsoWEustAAnF1o+7uj59pg3fRCOvcr0WE/ZEWEvTLh4g== X-Google-Smtp-Source: AGHT+IGB+MG2/DuWQhKahX+bLIN+rKdZymylNPjdtrCu0r3EwlZa0Lw8TUzgxzhfx904qGjx1rwY X-Received: by 2002:a05:6a00:b4c:b0:6ec:db05:36d2 with SMTP id d2e1a72fcca58-6f4e029a170mr3743774b3a.4.1715350273376; Fri, 10 May 2024 07:11:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715350273; cv=pass; d=google.com; s=arc-20160816; b=gSRCsd5hdSddYPckT3edspYj/k8izZxvcT3601ZIjbHs1h+uJllG8cf0IpOyqm1pig nbL+NmweAu9IITm7xIXk5HzoOPqNqIqJm0PIAMOCqTZJLpzp/QCFD/RWmJKkRXpBUMqR 855EN/gTSCTPQJdKxA0K7MDD8epjD38igWFeRUdBbLXMlgcPW+R8HKHKBGgULQP+4xz9 UyR72l4Rfj8Jlm0oGeYp+AQS1NvT0LuB/DuQ8ppAlns21xmV3XmT3L9qMCBsFSCmE1f9 ckIENMuSHdLVoPEzTBFysYYhuOlh151VQSrzTQqmKnWd6FdWjdHvwNFL41WB3+Ab6c65 u11w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:subject:cc:to:from :date:message-id:dkim-signature; bh=IUshYNDgznxLpJcEyG0DD70zqbgXQycZfQ4megorFuE=; fh=mfj8X9HMl7bhkqPbQcXc3dBKcMzSGccqE8VkxnWnBp4=; b=nXrK4sb8KRx4lDRP6EGuHHzyF9APUGmPP/VqU+/zevY4mX3/BNnTM8O/rc6+7yCfXQ xd5ni7pnwMAHydpxpy8DkA9RyIRI4nngYrxkJNxqoI9ESuG5052a5WcnhiuusJ+7DyaZ z1Qv5GJK1WnXhMwCwUwFtNSCrlV1kWCgzzrX1pXHq3oYGVeelcfEG8Jd88l5G3BWcwZ7 WdVKGbvh6wbcdk03w1iroa3zV69MeZ4/LcL3+wI0A2TiABlXlzSbkeCBIT1rS0QQpJ7J 4ofAPTnJz8tHp8qzSp3O78KVycfoJH0oXOlqwRwqnN/Dioc/omOwP6mddX/4fMsH3Dmp 2WsA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Ee5+blIk; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-wireless+bounces-7475-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-7475-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d2e1a72fcca58-6f4d2b514d2si4041165b3a.386.2024.05.10.07.11.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 May 2024 07:11:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-7475-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=@gmail.com header.s=20230601 header.b=Ee5+blIk; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-wireless+bounces-7475-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-7475-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 570AA286629 for ; Fri, 10 May 2024 14:09:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A136F12C7F8; Fri, 10 May 2024 14:09:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Ee5+blIk" X-Original-To: linux-wireless@vger.kernel.org Received: from mail-lf1-f47.google.com (mail-lf1-f47.google.com [209.85.167.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E0FAF481C0; Fri, 10 May 2024 14:09:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715350185; cv=none; b=sfJDYvVMdNvCtssHyD5mdnyChzihyAx2QL9lrxvVJcmM+Lj8qPtJsxc9vtBc7JWB++iPqgGKBdV7tr4Db4k1lLDY/5Aky/EDpar3aAqnfNiXEkoiVGTJDBPJVkGuopTolzK7DI0X4JlbdgrAhCDpc0TS3OfV9Jf6qXb3xrbG68w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715350185; c=relaxed/simple; bh=ryAv9ViKVMcOS6EqwqI46QOfJSeiIcFkcxoPyrq5zlc=; h=Message-ID:Date:From:To:Cc:Subject:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=X6w4Q7OiOum8n+5k10rIvg+UdjI1oiRxEeEspZC7zrcD67fq8iW4KrJQMNJ5yn7Zm6+s9LuR8EcSoStmT0AiHc7pAbBTEXByxALd+ShmVk6Ldar07nl6zTCEiBcCLjtLbAwPAq7/VMIvdsnKm1+SaeQOR9kIBLidoA1xb2u6xEY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Ee5+blIk; arc=none smtp.client-ip=209.85.167.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-lf1-f47.google.com with SMTP id 2adb3069b0e04-520f9d559f6so2313425e87.3; Fri, 10 May 2024 07:09:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715350182; x=1715954982; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:subject:cc :to:from:date:message-id:from:to:cc:subject:date:message-id:reply-to; bh=IUshYNDgznxLpJcEyG0DD70zqbgXQycZfQ4megorFuE=; b=Ee5+blIkGiB5RgOo8h1ikBX8t7OgRrPz9dAwvkvjrG0XvvYEQCZQ2Hjkv2x8OdjJpJ kChTxnQNAEB71DHnryr6O76zlmzg8T8ITyxU1jAbTckxgxpGAExtrDQi1BehUnie14XZ Ee8V9B2a+4r41PGfJyLQ8uixmtIjHIfzPVnHwy5gefdbYUQ5f93bp8MFu57jTuYjt8Z1 IUyg/YkjWYKhVgcbBmfV2X1m6fJi+CPxYEvDoPw9v7947mOluDPMykGlbo6UlXZv6zBa 9cMp80c+VuFcX6wmcNx9++HoVD+xHE5iWKFompM7DJEBYoghYKj6GMk1sUvtLDVCFNoI VY6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715350182; x=1715954982; h=in-reply-to:content-disposition:mime-version:references:subject:cc :to:from:date:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=IUshYNDgznxLpJcEyG0DD70zqbgXQycZfQ4megorFuE=; b=bBQLdCv3zBUAT3D97f2uhdlaUO6aJ5oMWF8gsRagHyGglmoBmhfrJqwk10CxEbUOh+ nZ2K4LvSMrmxkXCeTE/1mnQexH80ZgU9Pqsd65WOZa6GOopjReiVYZjcvGqfLaxpmwh/ kNbBFs7rQjHRNhhpIHQeyvT81msIxX1+3xw7sX1ihoWp1Az6NlR+6OK22I4sB2gnRnsZ R9c0LsN79e9UGoo5ju3VWu9YD7YpKBUtkYctD0bW5AwbsfmthrQgjzBgvpV+q6qfrOyR 2AZIXgqsZisjLD+lR4ksB1wrJQS5yktiydQwVQjaf5UpAQdbEOQHCqqs50+PTcaOshxQ z1aA== X-Forwarded-Encrypted: i=1; AJvYcCWjjmyEOmtCyBOlMk6tbdnQSOLR+KEWoNV6ifVOajZPvNE7mOHv7GC/cVmTPUghEp57NEnHwdhWQRhtOgpD+I3ZSdClIPgdmRTEMx0t/Uqnf/+95yKPF9Z0IfnekIKf5UMp3Sr16j9kNV5eKsZnXzhaW1N5em6uNBdq48ogR3qn/5EdtkA= X-Gm-Message-State: AOJu0YyGl8H7W0cWFyjO2YngUnWrQcbkI2oQOVSwRy9euDjmP818nwYT gSLUZp7ovoFOfh30ydr0QIjBda2VF+RF8b8/D1sTcTkDR+STRQA6 X-Received: by 2002:a05:6512:104b:b0:521:f000:5d1a with SMTP id 2adb3069b0e04-5221006cd2dmr2006606e87.59.1715350181498; Fri, 10 May 2024 07:09:41 -0700 (PDT) Received: from Ansuel-XPS. (93-34-90-105.ip49.fastwebnet.it. [93.34.90.105]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-41fccce2449sm66291035e9.16.2024.05.10.07.09.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 May 2024 07:09:40 -0700 (PDT) Message-ID: <663e2aa4.050a0220.a4c56.1c5a@mx.google.com> X-Google-Original-Message-ID: Date: Fri, 10 May 2024 16:09:37 +0200 From: Christian Marangi To: Kalle Valo Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , linux-kernel@vger.kernel.org, ath10k@lists.infradead.org, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, Sebastian Gottschall , Steve deRosier , Stefan Lippers-Hollmann Subject: Re: [PATCH v14] ath10k: add LED and GPIO controlling support for various chipsets References: <20230611080505.17393-1-ansuelsmth@gmail.com> <878rcjbaqs.fsf@kernel.org> <648cdebb.5d0a0220.be7f8.a096@mx.google.com> <648ded2a.df0a0220.b78de.4603@mx.google.com> <87v83nlhb3.fsf@kernel.org> <663c9fc7.050a0220.5fb3a.4e87@mx.google.com> <87a5kxlqrn.fsf@kernel.org> 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=us-ascii Content-Disposition: inline In-Reply-To: <87a5kxlqrn.fsf@kernel.org> On Fri, May 10, 2024 at 04:50:52PM +0300, Kalle Valo wrote: > Christian Marangi writes: > > >> > >> Sorry for the delay but finally I looked at this again. I decided to > >> just remove the fixme and otherwise it looks good for me. Please check > >> my changes: > >> > >> https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git/commit/?h=pending&id=688130a66ed49f20ca0ce02c3987f6a474f7c93a > >> > > > > All ok for me, Just I notice the ATH10K_LEDS is not exposed anymore? Is > > that intended? > > Yes. It follows the same idea as other wireless drivers do, for example iwlwifi: > > config IWLWIFI_LEDS > bool > depends on LEDS_CLASS=y || LEDS_CLASS=MAC80211 > depends on IWLMVM || IWLDVM > select LEDS_TRIGGERS > select MAC80211_LEDS > default y > > So what this patch now does: > > config ATH10K_LEDS > bool > depends on ATH10K > depends on LEDS_CLASS=y || LEDS_CLASS=MAC80211 > default y > > The idea being that if LEDS_CLASS is enabled then ATH10K_LEDS is > automatically enabled. But please let us know if something is wrong > here. > Sure, was just asking some clarification about it. Not a problem for me since we are using other pattern to handle this. -- Ansuel