From patchwork Fri Oct 6 00:33:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Packham X-Patchwork-Id: 149065 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:6359:6106:b0:13f:353d:d1ed with SMTP id rz6csp713036rwb; Thu, 5 Oct 2023 17:34:44 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEEKj8xfMAjiQbcD5/3H/oxJXNxsqOQfU4JGAMzj5tZXIJ0HDRtJTANwoxUijhx2UGC6BPH X-Received: by 2002:a17:90b:4b87:b0:268:f45:c10a with SMTP id lr7-20020a17090b4b8700b002680f45c10amr6748754pjb.26.1696552484216; Thu, 05 Oct 2023 17:34:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696552484; cv=none; d=google.com; s=arc-20160816; b=F8oL1en7KpvuvWeYEfJbZkQC0dnITXahxbw2PFCNp5IaC5XIOy9nGMTciawOUUvM9V 0EvseE4IgELWupraY9IUu03fSFPtBJV0+5UjzBNmgXOfTnyBs6flvO5SMmF8lFd9MTuv cW84LLOjGJf3J973iIeTX4JZ1ihZzhH0EjLAabdFHlmGtV23Eom7E44MVG8R42zkMihK xLU7c47K1sVg0V20lKItdgGdGbLVp3dgdTb5dU5Sz2FJPmSJLSvAQm1MGwf8vFqpKq4h EKiEiRuEoePNzMKdabEWJYprw4r/g6V5WFsX6ORBI/S1M/2G0MJhzEUuFbTTtTug29/6 s0qQ== 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=z5Ulpz8hd9vRm5+9CQamJ7SN/jCUcsm99YX0+edYC84=; fh=HVwtvmm9c22OJQLCUZL2inZSf9v419gurWyvDvs4c/s=; b=kCJXyVHQLmnoG2O6im/ddPjNcskmMeGwHAIO0Xrz53EY6B3MstXZ8P4/aEmQb+TVxh GzCQiqbX6eSsEZaH38ei4qytdZW6wtYAFscqc7b4OrHEW/dlYq+6T5IilxCplM38uAjY g7brgPFalE+tU8q+20gFmnyeFfxEKlZTVIfULQHH+zFiUMcVeI7ZEPj2VnoQjS5Gdre9 QrLkaKfMUzQrx6466lT9mdVGpt+XN0Uum+Qcx9GQD/uSU0HkozqQx7HJQ0OE1BCDytMW BK9d1hmBaVTg7d1wknCINLULQVkdTvH4b4g9h5+KnvNr4ZaHGkKJwEumchvh6LHLKANZ h7aw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alliedtelesis.co.nz header.s=mail181024 header.b=flpVkiNZ; 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=QUARANTINE sp=REJECT dis=NONE) header.from=alliedtelesis.co.nz Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id z8-20020a1709027e8800b001c6138350b4si402955pla.431.2023.10.05.17.34.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 17:34:44 -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=@alliedtelesis.co.nz header.s=mail181024 header.b=flpVkiNZ; 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=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 fry.vger.email (Postfix) with ESMTP id BF538808598F; Thu, 5 Oct 2023 17:34:22 -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 S229593AbjJFAdk (ORCPT + 18 others); Thu, 5 Oct 2023 20:33:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58940 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229519AbjJFAdf (ORCPT ); Thu, 5 Oct 2023 20:33:35 -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 EE74BED for ; Thu, 5 Oct 2023 17:33:31 -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 A32C72C0596; Fri, 6 Oct 2023 13:33:28 +1300 (NZDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alliedtelesis.co.nz; s=mail181024; t=1696552408; bh=z5Ulpz8hd9vRm5+9CQamJ7SN/jCUcsm99YX0+edYC84=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=flpVkiNZ2Mbuwhghchke+/kIOzBtei53ZV196V1GjIMuz+Brr+eK/we8msd10s/sB QEGujQTkOxI/0baKZaukM1XkT047fXn9Aautey56HH8EtlXaVoApT1KzOyosvNq1LG iFljC59C8fme9o54MXLY9warFsGSZ7LoZy/LMyF0jA/KrLMHyDCdTBNBlup0weel5r RfB1DthM8L6Ibwgkm3uVDJGZJ3bCbdljjtP7pDMXQKSu89GD2nVNtjVVm/G/9R27aG qoeieHh4qQV0jZDTULljMR/bLFCT0yOCsrlAOUh9lUDud0u/Gh0FQCpD15LKW17QFG kUMgYHrVUHXnQ== 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 ; Fri, 06 Oct 2023 13:33:28 +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 586D213EE4D; Fri, 6 Oct 2023 13:33:28 +1300 (NZDT) Received: by chrisp-dl.ws.atlnz.lc (Postfix, from userid 1030) id 560A92804C0; Fri, 6 Oct 2023 13:33:28 +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 v2 1/3] dt-bindings: i2c: mv64xxx: update bindings for unstuck register Date: Fri, 6 Oct 2023 13:33:19 +1300 Message-ID: <20231006003321.2100016-2-chris.packham@alliedtelesis.co.nz> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231006003321.2100016-1-chris.packham@alliedtelesis.co.nz> References: <20231006003321.2100016-1-chris.packham@alliedtelesis.co.nz> MIME-Version: 1.0 X-SEG-SpamProfiler-Analysis: v=2.3 cv=Vf2Jw2h9 c=1 sm=1 tr=0 a=KLBiSEs5mFS1a/PbTCJxuA==:117 a=bhdUkHdE2iEA:10 a=XYAwZIGsAAAA:8 a=b5Pq3k1ZBCuUTZ-Yr4IA:9 a=E8ToXWR_bxluHZ7gmE-Z:22 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 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]); Thu, 05 Oct 2023 17:34:22 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778964217451117571 X-GMAIL-MSGID: 1778964217451117571 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 --- Notes: Changes in v2: - Collect ack from Conor .../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