From patchwork Wed Oct 9 14:01:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Th=C3=A9o_Lebrun?= X-Patchwork-Id: 13828476 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1AD8CCEDD97 for ; Wed, 9 Oct 2024 14:02:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=gA2VtzJur2fLfrAh7HiOZK9GKI0XRlL4niun8+mE/+k=; b=PEPOpD0YySdJzmIGrb26Nt6NAu qtPjdII/HDARWorvoLQEtUzN7tK0XwDH1YZJ01BvrZ7nmqKWIjTk3mZFYLHguLixpDsTrvzM5cANu lLG28sy1DkPn12B7T8K1kKGYuONoHkZXa5n0txrJLsIlb8xiwB25rjo4IsV3/MO+2l0p0fYDKoIHD IcCErj4EvrR2xreK1I66/q63P3OrcEXOoeRLHwLAPlba8OEa63jkG5RGgfx6g70Iqj4W8u77/KOUU VTArB8Tt68RHczh11dYWPb0fqmboh0IE+2bkZpawL7sebCXeSAD8fDo+ITkAerga2noEKModdHFAr 3X5ypZ0Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1syXH3-00000009Vx8-0Thf; Wed, 09 Oct 2024 14:02:45 +0000 Received: from relay8-d.mail.gandi.net ([217.70.183.201]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1syXFX-00000009VIe-08yz for linux-arm-kernel@lists.infradead.org; Wed, 09 Oct 2024 14:01:12 +0000 Received: by mail.gandi.net (Postfix) with ESMTPSA id 9DA7B1BF205; Wed, 9 Oct 2024 14:01:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1728482469; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=gA2VtzJur2fLfrAh7HiOZK9GKI0XRlL4niun8+mE/+k=; b=b2jo1umh/A1j9iiRQpuv8IobE+8z3xMSlPprZC7+qc/zEYrw9hdJxIPIVSWQcSOwq+ATWR cBqbqhPTca8N7tm2EY/PCleh5FgDGsnbZRqTGNeABg8QpsrNyWc+hOYMRFEvKP4SekANYI peYF2opUr/J5GXkFIuSzJaCoemNceFMo5NH7ZMayeEZtDUkTOvPQfpb0/JvbW775e7H/xL W76H8vbHBa86aL5meHk7UXBbVHALrvosc/c0GzvF4a2aSGCxUl2vWab0gquF3xnORQXsEl zQCzI6LCQwb+XC/58lF4IALwgHmtPsep+Tr0sp4elDjCROPMzV/3vJlQL8+TOQ== From: =?utf-8?q?Th=C3=A9o_Lebrun?= Date: Wed, 09 Oct 2024 16:01:08 +0200 Subject: [PATCH v3 2/6] dt-bindings: i2c: nomadik: support 400kHz < clock-frequency <= 3.4MHz MIME-Version: 1.0 Message-Id: <20241009-mbly-i2c-v3-2-e7fd13bcf1c4@bootlin.com> References: <20241009-mbly-i2c-v3-0-e7fd13bcf1c4@bootlin.com> In-Reply-To: <20241009-mbly-i2c-v3-0-e7fd13bcf1c4@bootlin.com> To: Linus Walleij , Andi Shyti , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-kernel@lists.infradead.org, linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Vladimir Kondratiev , =?utf-8?q?Gr=C3=A9?= =?utf-8?q?gory_Clement?= , Thomas Petazzoni , Tawfik Bayouk , =?utf-8?q?Th=C3=A9o_Lebrun?= X-Mailer: b4 0.14.2 X-GND-Sasl: theo.lebrun@bootlin.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241009_070111_417866_DC2DC176 X-CRM114-Status: GOOD ( 10.48 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hardware is not limited to 400kHz, its documentation does mention how to configure it for high-speed (a specific Speed-Mode enum value and a different bus rate clock divider register to be used). Reviewed-by: Linus Walleij Signed-off-by: Théo Lebrun Reviewed-by: Rob Herring (Arm) --- Documentation/devicetree/bindings/i2c/st,nomadik-i2c.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/i2c/st,nomadik-i2c.yaml b/Documentation/devicetree/bindings/i2c/st,nomadik-i2c.yaml index 7e84465c20094b799697a71a66c66d144d621f46..012402debfeb244b85dcecdc0411a77ada4494df 100644 --- a/Documentation/devicetree/bindings/i2c/st,nomadik-i2c.yaml +++ b/Documentation/devicetree/bindings/i2c/st,nomadik-i2c.yaml @@ -68,7 +68,7 @@ properties: clock-frequency: minimum: 1 - maximum: 400000 + maximum: 3400000 mobileye,olb: $ref: /schemas/types.yaml#/definitions/phandle-array