From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f176.google.com (mail-pf1-f176.google.com [209.85.210.176]) (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 E07E8367297 for ; Tue, 30 Jun 2026 01:21:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.176 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782782489; cv=none; b=iXcb9UDO0NNjF2MDuVUC1JpvoApqcb94a28I2gXQbWbZhNRbf2SOXovtsGdSMAqBG0h4MUJbYF+UBbeuq+jF5sqfUF1Yn8o4ACHcqiDUaCiNryemfGVI//Ttebc22waaB7r2iHjuyuwBC+PIgq8o67OIB/SR0lNElBPNcHFizjA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782782489; c=relaxed/simple; bh=O8MDKZM6orbok+3kIkwxaUSh/e4nFOYJeY8hZUI/E60=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=j6W1iIvVX1y+TLdbN9JrVraooVkUkhn2Y9PaiX1mw3xZ1udvm8IaFjIMxRC0lmifP8go/WLbBc6r+xWiruxqnwrb25JuoOEaE2BTyos/uDtZfwcm+ZrLLmaqdkksw7IcuTa88Znwi2Qym5C/tQxnODfoEUztL/t5e+PnKza3H+s= 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=d1RpE15q; arc=none smtp.client-ip=209.85.210.176 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="d1RpE15q" Received: by mail-pf1-f176.google.com with SMTP id d2e1a72fcca58-847968ca62fso792016b3a.2 for ; Mon, 29 Jun 2026 18:21:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1782782478; x=1783387278; 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; bh=W2FqaMzaGINgzjJOw7zufrrcqxjVM6pp3g9UOy5lEX8=; b=d1RpE15qeQRQuC+ysuyZpmbCbGMl4AbY42a3g0LAtcJFSE/IyIdnibKa5mgg61B7F+ mI5Tswu+t+b88YPmYisRah7jSiNedI7xRTkfxYJwGNyU2qGWjRjmINveLXMsJyVBhkc2 IYmbmfrUAN5amPjKuCTvVxiW9lbS+VSq7ada9m4rHQ0Envgz1u3MdVXBFXaJxK2sjHfv r4yKlZG8tocuIL4O9kr23j/mqmb/ACRGLzDzvHeACZmXkrNE85C2nJeZLHxr8k21MaHA fJjCgubisScmOco/T3211kMGTaz76IK5/gs0I2e2dtgl1DGK/JyYi4tTBD5GwXKP+X/v 26Fw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782782478; x=1783387278; 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; bh=W2FqaMzaGINgzjJOw7zufrrcqxjVM6pp3g9UOy5lEX8=; b=GGXRnMvfe+p34Zq7I3ikMnTzIgNA2Q38sWZ9tq19t5/V7rd4AYlr84ZLvAbo0o3P3Y 62B7FZAgVvlxXsIxDjBnHWroBeEBEqswlRl53igpoyMFJCtYtbIHiXvrKAmInAruvd4e QGlZJpfZ6/vZhJ2ma3NJLTX3I4gQwLJ/hgVEaGJFEEmJwIeAvG30cSTdnt1tZGu/JCgt Myzh0tXWo/vBjE2dbT0FwtNjUjLV2u30mo+6DKUY80GzeyAcIMF/JPEa61DE8+EsW3zM e3QmdebEp7XRMKGhjslfXg4PM8Cz8nG+9VgAEtR5jtr2lniByB9YiJB9eClZAKV5Oz42 ahKQ== X-Forwarded-Encrypted: i=1; AHgh+RqsBi1Xhz0TVjx8j8rNo2BJiAnSC4RdMDmQwQeFf71rO2a/amYo6Yny/G0TYIQGlQO7h2vRp2VV778qv94=@vger.kernel.org X-Gm-Message-State: AOJu0YzoyaCXkDh2HekA2UHhbP3qiH8Ys+Qh6wlV6lPe1u4tTj2Vt4Zq /UiIMThEYVCPKe+5HPHjKd4A3NB3FQxZAbs0R74j+F98Ei5dWmgtlaJt X-Gm-Gg: AfdE7clfwh63YVvvW+lSVi3nsPhmubnmKuBgX4UQOX5Ik0rL2kqNj6LMRd5lXF6nRpp 5r82I/U1zNcgfXwXYWZb+AEGUI5UX9b5CsS9nsF5thsA2aC7F4AcrysUiawSFhgnGhrMHaLNciW 3ErxldAhd3G4FqR2GftSS+2blv6IxlhhUvEVouv4rPxBh9HzaUaBw7ozwnd79BZ2O4+gYSzkzHR N+bjx+23JbbmHBQAOpCyrM98JTUt7InPPw0ZhvPxy2eELrseT0eVEZGOTuJobcS/n+EnsKhzPLx 2JRHtCh19fI4755IjsUEd4nffV2l5G1Rm3ytTBmTywRsVoVlP8IVoRewMmnPYG0PajmSRj3unlS yEQwDqzJZQwsuFyCB708dWH+ItA5dy0E3NL6AWynozcjyWc7dVxNZoECaKv4rOfDqYu5VAugUw1 cSEW5WgZl+hLtXeJkjRBhNlL8xA56Q7xXZy4TNoXVrmAvc/+sskW3VGk1ttoFeOYljFH0u2+A= X-Received: by 2002:a05:6a00:94c9:b0:845:dedd:89b1 with SMTP id d2e1a72fcca58-8479f27ba9cmr1237175b3a.34.1782782477806; Mon, 29 Jun 2026 18:21:17 -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-847a03778basm654503b3a.49.2026.06.29.18.21.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jun 2026 18:21:17 -0700 (PDT) From: Zi-Yu Chen To: Andi Shyti Cc: Jacky Huang , Shan-Chun Hung , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Philipp Zabel , linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Zi-Yu Chen , Krzysztof Kozlowski Subject: [PATCH v5 1/3] dt-bindings: i2c: nuvoton,ma35d1-i2c: Add MA35D1 I2C controller Date: Tue, 30 Jun 2026 09:21:04 +0800 Message-Id: <20260630012106.3616821-2-zychennvt@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20260630012106.3616821-1-zychennvt@gmail.com> References: <20260630012106.3616821-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