From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f175.google.com (mail-pf1-f175.google.com [209.85.210.175]) (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 DB3692DB7BF for ; Tue, 30 Jun 2026 01:21:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.175 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782782489; cv=none; b=dznNUGU6f2pDrieYOou6fEjmssdXcd/Tw/nis5z5/VPQId+RYTYOpGeZKOfOKL0ffkFyjK4c8E76+pr4hKq+3rPR1sI/5HG3s+n58DQDvOqXqJvG1OZNSZCRE8GEKOXkQjQFZUD4FJx0c2AIemwtkUgQDFnHl5yfp/AXqt7nX6o= 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.175 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-f175.google.com with SMTP id d2e1a72fcca58-847968ca62fso792014b3a.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=tHGp0RiYjoyQ/sF90GXsY2OoIH4STJg8BAShd8c0ubyXiYVlmF9gi1nEBsOjBMt1bJ GtIrvYKD11wUBCo7l1WvBrsICHG++1QtDTEnw4jB+Px7xWI67qW7RNiFNCvzlcj2+gxr FyWVMHQBnmRY3YpIo7xrHjFVWW+a3ehEPahil59xxxcYuqkx8xt6jjeaZ4ZOlCnDn5Q2 tBlWBknjL0Qt+7nViYwSd6gFnBulok5zInewAq84e/G7+EtK4HZp2RPCeS7pfCJ9edlv KWpB8jx6Y46mcvkoLUcdw7AvECmCL9MISd/dY/ihOXKcPlYasTDr1NvbGQ0Nmj6eOt9P NW2Q== X-Forwarded-Encrypted: i=1; AHgh+RqcfMHQ7NDMMWBvkdiq+RIle6a2AM6fDwzO1Roc63GdQZDMyjy5/98SwrYyQmKGW63SQwfHTB3Zp1U=@vger.kernel.org X-Gm-Message-State: AOJu0Yx7VLqiNviSVJOa/4/SE99hCmfdKOeC6x+WA7fsFrzRmb+UcG/q 8b86dZ/9Ky/ytNP5S47XSN8NSA8I4f+nFR4TZ/Rccjo87O4ng19xEVai X-Gm-Gg: AfdE7cmdpdwlWhJ1o4hf+UfJfs2Q8LHOJcMTuaYS3RCghYrR2Tdt1LNUTJ7gM9MB946 Dpbn4EoGP8Oq7VDzljXw8uNMnMSW0cGEoTygdOTkyF7flshGy9bficRB5L4PLkjaW+HFgTRZBFh HaD7NCaZRtbnYQnc8WZBxkXaCkIFO63APJecKwm600XY3t1WALIsuPiwuV2g8oFNRRtoadfegjz Y9Gh/9K4/g+asrjVgSK3dWK7vENF16c+0vYDKTwmT1AnpdxYTYI2txvOPM2IaKj7giRo0/qwegw kAep73JTW19XzKejmCMt1BdTJZ0RVFWLMfFDjlYXYSj4ECeJzdkVhStwbZdwrGPDqxWGh87aErW RUao1W3BD/SdXOVS4ct7yu+HlVpgxBibovKnct2phwGAbzjzBQcL9YCnZoiq5FgHBZNPOonh4O/ EMhIqE6Azrnzug/YBVMAm7tTAgap/dlSDCTdv+Z/1GuqlkP5H9Xble9Zlfr/ywcv4nJqejP2Q= 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-i2c@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