From nobody Sat Feb 7 17:56:03 2026 Received: from mail-qk1-f174.google.com (mail-qk1-f174.google.com [209.85.222.174]) (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 15C312F6921 for ; Sat, 1 Nov 2025 12:41:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.174 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762000878; cv=none; b=rGfHzUS+ydeTgjRp/LiNCFMv5g6Hy+u4GxY67XSeQwCAT1Yd6Z/dgCDj4eq53+dpcAzh7LjkvLPX7vihwdRtSj7uAOG0XlK+un6w21vWBOAS+gv9QdE0u2yCQEtw/KE9kUFk6rE4xoQDkCRlrxGDehYFzBRgstOVm1TQD0j3CKI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762000878; c=relaxed/simple; bh=l2ALCl5HbcXAMygzBlHdv1lbiqEHFDZclmJcdlt7iEA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Hlsi4wJC4AQ1sK8OQrXPHlt/SwEkTJ4eAuYrYLNasOt4BK7jFQa1URB3Zg3Wg01QAoXNwP7KhTU9glRrvQq3m+LBh4mjCU85X6Gz9WiRiu0pAybSK7WckUR5RgX/4O73TjX7tzfTIeMrFT5AVmfmdQ5emkTdROazWWhbPMKr4Iw= 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=PQc51wKV; arc=none smtp.client-ip=209.85.222.174 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="PQc51wKV" Received: by mail-qk1-f174.google.com with SMTP id af79cd13be357-88f2aebce7fso326298685a.3 for ; Sat, 01 Nov 2025 05:41:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1762000874; x=1762605674; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=RZlRqECWPUQ+ycgjsFtxLP/p6UN8xzpR7CbKhtt9Z3E=; b=PQc51wKVKPb9cwwv6+s6rc5v13P9csJnqMwqfUTC4bRQsRvFVRQMrLJ5ybKdc5Hzy9 CLCJuIrnLLPITD1RUizMhCokF3ElyL+8ZaIe0hkk40I8ECfrWrjIefLT+AvfDRB/gSMp HaMdDVQ6qvuzhVvx3NvKapnF1OiuiFfalCaVqp7i+mQRfsYphSIgfzqsBQZn4A3B85aV /cWm0QHoI+Ok7C5z4qzij/Rkt7a3yEYQQYmYZ18GEFOUpkgPgpetTIUlP/WYG9CI/sxq BZossx1opnUYa3QUUnNmST8mob63FPaOL9lQpD2v9cP10eJIKM8PjoWW/lv67nVvshJ2 O2Tg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1762000874; x=1762605674; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=RZlRqECWPUQ+ycgjsFtxLP/p6UN8xzpR7CbKhtt9Z3E=; b=rHbc4ts26tGO1JuJgQlCU+J+Ftjca2TjmiARGdcu4EjbAJ8bn1SF6F8J/OWUZd7zNi QXI6viNHXOBUlnW3py/h5LKSBUImmGhjDnKQL3NcNzci+x4YWylTh6iv1b7qJNEIXJEL et2JNV9w9MPEdNB3izw4MRMpYNTlZJ9HJaEw0CEbJ1zemmj5j7nXLnC8/n+zm5L0tQpO MSKaDFaB4B+0O14bkK93f8P+rwH765tYm+ulmnfmaPVZV0EtTxrISlMWamZd+s6dkp+4 MT7Dr6tTOZykggJos8bHlNdg8NOE3w4+UqvTNTFKs1d3eWAmROlupJDjv9ql/YUyHsAY fpHw== X-Gm-Message-State: AOJu0Yy7n4fOzH7D52ToE2wc7myTlGJbCvhPbdnOomGDyyQQMskgPjeP NFAh95grCOfCECmaQTFsuzlwPhEGUkemv1JD+MueVNHcC8jIyZsr8nGd X-Gm-Gg: ASbGnctK0P23GO1YzTtykx77OW9UsKHEdRwPfzsh42R20Yiwfn05vkkaeqDO3ergkP9 U8RUB5ieQ17SCgFRK+wegXg1EBwyt5YEv0BjE4zIQS4W0YGnxh9O3Ep3xp/aFTC8Jtax8ryj4Fq FC9pB19zrQMDie3wq/JpzSaPLqAl2eJMsqFU4tw4X1/ozXFIGSj9VIGrjJC1FFRTrK+jogO8FN4 1gOn0WGqeofZn/eOQ19/GtALfsOWpLm5Pk56MOo5z5qswceCgth8bD+ylxKj/LMsFzBmPocLltL 8jtDEM2uW4+zDA29q8miVRCCJ86HhPku0QuC+QHfL9CTwPKiF7haPWw+7/Fp9OF69rp1iFVanZQ drXv9MLtJMh8z9b63IgbDNI+EXw3YGuFG+DnjjmOYwHPGlFdF3Nm0XMJo6vcOJh+3INkhn6ub2A NIsjn17DWavMQ= X-Google-Smtp-Source: AGHT+IGj3U/g/cPjEItiqMdhy6grP3Lk5LuQk5kV9elcuxS/9ldBo9mq1RPOnbUWcoCczmmSDPe2TA== X-Received: by 2002:a05:620a:458e:b0:866:f322:c6c0 with SMTP id af79cd13be357-8ab9b4a3f77mr882249385a.60.1762000873501; Sat, 01 Nov 2025 05:41:13 -0700 (PDT) Received: from archie.me ([210.87.74.117]) by smtp.gmail.com with ESMTPSA id af79cd13be357-8ac02f85391sm291235585a.29.2025.11.01.05.41.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 01 Nov 2025 05:41:12 -0700 (PDT) Received: by archie.me (Postfix, from userid 1000) id 996204209E50; Sat, 01 Nov 2025 19:41:00 +0700 (WIB) From: Bagas Sanjaya To: Linux Kernel Mailing List , Linux Documentation , Linux Staging Drivers Cc: Greg Kroah-Hartman , Jonathan Corbet , Bagas Sanjaya , Akira Yokosawa Subject: [PATCH] staging: Pull in staging drivers docs into documentation tree Date: Sat, 1 Nov 2025 19:40:53 +0700 Message-ID: <20251101124053.62544-1-bagasdotme@gmail.com> X-Mailer: git-send-email 2.51.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=7662; i=bagasdotme@gmail.com; h=from:subject; bh=l2ALCl5HbcXAMygzBlHdv1lbiqEHFDZclmJcdlt7iEA=; b=owGbwMvMwCX2bWenZ2ig32LG02pJDJms/+We3S9T4FT6W2uqaXek4fMV/pkzvgn3TUwqPq39+ uis9TLnOkpZGMS4GGTFFFkmJfI1nd5lJHKhfa0jzBxWJpAhDFycAjCRqIeMDMeD7Bx2bPHbOFOG PUwi/8Pxd1F37j+/b/Zr0XHX2tgG9R5Ghv4aH/3rxtVrn9lXV046YGi6cGGg0ae4VylaGed+NO+ cxwMA X-Developer-Key: i=bagasdotme@gmail.com; a=openpgp; fpr=701B806FDCA5D3A58FFB8F7D7C276C64A5E44A1D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Some staging drivers have documentation that are spread out in drivers/staging/*/Documentation/. Pull them into kernel docs tree by using the same technique as in 1e9ddbb2cd346e ("docs: Pull LKMM documentation into dev-tools book"): wrapping them with kernel-include:: directive as literal include. Signed-off-by: Bagas Sanjaya --- .../staging-drivers/atomisp-notes.rst | 10 ++++++++++ .../staging-drivers/greybus-firmware.rst | 12 ++++++++++++ Documentation/staging-drivers/iio/index.rst | 15 +++++++++++++++ .../staging-drivers/iio/inkernel.rst | 12 ++++++++++++ Documentation/staging-drivers/iio/sysfs.rst | 19 +++++++++++++++++++ Documentation/staging-drivers/index.rst | 13 +++++++++++++ Documentation/staging-drivers/most/abi.rst | 12 ++++++++++++ .../staging-drivers/most/driver_usage.rst | 12 ++++++++++++ Documentation/staging-drivers/most/index.rst | 10 ++++++++++ Documentation/subsystem-apis.rst | 1 + MAINTAINERS | 1 + 11 files changed, 117 insertions(+) create mode 100644 Documentation/staging-drivers/atomisp-notes.rst create mode 100644 Documentation/staging-drivers/greybus-firmware.rst create mode 100644 Documentation/staging-drivers/iio/index.rst create mode 100644 Documentation/staging-drivers/iio/inkernel.rst create mode 100644 Documentation/staging-drivers/iio/sysfs.rst create mode 100644 Documentation/staging-drivers/index.rst create mode 100644 Documentation/staging-drivers/most/abi.rst create mode 100644 Documentation/staging-drivers/most/driver_usage.rst create mode 100644 Documentation/staging-drivers/most/index.rst diff --git a/Documentation/staging-drivers/atomisp-notes.rst b/Documentatio= n/staging-drivers/atomisp-notes.rst new file mode 100644 index 00000000000000..72ebb8970a067d --- /dev/null +++ b/Documentation/staging-drivers/atomisp-notes.rst @@ -0,0 +1,10 @@ +.. SPDX-License-Identifier: GPL-2.0 + +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +Notes on working with atomisp drivers +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D + +Literal include of ``drivers/staging/media/atomisp/notes.txt``. + +.. kernel-include:: drivers/staging/media/atomisp/notes.txt + :literal: diff --git a/Documentation/staging-drivers/greybus-firmware.rst b/Documenta= tion/staging-drivers/greybus-firmware.rst new file mode 100644 index 00000000000000..8e70942366f772 --- /dev/null +++ b/Documentation/staging-drivers/greybus-firmware.rst @@ -0,0 +1,12 @@ +.. SPDX-License-Identifier: GPL-2.0 + +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D +Greybus firmware management +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D + +Literal include of ``drivers/staging/greybus/Documentation/firmware/firmwa= re-management``. + +---- + +.. kernel-include:: drivers/staging/greybus/Documentation/firmware/firmwar= e-management + :literal: diff --git a/Documentation/staging-drivers/iio/index.rst b/Documentation/st= aging-drivers/iio/index.rst new file mode 100644 index 00000000000000..a6fccb8c8673d7 --- /dev/null +++ b/Documentation/staging-drivers/iio/index.rst @@ -0,0 +1,15 @@ +.. SPDX-License-Identifier: GPL-2.0 + +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D +Industrial I/O in Staging +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D + +.. note:: + + Refer to Documentation/iio/index.rst for IIO subsystem documentation in + the kernel proper. + +.. toctree:: + + inkernel + sysfs diff --git a/Documentation/staging-drivers/iio/inkernel.rst b/Documentation= /staging-drivers/iio/inkernel.rst new file mode 100644 index 00000000000000..0b7457bc4e4ad6 --- /dev/null +++ b/Documentation/staging-drivers/iio/inkernel.rst @@ -0,0 +1,12 @@ +.. SPDX-License-Identifier: GPL-2.0 + +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +Industrial I/O Subsystem in kernel consumers +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D + +Literal include of ``drivers/staging/iio/Documentation/inkernel.txt``. + +---- + +.. kernel-include:: drivers/staging/iio/Documentation/inkernel.txt + :literal: diff --git a/Documentation/staging-drivers/iio/sysfs.rst b/Documentation/st= aging-drivers/iio/sysfs.rst new file mode 100644 index 00000000000000..9a069f1c5e669a --- /dev/null +++ b/Documentation/staging-drivers/iio/sysfs.rst @@ -0,0 +1,19 @@ +.. SPDX-License-Identifer: GPL-2.0 + +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +IIO ABI symbols +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D + +Literal include of ``drivers/staging/iio/Documentation/sysfs-bus-iio-adc-a= d7280a``. + +---- + +.. kernel-include:: drivers/staging/iio/Documentation/sysfs-bus-iio-adc-ad= 7280a + :literal: + +---- + +Literal include of ``drivers/staging/iio/Documentation/sysfs-bus-iio-dds``. + +.. kernel-include:: drivers/staging/iio/Documentation/sysfs-bus-iio-dds + :literal: diff --git a/Documentation/staging-drivers/index.rst b/Documentation/stagin= g-drivers/index.rst new file mode 100644 index 00000000000000..7dfcf4ba32ec13 --- /dev/null +++ b/Documentation/staging-drivers/index.rst @@ -0,0 +1,13 @@ +.. SPDX-License-Identifier: GPL-2.0 + +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D +Staging Drivers Documentation +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D + +.. toctree:: + :maxdepth: 2 + + greybus-firmware + iio/index + atomisp-notes + most/index diff --git a/Documentation/staging-drivers/most/abi.rst b/Documentation/sta= ging-drivers/most/abi.rst new file mode 100644 index 00000000000000..13f14bcd9a1b7d --- /dev/null +++ b/Documentation/staging-drivers/most/abi.rst @@ -0,0 +1,12 @@ +.. SPDX-License-Identifier: GPL-2.0 + +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +MOST ABI Symbols +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D + +Literal include of ``drivers/staging/most/Documentation/ABI/sysfs-class-mo= st.txt``. + +---- + +.. kernel-include:: drivers/staging/most/Documentation/ABI/sysfs-class-mos= t.txt + :literal: diff --git a/Documentation/staging-drivers/most/driver_usage.rst b/Document= ation/staging-drivers/most/driver_usage.rst new file mode 100644 index 00000000000000..c22534b0e280a2 --- /dev/null +++ b/Documentation/staging-drivers/most/driver_usage.rst @@ -0,0 +1,12 @@ +.. SPDX-License-Identifier: GPL-2.0 + +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +MOST Driver Usage +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D + +Literal include of ``drivers/staging/most/Documentation/driver_usage.txt``. + +---- + +.. kernel-include:: drivers/staging/most/Documentation/driver_usage.txt + :literal: diff --git a/Documentation/staging-drivers/most/index.rst b/Documentation/s= taging-drivers/most/index.rst new file mode 100644 index 00000000000000..29ffb1e6c06166 --- /dev/null +++ b/Documentation/staging-drivers/most/index.rst @@ -0,0 +1,10 @@ +.. SPDX-License-Identifier: GPL-2.0 + +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +Media Oriented Systems Transport (MOST) +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D + +.. toctree:: + + driver_usage + abi diff --git a/Documentation/subsystem-apis.rst b/Documentation/subsystem-api= s.rst index ff4fe8c936c8ba..08fbf043f9f7e1 100644 --- a/Documentation/subsystem-apis.rst +++ b/Documentation/subsystem-apis.rst @@ -91,3 +91,4 @@ Other subsystems peci/index wmi/index tee/index + staging-drivers/index diff --git a/MAINTAINERS b/MAINTAINERS index 3da2c26a796b82..04dd4dd9ed9d22 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -24440,6 +24440,7 @@ L: linux-staging@lists.linux.dev S: Supported T: git git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git F: drivers/staging/ +F: Documentation/staging-drivers/ =20 STANDALONE CACHE CONTROLLER DRIVERS M: Conor Dooley base-commit: d68eb9096fb065cc0cb5218ae651f54b08de5831 --=20 An old man doll... just what I always wanted! - Clara