From nobody Tue Apr 7 10:38:50 2026 Received: from layka.disroot.org (layka.disroot.org [178.21.23.139]) (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 A0B4A3264EC; Sat, 14 Mar 2026 08:27:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=178.21.23.139 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773476862; cv=none; b=dBClpxvhky1pztEtJXFlVBgZohA2V8pvMZo0IPFDFYrjSCLC3WtDeF+YKwuvcz6dr1OnlqLpJqYvsKoMyc2r7FL7dqJQULnvy5ioJeZ9DZd14fdZrwj16qucKlHbiWwqoHC2KNTcEye4lNsg/hSmDup4FUk5SlUa0l2iRSNuC/E= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773476862; c=relaxed/simple; bh=oVRN2qK1k/0ayPkgo8ZxD9p66Q+kAPL1IgzI1uUl28A=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=qXDFqLmX5m9VQcFJ2/ck3bMPz9/9Q/y8vrBZAXRMkkUABkkbAloAZCLCm0BsCGe9GqUZox9lzEmZxzCIlR+nvwpGGRhJG9WkpB3R+POTeJ/YireUJ1TK14yKGafmmveDkq0jNM+RIJz+C3D4Z7ZhFoH05Z/7GvI1ZcK5s9aZy7Q= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=disroot.org; spf=pass smtp.mailfrom=disroot.org; dkim=pass (2048-bit key) header.d=disroot.org header.i=@disroot.org header.b=SfhMHzNg; arc=none smtp.client-ip=178.21.23.139 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=disroot.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=disroot.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=disroot.org header.i=@disroot.org header.b="SfhMHzNg" Received: from [127.0.0.1] (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 8839626F71; Sat, 14 Mar 2026 09:27:37 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id PlNJVR06-Gx2; Sat, 14 Mar 2026 09:27:36 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1773476856; bh=oVRN2qK1k/0ayPkgo8ZxD9p66Q+kAPL1IgzI1uUl28A=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=SfhMHzNg6UzdKS3WRtJt7gNJIpdwPmOX3YKz5aWO8DnrPXQx1drveHitpWm8Lmv1G ID5dUE8Ekqp86zvZ2CF0mf5CywypMefxznqVMAHP/JRbt8UlJxw8FNa9kEAt/zdisC R205WCzXW0sZGfRTFqcctmzRQoD8n9cAZ5zO2LOTGAeYPxgNroU01gjHV/R7AIR1N5 8pKFnLIkkA9OGc+X5YPv3S4MAnDmDG47w7sycM/emnNG/QGtZUIp6MOpG4a+Cfwonb sTR8IxVKhuGz975kH7q+vzINltc3EET3J8qnGK7i6DRd/IwBzUnUb9lPmsBEQPwCEB o5vwnndgv4tJg== From: Rustam Adilov To: Chris Packham , Andi Shyti , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Rustam Adilov Subject: [PATCH 7/8] dt-bindings: i2c: realtek,rtl9301-i2c: extend for RTL9607C support Date: Sat, 14 Mar 2026 13:26:27 +0500 Message-ID: <20260314082628.25206-8-adilov@disroot.org> In-Reply-To: <20260314082628.25206-1-adilov@disroot.org> References: <20260314082628.25206-1-adilov@disroot.org> 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" Add the "realtek,rtl9607-i2c" compatible for i2c controller on the RTL9607C SoC series. Add a clocks property to the properties since RTL9607C requires it along with the realtek,scl. Signed-off-by: Rustam Adilov --- .../bindings/i2c/realtek,rtl9301-i2c.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Documentation/devicetree/bindings/i2c/realtek,rtl9301-i2c.yaml= b/Documentation/devicetree/bindings/i2c/realtek,rtl9301-i2c.yaml index f9a449fee2b0..5873cfdc5b3e 100644 --- a/Documentation/devicetree/bindings/i2c/realtek,rtl9301-i2c.yaml +++ b/Documentation/devicetree/bindings/i2c/realtek,rtl9301-i2c.yaml @@ -15,6 +15,8 @@ description: assigned to either I2C controller. RTL9310 SoCs have equal capabilities but support 12 common SDA lines whi= ch can be assigned to either I2C controller. + RTL9607C SoCs have equal capabilities but each controller only supports 1 + SCL/SDA line. =20 properties: compatible: @@ -34,6 +36,7 @@ properties: - enum: - realtek,rtl9301-i2c - realtek,rtl9310-i2c + - realtek,rtl9607-i2c =20 reg: items: @@ -51,6 +54,9 @@ properties: The SCL line number of this I2C controller. enum: [ 0, 1 ] =20 + clocks: + maxItems: 1 + patternProperties: '^i2c@[0-9ab]$': $ref: /schemas/i2c/i2c-controller.yaml @@ -81,6 +87,15 @@ allOf: then: patternProperties: '^i2c@[89ab]$': false + - if: + properties: + compatible: + contains: + const: realtek,rtl9607-i2c + then: + required: + - realtek,scl + - clocks =20 required: - compatible --=20 2.53.0