Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp713258ybl; Wed, 29 Jan 2020 08:24:24 -0800 (PST) X-Google-Smtp-Source: APXvYqwrFYWvW6Kh6N03xm5VPN+BH/sUu8bl8CM3Y4MWxv1ywqreP6vH5WgOd/G5RGtDkhtpKZuz X-Received: by 2002:a54:4816:: with SMTP id j22mr6951088oij.179.1580315064698; Wed, 29 Jan 2020 08:24:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580315064; cv=none; d=google.com; s=arc-20160816; b=qFpTgmEAJ3yfKS5e0JzzSGr2XObhEbNFY4fUvxqKlHLjeGEsVHXJ2RZgqZ+FTmerBx 97yLDZNU1wUh/7QMv9Vs2lOXNhQyjHHSj1c67BbjKOA05YsR1W8sHQIRjGcy+hWybEfv H2w7TqFasooBghYPWtuRUHADW5j3IEnisEVuqvtzGIhLKzNy5eSSEXbfQZMJfxV7gIT3 PvQoqFg+s7Fa/z0K6km6Nj+d2T4tbRPMnf04v1vP/lwkD09BpKZr7ed2sNekWP8OTW5x j4Pp9VuTsKB25jfPuaRyvfbwNA78+yJFjK9rIU+HJQfsOtK2dfmlejSoIBGxshIScn2S aOhQ== 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=JJfHcWSezLPhbn5WrutU4h2sA6QphF3Hgr8QYfpHiBg=; b=Mvgs82ZS4wiqA2/cxIsj3ko5zPnJKfM2sH2WNK0DC16LY/xKCq6NME6dh6BPF8GtAc 0sgvis2h5zDeNWkuvJu4hEgEdDAZQYG02p7eY2HosYDXUXNHurklb5sgFqqCgxiEl6y8 KAa7Rzw9KZUNUquZJA/V1O/qj/xREYoBtLmgZzu4v9ZpbBr/U4HHeP/uhF6Gs2ajzCcw su35VJ9nuHLRmaWYTcNwpXzGpQIGwCAeAnccHgio09qeeVkkuhpuTnervADY+twF0yvg 92yOsAAoA/W9TViUC+tWae28b0DyNdEO3sXiZa1jReVsv4sZ6faZxkJIhva7AuXv23GU LutA== 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 e26si1240777otp.140.2020.01.29.08.24.12; Wed, 29 Jan 2020 08:24:24 -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 S1727256AbgA2QXE (ORCPT + 99 others); Wed, 29 Jan 2020 11:23:04 -0500 Received: from hostingweb31-40.netsons.net ([89.40.174.40]:60576 "EHLO hostingweb31-40.netsons.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727189AbgA2QW4 (ORCPT ); Wed, 29 Jan 2020 11:22:56 -0500 Received: from [109.168.11.45] (port=34038 helo=pc-ceresoli.dev.aim) by hostingweb31.netsons.net with esmtpa (Exim 4.92) (envelope-from ) id 1iwq7B-005NDl-1m; Wed, 29 Jan 2020 17:22:53 +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 v3 26/28] docs: i2c: rename sections so the overall picture is clearer Date: Wed, 29 Jan 2020 16:19:51 +0100 Message-Id: <20200129151953.31582-27-luca@lucaceresoli.net> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200129151953.31582-1-luca@lucaceresoli.net> References: <20200129151953.31582-1-luca@lucaceresoli.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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 Some of the section names are not very clear. Reading those names in the index.rst page does not help much in grasping what the content is supposed to be. Rename those sections to clarify their content, especially when reading the index page. Signed-off-by: Luca Ceresoli Acked-by: Peter Rosin Reviewed-by: Jean Delvare --- Note: here checkpatch complains: WARNING: Missing or malformed SPDX-License-Identifier tag in line 1 Thas's because those files have no license line. I would gladly add a proper license line, but what it the correct license here? Should I ask the authors? GPLv2-only as the kernel default? I'd appreciate a guidance here, thanks in advance. --- Changes in v2: - summary.rst: "Introductions" -> "Introduction" (suggested by Jean Delvare) --- Documentation/i2c/dev-interface.rst | 6 +++--- Documentation/i2c/i2c-protocol.rst | 6 +++--- Documentation/i2c/i2c-topology.rst | 6 +++--- Documentation/i2c/old-module-parameters.rst | 6 +++--- Documentation/i2c/smbus-protocol.rst | 6 +++--- Documentation/i2c/summary.rst | 6 +++--- Documentation/i2c/writing-clients.rst | 6 +++--- 7 files changed, 21 insertions(+), 21 deletions(-) diff --git a/Documentation/i2c/dev-interface.rst b/Documentation/i2c/dev-interface.rst index c3717a87df12..bdb247f2f11a 100644 --- a/Documentation/i2c/dev-interface.rst +++ b/Documentation/i2c/dev-interface.rst @@ -1,6 +1,6 @@ -==================== -I2C Device Interface -==================== +============================================ +Implementing I2C device drivers in userspace +============================================ Usually, I2C devices are controlled by a kernel driver. But it is also possible to access all devices on an adapter from userspace, through diff --git a/Documentation/i2c/i2c-protocol.rst b/Documentation/i2c/i2c-protocol.rst index 9a4ac944cf9d..6aafc3880bce 100644 --- a/Documentation/i2c/i2c-protocol.rst +++ b/Documentation/i2c/i2c-protocol.rst @@ -1,6 +1,6 @@ -============ -I2C Protocol -============ +================ +The I2C Protocol +================ This document describes the I2C protocol. Or will, when it is finished :-) diff --git a/Documentation/i2c/i2c-topology.rst b/Documentation/i2c/i2c-topology.rst index 2a18b53e3508..7cb53819778e 100644 --- a/Documentation/i2c/i2c-topology.rst +++ b/Documentation/i2c/i2c-topology.rst @@ -1,6 +1,6 @@ -============ -I2C topology -============ +================================ +I2C muxes and complex topologies +================================ There are a couple of reasons for building more complex I2C topologies than a straight-forward I2C bus with one adapter and one or more devices. diff --git a/Documentation/i2c/old-module-parameters.rst b/Documentation/i2c/old-module-parameters.rst index 3b93cb88eebc..38e55829dee8 100644 --- a/Documentation/i2c/old-module-parameters.rst +++ b/Documentation/i2c/old-module-parameters.rst @@ -1,6 +1,6 @@ -================================================= -I2C device driver binding control from user-space -================================================= +================================================================ +I2C device driver binding control from user-space in old kernels +================================================================ .. NOTE:: Note: this section is only relevant if you are handling some old code diff --git a/Documentation/i2c/smbus-protocol.rst b/Documentation/i2c/smbus-protocol.rst index 0edaf6069ac1..c122ed239f7f 100644 --- a/Documentation/i2c/smbus-protocol.rst +++ b/Documentation/i2c/smbus-protocol.rst @@ -1,6 +1,6 @@ -====================== -SMBus Protocol Summary -====================== +================== +The SMBus Protocol +================== The following is a summary of the SMBus protocol. It applies to all revisions of the protocol (1.0, 1.1, and 2.0). diff --git a/Documentation/i2c/summary.rst b/Documentation/i2c/summary.rst index 09f73a608e25..ce7230025b33 100644 --- a/Documentation/i2c/summary.rst +++ b/Documentation/i2c/summary.rst @@ -1,6 +1,6 @@ -============= -I2C and SMBus -============= +============================= +Introduction to I2C and SMBus +============================= I²C (pronounce: I squared C and written I2C in the kernel documentation) is a protocol developed by Philips. It is a slow two-wire protocol (variable diff --git a/Documentation/i2c/writing-clients.rst b/Documentation/i2c/writing-clients.rst index 44d97b2c9a82..82aa33c964d3 100644 --- a/Documentation/i2c/writing-clients.rst +++ b/Documentation/i2c/writing-clients.rst @@ -1,6 +1,6 @@ -=================== -Writing I2C Clients -=================== +=============================== +Implementing I2C device drivers +=============================== This is a small guide for those who want to write kernel drivers for I2C or SMBus devices, using Linux as the protocol host/master (not slave). -- 2.25.0