Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp5596132rwb; Tue, 9 Aug 2022 00:09:50 -0700 (PDT) X-Google-Smtp-Source: AA6agR4CtRI75NRFVeJrJKmcTmBymaQXG6nvZTj1E1+2bf/yTf9y12IJo+kI8v0+cOWmOQv+yR9h X-Received: by 2002:a05:6402:26cb:b0:43e:6fab:11c6 with SMTP id x11-20020a05640226cb00b0043e6fab11c6mr19939279edd.272.1660028990243; Tue, 09 Aug 2022 00:09:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660028990; cv=none; d=google.com; s=arc-20160816; b=ItEyp4DRH5OJYKB8CVOzwLnIudN51E8A544aUZl3WGdfreT8DKzC/q4WOsUdQBS5TS 0y77omrgiDvfbeSJya4LodvhUQkb5XzJ1BI68/9DweBGbz614D8QE5dvg0PzeI0oM1PX 1yRqaE2lzNBJ/oRGEbSdArgfc1949U5Zw7uIoJlAe0STI1OMmyIKjexdAZTYXritAlZ6 zqWNQz3AK7OEKjEe25XFOomahvF6Y40OBhLheeH0cwGq4lsBYG3sc4fTi41ohPNH5PAF qnXuW6SKin6veQHlI7AI2J73g4swXhHZueucZP61sSJn4UE/EzhK9/fdFOWznY7p5CfN GSYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature; bh=VMrcDXpBGGCK7mGn1amGX78TuOk24yeivWuXs5vVbIE=; b=bEm88kP8FDVkD4VeAxIcrfPVCPb6oVeL/E/aOUrsj2zTakvq/XhfUIO8FpDG9Hqp2O qYjTMU8CpbnsSDrXtddGAeO+dDndVWfAg8sJcOVlNxjbIvHjYxB34tVhNWjwfz1hN6Xd P/FbAxfdBnfJCFwwGbW3uf9hLaTALsLRfP8/79rI/jPAUAh2tMH+r+vp/4zyhaLWtqLh tKeHeb2P0N3Zb95VTluQVlIkB340DIVXgKsrFNmeQR0mp3PdxWy0Qm23x1aiUpBPvNDp gjoruYnAKpNzJCym6ZxvsCaBdP7Vs+wqdHW3Uh33F5Gxtiwjtb00xYspraeiYqj3KEVE IThw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=d7bO5BfD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dc24-20020a170906c7d800b007308550af97si1226442ejb.735.2022.08.09.00.09.24; Tue, 09 Aug 2022 00:09:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=d7bO5BfD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234661AbiHIHG5 (ORCPT + 99 others); Tue, 9 Aug 2022 03:06:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37042 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235273AbiHIHGs (ORCPT ); Tue, 9 Aug 2022 03:06:48 -0400 Received: from relay11.mail.gandi.net (relay11.mail.gandi.net [IPv6:2001:4b98:dc4:8::231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C2006331; Tue, 9 Aug 2022 00:06:46 -0700 (PDT) Received: from booty (unknown [77.244.183.192]) (Authenticated sender: luca.ceresoli@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 8CB1D100002; Tue, 9 Aug 2022 07:06:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1660028805; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=VMrcDXpBGGCK7mGn1amGX78TuOk24yeivWuXs5vVbIE=; b=d7bO5BfDJkDfKZCNkTAp2X/lAaQtj1R+x58CcEl0OwF/PPnd/uK0TqmFhVZa6K78DZVSKU t460/eJg025bX3YHxKO+0QavfqjL/X5+cQglBKYYZYQUqMN1gSqmYa5BuV780FwzAfFiDk YgC5E0LNFj06qtxUzm24+SzFbDPPzJguBunFQG0nNnAdZkxU0Wae6fnNqPztZsw8zFXqcQ Q3syLuHqGZw/mIAkaafV/uCwJAPEIUn0qT+FF3uj1wuD8f/IhaYs9ZkML7HIplq9mXov9P 5KR68iJnkUFeLeYm+cljjoE+RL8ouapB9c+07+YglvkNCEj9k8AegmppJ2EfNQ== Date: Tue, 9 Aug 2022 09:06:42 +0200 From: Luca Ceresoli To: Bagas Sanjaya Cc: linux-doc@vger.kernel.org, linux-i2c@vger.kernel.org, Wolfram Sang , Peter Rosin , linux-kernel@vger.kernel.org Subject: Re: [PATCH 7/9] docs: i2c: i2c-topology: reorder sections more logically Message-ID: <20220809090642.7bd2624e@booty> In-Reply-To: <3971c298-9c9a-83a1-8dc7-5d59dd0e1a05@gmail.com> References: <20220808141708.1021103-1-luca.ceresoli@bootlin.com> <20220808141708.1021103-8-luca.ceresoli@bootlin.com> <3971c298-9c9a-83a1-8dc7-5d59dd0e1a05@gmail.com> Organization: Bootlin X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Bagas, thanks for the prompt review! On Tue, 9 Aug 2022 09:08:03 +0700 Bagas Sanjaya wrote: > On 8/8/22 21:17, luca.ceresoli@bootlin.com wrote: > > +Mux-locked caveats > > +~~~~~~~~~~~~~~~~~~ > > + > > +When using a mux-locked mux, be aware of the following restrictions: > > + > > +* If you build a topology with a mux-locked mux being the parent > > + of a parent-locked mux, this might break the expectation from the > > + parent-locked mux that the root adapter is locked during the > > + transaction. > > + > > +* It is not safe to build arbitrary topologies with two (or more) > > + mux-locked muxes that are not siblings, when there are address > > + collisions between the devices on the child adapters of these > > + non-sibling muxes. > > + > > + I.e. the select-transfer-deselect transaction targeting e.g. device > > + address 0x42 behind mux-one may be interleaved with a similar > > + operation targeting device address 0x42 behind mux-two. The > > + intension with such a topology would in this hypothetical example > > + be that mux-one and mux-two should not be selected simultaneously, > > + but mux-locked muxes do not guarantee that in all topologies. > > + > > These two sentences in n. 2) can be combined into a single paragraph. > Also, did you mean s/intension/intention/? This patch does nothing but reformatting the current text. Definitely "intension" is a mistake that I didn't spot, I'm adding a patch to fix that. About the paragraph split, I have no strong opinion but I'm feeling OK with the current layout. It splits the generic statement from the example and IMHO helps readability. Feel free to send a patch to change that though, if you think it is useful. -- Luca Ceresoli, Bootlin Embedded Linux and Kernel engineering https://bootlin.com