From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pz2-f38.google.com (mail-pz2-f38.google.com [74.125.228.38]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 095A248B389 for ; Thu, 1 Oct 2026 07:51:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.228.38 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790841117; cv=none; b=DPNtYA3wMB+BIl0SZVZypOfm+KVsBrtwEpB0Elnm2FKyTWr+y5y8FTe+kEPzV6nfB1ILXpwtEdLjA8T91VPZV9kfaOY1C4WnRb0WLVf2ou304NV/3JUBW7AL7gcyK9I4XqZ44TRWzDb1S52QaB36sorvyOaQCXODnXeM0hMQwdc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790841117; c=relaxed/simple; bh=O8MDKZM6orbok+3kIkwxaUSh/e4nFOYJeY8hZUI/E60=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=RzQB7y0swXBSoAEl04m07frt9FuLRBBGPTb47mlB3FYCUubGQxKDkUtFNNsaw19i3nqxgCiMk0Ydv649Q2AWDaGBdKdsqKG0CAQKRGxhfdQY/GeHIwMJ1Mks/aizXk/K4qN8mjxCA/XrsIWG/C+w6Va5I+QZ5829D8Cw4QRR9iw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=BvAe9Sc2; arc=none smtp.client-ip=74.125.228.38 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="BvAe9Sc2" Received: by mail-pz2-f38.google.com with SMTP id d2e1a72fcca58-882c2bcef77so3004474b3a.3 for ; Thu, 01 Oct 2026 00:51:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1790841115; x=1791445915; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=W2FqaMzaGINgzjJOw7zufrrcqxjVM6pp3g9UOy5lEX8=; b=BvAe9Sc2eTAae9G4oxPdEQOZlgTIwenrxNaGl6xqz3VibE6aRc3c3T4TmwssnvjtVz tBwFuh2/YY0EayhotapN2f9+qgGT9P8Pm9Ds5bSNLLpW9l0IFJiG2aCnIbtEXDdY5DvP jfhl+8BHdK7uglcTRgAj6LQG1N4DXuco8pyzD4EKCRtcwGojE1Obirj0zQMgHKDcgc1j 5xumkfLcXJ/lapn7WOGtE/t9xloIPIeXM8JlFm2AN+iJybqhlRchEMJ2H+xkxaHAtfyX Nk/ffZ0i3QoQX0Ejb5YICb2e4EqXWKBAEMzy0hYKsS49GwCqdV6NiRBiaZVYjiqjwhBu Twfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1790841115; x=1791445915; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=W2FqaMzaGINgzjJOw7zufrrcqxjVM6pp3g9UOy5lEX8=; b=vqlmgL/dpcpPZhuboHVlWUwrjDYkG88womA+dDfGhfbuGEQkb++SSIkCGRlFCUFH+s G2SVwyusjxJE33T5IwtB5Kk2MAnTW1tN++x7CtmC/OVsqv0JZMh3nqrXwKasQ3O8UJrc 2Dc2meBG2CaKp0f8xBjGhFcBUSpQ29xL+yfLYvYkr16Wp2QUfYd7an2uY6bFnySjJdQn Kb1NEX3HNcr08hK2N7AAg0RkkGvST/PnxHd1jmIvEQErHXEoluVSzAJs+5Mw5+7hDcEC ORh8XJaQAinnXNQblMIBApqRzVd8Y1s94gfsfqOAi+WHw+wpgGyvlREqb1zKOSfzKZMM mXaQ== X-Forwarded-Encrypted: i=1; AKwUvBz5Jvp1mIhVt2aexBBep+CQGpmb79YIxC+5XYtq4hgFu0/OzYSp8MOfWiNX/kd2RCYzI0a54f5FnXa6rUk=@vger.kernel.org X-Gm-Message-State: AFuF++mjnCJ3Oy8yzCPtEGy8ezi9vKQ+SkLlhMULQfuVD0cCM6gFCoeC pE5P2WKBplxpP0gqYS2Tr4xV5XmieVIZ76dxVkM2IS3RK6J2r3Y1IMP2 X-Gm-Gg: AYBFou2oIE+JWFM1Tk13Mi4/yt2ZIKS05eLDCgqZK9IdS2vAq4HsQQPqSff8G8aFKnd aErcz3Zr1cbsPNUMaX8h+gD/ItfCpO/Hw6kJ4yeJwArfH2UJGAlyhoPDE+0MwTeHF0TpuSnZ2Ge nduW/2W9F+8oj6T0S0AmXJqGnG3H2kKKIm6sXdIgHkpvHQDhqd9g9CnrTnflZsr3ya1UBrKsncA 6CnRbfAVFfwnfddvaVSuOAUhlAiBiihFbK4rhRRLPUyT6ntphsT3LJi0nNOz9/CSa5po5iNZ4A8 fq9BFonZNs35SnTgod3VctFBMUZHaostHwF7+52PwUA3mdzqXsdIJJIKUwVGndzDjY986QZtJ93 E6vK8pgVopJyLAG8xrZX+6NUZLBkhVndiH/whRG0/fYtEK8aSL6qFbSTxBmgZJZMQ0JGM193Tvh Ih48U01lbfCxlOQN9fJ1doqkdAXip0RZLtdIZfCByaQxlMCNXM5fcAygvjgs4AXZuu7pirdO5H2 VezAgHiTKBOCOl1lWv1lXi+4KhyI3F2bHBmL11MZkT4wsnqPwGz9Scb X-Received: by 2002:a05:6a00:218e:b0:879:2a08:99bb with SMTP id d2e1a72fcca58-8874dd6acddmr3330370b3a.56.1790841115325; Thu, 01 Oct 2026 00:51:55 -0700 (PDT) Received: from localhost.localdomain (60-250-196-139.hinet-ip.hinet.net. [60.250.196.139]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-88819db440csm666843b3a.60.2026.10.01.00.51.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Oct 2026 00:51:54 -0700 (PDT) From: Zi-Yu Chen To: Andi Shyti , linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Jacky Huang , Shan-Chun Hung , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Philipp Zabel , Andrew Jeffery , Zi-Yu Chen , Krzysztof Kozlowski Subject: [PATCH v11 1/3] dt-bindings: i2c: nuvoton,ma35d1-i2c: Add MA35D1 I2C controller Date: Thu, 1 Oct 2026 15:50:59 +0800 Message-Id: <20261001075101.489660-2-zychennvt@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20261001075101.489660-1-zychennvt@gmail.com> References: <20261001075101.489660-1-zychennvt@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Add device tree binding documentation for the I2C controller found in the Nuvoton MA35D1 SoC. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Zi-Yu Chen --- .../bindings/i2c/nuvoton,ma35d1-i2c.yaml | 63 +++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 Documentation/devicetree/bindings/i2c/nuvoton,ma35d1-i2c.yaml diff --git a/Documentation/devicetree/bindings/i2c/nuvoton,ma35d1-i2c.yaml b/Documentation/devicetree/bindings/i2c/nuvoton,ma35d1-i2c.yaml new file mode 100644 index 000000000000..0713e1c1ecb8 --- /dev/null +++ b/Documentation/devicetree/bindings/i2c/nuvoton,ma35d1-i2c.yaml @@ -0,0 +1,63 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/i2c/nuvoton,ma35d1-i2c.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Nuvoton MA35D1 I2C Controller + +maintainers: + - Zi-Yu Chen + +description: + The Nuvoton MA35D1 I2C controller supports controller and optional target mode. + +allOf: + - $ref: /schemas/i2c/i2c-controller.yaml# + +properties: + compatible: + const: nuvoton,ma35d1-i2c + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + + clock-frequency: + description: + Desired I2C bus clock frequency in Hz. The absence of this property + indicates the default frequency 100 kHz. + + resets: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - clocks + - resets + +unevaluatedProperties: false + +examples: + - | + #include + #include + #include + + i2c0: i2c@40800000 { + compatible = "nuvoton,ma35d1-i2c"; + reg = <0x40800000 0x1000>; + interrupts = ; + clocks = <&clk I2C0_GATE>; + clock-frequency = <100000>; + resets = <&sys MA35D1_RESET_I2C0>; + #address-cells = <1>; + #size-cells = <0>; + }; -- 2.34.1