Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp1007403rdh; Fri, 27 Oct 2023 01:49:28 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFMg0x5Yg0bCB7wxhD2PzqEqKoVRRg+aWcbJ3BGHf1zkVvHSsH0CG2xy5mY/M42QEg5j+Q2 X-Received: by 2002:a1f:a8c1:0:b0:49d:c216:873d with SMTP id r184-20020a1fa8c1000000b0049dc216873dmr2315556vke.8.1698396567982; Fri, 27 Oct 2023 01:49:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698396567; cv=none; d=google.com; s=arc-20160816; b=Jqizme0uNcqjDUtjXO5pfAu7UdghXcV7LHVt/bzRczWhw8YkgntCmREziMZ+wXJI6/ 6gGjPfaVnJ0AeNrTSelh/NC/n6NJ1H+XHJF7xofxFs7FxdwB6xBvHHw6UQUyshy5hEgi 1IgxTd7tDLUzvdMojRrPEkXtQWHlV4sfMsLCqG5PVkbz5DaGwlrpulIuRk4+gipsmwTd rRlfmfv8fSRX5tUSba+L3Wl0xuX+rm0nuoaQ1F99csGODySvC9eClLyjB+rl53isDRAv 47o0EOARtpGHCsTXGYJBCdmkonI9EuEd+2HtMdaasaPrQW84qmV/lIeCTPZdcjroLV/A 4cTA== 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:dkim-signature; bh=xlm+CPW9YN0OSE6SUHoG76aLS9rdio5zsgODefOoJQY=; fh=joAbCF6BHnuBGmcA+3jsnaZfLyEaPwE2vHyfU7t1woc=; b=fdmS2mBGgABBtjXaD8Ogcltv8wpvbmFiwVk8eIMTw6ykc82ZXWD3RpXwb2R+U0KFEi BI6E7esp4UJsVRDbNdc3Aos+taQMiP2/eqj/bJxW0Lw97hzb75AARSo/HDW2JT5Az2TC GI4NAw25YCOVID2rjC0WhVJC+MS3ISezSQKX8IABhAU+WzRLyV58bPaj6NLfLo9H8+j5 bFLut8GDVd/or3rp8dU/Mv9MLCailos5Hq1zCk0icQefCDI0/p8GO4Qey2kcvnuXxdCi 1iwdTXwXPM1MaZ54Mlxj9kNd3Syp6eZzEsrPvn7UqLEkVw03RsJYqq/Emb0TeT4jsoG6 PCdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Cw6P7ESB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id r7-20020a815d07000000b005a88ced3f68si1750242ywb.461.2023.10.27.01.49.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Oct 2023 01:49:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Cw6P7ESB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 2B158833E954; Fri, 27 Oct 2023 01:49:25 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234963AbjJ0Isn (ORCPT + 99 others); Fri, 27 Oct 2023 04:48:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44938 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345553AbjJ0Ism (ORCPT ); Fri, 27 Oct 2023 04:48:42 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3B6AF1B1; Fri, 27 Oct 2023 01:48:40 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AF81CC433C8; Fri, 27 Oct 2023 08:48:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1698396519; bh=4gPPdGhCdto05ss4qpu9JQl8aMvFhWkapoLbjn9yjFM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Cw6P7ESBsWvrI2g6iDkWkkzYUNZPgbq5ZxX8nw8f6MSZwR3BYvQNsU9BH9s4vplDc BUyx2GM1yP+dkttjCo+3GyT2FEaOu1l4LAPHCM90jAlcpJmQSBXomYMA79V+IK5cCK hwdpMkDbzpuzhLW/qcHjyX+7sh7gdwDFbnOAPN+2o+K02FLVCpSDklX6dZWrVA0h2x grMEVhFRBva0GkpNUAwuMSjJiGG7RHFqfA0EHTNhwGdwWz5u6Cw1EFgHx2HmUgEuel oUrJ5BVd+JOkOWjuUZGheIQVCdBsxTL1G0gv9k/d7UlQU73cBENmAneh9q/q8n/TS0 Rn8O2iqGh3duA== Date: Fri, 27 Oct 2023 10:48:35 +0200 From: Andi Shyti To: Chris Packham Cc: gregory.clement@bootlin.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v5 2/2] i2c: mv64xxx: add an optional bus-reset-gpios property Message-ID: <20231027084835.yjfphaecm6h4kore@zenone.zhora.eu> References: <20231027033104.1348921-1-chris.packham@alliedtelesis.co.nz> <20231027033104.1348921-3-chris.packham@alliedtelesis.co.nz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231027033104.1348921-3-chris.packham@alliedtelesis.co.nz> X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Fri, 27 Oct 2023 01:49:25 -0700 (PDT) Hi Chris, On Fri, Oct 27, 2023 at 04:31:04PM +1300, Chris Packham wrote: > Some hardware designs have a GPIO used to control the reset of all the > devices on and I2C bus. It's not possible for every child node to > declare a reset-gpios property as only the first device probed would be > able to successfully request it (the others will get -EBUSY). Represent > this kind of hardware design by associating the bus-reset-gpios with the > parent I2C bus. The reset line will be released prior to the child I2C > devices being probed. > > Signed-off-by: Chris Packham > --- > > Notes: > Changes in v5: > - Rename reset-gpios and reset-duration-us to bus-reset-gpios and > bus-reset-duration-us as requested by Wolfram for such change you could have kept my r-b: Reviewed-by: Andi Shyti Andi