From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on archive.lwn.net X-Spam-Level: X-Spam-Status: No, score=-5.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=unavailable autolearn_force=no version=3.4.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by archive.lwn.net (Postfix) with ESMTP id A2BCC7D071 for ; Wed, 11 Jul 2018 14:45:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388451AbeGKOuN (ORCPT ); Wed, 11 Jul 2018 10:50:13 -0400 Received: from mail.bootlin.com ([62.4.15.54]:57037 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387979AbeGKOuN (ORCPT ); Wed, 11 Jul 2018 10:50:13 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id AE2D320775; Wed, 11 Jul 2018 16:45:30 +0200 (CEST) Received: from bbrezillon (AAubervilliers-681-1-12-56.w90-88.abo.wanadoo.fr [90.88.133.56]) by mail.bootlin.com (Postfix) with ESMTPSA id 0A8452073D; Wed, 11 Jul 2018 16:45:30 +0200 (CEST) Date: Wed, 11 Jul 2018 16:45:29 +0200 From: Boris Brezillon To: Arnd Bergmann Cc: Wolfram Sang , linux-i2c@vger.kernel.org, Jonathan Corbet , "open list:DOCUMENTATION" , Greg Kroah-Hartman , Przemyslaw Sroka , Arkadiusz Golec , Alan Douglas , Bartosz Folta , Damian Kos , Alicja Jurasik-Urbaniak , Cyprian Wronka , Suresh Punnoose , Rafal Ciepiela , Thomas Petazzoni , Nishanth Menon , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , DTML , Linux Kernel Mailing List , Vitor Soares , Geert Uytterhoeven , Linus Walleij , Xiang Lin , linux-gpio@vger.kernel.org, Sekhar Nori , Przemyslaw Gaj Subject: Re: [PATCH v5 04/10] dt-bindings: i3c: Document core bindings Message-ID: <20180711164529.3388d045@bbrezillon> In-Reply-To: References: <20180622104930.32050-1-boris.brezillon@bootlin.com> <20180622104930.32050-5-boris.brezillon@bootlin.com> X-Mailer: Claws Mail 3.15.0-dirty (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-doc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-doc@vger.kernel.org On Wed, 11 Jul 2018 16:10:10 +0200 Arnd Bergmann wrote: > On Fri, Jun 22, 2018 at 12:49 PM, Boris Brezillon > wrote: > > A new I3C subsystem has been added and a generic description has been > > created to represent the I3C bus and the devices connected on it. > > > > > +I2C devices > > +=========== > > + > > +Each I2C device connected to the bus should be described in a subnode. All > > +properties described in Documentation/devicetree/bindings/i2c/i2c.txt are > > +valid here, but several new properties have been added. > > + > > +New constraint on existing properties: > > +-------------------------------------- > ... > > + + third cell: should be 0 > > What for? Just to be future-proof, or do you have something specific > in mind here? Even if I2C devices only need 1 cell, I3C devices need 3 (1 for the static address and 2 for the PID). Since both type of devices are described under the same bus node, and we can have different #address-cells, I had to put 0-padding in the last cell. -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html