From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj1-f54.google.com (mail-pj1-f54.google.com [209.85.216.54]) (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 052FC44838F for ; Fri, 7 Aug 2026 06:04:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786082660; cv=none; b=BUW/RzDQzOseIVMUecevCTnfI3IS9AhIqK3QiBHvCzLoGuNMA6dooENO3vnhpmL+hM6G4GjfCKSwbCU7ZJQ9/0b4KQkZjGiXVc1hdpVLTK3ZaLGcqZS9fdDQh5LhpTkWJDQD4AXg7DsqhNudTBuqeP97k4xqiKEuvA8cPCA7PKE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786082660; c=relaxed/simple; bh=O8MDKZM6orbok+3kIkwxaUSh/e4nFOYJeY8hZUI/E60=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=dR8UbMt2dVarnt3g6RUNGPDDHTi2niJYXjhjDp8rInV/4dme9epEosdk90YHnATH6dz+A8buG+cOAa5d/PqmjyNYb2s8H5Fjp9y4BG5oO4jzfLt66QFNb9Q7947+yYtX+ijJz1v2RILoNdLhqCpgQMztyIisxtjAQkAjH0DDs6Q= 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=qqw3XwCv; arc=none smtp.client-ip=209.85.216.54 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="qqw3XwCv" Received: by mail-pj1-f54.google.com with SMTP id 98e67ed59e1d1-38dcbade417so2494592a91.1 for ; Thu, 06 Aug 2026 23:04:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1786082658; x=1786687458; 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=qqw3XwCvCbAdWBezv865uI8n07tFQHJC67kHVmkgktHV5d4fQTMrYkE0x4kzxWLhv6 DWL2iya7PAHWhSfcAMYf4tUiPQHrips+BN500QJLPIjmQerNLfkfuJh/zLy8qVl7kLY4 5J8grXhkm5ckkWCly+66Tg0dTRzCY34HF2cfddjwG27xwg9V4cJ68NsKNghXkxSjMAe2 SVOGWbVjPqD3ZGE51zxIUohq1p2Gd2Xccpr8AYw6cABuP3wo2ygzOMIgwccnA5GNVV5W oG5cWuqoVrHuNjh6ugT3Yto6bYyM/XMHq4gkObXXuRWP1NfTqjMFS6ITOZAF3qB09tgD 2iLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1786082658; x=1786687458; 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=dYQ4IVo4dZ9f4QTFSctXvRp/jXx6cjGv5hURgxgun9/8OnBGY+mR4iIm/T03eWsEAQ zjLO8HuXQJiEVHPmPhLFk7vIFNOxCkdA9L66CNzm6drJDmLEV71gcNaoYmZ0zNeaKYHL r/Pf2ItvckX44pQwXOXCMvtv86Bkpjq5Gb1g0k4EDRecuV4FoFqRT3DY6IWk3xeYAfHZ LjiUTtTnpck8nlCn4bZg/kZ+IBrF3gftLAQJSOfL91MAv56boEa58rJ2Z+TmYCsylXS/ azvpC65Vk7A8DmBYca5NQPiwoxdk7kKtTrDHidmQNEQJpe9iFVBcDHOMriGTUnTPKhoT CZaA== X-Forwarded-Encrypted: i=1; AHgh+RpAjoDL/c0YHVDRjJpyXfnX+ACD1Wmw+DhHAzNgZE1Hxs5vTWjtmCcP0Fulrl2rQlOrPYfTqnw6o/8bvo4=@vger.kernel.org X-Gm-Message-State: AOJu0Yxw9v7sfljFBUyQY6EGi0jp5PIkbg8JUSnkoJXFY071EHq4NdRD zDrcPgm8tl1gHPbqFC+VSUw4obZ5NMCz8BTZsdxCizQwB0ZRwk0EKqwL X-Gm-Gg: AR+sD10VoI/TchERFQgVjAbfJWy8gU6FlYTdnrcucWzjKrTZGomjfNxO/yirYYtxv9q dxaohGYY+j6Z8Wki8m6e6KHdeo/skor/Wk0N+YX83x/aWpc2y6IMIzI5w6ezACjeDZmLHFAoOYu iHCByp4fbvClbZ6w7PhsDPmeDzKsXBBD78uJ2r9tWjQTkcJwrzLstsllIzEGEB2+6xYYPJJJaYn xRtr6k+gQYdVZNgtWITQTGPJIRD3rLr1TvAyHzno6PIRsmd9yEOInVkhviXqoMMHPFoNTqzRVqQ h/gRbhcq4xbfH2xHKgW7Fnfg603qOJCXHS/dYY2dJcjIt/LRUBb5HrbVS3CHvzAVCOsaM0Ycn3H PiRGXsidSanxoW/KpvACmTr7isrou29KJ8Y8YIUgkVS+s2sv8YUnw+1zJKhlcw1OrvHQrA+OWVQ Xy1Mus5pZnrXFGfwXaX6kN1Q71w3EwxtSSo66BPGSH7whHpw5AN7rskmRRcWYAP7RSMaCxbX4tb 6xU+KSzHwjGOTlUXLCDvH3w6pmU/DKitW4P4BcIKQcFAHk= X-Received: by 2002:a17:90a:d445:b0:37e:b6a:6cdf with SMTP id 98e67ed59e1d1-3903c66ba04mr21602395a91.20.1786082658367; Thu, 06 Aug 2026 23:04:18 -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-39085de9c0fsm3375588a91.5.2026.08.06.23.04.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Aug 2026 23:04:17 -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 v9 1/3] dt-bindings: i2c: nuvoton,ma35d1-i2c: Add MA35D1 I2C controller Date: Fri, 7 Aug 2026 14:03:58 +0800 Message-Id: <20260807060400.2047517-2-zychennvt@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20260807060400.2047517-1-zychennvt@gmail.com> References: <20260807060400.2047517-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