From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f176.google.com (mail-pf1-f176.google.com [209.85.210.176]) (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 6474C2472AE for ; Mon, 1 Dec 2025 16:50:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.176 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764607814; cv=none; b=eDrk/APN4FyrBrzHgFRTQvcRAJas6+jDWVDtrf8gPhqTLWirq7J346eX/cZoUBlBpYhi3xiXRX653Hyc2qVpl1dEadZ2xzpET9fB2hyaHiFQtJcCKhSoHQHQvQc/iIfqoKyH4T1tqhqi4PB1M9XHQF5jT6El6906FxWqkwld2ds= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764607814; c=relaxed/simple; bh=IUlk0RiWKxSC9MBdv7RzX66VzV1ziNlZBBwLEjUPeGc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=bHlvAWtgZHdqhTmjum640ZLn9sv66fMsX5x/ao5rjby6KYFwcdXCBao3r3doRkzbDTaI/DiHnZD4URQYKQdJpCY824Ffhg1O0QArmGasUQiWpZ+occ+v4PIfujAXaOCXoel5+4s1WHMZnoAOgzsmzQSTjaavhRNxaBeXzIfn8+I= 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=hjSoVsHB; arc=none smtp.client-ip=209.85.210.176 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="hjSoVsHB" Received: by mail-pf1-f176.google.com with SMTP id d2e1a72fcca58-7b8e49d8b35so4876107b3a.3 for ; Mon, 01 Dec 2025 08:50:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1764607812; x=1765212612; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=AvcNEhDuLn+vatCl0I6V6UWZc4kOmAdKBr1H/K66C/s=; b=hjSoVsHBeUy2wUSG4oHh1Bh0XQtQrZFo/5AL6EVHbXaenhoqmLxFID9wqaAfQ3BmiL 11Dzs7uFKA/hRDKQNW9jPuhIXwX1wcOaTGwVztyzRONWO7TBe4uhFy2zv4mligKSszU7 zXwZ39yMzeFc5UsNBeaRCtHkdLbrMhySV/ke6EkN//M9Dg+5NkAoQ/wdWAh4F7ZxJBZZ OMMioVVryxm08c2kbMGLXcE/oV8OBMQUmAbDgiQk3pCI6eRP+P1mKGhAaGR8LRe61ivv ayBe9jYoTTmXNn/BkbD6Xuh9xflERp7GUK5tPYYJWRbf1Sy81okhnwtPuMR2qZ2SQXB1 dLkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1764607812; x=1765212612; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=AvcNEhDuLn+vatCl0I6V6UWZc4kOmAdKBr1H/K66C/s=; b=A3cVhe4jTOsjZRToz2jF8rMrwb+ywS5mPGOHel2Gy0YFONTEDpRlalWrOd+fj9+k0w 4wux0nKNOOmUdBj0D+dwJPqQg9ic47IgiDbEOmUkeCHR82Cod+MQfm5UkE1JToKMGp9o V/JbblxiOHO2OeZpWbD8ckTF6OkqQIrQkiO9TXA+pkXfihFdtk9cIfwg6QeoYzyi5++N N8KhalLveut5WMGm/+tbtJjFr5dAW/HL14YotOKo5Vxe3r97CIKPhBGnmx3L01VJjieK SWrtmyLcto2NrrY6nQ8eeFRjv7EDemv5nDPx8eg0c24sq6Z3TUIPu1ey9uIysgy5HZGH /x1A== X-Forwarded-Encrypted: i=1; AJvYcCU9g2gZFwEJytazBAT8Et4mh46dOpUQN9vRQyQxU3LiN7dI6pr7nP7fWgGGWzuAW/lKP1ut5+22WIW6t2c=@vger.kernel.org X-Gm-Message-State: AOJu0Yy/295JoLWZVEwxOhFNdr1RR1Nbwgo6OpRnnh/+Y9YwC0x5zYit 6bhUYdhmHeNW/bMR5sIf0iZ5E4wV2PX6cHFzW4OOIh4qTwz9duj8B5yJ X-Gm-Gg: ASbGncv7Yb/o2qJYJBF/EjU1BHVPjv5cI4Ij2RDu+niMkVxiVd6OJUH3pkMg9+JurQW M2VPEnI6eVr2M2ThD96GSCFzQFIbneBPMuKYwsYxDcYZSmSw4pDZRYKvVJJpH/ZwKD+Rc7v3hTE o257s0uOkuzy5L2dARB1n2lUdXWwHgzzU9xqIyHHTK4QmhVyUPcTPr182RpiMyeD+O5lgufEX/R hA+hRSJLgTVfzsjk307clWDPJo2Cl/sx4y8HLfBremNBTi5RFGr2cv7gXweEN7dlpDGdCftuM3G sGPGyfrmiuk5OXFmI5Jp1657ZiWVq4QH6Vy+XRIlnkdONZeRWLbr7WFVJbX+ifDhacd2BBIOm/k zIQUjaD/tH5BGKotKfb/njFX0jv/QH5ZF5fSYYN4hhhcUrQ/rNkKzSPiYuav35ZOR/qQeCR0sdA Xtg/K536Bk3UqVgO9Ow7Q= X-Google-Smtp-Source: AGHT+IFcfYv1UvAfJ30K/d1C60sHdw3nK5lXHBFrmebJunXpq41W40Vmml5aKdrUUQvWkwvikceKYg== X-Received: by 2002:a05:7022:692:b0:119:e569:f60d with SMTP id a92af1059eb24-11c9d60e3ebmr23373511c88.6.1764607811566; Mon, 01 Dec 2025 08:50:11 -0800 (PST) Received: from localhost ([2804:30c:941:4500:2e30:10b5:73b0:4b74]) by smtp.gmail.com with UTF8SMTPSA id a92af1059eb24-11dcb04a07bsm61594077c88.7.2025.12.01.08.50.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Dec 2025 08:50:10 -0800 (PST) Date: Mon, 1 Dec 2025 13:51:43 -0300 From: Marcelo Schmitt To: Jonathan Cameron Cc: Andy Shevchenko , Nuno =?iso-8859-1?Q?S=E1?= , Jonathan Cameron , Shi Hao , Michael.Hennerich@analog.com, lars@metafoo.de, dlechner@baylibre.com, nuno.sa@analog.com, andy@kernel.org, gregkh@linuxfoundation.org, linux-iio@vger.kernel.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH] staging: iio: adt7316: replace sprintf() with sysfs_emit() Message-ID: References: <20251116101620.25277-1-i.shihao.999@gmail.com> <20251116152800.4c1849cc@jic23-huawei> <34a55901fe0729145097d287a98746f23eea13d8.camel@gmail.com> <20251119145751.00003a9c@huawei.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20251119145751.00003a9c@huawei.com> On 11/19, Jonathan Cameron wrote: > On Tue, 18 Nov 2025 14:10:25 +0200 > Andy Shevchenko wrote: > > > On Tue, Nov 18, 2025 at 10:17 AM Nuno Sá wrote: > > > On Sun, 2025-11-16 at 15:28 +0000, Jonathan Cameron wrote: > > > > On Sun, 16 Nov 2025 13:08:07 +0200 > > > > Andy Shevchenko wrote: > > > > ... > > > > > > Applied, but I will note that this driver is a long way from suitable > > > > for moving out of staging and I would be surprised if more than > > > > one or two of the lines changed in this patch make it through the > > > > necessary refactors (should anyone actually have another go at > > > > doing them). Anyhow, I still think this is worth taking just to > > > > reduce the noise of remaining instances of this. > > > > > > > > I'd have deleted this long ago except I actually have one somewhere > > > > and it one of the supported parts was still listed as suitable for > > > > new designs when I checked not long ago. > > > > > > Seems to be now "just" in production. So no longer advised for new designs. I gave a > > > quick look and this is far from being a simple driver. It would require a fair amount > > > of work to bring it out of staging. So, are there users relying on staging drivers? > > > > If there is no choice, yes. For example FBTFT is famous for being used > > by IoT / DIY _a lot_. Currently a bit less since we got tinyDRM > > subsystem with most popular drivers reimplemented there. > > > > > But I would assume that for staging we are still free to drop support it? > > > > At any level, we are still free to drop :-) Just different conditions > > applied. For staging is basically an "effective immediately" case. > > > > If no one replies to this thread in next few weeks to say otherwise, let us see > if anyone objects to patches. I'll spin a series in a few weeks and they can sit > in linux-next for most of the cycle to see anyone notices. It is easy to bring > drivers back if turns out anyone cares and then there is some motivation to > finally clean them up. > > staging/iio/ > accel/adis16203 is production > adc/ad7816 is production (7817, 7818) - the 7816 itself is obsolete. > addac/adt7316 is production (what we are discussing here) > frequency/ad9832 + ad9835 are production > frequency/ad9833 etc are production > impedance/ad5933 + ad5934 are production This one is an old pending task of mine. I want to finish that. IIRC, the only thing holding that from graduation was lack of conclusive testing from my side. I still have the eval board for that. Luckily, I shall have some vacation time at the end of the year :) Thanks, Marcelo