Message ID | 20231018210805.1569987-2-chris.packham@alliedtelesis.co.nz |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b78e:0:b0:402:e146:ef86 with SMTP id t14csp5106430vqh; Wed, 18 Oct 2023 14:09:07 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEVhEWxaDi/eaKX5smfbZyN/0620i/fAs2VmBJ4ytdqHoDlsegbiAIMV5pVF/ElmREUTfcA X-Received: by 2002:a05:6e02:20e2:b0:357:a180:6b74 with SMTP id q2-20020a056e0220e200b00357a1806b74mr580657ilv.27.1697663346878; Wed, 18 Oct 2023 14:09:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697663346; cv=none; d=google.com; s=arc-20160816; b=AYFg0PAWIsx7li/MTIirv7tz5eGAN9rp4y4nY49TUgp2x+h2nyiE/wkY2y5fASpQP/ yCKR2Ty8TW52KYauAtbyKZw+qlYrb11YkFYwcVHHpUaG5ZfC+rKe9lBQDHEZkX+SNio5 TfqIVQynIVlQ2tXlwVsYu4ZDuKIVj4kygu9OzJfvArm/ZLLU1DhqhuRqqlqSF5H9JWd6 kr1P3Y8jKql780a4Nx31eJ20qmiSYDStbXNUez0Rf0JOZJ2uqMO5rTJzkG7s1GtTzDvi 6wG8UVK7jRE5XU2uwdrmdzkFt6jm7CpYkOj3ybRQeOvqxqiicsHp4D5DsEJacdo8Mklx nX+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=EuT/gQdJps2mm8D5MVpyIaH0L8xBo60NeGvPLwUUvxk=; fh=3tQj0XukzIaVVOd6lLPEALhtzKzMAG+0/N98Vq3ytYw=; b=Ecw1QcT3vQ+BbvKoPH8EvkC5pudJNDyGvLCEBqIOYIg9rAv1GbA9tibuAMY1J+Meu1 LIC/K0jIpqMBhqGZDbwSbjTiT17ypPtkJDVa9IlGTrAIN3J8eIsZgW4Lkpv7IA2Kr3N5 pxkgSCldAfTZ3xX5+uHNqU6hO7WGYSZZEuknOcdggIMxMWKpLt/sZvWLgmNCGQ20uqYN RMkd5rg7Hps2MSDSl+IDwhyQnPrnT2NV3klG1i0DOnIDPPPGd5O+mEbogkLfo1mx29gq /SeZzXm/JrORbWhCk7LN9u+pJTYLbVXD6BKHIadh36cOX20FUx2PGh3W8DeNC7feCxSf GEtw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alliedtelesis.co.nz header.s=mail181024 header.b=WGA4Atkg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=alliedtelesis.co.nz Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id x4-20020a056a00188400b006be30cdc3d8si4924813pfh.163.2023.10.18.14.09.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 14:09:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@alliedtelesis.co.nz header.s=mail181024 header.b=WGA4Atkg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=alliedtelesis.co.nz Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 0510E80DFA45; Wed, 18 Oct 2023 14:09:01 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232180AbjJRVIU (ORCPT <rfc822;zwp10758@gmail.com> + 24 others); Wed, 18 Oct 2023 17:08:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40586 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231970AbjJRVIR (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 18 Oct 2023 17:08:17 -0400 Received: from gate2.alliedtelesis.co.nz (gate2.alliedtelesis.co.nz [202.36.163.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E6FB01A5 for <linux-kernel@vger.kernel.org>; Wed, 18 Oct 2023 14:08:13 -0700 (PDT) Received: from svr-chch-seg1.atlnz.lc (mmarshal3.atlnz.lc [10.32.18.43]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by gate2.alliedtelesis.co.nz (Postfix) with ESMTPS id 2B7AA2C0733; Thu, 19 Oct 2023 10:08:10 +1300 (NZDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alliedtelesis.co.nz; s=mail181024; t=1697663290; bh=EuT/gQdJps2mm8D5MVpyIaH0L8xBo60NeGvPLwUUvxk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WGA4Atkg6sWfU2LOIK+AvrFimGjc+J+kDUMSEEH1QB1KnrjC7kRaWqdywS5mnjTnw 1ZNxINat7/iGuhweYljCmgoOtXmAWT7zQkTn7PLSyLVNUP0Htg3ye/n7BkUDFUCwMq wB4LNnYbvivHjaxLL95D/ipTNdLAS6ekNHd0qxM+g7fsRAJ4ALkstsqipi8oOaxbxw BWzRZmICBZmfM5YXzbjeo9+b2WV5yfD6JvA+0YS9iuONLnqBhIL6fnHGI5asSND7qX QMpPe6T1eYq/pzbC4rN9kr/P8EPQBKKXZvquT7cyAs9x5361+0wmfkBueGWmGdidnq H8qOf7Yl56FNg== Received: from pat.atlnz.lc (Not Verified[10.32.16.33]) by svr-chch-seg1.atlnz.lc with Trustwave SEG (v8,2,6,11305) id <B653049390001>; Thu, 19 Oct 2023 10:08:09 +1300 Received: from chrisp-dl.ws.atlnz.lc (chrisp-dl.ws.atlnz.lc [10.33.22.30]) by pat.atlnz.lc (Postfix) with ESMTP id 5964B13EE3F; Thu, 19 Oct 2023 10:08:09 +1300 (NZDT) Received: by chrisp-dl.ws.atlnz.lc (Postfix, from userid 1030) id 564D7280450; Thu, 19 Oct 2023 10:08:09 +1300 (NZDT) From: Chris Packham <chris.packham@alliedtelesis.co.nz> To: gregory.clement@bootlin.com, andi.shyti@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org Cc: linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Chris Packham <chris.packham@alliedtelesis.co.nz> Subject: [PATCH v3 1/2] dt-bindings: i2c: mv64xxx: add reset-gpios property Date: Thu, 19 Oct 2023 10:08:04 +1300 Message-ID: <20231018210805.1569987-2-chris.packham@alliedtelesis.co.nz> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231018210805.1569987-1-chris.packham@alliedtelesis.co.nz> References: <20231018210805.1569987-1-chris.packham@alliedtelesis.co.nz> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-SEG-SpamProfiler-Analysis: v=2.3 cv=L6ZjvNb8 c=1 sm=1 tr=0 a=KLBiSEs5mFS1a/PbTCJxuA==:117 a=bhdUkHdE2iEA:10 a=N1qcaoclDu5WUfG3NQYA:9 X-SEG-SpamProfiler-Score: 0 x-atlnz-ls: pat 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 autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Wed, 18 Oct 2023 14:09:02 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780129041572264766 X-GMAIL-MSGID: 1780129041572264766 |
Series |
i2c: mv64xxx: reset-gpios
|
|
Commit Message
Chris Packham
Oct. 18, 2023, 9:08 p.m. UTC
Add reset-gpios and 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 <chris.packham@alliedtelesis.co.nz>
---
Notes:
Changes in v3:
- Rename reset-delay-us to reset-duration-us to better reflect its
purpose
- Add default: for reset-duration-us
- Add description: for reset-gpios
Changes in v2:
- Update commit message
- Add reset-delay-us property
.../devicetree/bindings/i2c/marvell,mv64xxx-i2c.yaml | 10 ++++++++++
1 file changed, 10 insertions(+)
Comments
On 18/10/2023 23:08, Chris Packham wrote: > Add reset-gpios and 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 <chris.packham@alliedtelesis.co.nz> > --- > Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof
diff --git a/Documentation/devicetree/bindings/i2c/marvell,mv64xxx-i2c.yaml b/Documentation/devicetree/bindings/i2c/marvell,mv64xxx-i2c.yaml index 461d1c9ee3f7..ecf5b279cfa4 100644 --- a/Documentation/devicetree/bindings/i2c/marvell,mv64xxx-i2c.yaml +++ b/Documentation/devicetree/bindings/i2c/marvell,mv64xxx-i2c.yaml @@ -70,6 +70,16 @@ properties: resets: maxItems: 1 + reset-gpios: + description: + GPIO pin providing a common reset for all downstream devices. This GPIO + will be asserted then released before the downstream devices are probed. + maxItems: 1 + + reset-duration-us: + description: Reset duration in us. + default: 1 + dmas: items: - description: RX DMA Channel