From nobody Mon Jun 15 05:18:30 2026 Received: from mail-pg1-f170.google.com (mail-pg1-f170.google.com [209.85.215.170]) (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 EED423A6B96 for ; Wed, 8 Apr 2026 08:38:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.170 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775637487; cv=none; b=blq75DW7mslZFu1zfwU0HuqL3aXQuXmRDgmCtBcUbscGE4XWyAhbYrPrwK2YqpWXBfN8r5pWsKQIeV5Oga/x2yUfGHZtsRTSqMpFTImNnY2fjGoL5O5HazK8rDoWG54u4Y3eDGqcw4AFKnds3aRb1CwfJBHUSz76KUypEr3AJKI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775637487; c=relaxed/simple; bh=o3i/9A+UR7jHnszAbDMT6wuqZPcZ0j+UzYLKz1f2lwY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=du1G6pGboMco7qIPH+gSljFSQ/IFnrqj3hhpT0jfTKflgrtMJY1CrsMd+RDhMiU8izRGgeniMfxUsJmxng0iYjY/XVxIWDR9Mdn/p1Q0d1Q1zwF9QuGa0UEpR33vluNNWWy/V35x+b9ZDDtABKRkjq0QA03ochZTm0QhuJPZNVE= 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=cxzVhuTH; arc=none smtp.client-ip=209.85.215.170 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="cxzVhuTH" Received: by mail-pg1-f170.google.com with SMTP id 41be03b00d2f7-c76bde70ec9so2430856a12.2 for ; Wed, 08 Apr 2026 01:38:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1775637484; x=1776242284; 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=ytUk8qPLi0qU09r4gER+1HWGgGcT0Zkz53wb+1TtHds=; b=cxzVhuTHQAp4gMkJoIYZ5Pi1T7x8s4H0mEeaLKu1fbDcDHi6iXIlXWPMayMPh5tsyZ 85nVIvVZbvT7YqsfwvLy4uMmKWhUo5xo+4prvQXLmBnS4vuQ8nyKopAKO+ynbrLNsJce otiOggd4NmpItuVew+A+Im2Aua11J2BTQcdonU++jCWZGct1OyN/FLb0BeuR++hMnXq1 Gm6QjKGnGcRHLnxRWDjjMANxNb6GFkpGPqaDrBwaAfpQFwO8bF4K4p2FNJC3RAKA2Y93 CsSkUhcxvrCSaOlw13PEGs6PSII5rEqQz16lI/qgTrEhygF59hJw3Z4cksPx3EiBL26w o5MA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1775637484; x=1776242284; 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=ytUk8qPLi0qU09r4gER+1HWGgGcT0Zkz53wb+1TtHds=; b=cPHmYlKgCRLTskOZ4SfmyVnIc4JvlWtr+qexxKwJ9WKWw8Xb6tfYlrqWpMM/53B6Sw YTRj72+yTSurMspE1WtFLth6ORHJeQeagwcKOjx5txLB2/8zvMe7EoScqT9HUIk/ToJs OSexAjd7ttIDRMPWUBLRV6UjREyZDuXx5uPriJ3KttxzPvJKWPB8pIs5O8+ph/oCya5h AEjHA57LuboF2jO7ZjwnmAlUXgVBw/QrjS36G5N5v0Vl7C9OtqLFdbs0RxxlZbSDrLLN L9V+0Mjiwb+eTdsh+xP91SkAamGcZEUwYuWLIMJmFqm9KZBGKrua7glDImD0kMEtAyfS jzRg== X-Forwarded-Encrypted: i=1; AJvYcCXs2y1h3RR0VpQ2jXR1NjGf1zOwC0JIKnO8mKf6LPmD1+oIp6LtqOMAQmjCoW29oW8HKW1NqnPqHFEfJoY=@vger.kernel.org X-Gm-Message-State: AOJu0YwESJBbcM0kB29j6XcNzreSXFqbBrCrKHwOVp4uelEcYXWd+ljp /a26qrMgyBHcIPSHEJjhgh3fhkEP2GhM0bLJKYJln9Zv0+0Jme2FMhei X-Gm-Gg: AeBDietMyILVE8TxkYFdbAMtfXWrz7nVB7Iozw8mQWGFz+3FbPnr2fWoROC+QldAKMh k2pKGKNX4lDErLfSUqVsjMXotpgAtmAy18lDM3uTWv5Qcek+BI0qK36Hm/uuIkCD6UWLbzAdb+G UpyT/L53Gbc2TPkJGbGI69Id3KNh2eUznmO+2OFeRjHd7+3T7UxEmlIa8eQnRi0oSinQv3kQR0d MS23z2pUTG6mFf+p5qOQVPRjMs/85iPivmbD1hfK8D2TUwaLTcxsQCfUP++2cM9l9tiL4acFdvr yTICj+RYt3PU+L3kidpfnkHCGwxDeu0/+8w0fderTr8fu6ykhK1UYw9EeoRRozCkiGEQKWa03HG XqWtf3dZS2U3ACXyAD+jUPa03FnVAQp0yNSviGYdNnuD7Ljk4widwuN9pqBTZXCjPxQNyejG+0x 1Rci+tzEnJpxSFSbowJR6d X-Received: by 2002:a05:6a21:8a0e:b0:39f:9eb3:1d09 with SMTP id adf61e73a8af0-39f9eb31d55mr5025574637.37.1775637484198; Wed, 08 Apr 2026 01:38:04 -0700 (PDT) Received: from fedora ([122.173.24.123]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-c76c6562018sm18210763a12.18.2026.04.08.01.37.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Apr 2026 01:38:03 -0700 (PDT) From: Shi Hao To: robh@kernel.org Cc: krzk+dt@kernel.org, andi.shyti@kernel.org, conor+dt@kernel.org, linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, daniel.baluta@nxp.com, simona.toaca@nxp.com, d-gole@ti.com, m-chawdhry@ti.com, i.shihao.999@gmail.com Subject: [PATCH v2] dt-bindings: i2c: cnxt,cx92755-i2c: Convert to DT schema Date: Wed, 8 Apr 2026 14:05:49 +0530 Message-ID: <20260408083549.12815-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. Signed-off-by: Shi Hao --- v2: - 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