From nobody Fri Jun 12 15:38:12 2026 Received: from mail-pj1-f42.google.com (mail-pj1-f42.google.com [209.85.216.42]) (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 69E5F31F9AB for ; Sat, 11 Apr 2026 11:25:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.42 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775906712; cv=none; b=WWP+xUbPw0NWsdgaxCFLrRO5oFno+ofJ+F1M9LduNI6ZPvuvGsD7fn7s9n9oYbISFmY1jBy4WSUggJ0SuvZ2cJAxW6rUeF+rbLI3D9OZ0xo531m2SOlk9xQnIPmoC1ErGQuS76nj0FMhhDvWldmk7+Ey+rS6lUvK34GSYEwoK7s= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775906712; c=relaxed/simple; bh=1yPE/gK3AQpWAxImlrz/Yz1c3UZwvjy/qnL2N/sFFzw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Ah/bPRxVAm+PB/Y6wIz4BnBWbB3Dr/WHRCU/ZcdZDCd9M0SQ9Kk0TCFar3VU5+lMX+kB+SE3MBntFhzE544VAkCiutnHo3Xz1UjjsBFZKasAXII2MSYjpjywpzit+sVASueaXHHOeXB4ptd4S2y6XX1ZPedP/Qpwxj+q0i4cl70= 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=C/BBQcNL; arc=none smtp.client-ip=209.85.216.42 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="C/BBQcNL" Received: by mail-pj1-f42.google.com with SMTP id 98e67ed59e1d1-35d9749c26dso2670181a91.2 for ; Sat, 11 Apr 2026 04:25:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1775906707; x=1776511507; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=H+PTzjpNlpG45FMb1Ubuls/uy+BKWZbFk07TjWDhptw=; b=C/BBQcNLgp69ta+Y0BwrSVVw35yHReOZedVjW78RCR1oN2ip3pir1OdV5ypi4BEqB2 PNwWiqrZVSCrXbPKdrdvbEPmHCcVA2Ir7rZzMnmwEaBqjsOBEyd7JumDRAbMQ1Xtz/FB YWH25TurucBv0LCSzUXbwTHaIZcff8fk8q95/Mw0WM+qmxZrgqsBu1yny615tXFMWNqZ igy7micDVXM1sx28+K4HACh5lkPd1n2MZjoVlGeeWnBO/FM8zVZx8dA8Me6z7jWVql0q DJGWIJx5u7vL8eRxH5nlWhi7qNyps0GcWr92LFvn0XAnfQi/WwzYF/iVcRxiLFxX4yp4 3SsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1775906707; x=1776511507; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=H+PTzjpNlpG45FMb1Ubuls/uy+BKWZbFk07TjWDhptw=; b=lumo8pl0pPZtkna9RTZbiOiN62kPDzXmkT6ogkO+Yc97KUTdJP2ndaqq87VvkejLSt Em8GuImiT19lGHoewEifb9BjjXKPob2cPlSxiy53UtGSa80/zbM1fcMW5wu6hGHyNt7A EZF02NexxJQpTyycyfZA6g8vLM0Rs0hLXkwvxEOA3zilT0rXGmWpPNkjhITM6DQn0nTG XrBfxlgHDtaCrwciRVAYTiBrJjmX0ULm3gPPWRTlJwShgr0h2A4ThOUa17Y9RkZ+TnoS kg6XJGamunVtO+fTk20Fe0zFrKOUOOQ2HTYA44WycKjzxVobdaVmQwepl+jPqpCzko2m em4Q== X-Forwarded-Encrypted: i=1; AJvYcCVAJUEZHpecFXDb1WdjW3qYq4XOUVGFRmRUBA87rD3KZCYZD9ron3FvAs9O2e4hZp8HmaOf7uRwDS98IAg=@vger.kernel.org X-Gm-Message-State: AOJu0YyRvHQ+EGUW8APiry6BrWggHG5M744oD2X7QALtas9qsK6GtGak aF8xJiaQk1M9jl7A0uk3iy1sp9KKohfN2xHM3QQQBfr7YbbbjSWe5KDp X-Gm-Gg: AeBDiesQUgkfmIplDvMGf2YoQr5LvbIuYUnjgdwHNXNKkZbgqUfh754A8eBFHZrvxG3 CJIg3hpTfyyIOdxBzWJAYAzsTZbkcHiv5Ze3pWPAQmA7sR8rwjIv9ZuX+U1nOvXp5ITL7YYOzkF /mi/kCCQ7SgrfCJdWInryCnj7YMykmtBmjodOlx3Qj4Ubuc2N81Y9jgNVILFbahkF9hgWgLFlQf 3/rEsYs46emH0ThVRrbXkAreS54oUO7MEZKTM61VWeoZ2tVJih6TioeYuAaeQuoXjTKYDB19nTv ZmiAsSCJMWP81DwEKZE1IbQPV85Dhv3/Mk6Seyco084wgaoearfEsrL0QUwgmJShPto5XOHndqh yPEMA038szF+hNAb5Dnd8wYjC4rGwAQiqgjlzBDQDi6czz+8kc9G5KGLr/JdHt8FVQAcFZxIZUf o856TftDMjivelWVow4xa7wZ96 X-Received: by 2002:a17:90a:ec86:b0:35a:1762:92fc with SMTP id 98e67ed59e1d1-35e428bf537mr6976880a91.26.1775906706579; Sat, 11 Apr 2026 04:25:06 -0700 (PDT) Received: from fedora ([2401:4900:1c6a:cd16:7e87:6c5c:5d2b:6126]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-35e43079069sm1922154a91.12.2026.04.11.04.25.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 Apr 2026 04:25:05 -0700 (PDT) From: Shi Hao To: krzk+dt@kernel.org Cc: robh@kernel.org, andi.shyti@kernel.org, conor+dt@kernel.org, linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, i.shihao.999@gmail.com Subject: [PATCH v3] dt-bindings: i2c: cnxt,cx92755-i2c: Convert to DT schema Date: Sat, 11 Apr 2026 16:54:51 +0530 Message-ID: <20260411112451.35095-1-i.shihao.999@gmail.com> X-Mailer: git-send-email 2.53.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Convert the Conexant Digicolor I2C bindings to DT schema. Reviewed-by: Rob Herring (Arm) Signed-off-by: Shi Hao --- v3: - Added necessary tags in the commit v2: https://lore.kernel.org/linux-devicetree/20260409-beneficial-macho-shri= mp-4b3a8b@quoll/T/#t - Omitted address-cells and size-cells in required section Note: This patch is part of the GSoC2026 application process for device tree bindings conversions https://github.com/LinuxFoundationGSoC/ProjectIde as/wiki/GSoC-2026-Device-Tree-Bindings --- .../bindings/i2c/cnxt,cx92755-i2c.yaml | 49 +++++++++++++++++++ .../devicetree/bindings/i2c/i2c-digicolor.txt | 25 ---------- 2 files changed, 49 insertions(+), 25 deletions(-) create mode 100644 Documentation/devicetree/bindings/i2c/cnxt,cx92755-i2c.= yaml delete mode 100644 Documentation/devicetree/bindings/i2c/i2c-digicolor.txt diff --git a/Documentation/devicetree/bindings/i2c/cnxt,cx92755-i2c.yaml b/= Documentation/devicetree/bindings/i2c/cnxt,cx92755-i2c.yaml new file mode 100644 index 000000000000..c11bbf8aa9c5 --- /dev/null +++ b/Documentation/devicetree/bindings/i2c/cnxt,cx92755-i2c.yaml @@ -0,0 +1,49 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/i2c/cnxt,cx92755-i2c.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Conexant Digicolor I2C controller + +allOf: + - $ref: /schemas/i2c/i2c-controller.yaml# + +maintainers: + - Baruch Siach + +properties: + compatible: + const: cnxt,cx92755-i2c + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + + clock-frequency: + default: 100000 + +required: + - compatible + - reg + - interrupts + - clocks + +unevaluatedProperties: false + +examples: + - | + i2c@f0000120 { + compatible =3D "cnxt,cx92755-i2c"; + reg =3D <0xf0000120 0x10>; + interrupts =3D <28>; + clocks =3D <&main_clk>; + clock-frequency =3D <100000>; + #address-cells =3D <1>; + #size-cells =3D <0>; + }; diff --git a/Documentation/devicetree/bindings/i2c/i2c-digicolor.txt b/Docu= mentation/devicetree/bindings/i2c/i2c-digicolor.txt deleted file mode 100644 index 457a098d4f7e..000000000000 --- a/Documentation/devicetree/bindings/i2c/i2c-digicolor.txt +++ /dev/null @@ -1,25 +0,0 @@ -Conexant Digicolor I2C controller - -Required properties: - - compatible: must be "cnxt,cx92755-i2c" - - reg: physical address and length of the device registers - - interrupts: a single interrupt specifier - - clocks: clock for the device - - #address-cells: should be <1> - - #size-cells: should be <0> - -Optional properties: -- clock-frequency: the desired I2C bus clock frequency in Hz; in - absence of this property the default value is used (100 kHz). - -Example: - - i2c: i2c@f0000120 { - compatible =3D "cnxt,cx92755-i2c"; - reg =3D <0xf0000120 0x10>; - interrupts =3D <28>; - clocks =3D <&main_clk>; - clock-frequency =3D <100000>; - #address-cells =3D <1>; - #size-cells =3D <0>; - }; --=20 2.53.0