Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp294738pxb; Wed, 27 Oct 2021 03:16:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzN/LnGVKMDNiE94xdjXbBc6GHvzuAweN4DbpBsDY6Ds/vJRGhvG2myoCYNhuSzsx/kLxyu X-Received: by 2002:a05:6402:26c5:: with SMTP id x5mr43304593edd.297.1635329794248; Wed, 27 Oct 2021 03:16:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635329794; cv=none; d=google.com; s=arc-20160816; b=PixmySWUiNXMAjqf8g9y4pgodm8sFn8sb+o5WsVOLYbtbkhjUZg6ndFw98ydjgZXOq eBXEgi3f86nK3OignEtpWz12MXTokrw5MpRLpYAiqRkodSHMTcRscs+PE6o6VLkxXb/X pV+SQopfyHDccAHqqWkQr+6UkQlJfuBBvNjfU5t/Guqq46qBRYBBTd0fYo/3XG4NsDnd KfvNCyqFPhiW3VZsOitJM5b0eqU9QuFXvAL/TR4nhYS51SOpVBwDnLJxMSjp7UgxzsCC 4h3lY7TfZjTryWkTa70InRDwq5ESPmpbPjwaHIIJPJhLsA0RQMS0DKE6jsXqFV+SrD25 TXqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=OmISPFoW2kKwNI1TC2eM1qAir9vtpVAUyXH+lQynzN4=; b=BSxo5yZWDBDaahSP/Gl4XH3LcW2660Vh6NSRKoWHp6DBPLJtJzBEDdLIqABrKtGbvu 2KZVQJ3hN0tw3/tzSAgCAy5CnjvXrNvDTf1dBSV5w3DzL+1DTiS6b+U2MtHrS9e9eFet 3qsN4C/Mwj5iM6TFlguiEuh2CTHTXCSmPJPB1/3fgk0RPiA/VgDYGJaeUDCH4zQHKQf8 lN4eYI5uEiYDvXIgf1q5po8Dc31oWGNIjEGHDJY30nJ/wT8r2ZQhpBt/22JhFNnNT1DN pPUpRmp/5FydyM894lHRSgmRRep2t6wH5nqp/AakTF7oquXDTQ1mvsfHun2j+MziPWWX JrwQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id m3si13112498edc.9.2021.10.27.03.16.10; Wed, 27 Oct 2021 03:16:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S239166AbhJZUbg (ORCPT + 99 others); Tue, 26 Oct 2021 16:31:36 -0400 Received: from mail-ot1-f48.google.com ([209.85.210.48]:35525 "EHLO mail-ot1-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231545AbhJZUbc (ORCPT ); Tue, 26 Oct 2021 16:31:32 -0400 Received: by mail-ot1-f48.google.com with SMTP id w12-20020a056830410c00b0054e7ceecd88so444563ott.2; Tue, 26 Oct 2021 13:29:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=OmISPFoW2kKwNI1TC2eM1qAir9vtpVAUyXH+lQynzN4=; b=EK11dpG1B9UyzyutHU8b0sq3/FJPD8F2zvUWEx/AlsJLZRo7Ew5lYUjt6sEQ9Ece7l ek1IiXhw/nxJ8ucjPRP78BEpFcFYUW+WrpsRD3NubnQB1cyBF41UuQjoe2l5iqhaRl3P zJa+DVifjiMXbHsrq7eqW/ESK43vH0ck5K6uIdZNmBFSaoxTugFf6jVO8WfUPkdGZ9td IAqppJ4T+v8AJcuAMAEEC9V4ivmcmLpkQQG53+kf31pxGjRCBEPmxgVbUW4J800YhqdP mR0LkPPiys3C4Su6efsK44JD4wvSHA9iecQPeL8kgdKcuUM544mSzCfnQ3SrU0P6q47J fNiA== X-Gm-Message-State: AOAM533PKXtO9FgE+ImtGYKg/P3sHULOMXnw5MuRnQrai+aC8mqIu+3y 9gCbz06ttYZPfgNRXbtnmfwx7fbEfQ== X-Received: by 2002:a9d:bab:: with SMTP id 40mr22055684oth.274.1635280147490; Tue, 26 Oct 2021 13:29:07 -0700 (PDT) Received: from robh.at.kernel.org (66-90-148-213.dyn.grandenetworks.net. [66.90.148.213]) by smtp.gmail.com with ESMTPSA id l1sm5041092oic.30.2021.10.26.13.29.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Oct 2021 13:29:05 -0700 (PDT) Received: (nullmailer pid 3187225 invoked by uid 1000); Tue, 26 Oct 2021 20:29:05 -0000 Date: Tue, 26 Oct 2021 15:29:05 -0500 From: Rob Herring To: Horatiu Vultur Cc: peda@axentia.se, peter.korsgaard@barco.com, lars.povlsen@microchip.com, linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] dt-bindings: i2c-mux-gpio: Add optional DT property Message-ID: References: <20211013141003.2388495-1-horatiu.vultur@microchip.com> <20211013141003.2388495-2-horatiu.vultur@microchip.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211013141003.2388495-2-horatiu.vultur@microchip.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 13, 2021 at 04:10:02PM +0200, Horatiu Vultur wrote: > Add optional property 'select-delay' DT property. In case this is set > then a delay is added when changing mux state. The value is specified in > usec. > > Signed-off-by: Horatiu Vultur > --- > Documentation/devicetree/bindings/i2c/i2c-mux-gpio.txt | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/Documentation/devicetree/bindings/i2c/i2c-mux-gpio.txt b/Documentation/devicetree/bindings/i2c/i2c-mux-gpio.txt > index d4cf10582a26..d0dacbad491a 100644 > --- a/Documentation/devicetree/bindings/i2c/i2c-mux-gpio.txt > +++ b/Documentation/devicetree/bindings/i2c/i2c-mux-gpio.txt > @@ -28,6 +28,7 @@ Required properties: > Optional properties: > - idle-state: value to set the muxer to when idle. When no value is > given, it defaults to the last value used. > +- select-delay: GPIO settle delay when changing mux state. In usec. Seems generally useful. Can we add this first to the mux control binding, then use it here (or better yet, use the mux binding if you can instead). Also, properties with units need a standard unit suffix. > > For each i2c child node, an I2C child bus will be created. They will > be numbered based on their order in the device tree. > -- > 2.33.0 > >