Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2098373pxb; Thu, 11 Feb 2021 04:27:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJxz1JV69Ioi+A3pThe5p35HptE/IshF+FKXri65rxulJ9F7yEXwtWKDPmStOGUrXzcFoQSM X-Received: by 2002:a50:e882:: with SMTP id f2mr8211494edn.35.1613046443163; Thu, 11 Feb 2021 04:27:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613046443; cv=none; d=google.com; s=arc-20160816; b=hpDdc1M4j+lOYyfLC+llaFB2ubrfUxO2K/Qdy/cDrqlwHXuKB35w2MTycXpmbQFPxw cscYBkUfOEWL0mPnwnZTyaQVtqSnKYmkxNf3y3Yx7+N1ims3kzE2D2GObqFVllbY9FnT ObnbH0jyHZ8X7hkyycrV6rIOe9DeJ1xcHiw/GjES9qCaK89dtVYHONrybU+397u6ip5w nBE9bMJ768CmP2iuHPl30kz5frL3OlM22JPCFSrGwbwkxrzZMsuNU7fRcRSOp+PPF1vf PEzya5e1NevhUtoFD5UkMimC4y1pOjR7YqA7gGovtFXhY1TiL5eAuSsfpXxjCo/Qxkyj HtFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=WUZppdh/19rXzKQKk+dO1J3pUmyMLgAYsrnBis50KHY=; b=dd9OpNzTFibFw0CIkArRgEqc61QsanQrHQBLumizAv70zlSU5O79xwbB/QlTetQ2YI k/kMmgmvukLKb7S630Pi4uIKbIYrmSZwuvgNOhubr6d1mqL0LD7u0jWPLcEiQ68iJezp EVoQQGUimzAf09QjgrPaszSfovE2MbpClfZdA8DXxBOtBpLjUgsQa9s+EJj3lhX/Sma/ oyK1h2GAquv0bVqZE4bZzWLXYT2St3EgsEzQR/dYwzZwgcBM8Co/nJwbX99vP5xBg6it cHHc0bvcP91BMyB/vWYn99ZeyveO3pz/9/zl8tY1GiE1Uis7bF4dINNIiOIxGEedUChR u6wg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=analog.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d26si3730683edv.47.2021.02.11.04.26.59; Thu, 11 Feb 2021 04:27:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=analog.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230270AbhBKM0A (ORCPT + 99 others); Thu, 11 Feb 2021 07:26:00 -0500 Received: from mx0a-00128a01.pphosted.com ([148.163.135.77]:11380 "EHLO mx0a-00128a01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231936AbhBKMXg (ORCPT ); Thu, 11 Feb 2021 07:23:36 -0500 Received: from pps.filterd (m0167089.ppops.net [127.0.0.1]) by mx0a-00128a01.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 11BCLjvF025251; Thu, 11 Feb 2021 07:22:41 -0500 Received: from nwd2mta4.analog.com ([137.71.173.58]) by mx0a-00128a01.pphosted.com with ESMTP id 36hrw905an-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 11 Feb 2021 07:22:41 -0500 Received: from SCSQMBX11.ad.analog.com (SCSQMBX11.ad.analog.com [10.77.17.10]) by nwd2mta4.analog.com (8.14.7/8.14.7) with ESMTP id 11BCMdNG004519 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=FAIL); Thu, 11 Feb 2021 07:22:40 -0500 Received: from SCSQMBX10.ad.analog.com (10.77.17.5) by SCSQMBX11.ad.analog.com (10.77.17.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1779.2; Thu, 11 Feb 2021 04:22:38 -0800 Received: from zeus.spd.analog.com (10.66.68.11) by scsqmbx10.ad.analog.com (10.77.17.5) with Microsoft SMTP Server id 15.2.721.2 via Frontend Transport; Thu, 11 Feb 2021 04:22:38 -0800 Received: from localhost.localdomain ([10.48.65.12]) by zeus.spd.analog.com (8.15.1/8.15.1) with ESMTP id 11BCMYWZ011557; Thu, 11 Feb 2021 07:22:36 -0500 From: Alexandru Ardelean To: , CC: , , , , , , , Alexandru Ardelean Subject: [PATCH v5 01/17] docs: ioctl-number.rst: reserve IIO subsystem ioctl() space Date: Thu, 11 Feb 2021 14:24:36 +0200 Message-ID: <20210211122452.78106-2-alexandru.ardelean@analog.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210211122452.78106-1-alexandru.ardelean@analog.com> References: <20210211122452.78106-1-alexandru.ardelean@analog.com> MIME-Version: 1.0 Content-Type: text/plain X-ADIRuleOP-NewSCL: Rule Triggered X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.369,18.0.737 definitions=2021-02-11_06:2021-02-10,2021-02-11 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 malwarescore=0 spamscore=0 mlxlogscore=881 clxscore=1015 adultscore=0 priorityscore=1501 bulkscore=0 mlxscore=0 phishscore=0 suspectscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2102110110 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Currently, only the 'i' 0x90 ioctl() actually exists and is defined in 'include/uapi/linux/iio/events.h'. It's the IIO_GET_EVENT_FD_IOCTL, which is used to retrieve and FD for reading events from an IIO device. We will want to add more ioct() numbers, so with this change the 'i' 0x90-0x9F space is reserved for IIO ioctl() calls. Signed-off-by: Alexandru Ardelean --- Documentation/userspace-api/ioctl/ioctl-number.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/userspace-api/ioctl/ioctl-number.rst b/Documentation/userspace-api/ioctl/ioctl-number.rst index a4c75a28c839..179783aac8dd 100644 --- a/Documentation/userspace-api/ioctl/ioctl-number.rst +++ b/Documentation/userspace-api/ioctl/ioctl-number.rst @@ -245,6 +245,7 @@ Code Seq# Include File Comments 'i' 00-3F linux/i2o-dev.h conflict! 'i' 0B-1F linux/ipmi.h conflict! 'i' 80-8F linux/i8k.h +'i' 90-9F `linux/iio/*.h` IIO 'j' 00-3F linux/joystick.h 'k' 00-0F linux/spi/spidev.h conflict! 'k' 00-05 video/kyro.h conflict! -- 2.17.1