From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj1-f45.google.com (mail-pj1-f45.google.com [209.85.216.45]) (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 62D223E2ABC for ; Mon, 27 Jul 2026 08:20:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785140407; cv=none; b=nq7uX3fo5/5X7UaXpZmkCbw9FR6OC0M0EtXaWWoOHhmcQqBCrKbmWpLKG5CaPhOlqx1NXk/EBOycCICgpBEXesFu0pvUKebp0PEa8ajpj3cmWuRFpDxr6sumoWrxUzebfHVRGUatTsIwZzgSgi3+8G5RPocDgxNOmUUbzmVU29A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785140407; c=relaxed/simple; bh=O8MDKZM6orbok+3kIkwxaUSh/e4nFOYJeY8hZUI/E60=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=lMvu3VkA5uQI5Bf40zecjLgrrw0p0eMSQKzPAM7fs3y1eCHOWUiJpmkezaxe7os/fZc94+0jp47NFxOF8u4kdHkIzaBiFY81+L6TNtzLvJ7VFBjxLIixIarFpo8bCcGnwuc6BsViwVBRlHVcEbzoQTLJjSdcYnjmFLkp3chdAlI= 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=jf80d+3x; arc=none smtp.client-ip=209.85.216.45 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="jf80d+3x" Received: by mail-pj1-f45.google.com with SMTP id 98e67ed59e1d1-383cb94f742so1987672a91.3 for ; Mon, 27 Jul 2026 01:20:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1785140406; x=1785745206; 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=jf80d+3x2edMcu1gqTiRf+D8mFjsPH16yL7qnVs429bWAuVpNuMqKRBw3vKSDru1Ur 7BH6SwYatW9qjOvo3nIQBZ/ZFIIIhAF1gJNFk12uITdivuCbyB2Fb7eIfhWDwp/VDWwt 4ub13CJo+4ul40L254hDw48/2rgNQNXoRWdyxREAqeAyqeJA5ABZeKBqWLScTuucybAw f+Rr05ENAQ5KZRuorf6h9MLj3SJ6Srw0Ht7tv+XZ33vcQGs19Z10owMXc2X/iJfuTpem N/822fO6bQSGEU9gKu8smMbxCaU1+qjy8UXyT4WOfuDQwHWsoc5IRX9AeGjH9ly/G+tx Lzjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1785140406; x=1785745206; 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=cE3/MgltMlUxaob2LNAp48jMg6xdyOMAmir8I7vngV3D1K+lR7768GxEchrAYBpyHW gD8AssGdUF5GkDoUl3GjXGcWcph7Br9TA/7pvHnuL9ikPOtQ4R7b6kpgGWq0vMxc6u45 pv93d0N6iODDMDvOoWXany+Yx6KxnGcTjRyLvzaQFA7msSlJh5aHpGyFU+tMcT00OFSV s0LodBZzqm6/b2edEjnU+Tr3v4/Spk+cAH5m3S5+Vt1C71BrvxfA0vdLJDL3ixHNJRd7 +WEFU6m+M/3ByhLiiEf+/XuRp3NFq5RKJb1UmfFkumSJSjyz1AAGLAdV8bCwperuXnip xIpQ== X-Forwarded-Encrypted: i=1; AHgh+RrKVVWIZiKzwGA4j+u+r7xIZjZ4JacBomr7/rNVY+asONZARAEBjLWgKc5sDaibVKUXQR2btt2ASRxtlnQ=@vger.kernel.org X-Gm-Message-State: AOJu0YyBqluQRxhSI+BCTuqXD2ywPbUQK2Bx0JubvFHplAI49wu4a2o4 TK0IGaJqBBBhvmNHYwN5+uO+RkJg1nbIaptj5JJt1OQZh1LbsuvhkCtB X-Gm-Gg: AR+sD13WC6GzRGd/rbUiSd9SFmBKd2EKmPMkMEITco9fnOtA0YGIyTcDRyFFJwzm6g1 hR0xE5Z4WZ+tWSf4ua1gCFBr3ztEklZQbwpPHcEu5IxRLo/Y8M5S4CjGVK0jBOmAA0kfhMXyjL4 Muj3x+EDRZhzdUIN6Ng9pTEMUD/4s1Q4CTPvlK0z05CKk4rg7Kv/POVKgvtpEP9UPfKi9zUFzer dNvaIfSgc8jUqeBNgJe4FUyy3WzXAmsWMmeeU2lWbmCgmChXUOkld//G2ESzbV5G/lhHdAXYk70 +w889C/tboiW/hzMKV049t2G4FBeRbgMEGCfAB8rUs57qK835xVSddyEarDjZPkihkJpuXs2eQ9 dSCvo4n/VyLE84Yf/vFg77SSsr019O7G4/lU5GIchtQiIL2+krXdBPmi05wDxjnhR7XUIG9miDC WOllqrTHK9bO6JZw8d/LWJlyhuCJtFZ7pJ75oDtor7/eWHwUswyW+NlcMf5Riv X-Received: by 2002:a17:90b:5586:b0:38e:e9b:ffa7 with SMTP id 98e67ed59e1d1-38f295bd716mr7559866a91.28.1785140405661; Mon, 27 Jul 2026 01:20:05 -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 98e67ed59e1d1-38f292aed12sm2629156a91.4.2026.07.27.01.20.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jul 2026 01:20:05 -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 , Zi-Yu Chen , Krzysztof Kozlowski Subject: [PATCH v7 1/3] dt-bindings: i2c: nuvoton,ma35d1-i2c: Add MA35D1 I2C controller Date: Mon, 27 Jul 2026 16:18:57 +0800 Message-Id: <20260727081859.1737223-2-zychennvt@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20260727081859.1737223-1-zychennvt@gmail.com> References: <20260727081859.1737223-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