Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp675584ybl; Thu, 23 Jan 2020 05:52:41 -0800 (PST) X-Google-Smtp-Source: APXvYqyVCvyiaKoN06U7OkGTONTn1mCfRu0ri/0qXPee1G9O2Ynm2MYsGoxuAHc+yz266+6NYLVA X-Received: by 2002:aca:7244:: with SMTP id p65mr10200534oic.50.1579787561260; Thu, 23 Jan 2020 05:52:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579787561; cv=none; d=google.com; s=arc-20160816; b=Xlbyw01FHLRoemJlki8lqWqgW51sF6ydaEXmUqdz5IqKKS32TzD8exYR/TUtcolDIK OHRxYs5tFtBPU1kiQRD/vXUx0wZA9PtJIC36rRsQUiZi/dG6LHsFEZGjJY4ooJGYWJOV U1f3nPX809kozJaARkaV96EXaJfYRKRf4q+xRTQR+BWnowN1RV0FLXTzpIfslhEFZ4l7 VCD0N8STjTqhR2R2/PYG2f/99VrMbomREFxNZ6DO4dPm+4yFy1GCXxutzlfclD9jwf8h s8cnl+jLmBZFmJWHDbUONqsuKcPiS/E8CvghiFp0aAJH8IDXE8yn5htdrIdPlIqUPlzc sIdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=X3t2i0FPkYiWLco+1qDu3ou0ELBar3z5PqCXUqW4QAw=; b=zTmx+1RQWZiIN+qoh7TJuJzfEWdI/JiYDkm6sVi1MWM3VlZVcOPOKJx+gC/mdoPnYd nEEGEftEQQm493oGFgpR3KQQYTJt27H9ClnLTM8sE1BOedPlrR9kv6c/ttZdA+uORVoZ 5x40HvUqn9khxb9p9/wCC6krJonJiz1yWFuNEC+zKBwQgIURC9wMGDOqc+Kr6UFAUtrT LlFaJjNRNiPmSrYEN/t54FrlninWiwzLVCMthrs7TQTwyB8s2W5aeDK/7Zg94HI6LHOS LKUmKh7KUlGBHEnxIeViPGbWBHm37w+NpwQN6rOR9bO84QbNJCVPkvNlQpjydIr6RBs5 CGFA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v10si1049287ote.97.2020.01.23.05.52.29; Thu, 23 Jan 2020 05:52:41 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728927AbgAWNva (ORCPT + 99 others); Thu, 23 Jan 2020 08:51:30 -0500 Received: from hostingweb31-40.netsons.net ([89.40.174.40]:43082 "EHLO hostingweb31-40.netsons.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726771AbgAWNva (ORCPT ); Thu, 23 Jan 2020 08:51:30 -0500 Received: from [109.168.11.45] (port=47192 helo=pc-ceresoli.dev.aim) by hostingweb31.netsons.net with esmtpa (Exim 4.92) (envelope-from ) id 1iuctL-000CNg-Of; Thu, 23 Jan 2020 14:51:27 +0100 From: Luca Ceresoli To: linux-i2c@vger.kernel.org, linux-doc@vger.kernel.org Cc: Luca Ceresoli , Wolfram Sang , Jean Delvare , Peter Rosin , linux-kernel@vger.kernel.org Subject: [PATCH v2 01/28] docs: i2c: sort index logically Date: Thu, 23 Jan 2020 14:50:36 +0100 Message-Id: <20200123135103.20540-2-luca@lucaceresoli.net> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200123135103.20540-1-luca@lucaceresoli.net> References: <20200123135103.20540-1-luca@lucaceresoli.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - hostingweb31.netsons.net X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - lucaceresoli.net X-Get-Message-Sender-Via: hostingweb31.netsons.net: authenticated_id: luca+lucaceresoli.net/only user confirmed/virtual account not confirmed X-Authenticated-Sender: hostingweb31.netsons.net: luca@lucaceresoli.net X-Source: X-Source-Args: X-Source-Dir: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The index page currently lists sections in alphabetical file order without caring about their content. Sort sections based on their content logically, according to the following structure: * Intro to I2C/SMBus and their usage in Linux: summary, i2c-protocol, smbus-protocol, instantiating-devices, busses/index, i2c-topology, muxes/i2c-mux-gpio * Implementing drivers: writing-clients, dev-interface, dma-considerations, fault-codes, functionality * Debugging: gpio-fault-injection, i2c-stub * Slave I2C: slave-interface, slave-eeprom-backend * Advanced: ten-bit-addresses * Obsolete info: upgrading-clients, old-module-parameters Signed-off-by: Luca Ceresoli Reviewed-by: Jean Delvare --- Changes in v2: - split sections in groups (suggested by Jean Delvare) - remove consecutive blank lines (reported by Jean Delvare) --- Documentation/i2c/index.rst | 59 ++++++++++++++++++++++++++++++------- 1 file changed, 48 insertions(+), 11 deletions(-) diff --git a/Documentation/i2c/index.rst b/Documentation/i2c/index.rst index a0fbaf6d0675..f0f3b9c97abb 100644 --- a/Documentation/i2c/index.rst +++ b/Documentation/i2c/index.rst @@ -4,30 +4,67 @@ I2C/SMBus Subsystem =================== +Introduction +============ + +.. toctree:: + :maxdepth: 1 + + summary + i2c-protocol + smbus-protocol + instantiating-devices + busses/index + i2c-topology + muxes/i2c-mux-gpio + + +Writing device drivers +====================== + .. toctree:: :maxdepth: 1 + writing-clients dev-interface dma-considerations fault-codes functionality + +Debugging +========= + +.. toctree:: + :maxdepth: 1 + gpio-fault-injection - i2c-protocol i2c-stub - i2c-topology - instantiating-devices - old-module-parameters - slave-eeprom-backend + +Slave I2C +========= + +.. toctree:: + :maxdepth: 1 + slave-interface - smbus-protocol - summary + slave-eeprom-backend + +Advanced topics +=============== + +.. toctree:: + :maxdepth: 1 + ten-bit-addresses - upgrading-clients - writing-clients - muxes/i2c-mux-gpio +Legacy documentation +==================== - busses/index +.. toctree:: + :maxdepth: 1 + + upgrading-clients + old-module-parameters .. only:: subproject and html -- 2.25.0