Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp1082229rdh; Fri, 27 Oct 2023 04:26:50 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGvR72fbbhVd609XYRTkDc8zjSLuQC9cuSP1iO8iOYQa49QXnI1+4DBYPIZiax7nZMckheq X-Received: by 2002:a25:3c8:0:b0:d09:34f4:6698 with SMTP id 191-20020a2503c8000000b00d0934f46698mr1797558ybd.36.1698406009716; Fri, 27 Oct 2023 04:26:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698406009; cv=none; d=google.com; s=arc-20160816; b=spN0DBPmlzB47gbl95dkjTAp6l3WTt/fMoigMlLcbcDYkKMQtjnopbg2llb7dKPgbY ytw+/FytMRoE9eZCXDn1qMIMrzbmC9j9gMLAvzwxZi/VShpAj72HFZpSvXNc+fwpqcpQ ksIXqABSpFkH3q0VjowOdpIYoVZmwXJpd1dRRlPJRboo+lIQ0nC7lVWpFSRwyzCUd+tE MueQHeB7EkjIbTItIvjsO2O15Xo2moZJW2qUddALpi6pMoSgR0DeoIux0TPuXvbria6I c3obFnEDnMdQ/RM6ihoO+dwNKakCJy0E0+tho9GYwSvnvAvRAUcXe+ze4tfzeSIgo1eB ChgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:autocrypt :from:references:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=9y6LmXOwEW312Rhq3CPGU89SHAaxq5yj0JeMnIHrcaM=; fh=eUK9UQjsG4t10XOlDDQs14hwkIBSF+gu7XplmZrYZ1k=; b=rw0NFq8YMY/9dzcdlJk9UC5SeV0h8OcmO83H5SJXfJUXvsICFFKGEjYfbnlE+o2Thi S4IRpWwcBe0fkEQVWDIwI0W0NFOWC3Q2sgL+30f6XL/iuHbbDzVXByR8mEsYR+56TajF c7We/fEw5MyquiXWEy2q+kXED6DTEUqmm/5ERXBVJImBPMICDWTJ+aNfe21FOKqhJsM4 rfFnas1UiOoyQEtpYjKLrf/5yRBwU1/nCr/XVo7DTsEuzuQhoYTdu+iBpduRCy3cOYDw lKD9XAZqNPP1eAfmq9gdwy/zw8In53LIKmQgeUE0K0SqMhh5MuniHIDo1xq4V1BVPsir UsUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="lprC/dP/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id i126-20020a256d84000000b00da052e38ac7si2278338ybc.425.2023.10.27.04.26.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Oct 2023 04:26:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="lprC/dP/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 4F4EC807D411; Fri, 27 Oct 2023 04:26:20 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345549AbjJ0L0I (ORCPT + 99 others); Fri, 27 Oct 2023 07:26:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44232 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345689AbjJ0L0G (ORCPT ); Fri, 27 Oct 2023 07:26:06 -0400 Received: from mail-lj1-x232.google.com (mail-lj1-x232.google.com [IPv6:2a00:1450:4864:20::232]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 91D27D42 for ; Fri, 27 Oct 2023 04:25:59 -0700 (PDT) Received: by mail-lj1-x232.google.com with SMTP id 38308e7fff4ca-2c5720a321aso25968911fa.1 for ; Fri, 27 Oct 2023 04:25:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1698405958; x=1699010758; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=9y6LmXOwEW312Rhq3CPGU89SHAaxq5yj0JeMnIHrcaM=; b=lprC/dP/95pzk0C+CQhiQSM9mh9aryTituR5oGWnkb62Q0R5VykN6JUb6KnzpP2F7t d2n1/LZvUlAgDrmipFPkR4GpvLt6bqtaTVQs3zZcCgAMv1nJg+wIQOgEsniLuE5psZQd QYif3WqS7LHN0NdI6Q0BkCDG42hlH9jKamWX5VzWEqmQ8mUeHbEBgwnDbU89NxXVdTGN V+EA61Srof3sV4vREAwHSKb/j+Y28r7F21r2tVfh1eGs33QWeMTlJJb0imjIUy4HFSzD XdOuIE116Gh/VF2UvApod1VwjoyaV5SZSq2/kw/3TRMG4PRqorhV537yXpLlJ2ZbhrN/ KWnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698405958; x=1699010758; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=9y6LmXOwEW312Rhq3CPGU89SHAaxq5yj0JeMnIHrcaM=; b=Dsn444WMSDhfhI8VX8x3HzCDRTs16AZkb1Ha9J3yyjaaV2NaDkz8nkd5fDlCvTueG4 pv5LmWjj0Dj26Hi221aBGlgPJYyoWP6yLIQSWM3V+yNfOhjhi7OgrZoFnjtlL4VteVNd 5QXaZOHbFQKRE4qK0GC2o9KOVShwNxd0RrI6e+vAf7WiJENSM2c85kumaWxI66ognimf HmRogGgmXVumafFsiaKMNmjHCam7WNYEcQCRZqJn1czaPB+D8mCneCpVe42hsKJJfpO+ dlFiFqozUYw8BOBmMJy2VRYYkKLXA0ML6q2cY9CburcL4shnfm+zBUCfoqhdDk5VFgDo OBhg== X-Gm-Message-State: AOJu0YymhGrT8+yKZJNLqiAjIVYlcd3a4lCAjPMOR+aIvvIxlJKkJRZp MM3tHamrGaIbf7O8DSfYMX8uKQ== X-Received: by 2002:a2e:1454:0:b0:2c5:169f:ff03 with SMTP id 20-20020a2e1454000000b002c5169fff03mr1592852lju.5.1698405957743; Fri, 27 Oct 2023 04:25:57 -0700 (PDT) Received: from [192.168.0.22] ([78.10.206.168]) by smtp.gmail.com with ESMTPSA id d21-20020a2eb055000000b002c004175d26sm250041ljl.56.2023.10.27.04.25.56 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 27 Oct 2023 04:25:57 -0700 (PDT) Message-ID: <7bfa2f6c-3e99-49a6-9b5a-81398d4bce7e@linaro.org> Date: Fri, 27 Oct 2023 13:25:56 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v5 1/2] dt-bindings: i2c: mv64xxx: add bus-reset-gpios property Content-Language: en-US To: Wolfram Sang , Chris Packham , krzysztof.kozlowski+dt@linaro.org, gregory.clement@bootlin.com, andi.shyti@kernel.org, robh+dt@kernel.org, conor+dt@kernel.org, linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Abel Vesa References: <20231027033104.1348921-1-chris.packham@alliedtelesis.co.nz> <20231027033104.1348921-2-chris.packham@alliedtelesis.co.nz> From: Krzysztof Kozlowski Autoc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VODaFicsUkjheOD4BfWEcVUqa+XdUEciwG/SgNyxBZepj41oVq FPSVE+Ni2tNrW/e16b8mgXNngHSnbsr6pAIXZH3qFW+4TKPMGZ2rZ6zITrMip+12jgw4mGjy 5y06JZvA02rZT2k9aa7i9dUUFggaanI09jNGbRA/ABEBAAHCwXwEGAEKACYCGwwWIQSb0H4O DFH41ZZ3t1Qbk0N9O0FimwUCYDzvagUJFF+UtgAKCRAbk0N9O0Fim9JzD/0auoGtUu4mgnna oEEpQEOjgT7l9TVuO3Qa/SeH+E0m55y5Fjpp6ZToc481za3xAcxK/BtIX5Wn1mQ6+szfrJQ6 59y2io437BeuWIRjQniSxHz1kgtFECiV30yHRgOoQlzUea7FgsnuWdstgfWi6LxstswEzxLZ Sj1EqpXYZE4uLjh6dW292sO+j4LEqPYr53hyV4I2LPmptPE9Rb9yCTAbSUlzgjiyyjuXhcwM qf3lzsm02y7Ooq+ERVKiJzlvLd9tSe4jRx6Z6LMXhB21fa5DGs/tHAcUF35hSJrvMJzPT/+u /oVmYDFZkbLlqs2XpWaVCo2jv8+iHxZZ9FL7F6AHFzqEFdqGnJQqmEApiRqH6b4jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.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 (pete.vger.email [0.0.0.0]); Fri, 27 Oct 2023 04:26:20 -0700 (PDT) On 27/10/2023 11:09, Wolfram Sang wrote: > On Fri, Oct 27, 2023 at 04:31:03PM +1300, Chris Packham wrote: >> Add bus-reset-gpios and bus-reset-duration-us properties to the >> marvell,mv64xxx-i2c binding. These can be used to describe hardware >> where a common reset GPIO is connected to all downstream devices on and >> I2C bus. This reset will be asserted then released before the downstream >> devices on the bus are probed. >> >> Signed-off-by: Chris Packham >> Reviewed-by: Krzysztof Kozlowski > > Krzysztof, are you fine with this change? Actually no. NAK. Not because of the naming, but because the new name triggered some new paths in my brain which brought the point - this is old problem of power sequencing of children. I believe this must be solved in more generic way. First - generic for all I2C devices. Second - generic also matching other buses/subsystems, which have similar problem. We did it for USB (onboard USB), MMC (unloved MMC power sequence) and now we are doing it for PCIe and few others (Cc: Abel) https://lpc.events/event/17/contributions/1507/ Current solution is heavily limited. What about regulators? What about buses having 2 reset lines (still the same bus)? What about sequence? Best regards, Krzysztof