Message ID | 20230926234801.4078042-1-chris.packham@alliedtelesis.co.nz |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp2321314vqu; Tue, 26 Sep 2023 19:02:49 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEhNjrhn7N9eHkycK2n/d8BcC74rE0Rf7AAxDlwIT/dtSB2ABzzefzKy7uEdDXGMyLkLDen X-Received: by 2002:a05:6a20:9751:b0:14c:5dc3:f1c9 with SMTP id hs17-20020a056a20975100b0014c5dc3f1c9mr564630pzc.49.1695780169456; Tue, 26 Sep 2023 19:02:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695780169; cv=none; d=google.com; s=arc-20160816; b=Q36pnTseb1dYktgjWJvBr0ojdsjOaQLlty89wJ4U43sm6bZcOOeV6lAPHJwm19ZVkW BeT9qXORTg66Yp4lsCg8t9qd7oxx5R5SBOuWLQ90beTUjDX3vi+xzKt1+8cq6Vhcr5MG Fu5KcgqRRRzYnni1c6zAdi6QDSyInlLVAMJC8sbETz1t0JX02Q5NVZVRx4vq9xLcW8FI VG4J3Ggl1CgqpX277JijAPA0zsOXEdeW3Lr1E/GAMmq0RXyZgT7dhIxIMjmz9lYO9CCc kOm2oRXZiXvzn3wB/+9lkfg8BS34h8vszXJ+LBG6AZ4400rcr4+J8aZQhOJl+DTW21E9 ecyw== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=b75WKuP+3dUziG2rTJfVWwAGvRIdFNM7vfhk4HCV9Ek=; fh=HVwtvmm9c22OJQLCUZL2inZSf9v419gurWyvDvs4c/s=; b=E5uwQC7cuk5SBCkOi6oq6TFLoB/I4EENV832419nGXNea1lAIHXXXbqj6AEvb9f7RL naq6RATqdoE9j6AZW7C8Pv8SnaP42F+LZKx9jWxxLGWJexJSV8MOeL9ZSmcQGN02pcjq 2rEltDHpo+8C1dAP8kmfWM8axw4Y1uLdlqiGpPsQ6vepetOaNbHFaYJORl2S7vzOsOtt sn6I4/BrsYF2Jtx5PN3anxvKsRH/7EYho6bA/A9/yZuy7oWvpz9nwL9TIizx2/t9VfJQ aGMhfkk2qJpFA4Hb8Tm/Rg2o22jL87TJ0Ct9B+jW5Z1tfZFr2FpmPYD03XgXBuFbiion lWqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alliedtelesis.co.nz header.s=mail181024 header.b=ju6VS0VB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id j2-20020a63e742000000b00578b8bd30b0si13638047pgk.205.2023.09.26.19.02.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Sep 2023 19:02:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@alliedtelesis.co.nz header.s=mail181024 header.b=ju6VS0VB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (Postfix) with ESMTP id 1A07981BDDC8; Tue, 26 Sep 2023 17:39:13 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232016AbjI0AjH (ORCPT <rfc822;pwkd43@gmail.com> + 28 others); Tue, 26 Sep 2023 20:39:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37964 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233189AbjI0AhE (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 26 Sep 2023 20:37:04 -0400 Received: from gate2.alliedtelesis.co.nz (gate2.alliedtelesis.co.nz [202.36.163.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 023531993 for <linux-kernel@vger.kernel.org>; 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 4CCF52C0526; 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=b75WKuP+3dUziG2rTJfVWwAGvRIdFNM7vfhk4HCV9Ek=; h=From:To:Cc:Subject:Date:From; b=ju6VS0VBNlA1OUCc9HW5b0DAexJKmQJUYnFhhNMF+Rp36liw+KMN3ZIWs4KEb/xdC iQD0F4yAH5AYvbrBfDYjoeM8xIO/y+7ohWn6prMXKnQIWopLmCfNZMx4UeBZuVpA5L oZ/ncGAgHQJXZ8nsDmkUo3gGhfR93zkArAr4Pl7tgC19qa1YGFi3d3yH93ov6XDxP2 BOl9/IPGsS+/l291J5YuZK/dtctXezls4cR5ArDeJCj1vqTvnlwIoHjrrOVy57VnkC 49gFQgGMdy3zxnF6+cXo13zd5HMjHIOFeXBGCMxJTZhj5Ke4wx3yY7ojEjuEFYN1BJ VCYT5HswjG4MQ== 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 <B65136db70000>; 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 E8CC713EE32; Wed, 27 Sep 2023 12:48:07 +1300 (NZDT) Received: by chrisp-dl.ws.atlnz.lc (Postfix, from userid 1030) id E563328160F; Wed, 27 Sep 2023 12:48:07 +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, pierre.gondois@arm.com Cc: linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Chris Packham <chris.packham@alliedtelesis.co.nz> Subject: [PATCH 0/3] i2c: mv64xxx: Support for I2C unstuck Date: Wed, 27 Sep 2023 12:47:58 +1300 Message-ID: <20230926234801.4078042-1-chris.packham@alliedtelesis.co.nz> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-SEG-SpamProfiler-Analysis: v=2.3 cv=fOpHIqSe c=1 sm=1 tr=0 a=KLBiSEs5mFS1a/PbTCJxuA==:117 a=zNV7Rl7Rt7sA:10 a=N-MdeIapwvzwuhZPf1QA:9 X-SEG-SpamProfiler-Score: 0 x-atlnz-ls: pat X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_PASS,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Tue, 26 Sep 2023 17:39:13 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778154387021769049 X-GMAIL-MSGID: 1778154387021769049 |
Series |
i2c: mv64xxx: Support for I2C unstuck
|
|
Message
Chris Packham
Sept. 26, 2023, 11:47 p.m. UTC
Some newer Marvell SoCs natively support a recovery mechanisim. This can be used as an alternative to the generic pinctrl/GPIO recovery mechanism used on the older SoCs. Chris Packham (3): dt-bindings: i2c: mv64xxx: update bindings for unstuck register arm64: dts: marvell: AC5: use I2C unstuck function i2c: mv64xxx: add support for FSM based recovery .../bindings/i2c/marvell,mv64xxx-i2c.yaml | 5 +- arch/arm64/boot/dts/marvell/ac5-98dx25xx.dtsi | 14 ++-- drivers/i2c/busses/i2c-mv64xxx.c | 71 +++++++++++++++++-- 3 files changed, 75 insertions(+), 15 deletions(-)