Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp905963rdd; Wed, 10 Jan 2024 03:13:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IHDb31KrtHIQzLeUaa/qlw4S0vmRndBUEAIeBCiKAkmraU8eMj7mp7rfCTkXWZ7rfxAArcM X-Received: by 2002:a05:6358:7e56:b0:175:78d3:1b44 with SMTP id p22-20020a0563587e5600b0017578d31b44mr995432rwm.46.1704885228716; Wed, 10 Jan 2024 03:13:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704885228; cv=none; d=google.com; s=arc-20160816; b=lGgRslGnqbvv7jN1uhmGQdHL+fTb8FATKByrelK1dwKVBEnXVqJ+/Chwzqo2xHV+Sf mg85IveMW+ByA7DYTdRKrHIoipn3TR/MT9OUB+UQw4jby5L6Oi5U/L/JJOdOxK3dw5Ii xag2J3YyNEG1FnQPHcEv2rL0Un5tUDKmUfo7BeNHWBRXq6yquUWD3wA4ebfSGClP+qPN A0gCdhh2J/7FVXHnVifr7IzupxPLFgtFGq9ker3y2W5B51+as6GltsfyD4Qk5sojhDRH jwJSzgyfI6TCXJyVuZRY1+USCCHGJe+wgtB4H/7LHsLXzfWyUcugBA7xZzT4Rf3nXLLl xK4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=omsWh5uQriFHqDpOaip7ABA2fSXEYznPIN/MC/otOtM=; fh=UbGm9gdoF9KDCxXPdL1fO1vAdS0SX/c5WgflJad2oLU=; b=ClH2V1vYr0FJ0Kxck+VKTUZfWBQ43jvQIZy+2QRTSqBlXgjek9/2mjt0QghIo80Y6D 084E4VqezddCnMOaLUVMrkjtYqNTjx2Vr1aP+6CjcLZTZzQQgrpI8R/dP3/awj4sulrP WgPWmdXds0iNhFqyGvuuMrtRZFdeoYVTz6ikCyWHF7QVTMbaOGqPUDM0CJcsH8Ld7d4T FtFwq6ghnmmf4QKdYnk47ymqxEfTM8hKIZnUtolmR9SAGm/9aZGIhGU/nEW2KNgAUwUb Wlcl8aDM3DKdOC7QXORDlGBPfZBodBwVyqYpx1Af4lA3FoRiANWwJ1SaMf1BhRvjC0F7 ah6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Qra71X0N; spf=pass (google.com: domain of linux-kernel+bounces-22047-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22047-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id bd19-20020a17090b0b9300b0028d00f2477esi1107758pjb.170.2024.01.10.03.13.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jan 2024 03:13:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-22047-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Qra71X0N; spf=pass (google.com: domain of linux-kernel+bounces-22047-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22047-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 08054B25F95 for ; Wed, 10 Jan 2024 11:11:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5BA8046B81; Wed, 10 Jan 2024 11:11:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Qra71X0N" Received: from mail-oi1-f171.google.com (mail-oi1-f171.google.com [209.85.167.171]) (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 39B694655D; Wed, 10 Jan 2024 11:11:28 +0000 (UTC) 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-oi1-f171.google.com with SMTP id 5614622812f47-3bb9d54575cso3395518b6e.2; Wed, 10 Jan 2024 03:11:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704885087; x=1705489887; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=omsWh5uQriFHqDpOaip7ABA2fSXEYznPIN/MC/otOtM=; b=Qra71X0NqjL0tomyMOjyq/OY7i5fyT6gyjAcoO0RTZjmJBzPlntswtXwOgGZefMA3c IcAGlAvrNCzCXj86YOFrPoYk+xqN4Eu15ot+fRa4f2DNcM2faHYrgj4Ahi4WBYPWrApe PiF3RBfWw3E3bn8xlmSJi2qT4gjijdsgI03CJ23uOGrJVLm1Fl9moPXAmw/j8wUGvVgv ONYwXAgIdhyZzcxYNOciyCwpgOOPfrHwY1yC9loKNGK0us7gYYzpSOJ3rD0epD/reO9M dl6YSfpmNgx+vmi4V0l/F6sPAnTEfwBlXa6GCpVgY0T6xyoKhhPj6f52Ac8neAYbY90g DpCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704885087; x=1705489887; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=omsWh5uQriFHqDpOaip7ABA2fSXEYznPIN/MC/otOtM=; b=EGAbtQMDXsp3Oa50BjuK7Qj0a5xfjGk0NCT1BD1YfgvEOPDB34NsIjGFmRmUng0VB0 JlIjMI8nJTVcfUaAFJnElfn7CCutTCm4EOLVzlJoHRQ+5juV+ckkhvkxkjgOrhtIZeNn JcasNenif12yJeeKpL7ELpxUqSeCzm0n3CI4Q7qdvsQEQ6JAv4ESpNJFQWZaFtjHbP3e b+R1iuHfYfttjApoqRnUcZjCVa/KAAOl1Chy2jo2sM7/ANX+VKJYtpv0xDasLDSOOSb2 0Y9cO0b945tnPBEfPudTcEvWj60Nd0nHkV8k1oFjyV6tKqTPzWFmbdiq6sapsyt6W/Ne 6NHg== X-Gm-Message-State: AOJu0Yzss5KKs0rtq/RU1LD0MO6B+XVEBNi3dN+TTwmRWTV8cfa1ZztL fTjPqHHEcogL+bKfeegQqq3dsUYa8yOGmCVHWco= X-Received: by 2002:a05:6808:1b20:b0:3bd:4bb7:4213 with SMTP id bx32-20020a0568081b2000b003bd4bb74213mr435165oib.7.1704885087209; Wed, 10 Jan 2024 03:11:27 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240109135952.77458-1-warthog618@gmail.com> <20240109234518.GA7839@rigel> <9e33f7dc-deee-4165-bc10-ad77f38b270a@oracle.com> In-Reply-To: <9e33f7dc-deee-4165-bc10-ad77f38b270a@oracle.com> From: Andy Shevchenko Date: Wed, 10 Jan 2024 13:10:51 +0200 Message-ID: Subject: Re: [PATCH 0/7] Documentation: gpio: add character device userspace API documentation To: Vegard Nossum Cc: Kent Gibson , linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-doc@vger.kernel.org, brgl@bgdev.pl, linus.walleij@linaro.org, andy@kernel.org, corbet@lwn.net Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Jan 10, 2024 at 10:16=E2=80=AFAM Vegard Nossum wrote: > On 10/01/2024 00:45, Kent Gibson wrote: > > On Tue, Jan 09, 2024 at 10:00:26PM +0200, Andy Shevchenko wrote: > >> On Tue, Jan 9, 2024 at 4:00=E2=80=AFPM Kent Gibson wrote: > >> > >> May we actually state in the documentation that sysfs is subject to > >> remove at some point? > > > > So formally define what "deprecated" means? > > Is that covered in the higher level documentation somewhere? > > If so I'm more than happy to provide a reference. > > We have a few files that may be relevant here, that I'm aware of: > > 1) https://docs.kernel.org/admin-guide/sysfs-rules.html > > documents some general assumptions that userspace can make about the > stability of sysfs and its files > > 2) https://docs.kernel.org/admin-guide/abi.html > > This is the public-facing, somewhat machine-readable repository of what > is supposed to be the kernel's ABI/API, including "obsolete" and > "removed" interfaces. > > 3) Documentation/ABI/README > > describes the process of deprecating an interface Yes and GPIO currently is under obsolete section with also this: "This ABI is deprecated and will be removed after 2020. It is replaced with the GPIO character device." https://docs.kernel.org/admin-guide/abi-obsolete.html#symbols-under-sys-cla= ss So, proposed cleanup series should probably rely on this documentation among other existing descriptions of sysfs GPIO. --=20 With Best Regards, Andy Shevchenko