From patchwork Mon Jan 15 00:48:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kent Gibson X-Patchwork-Id: 187999 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:693c:2614:b0:101:6a76:bbe3 with SMTP id mm20csp1432974dyc; Sun, 14 Jan 2024 16:50:09 -0800 (PST) X-Google-Smtp-Source: AGHT+IHkIE2dRduF/eQA058EAPOUimcs+G2xusVw8180u2ebi3VoS58u77VdB0aB+XjvpbbXxWvs X-Received: by 2002:a17:906:682:b0:a28:ec67:185f with SMTP id u2-20020a170906068200b00a28ec67185fmr2309922ejb.60.1705279809598; Sun, 14 Jan 2024 16:50:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705279809; cv=none; d=google.com; s=arc-20160816; b=g8TSd2LTeJT7/G/APtuN/iZ7S8qxBMytMtByDu+fomT18iJ4AyaEelwcKiL+olNteN vpQ0YxsIKH2+nGyQuI7Penbvm/aTLQe1wCcFeZ9Yf68FZqeMF6TBzYwYXL9SplZhewfB 8EAEXxspp8i+vL4R6AU03DAdfoHS3qpT/mskeTtn2L+FS+0MsD63u80c1iU/FnxP6Vqk /wZSljpdlhbxms0TLYH0JpLO6tYBEIE175GTKovLS+VJuXx1jk3ALW1R24b33qHmK12r h2FIGcD0nS0wL0Sg2fycgxytLV8oe+wducVfEvzPbEdv87rmJoJzj4chgOcUPUZhYHCl UrJw== ARC-Message-Signature: i=1; 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:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=vbGb8zBMQYQKYcbDGRHhZWu6ZjU/ySFVlEqOv4kf1cQ=; fh=VAUkZTzChiIGUh6kITzrsogUwm1/k7LdkteM1zwsPa0=; b=Ih/JWhEj52NEGCaxhALSVjeY5bV1wwFc3bzcFosFNGK8DpZ1tl1NMm6Pxu/EuhS6SG pY7BdOCR78wTSw/qKZO7Bp0fGqSWaCIA8DlrnOKu2WwqkeZ/JRukeB6hOGO+rzkWcbhD MU5Lh6HQHqzU3fzbKlhub8FCp1B9rXEyrVF0Ij1OvEDh1cXfx1G+T+zKkXqLJvHAZBA2 Dmvyp/KQzsoC/Ms3zk165Czua1L1jxN6Sp8ZQ6zWfgEte/E/l7Y1/vgCcFsjmPzFpzy8 9+fx/KrSuB9g2LqnMPOgF4D+6HmBvUNrpn2nZe/gGO2eL690BXTGvE8KcxlkURM4PI3b ItYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=l6uPeFtM; spf=pass (google.com: domain of linux-kernel+bounces-25567-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-25567-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id g20-20020a170906349400b00a2d5047fc5csi1323593ejb.635.2024.01.14.16.50.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 14 Jan 2024 16:50:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-25567-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=l6uPeFtM; spf=pass (google.com: domain of linux-kernel+bounces-25567-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-25567-ouuuleilei=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 am.mirrors.kernel.org (Postfix) with ESMTPS id 27D411F21094 for ; Mon, 15 Jan 2024 00:50:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D1D252F5B; Mon, 15 Jan 2024 00:49:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="l6uPeFtM" Received: from mail-oi1-f175.google.com (mail-oi1-f175.google.com [209.85.167.175]) (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 ECFEE20F4; Mon, 15 Jan 2024 00:49:29 +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-f175.google.com with SMTP id 5614622812f47-3bb53e20a43so5867752b6e.1; Sun, 14 Jan 2024 16:49:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705279769; x=1705884569; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=vbGb8zBMQYQKYcbDGRHhZWu6ZjU/ySFVlEqOv4kf1cQ=; b=l6uPeFtMUGF6Gq+oyIugpIu8IaMi+COCaHcmeWJmUj3zQAQLbuecDlraisVBWYvgYK idCejcsEruXCAT1UyrcXjwkLM/6e2WfhfGAlfgP8GvAdbZB+qgylIclJcVFTw3uVSEK7 dgzRK0HYYPLRvGBqJxOk/y3LEU16HfAEnqgnIdkIwTdGip2q6AlL7sjuk3MmeqivytPD NBo154Yh2OOqQBstxBftmwgDQNNB0Z5kI8BZ1oPoq3bu/0vJRbCK5iT9Cpsu8MP7cucW oKJjqRXVdpCHhV5rvFIBL/K6/4k1d2VgUP+NAROw3AZY+ETIAdal1WbiH06CdFq0ISIu SYhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705279769; x=1705884569; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=vbGb8zBMQYQKYcbDGRHhZWu6ZjU/ySFVlEqOv4kf1cQ=; b=LtolOoXg3ByUxJfI7Dp5bZlQGDxRZU2G2TjDEAF4ebk2ZQI8+2RhFYwdG1URvkPr47 nu11SyAXbQDZX+fhqVCHu23ShHDrtZc/90zWeICxeumjwPEn+NjKSdRZTV71jz7LcK4U Kgoo/Kr7awVZGdx+RYjEFq3aP//IaIRgUKgd+EzRMRpIgqe5pANEElliM+IUnOx2Z62u hFgCH43bYf7Ww2SqbGD5/rAs9CaY95ZdR3CgrBxwOUnfQ2Ynq87uqwayTmbn5dTvB1VM v2pf9YsOs6JBokE+94Zc0nx9bM1mWcbr/WyVjkjROHeyKP41jZZakNJ/60FQ3satU+58 P+jw== X-Gm-Message-State: AOJu0Yy8K+kJLTI/b+wKONtEhZk/yEed8Wv7HtnmVq6sY2LD41Ma0Bkp lwH8CLqMN9GflU8KxonQ09sonx9nolczSA== X-Received: by 2002:a54:468b:0:b0:3bb:edfd:42db with SMTP id k11-20020a54468b000000b003bbedfd42dbmr4423368oic.63.1705279768873; Sun, 14 Jan 2024 16:49:28 -0800 (PST) Received: from rigel.home.arpa (60-241-235-125.tpgi.com.au. [60.241.235.125]) by smtp.gmail.com with ESMTPSA id 4-20020aa79204000000b006d999f4a3c0sm6538365pfo.152.2024.01.14.16.49.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 14 Jan 2024 16:49:28 -0800 (PST) From: Kent Gibson To: 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 Cc: Kent Gibson Subject: [PATCH v2 2/9] Documentation: ABI: update gpio-cdev to reference chardev.rst Date: Mon, 15 Jan 2024 08:48:40 +0800 Message-Id: <20240115004847.22369-3-warthog618@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240115004847.22369-1-warthog618@gmail.com> References: <20240115004847.22369-1-warthog618@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1788115481995385448 X-GMAIL-MSGID: 1788115481995385448 Update the gpio-cdev interface document to refer to the new chardev.rst. Signed-off-by: Kent Gibson --- Documentation/ABI/testing/gpio-cdev | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Documentation/ABI/testing/gpio-cdev b/Documentation/ABI/testing/gpio-cdev index 66bdcd188b6c..c9689b2a6fed 100644 --- a/Documentation/ABI/testing/gpio-cdev +++ b/Documentation/ABI/testing/gpio-cdev @@ -6,8 +6,9 @@ Description: The character device files /dev/gpiochip* are the interface between GPIO chips and userspace. - The ioctl(2)-based ABI is defined and documented in - [include/uapi]. + The ioctl(2)-based ABI is defined in + [include/uapi] and documented in + Documentation/userspace-api/gpio/chardev.rst. The following file operations are supported: @@ -17,8 +18,8 @@ Description: ioctl(2) Initiate various actions. - See the inline documentation in [include/uapi] - for descriptions of all ioctls. + See Documentation/userspace-api/gpio/chardev.rst + for a description of all ioctls. close(2) Stops and free up the I/O contexts that was associated