Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp1231345ybg; Fri, 18 Oct 2019 14:14:19 -0700 (PDT) X-Google-Smtp-Source: APXvYqwkohxBCCdLYBMmmLP7qX3g1//hb+uj/2Fmnu9jySWUk0cyeXuTiuzaiRucXL9iVcFI5kYH X-Received: by 2002:a05:6402:b16:: with SMTP id bm22mr12136535edb.160.1571433259479; Fri, 18 Oct 2019 14:14:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571433259; cv=none; d=google.com; s=arc-20160816; b=KpWVerzptZVnCGzRImYzPyB2ghci+4srFatnbmS52lVxloGg6fMLq1XX+qbXKxxpQj 5m6Vu74SCL2m8OWflmtkfEhdFhDkcFWAI4fv5ltCzxD43o62Mjj16ySpdbviA7r4WU67 AKYm535XoKgCXGdQGmTDBsQ+ofwAp6o9ctmhPqx/zAh6GZEjCRCRO6Nb6NXt2pz1PCMP Gm9E2YKQWODO3eQIst05l8J33c6E/MOJKx9Ozz+naOXu1rnnoMw9EGPlTjjPUQof/ed+ Zl3wfHu/YY2ePon2oj8H8qv3qgHVoyoGziODK7RtZnbqIMfUqbHxY3CoLjBJc+WLVWAu POUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=8t2kXj61DrmXjwXVtrw6bkdGnrevKFhewHBBKDzn1kA=; b=F0rRmq42zUc6v0RIo2qTlqRPHutUn8sL56qKwYVJyFFlWJtZcp+5h3fJlQlFT3zyL2 lO0LrCZpQwOZjNGwkGPgjGeU8zJJvDDbcmS/V7OYYfkWPZNjez0Zi+1RXCq1U4SZWzai XUexLmIoRdC/uIKbuJHMCsrgDsG3a+B1+pBdhvvH40kxPZkLUv/wY+vgm73F++ZbUtPe Y+CWIGtbU+p/zybg9TtpoB2sYLuiOHVAraew7oGDcMayYX7VIAnY1ngGEf2j4kQTsP7B 3GJdL1y3EEBVD+PL5eoZa5bcr5uez3NmryfhHv2YQuXLd4ZvcRFfnxphrs6Y3mtKcJ6g 84nQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=za4tq5vx; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v12si4844932edf.212.2019.10.18.14.13.55; Fri, 18 Oct 2019 14:14:19 -0700 (PDT) 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; dkim=pass header.i=@kernel.org header.s=default header.b=za4tq5vx; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2502133AbfJQQqD (ORCPT + 99 others); Thu, 17 Oct 2019 12:46:03 -0400 Received: from mail.kernel.org ([198.145.29.99]:33046 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390763AbfJQQqD (ORCPT ); Thu, 17 Oct 2019 12:46:03 -0400 Received: from mail-qt1-f170.google.com (mail-qt1-f170.google.com [209.85.160.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 31D8C21848; Thu, 17 Oct 2019 16:46:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1571330762; bh=ST385NSYuwXC3f6iHRWFfEjB9cPothZhVKZ/sW1hOw8=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=za4tq5vxbNcSvvLnkN6A9TiO1Idkq04/ElICw324HADDcbqcrZtHySN/UFkGpqzvW 5SPz+zqRqt3aBCThINGWrnWstht1//SGm9z4eOMyfns6G03+y9OZvvFhne1HgJfgFe LEDiVOWasXy37i0RToY6/Nr5ZfRTrXe0sEYHiaRk= Received: by mail-qt1-f170.google.com with SMTP id m61so4531685qte.7; Thu, 17 Oct 2019 09:46:02 -0700 (PDT) X-Gm-Message-State: APjAAAWGsu9DQAHHBggPKhAYq9vG/0ncSmEDj5GLkws++eBUb5vnypRg hJmZiLFN8GtnYkqjZwm1wa6P//ONZSbC72UsbQ== X-Received: by 2002:ac8:44d9:: with SMTP id b25mr5010364qto.300.1571330761301; Thu, 17 Oct 2019 09:46:01 -0700 (PDT) MIME-Version: 1.0 References: <20191016040920.8511-1-biwen.li@nxp.com> In-Reply-To: From: Rob Herring Date: Thu, 17 Oct 2019 11:45:49 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [v3,1/2] dt-bindings: i2c: support property idle-state To: Peter Rosin Cc: Biwen Li , "leoyang.li@nxp.com" , "mark.rutland@arm.com" , "linux-i2c@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "devicetree@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 17, 2019 at 10:38 AM Peter Rosin wrote: > > On 2019-10-16 06:09, Biwen Li wrote: > > This supports property idle-state > > > > Signed-off-by: Biwen Li > > --- > > Change in v3: > > - update subject and description > > - add some information for property idle-state > > > > Change in v2: > > - update subject and description > > - add property idle-state > > > > Documentation/devicetree/bindings/i2c/i2c-mux-pca954x.txt | 2 ++ > > 1 file changed, 2 insertions(+) > > > > diff --git a/Documentation/devicetree/bindings/i2c/i2c-mux-pca954x.txt b/Documentation/devicetree/bindings/i2c/i2c-mux-pca954x.txt > > index 30ac6a60f041..7abda506b828 100644 > > --- a/Documentation/devicetree/bindings/i2c/i2c-mux-pca954x.txt > > +++ b/Documentation/devicetree/bindings/i2c/i2c-mux-pca954x.txt > > @@ -25,6 +25,8 @@ Required Properties: > > Optional Properties: > > > > - reset-gpios: Reference to the GPIO connected to the reset input. > > + - idle-state: if present, overrides i2c-mux-idle-disconnect, > > + Please refer to Documentation/devicetree/bindings/mux/mux-controller.txt > > - i2c-mux-idle-disconnect: Boolean; if defined, forces mux to disconnect all > > children in idle state. This is necessary for example, if there are several > > multiplexers on the bus and the devices behind them use same I2C addresses. > > > > Rob, should i2c-mux-idle-disconnect perhaps be deprecated here? Is that > appropriate? > > idle-state provides a super-set of what i2c-mux-idle-disconnect provides. Yes, seems like it and it is not too widely used. Rob