Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp2211782rda; Tue, 24 Oct 2023 16:30:51 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEg44eN/js9qyUa+/YUP9H2yE7WViWIuILgNreGTBNshoQliF3clgxxIPXGtSQmvZZVi09H X-Received: by 2002:a17:902:e48b:b0:1c9:d667:4e77 with SMTP id i11-20020a170902e48b00b001c9d6674e77mr10258200ple.65.1698190251191; Tue, 24 Oct 2023 16:30:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698190251; cv=none; d=google.com; s=arc-20160816; b=U0dD+VxAaCvQ8k2GJCVG87obOkxOTbxBhMceCUwz1jZJEfSdLu+fSysVAifwnOcFLE 4fQlhhRbQchOFSnV/FnMxPQ3vIeDlY86EHN2f1jQOVfx0kb+vZoeY49o204rGfPcYz0r 4ujSrzDFO4hsxW9EJdhhJA0ZC1+b64qqB2p+O3iB7zUmhK6dS/JbWVmzEWnOEwL16Ph8 v2dGTD3yQxw6d5PjGkJION7RgGh45XMtsGR2wOhx+xBo+jWSsPpXi4DgvlPXFybU4l8U +bud6OuYu9HAy0V1fvGmZfFu9ziZZ9tzkpt7lixcXKI378TxxYiGyMghKEjxyu/hyjlM PyDQ== 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=nyDRE2zSaJNP305igrPnfebEYbkaGxVrJukmRWYJhVI=; fh=joAbCF6BHnuBGmcA+3jsnaZfLyEaPwE2vHyfU7t1woc=; b=foIBmw7YeE/X6LmNwPPrGAeDE3p5AxKm5R5lbdvh8WcIKBzsn0qElb2+sfbW9AXH1u AsxIII/bal4AKe84nqDR951aJ7ZUnhM5ZK4rMJUvGxGIRlllIqk4z0WR5+Du6zoEngv0 6TZ4i6ZDBaYuadX8pthRLTP5PlVT+5Tf38BnOhkvIV/rYo6k/lZnzaTO3do+/FyM8fpu +p8V1h6V86Ldip22ba/0V4//Ni7lRAJph8p0YRVwMwb8X2SNRI/b2U8k4Pv7th73Qixc luFIvvBa70oYAF2jYXp2eE6oR5fB9jBOWt7QacIeXaKeFa62wDtnszjlXHXcr2RBFk6i JzYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YJl5MOKT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 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 morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id f13-20020a170902ce8d00b001c88fc3c5a1si9357810plg.461.2023.10.24.16.30.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Oct 2023 16:30:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YJl5MOKT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 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 morse.vger.email (Postfix) with ESMTP id 4EE9C807C570; Tue, 24 Oct 2023 16:30:29 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344633AbjJXXaU (ORCPT + 99 others); Tue, 24 Oct 2023 19:30:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46296 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344636AbjJXXaT (ORCPT ); Tue, 24 Oct 2023 19:30:19 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CBC8810D0; Tue, 24 Oct 2023 16:30:17 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C2930C433C8; Tue, 24 Oct 2023 23:30:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1698190217; bh=1O0jyc+9jRwfH+bIBSNC2AC/+zBx3VZH8zI/l7nXoXA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=YJl5MOKTV73WhzWjI/s8noNzFiTyaPyRAuduREg0WYPPk8HpQrSx2L8P/a3dDaxGY j7sqmqICC1xn1WvOc+Cp0SJZH337fifCL2PMyl7TAZxQTqJQzh7zuoRIPdYmvzZeLf ZX07Y30lwsF6qmOhaIAuO3+P30QunXCHIu2S3YvFJazL4UYmqqsqg38S2GB8+Wsog8 DoDsazOV/Q4Y+qfa2tt3X9Bz+btPJkrhj/LuDZe+5fHLHnhQhvuQKzlcXeoh8AGXVL jgW4krSo5BG/0TnGAEgvQYF/bTk4j0QHVnlS1LNSAz2k8fVLX1TmBPoY+LoeV3JskY 50N/qjx5GrmYA== Date: Wed, 25 Oct 2023 01:30:13 +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 v4 2/2] i2c: mv64xxx: add an optional reset-gpios property Message-ID: <20231024233013.qtbdmnzek2flxk7a@zenone.zhora.eu> References: <20231024223032.3387487-1-chris.packham@alliedtelesis.co.nz> <20231024223032.3387487-3-chris.packham@alliedtelesis.co.nz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231024223032.3387487-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 morse.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 (morse.vger.email [0.0.0.0]); Tue, 24 Oct 2023 16:30:29 -0700 (PDT) Hi Chris, On Wed, Oct 25, 2023 at 11:30:32AM +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 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 Reviewed-by: Andi Shyti Thanks, Andi