From patchwork Tue Sep 26 23:47:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Packham X-Patchwork-Id: 145086 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp2291188vqu; Tue, 26 Sep 2023 17:49:43 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFV9h2M8GI8CMpOk+bH4qTeN2VdT1S4k+51dh/lSewPwy36yBHN9HlFcycLBizmiZmpZ5pX X-Received: by 2002:a17:903:25c2:b0:1c6:124b:6158 with SMTP id jc2-20020a17090325c200b001c6124b6158mr328986plb.30.1695775783664; Tue, 26 Sep 2023 17:49:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695775783; cv=none; d=google.com; s=arc-20160816; b=UgVopsl7L6k+nhZNqWm2WWjsRqZT6fsdw7derdZWUY9ehELxKZa+kTKqwQYrDdxlJD zrpttY3u/+8p/cqjLmrggm18asMgKz6w9q1s64H515ZiIOnQBisXi4wMyVRNJuN33veX YbqE+ZroJV5qRoTca+LSabNKhYyFOepsiT8vU1xfcAyYmp+AulX6nVf1HOEpbFogVFqB eCefoxVGPNUUWuxa3wrj4FEG4Qe6QzEYFC/B0Qft3Zj1GhfI0ZVuYBQfDwrZ7rAU20ek wB4IJKjzLTfs3J5poHKquc5/SDzCf/b7jbKFGdgbpgPn/tYmQHkg6ARkx1+9bfhqXRVv qe+Q== 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=4djadmt2Z7kYAn+dgx4Dqa4/nGoiuXn4rvyEJGFX05o=; fh=HVwtvmm9c22OJQLCUZL2inZSf9v419gurWyvDvs4c/s=; b=VgdJHCLV2TFp1HX9iIxGCSYNhrzC2GZAgWw6prhYo+BakTWi+iviDWNxzhSlhp/MyG PC5NZD3pU1DRtAP7BrkDZqe/1ODgWaBXzwTayGVQHSONOS5Vv12BPEfB8x7dEK1trzii VBbdKquFUzLfPJwoNhrJ6yr5v8LzJ1OOAgO21L18zyOAvKsJF2dVxQZCfDTtrDiCrSqP eUYOVyAIuBFOtglkNXolhDlDjwtXA73FcR7wzgkB/yHiESoCuvwfbr0yd9YG+RFV/gtt SJiv+S8GuU+GPsq4CnbTQNE/PylwPAsK5LagrJcZlnvYaf/PjgjGHuZZ3PDz4s2/G8UY je/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alliedtelesis.co.nz header.s=mail181024 header.b=mDXn0pJ+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id y23-20020a17090264d700b001c5f8995611si2184658pli.483.2023.09.26.17.49.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Sep 2023 17:49:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@alliedtelesis.co.nz header.s=mail181024 header.b=mDXn0pJ+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (Postfix) with ESMTP id 3F9BA82339AC; Tue, 26 Sep 2023 17:39:21 -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 S232101AbjI0AjJ (ORCPT + 28 others); Tue, 26 Sep 2023 20:39:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36820 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233274AbjI0AhE (ORCPT ); Tue, 26 Sep 2023 20:37:04 -0400 Received: from gate2.alliedtelesis.co.nz (gate2.alliedtelesis.co.nz [IPv6:2001:df5:b000:5::4]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 094E01FED for ; Tue, 26 Sep 2023 16:48:10 -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 3607E2C04AB; Wed, 27 Sep 2023 12:48:08 +1300 (NZDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alliedtelesis.co.nz; s=mail181024; t=1695772088; bh=4djadmt2Z7kYAn+dgx4Dqa4/nGoiuXn4rvyEJGFX05o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mDXn0pJ+CKnZmP4ry4xyi4WJeGY0zzZudbrBM3EmpPqvWjdL8UOYoMB5rj9KXyvsW WOelT94oVUat4P6gcSBjXsDfIg0YqahvkkwB/lDvWtRSD1wXNO8oKjyCFxQTpWzJO6 r75hlllOru1gv401I5WC7Y121nmnl9W3HafyuZGlZvBCml1Rp/WHYxavp04V/sLeQu hCQCrTTBV//np2Ofpl+g3zaYCpE5hTo7XvsZG8fDeJQxKeGLCdGnv2+nggxHLSkXti 4uSl83In/DdHkWGo+CZtDE43VjUGymRcqT2HCQyu919D/m61thd3eMcE+bF+/ontse OPuRz5rCh3TSw== 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 ; Wed, 27 Sep 2023 12:48:08 +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 EA2A513EE44; Wed, 27 Sep 2023 12:48:07 +1300 (NZDT) Received: by chrisp-dl.ws.atlnz.lc (Postfix, from userid 1030) id E73C92809A2; Wed, 27 Sep 2023 12:48:07 +1300 (NZDT) From: Chris Packham To: gregory.clement@bootlin.com, andi.shyti@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, pierre.gondois@arm.com Cc: linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Chris Packham Subject: [PATCH 1/3] dt-bindings: i2c: mv64xxx: update bindings for unstuck register Date: Wed, 27 Sep 2023 12:47:59 +1300 Message-ID: <20230926234801.4078042-2-chris.packham@alliedtelesis.co.nz> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20230926234801.4078042-1-chris.packham@alliedtelesis.co.nz> References: <20230926234801.4078042-1-chris.packham@alliedtelesis.co.nz> MIME-Version: 1.0 X-SEG-SpamProfiler-Analysis: v=2.3 cv=fOpHIqSe c=1 sm=1 tr=0 a=KLBiSEs5mFS1a/PbTCJxuA==:117 a=zNV7Rl7Rt7sA:10 a=b5Pq3k1ZBCuUTZ-Yr4IA:9 X-SEG-SpamProfiler-Score: 0 x-atlnz-ls: pat X-Spam-Status: No, score=-0.9 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 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, 26 Sep 2023 17:39:21 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778149788137361786 X-GMAIL-MSGID: 1778149788137361786 Some newer Marvell SoCs support an "unstuck" function for I2C bus recovery. This is an alternative to the generic GPIO based recovery that the older SoCs use. The unstuck register falls outside of the usual address block for the I2C controller so requires an additional cell in the register property. This is optional and does not need to be supplied. Signed-off-by: Chris Packham Acked-by: Conor Dooley --- .../devicetree/bindings/i2c/marvell,mv64xxx-i2c.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/i2c/marvell,mv64xxx-i2c.yaml b/Documentation/devicetree/bindings/i2c/marvell,mv64xxx-i2c.yaml index 984fc1ed3ec6..461d1c9ee3f7 100644 --- a/Documentation/devicetree/bindings/i2c/marvell,mv64xxx-i2c.yaml +++ b/Documentation/devicetree/bindings/i2c/marvell,mv64xxx-i2c.yaml @@ -45,7 +45,10 @@ properties: auto-detects this and sets it appropriately. reg: - maxItems: 1 + minItems: 1 + items: + - description: I2C controller registers + - description: I2C unstuck register interrupts: maxItems: 1