From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8B9DF4BEE23; Mon, 12 Oct 2026 17:32:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791826378; cv=none; b=uh6LEqXn24MHOOF6/Clcao2x8Kx5DmIy11R7wlgPGx5ql44WV/qpGUkw82tT3ud6HhdAd+2bNniFnUx6MiBMYPRZQ/6YlWwE+HDMvW2T3CdWgx/W5lBkuIlzyNZ1jSAPwbV+fe7fqI2ZMpzt1eM2SKr2HreLmacDudZqEFf7ykA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791826378; c=relaxed/simple; bh=31t7A4ec1Xhu+LA6GuFAzpvU2Mlareg98Anh2jPt2bA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Gx5dJDFahMcGA+KaxnXpPSLzi5dD7P0ZyOkqH8rU192QpHbwMiNmaKaokg+A4nj/rWpbiP6iqIv3uanzhXKD8gy5pG8B8W2HJybHLS/M8PC5cVMnpM/gEgrC+Gr5oYED3YitNb0zuhsuq4+Fd2PXbi7UxoZYAVz6vkdp8xkhQ8A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=h+89zG00; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="h+89zG00" Received: by smtp.kernel.org (Postfix) with ESMTPS id 5E8A2C2BD00; Mon, 12 Oct 2026 17:32:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1791826378; bh=31t7A4ec1Xhu+LA6GuFAzpvU2Mlareg98Anh2jPt2bA=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=h+89zG009aIaMz6KIlxyGoZM1eEDnW9eyQL5CFvhHABr8NYDhvBW6QBaHMK5fibK8 qXZX2VyRe2bGCsxivIWY1RH87+bJLVFQcneyPSo5smHpGMOXLTOEGhiNcaYXLQUdQS Z/Z6H0mabSqQiHMBe4JQoKJ5SrI/Zmhv83/zQAEj8ZWSWzpX4RF2iZxnoiNU05XiZn dH4yUJ3u93EMzk/9Rjf0YqUjqJ6XpJlRGFyoca6lcxQ/zxuMNzV+7/9bBMKA6S4Qhb A9sFkUCNoboCwUuVb1yHjEUJvmRVvVQ5sL4zgtObw6Km5BK9HxW5tL4uCbV0ZhcrYH LlrX3NnEozOQA== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4BD1CCA9ED0; Mon, 12 Oct 2026 17:32:58 +0000 (UTC) From: Fil Dunsky via B4 Relay Date: Mon, 12 Oct 2026 20:33:00 +0300 Subject: [PATCH 05/11] dt-bindings: i2c: Add Cortina Systems CS7542 I2C controller Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20261012-b4-cs75xx-s2-v1-5-8a7641b7b79c@gmail.com> References: <20261012-b4-cs75xx-s2-v1-0-8a7641b7b79c@gmail.com> In-Reply-To: <20261012-b4-cs75xx-s2-v1-0-8a7641b7b79c@gmail.com> To: Thomas Gleixner , Radu Rendec , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Linus Walleij , Bartosz Golaszewski , Andi Shyti , Wim Van Sebroeck , Guenter Roeck , Russell King , Arnd Bergmann , Krzysztof Kozlowski Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-gpio@vger.kernel.org, linux-i2c@vger.kernel.org, linux-watchdog@vger.kernel.org, Fil Dunsky X-Mailer: b4 0.16.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1791826375; l=1834; i=filipp.dunsky@gmail.com; s=20260930; h=from:subject:message-id; bh=aHpVqUhA73R0k52i9jHgHCikRVBzEr4JeY2wk8AHGqM=; b=5nAJjrIZ4JK7X2RvtD4JY+ObrZ1oQAgb5/XUJxS8+GwbX0rfr3K3TA3GQukom3x29Akyb/srE /Z1yWWqkj3LBo8vPtzyrNIb2cK/YRxPL7WRkcrZQE237iYhYPYvweTG X-Developer-Key: i=filipp.dunsky@gmail.com; a=ed25519; pk=JAYP8e2rJ54DHOmhNtXud8rl1igAaAXoOHxtJmVXI1g= X-Endpoint-Received: by B4 Relay for filipp.dunsky@gmail.com/20260930 with auth_id=1085 X-Original-From: Fil Dunsky Reply-To: filipp.dunsky@gmail.com From: Fil Dunsky Add a binding for the I2C ("Bi-Wire") controller of the Cortina Systems CS75xx SoCs. Signed-off-by: Fil Dunsky --- .../bindings/i2c/cortina,cs7542-i2c.yaml | 56 ++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/Documentation/devicetree/bindings/i2c/cortina,cs7542-i2c.yaml b/Documentation/devicetree/bindings/i2c/cortina,cs7542-i2c.yaml new file mode 100644 index 000000000..f70984bd7 --- /dev/null +++ b/Documentation/devicetree/bindings/i2c/cortina,cs7542-i2c.yaml @@ -0,0 +1,56 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/i2c/cortina,cs7542-i2c.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Cortina Systems CS7542 I2C controller + +maintainers: + - Fil Dunsky + +description: + The I2C ("Bi-Wire") controller of the Cortina Systems CS75xx (Goldengate + G2) SoCs. It transfers one byte per command and runs from the peripheral + (APB) clock through a 16-bit prescaler. + +allOf: + - $ref: /schemas/i2c/i2c-controller.yaml# + +properties: + compatible: + const: cortina,cs7542-i2c + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + + clock-frequency: + enum: [100000, 400000] + default: 100000 + +required: + - compatible + - reg + - interrupts + - clocks + +unevaluatedProperties: false + +examples: + - | + i2c@f00700e8 { + compatible = "cortina,cs7542-i2c"; + reg = <0xf00700e8 0x28>; + interrupt-parent = <&intc>; + interrupts = <11>; + clocks = <&apb_clk>; + clock-frequency = <400000>; + #address-cells = <1>; + #size-cells = <0>; + }; -- 2.53.0