From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pg1-f181.google.com (mail-pg1-f181.google.com [209.85.215.181]) (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 F37423A6B97 for ; Wed, 8 Apr 2026 08:38:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.181 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775637486; cv=none; b=bPsJrmHfZfdQYvww5lc1DxaaIiir8BlAd/thlNuA0yhsApCjZPXzglrA7fAPqnsgw1qQYrheXo7h+o1Y7GMYWKvaIsLrf8etYfpxQRqt/c1VdI0ljnbS4lWY1VtnFzE/4icOJgWlXafqqVm6XfFUAf1QIu+YWCR7OdEvNUPyu4g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775637486; c=relaxed/simple; bh=o3i/9A+UR7jHnszAbDMT6wuqZPcZ0j+UzYLKz1f2lwY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=DHG1VE54EO3gbN65frG9hcbcTztYeN7a6KmI1nj8c8vBkd0MJPi9bujHsxlWviDbtxJ8t6IRmMM9mVQ9dPGtF5vcEcvGqfSxrMVfNaUKOmwAcBfEmLINzYmjgEuXdm7qEPaJty3ZPCeOnxCl75nxAr0xtu8gg/gY5ixWs4AESEw= 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.181 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-f181.google.com with SMTP id 41be03b00d2f7-c76e702e01aso1318267a12.3 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=idOU/EdXDNGliqkV7qTCXvmnzlmWrVuwt5Ktv/kq9CmAqD9+vWS5SzMPzm8Q/K4ul7 FhsbkuqxcpLrVkrp6vO+B4X7E54mX+iLHaVQ/6r1eup5ODOAYxqDNZdsGyftYmHqjntB ITgKVbD19jjWJ+JcbhYNvNqjIrnPiB+hUZwRRjlK6QfbkdKJ7vyPi1NRugDbYkmdnn8Y 8EAwlTHpF4WeeAdh/8TwVjV7nvK7xqJ5YDEx/qOcuAhX02pSkiLJjUTdXrJyVAY2OEma 04yC8c3cXDsaH+ZjuoSV1T6bCYg2ZmfO+zTsz2t3fm3kJ6LySDPCxOea3UMkTbvnfPPV zmKQ== X-Forwarded-Encrypted: i=1; AJvYcCXOsNjTv9E49QucFI+KsByecbwIXbvkNzbNWXqfFAAqKewtz3pbDpy30XqPDdS/EeCO7qFQ2QsUGBkY@vger.kernel.org X-Gm-Message-State: AOJu0YwRSpZf0UyJc6cv1kvkdNMmYJyXGp+qngo2U6aflwEoODfS74Nk 6jKQTs1xZbOeSyb9QttnX2CxrV/GgnKjHf+XIf6DgdJjfJM0rIInH++z X-Gm-Gg: AeBDievZ9YgK+anR2UbQGqCebs6KECDplEzETrS53tedazFSSOsvaWEo1dEGV3Cw+s7 gQiyjLxiSMkCs/nWIvsydixI9d1T3x0r+R3P7Jj8gicN7eegzcnUDxT5qOI8MiwqbgleNB7jSOA oIhYvExihWRu4PfkOqyv5yIblQEQFjYvo+Y/lXNeytI+Lv/L+44a/f0NfQH4Y+xI6qkULFgi4I0 Hg09qKq2t50G6uGAewjhhqOFCBv/dQUS50I5/RA08vyuMUYnOqliDbmzi1+XK/SddpHI4P9F/rJ CutRJT4J4G836d59xKT67XkpfFnZyMeDpbi1fTIYKA87oi0eaE8g3XRuFJ4SB3dHOMXwwQCoLil orIzHc5lL5wjR7BMsr0XbqPrHyXQ/j4+Fmlk5vAGKIccVdCgd1ZSfL3IsAyOfXkHnode8nNNQGY 4UHzTLO6B7qISt84YapINC 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: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 = "cnxt,cx92755-i2c"; + reg = <0xf0000120 0x10>; + interrupts = <28>; + clocks = <&main_clk>; + clock-frequency = <100000>; + #address-cells = <1>; + #size-cells = <0>; + }; diff --git a/Documentation/devicetree/bindings/i2c/i2c-digicolor.txt b/Documentation/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 = "cnxt,cx92755-i2c"; - reg = <0xf0000120 0x10>; - interrupts = <28>; - clocks = <&main_clk>; - clock-frequency = <100000>; - #address-cells = <1>; - #size-cells = <0>; - }; -- 2.53.0