From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f181.google.com (mail-pf1-f181.google.com [209.85.210.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 6080B2AE78 for ; Sun, 21 Jun 2026 15:53:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.181 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782057234; cv=none; b=nhgQaiHjXtAush2bAmoRijz/QzzArg4CJaqHi88itHS/KAL0MKGxw6csy1xm9HXrx9vKEfxSf7NuwiD7J5rO1/dTVdRdoicF1qDxDI9a7I+ebwf6NK6sYfgFG3S6UZ+c85q+mfr/cn1hwhz20l4Pq+mj/wNwp1U3CJFWYaIgakM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782057234; c=relaxed/simple; bh=zqnwCyvJE3P6oV2ZzE6OJ2FfBeXwMfD9eQ+Z6yA8vtQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=aeB1XLwsYYDnRzFq5DjtlmQx9y2oMlTg2vPDvuQ0UrsM1WW/jn2P7b2PFCqD7xDyCA9VGxzWSjk0EIIEP9CZwKMhjPJSVMCMf1JOOo0R9RR+cLSmkrE954dao0tJV+pciRbLC2XCvqnbeDKTbYLGoAbvqNXVpMD3MOIq25mndt8= 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=q5u+3BMx; arc=none smtp.client-ip=209.85.210.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="q5u+3BMx" Received: by mail-pf1-f181.google.com with SMTP id d2e1a72fcca58-84537d04408so511343b3a.0 for ; Sun, 21 Jun 2026 08:53:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1782057233; x=1782662033; darn=vger.kernel.org; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:from:to:cc:subject:date:message-id:reply-to; bh=FfqUJIOT7B/Bx7wyPrZcM1KMHHklJXD/KZwpRhMyOUY=; b=q5u+3BMxEFuVGH1o2N6bN0gytVpy3wOQmJ1wmv7jiBvB1zZEMJb7vT7ERhPXkjcc0O mTOajNQ2u2msXQC+E6ef98gR/iCrPIjhgYsnJtJDmXjoBpYMJ9j2zg9HiEOwK5Cu/W4y R2azMc3EKwAfBe6rAJUzstGziPvYR7bDiD7jhDR009qOnVJvfbyEctjGC/kDhqd1DhEd qtHeyZ4KJ+yAIYxzVk3cdjX3EH8XQmfKH5WW4tWPARIEG7MCOL2V3CyBr/42y+HO9ua+ 6Aa0It2lzKMgQR8OTNrLT5O5G1HfLOG8OOewqhFJfqLWcEpktYc5X35ezQEqEiFtnYaF wl8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782057233; x=1782662033; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=FfqUJIOT7B/Bx7wyPrZcM1KMHHklJXD/KZwpRhMyOUY=; b=fCLKA+otYdQ+RclZF5+zxWrLwPvHJQ+tewPEBP4VwCG6wATsFBDq/Uc8I8puwcuadP 05CplHb9uBK8ld7/BcTGpwF+3oo/FmSZ0gFn8V9Hl3CGAA4qg1qrJcPCcL3keyzcby1p wlRGBE82E/suVnKXekGTQ94plKflvJ/uoL+zRD6IRXzRSgQdjlPvsHBGgXCOcXRyn1DU p6WtOGzKnuwRlB4+lEqEBldVpn9tOQVAnvt9cEKN4VDyWs9D4MJX6AmX4gQOgFS5cqz8 4wMLJOMXQwqCzOBswmQR4hvQAeyEq6opCB7KEB48RArwqzLJ7QAOwxg6cRrvSvOuDdij BMBQ== X-Forwarded-Encrypted: i=1; AFNElJ84lqt6ZfMGeIgzxO63qlmnWH3aZRPp5PdE82zt9sPEFSbdSUFXFKVCoYhyg2Gz+hj5eDjW7kGIa8yeeIk=@vger.kernel.org X-Gm-Message-State: AOJu0YzmpEhckYFRt1C8oVpvW9LicwIOSqsQEbx3lIpYbaAM2Sxyht+K I3dm9socNiI7JC4C60lCWPfLyXF6hKMN9XTU2S4Vps6+ZHR8TZdBeLrB X-Gm-Gg: AfdE7clOAA1ZTw2wcOjvLCeWhu0Gr4YK3A9b00ELTI4JqrtOW82XVc+vLRYRRCV6jbs VDOB9A+8jtfAZh/TBvcB6HuQ5jHfR0sttV6UftLCHJPHOBX9K049zcytqI+weWG4DK9FdxZymJI 4G1Pf2puWDNJ7aL+13mvbXKIWnVpRtvs6y9dZMIc8atV8QD+TfIBD6752VoNYYLUYHDxzlC8buH l9dZNiFQ7gNQtRJUlbQjBlV5Bv74fObkgzTtet+PDSEQRh3b88GeXf2OyJREBaPc5smSR1p523b 56uPKn7vk17a7EVFSSDoLemhpS9LV8roWcKexRYXeKDDo7WaTJnazur87Gl3ZxR8nQZKTEOcUby IE0fRIZL6Had7N8y0Eh+nw8xW/zjLajQ0CAVtFDD96MR6NX9dl7l1H0+fgf2lruTcxC/QyzG/GU Xj1cVb7CcWv9FvDc4Jf/4= X-Received: by 2002:a05:6a20:4304:b0:3b4:b258:cdb6 with SMTP id adf61e73a8af0-3bb34c77713mr5439519637.6.1782057232560; Sun, 21 Jun 2026 08:53:52 -0700 (PDT) Received: from [192.168.1.3] ([2401:4900:881f:a6e1:3dce:e376:b231:e1]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-84564ea7e22sm5511434b3a.42.2026.06.21.08.53.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Jun 2026 08:53:52 -0700 (PDT) From: Bhargav Joshi Date: Sun, 21 Jun 2026 21:23:35 +0530 Subject: [PATCH] dt-bindings: clock: ti,clockdomain: Convert to DT schema Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20260621-ti-clockdomain-v1-1-e99a56af98ea@gmail.com> X-B4-Tracking: v=1; b=H4sIAAAAAAAC/x3MQQqAIBBA0avErBNUqKCrRIvBmWqoNDQiEO+et HyL/zMkjsIJxiZD5EeSBF9h2gbchn5lJVQNVtte90arW5Q7gtspnCheoR2I9IIGqYMaXZEXef/ hNJfyAZSndbpgAAAA X-Change-ID: 20260610-ti-clockdomain-a27dd0fa1ad5 To: Michael Turquette , Stephen Boyd , Brian Masney , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Tero Kristo Cc: linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, goledhruva@gmail.com, m-chawdhry@ti.com, daniel.baluta@gmail.com, simona.toaca@nxp.com, j.bhargav.u@gmail.com X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1782057227; l=3294; i=j.bhargav.u@gmail.com; h=from:subject:message-id; bh=zqnwCyvJE3P6oV2ZzE6OJ2FfBeXwMfD9eQ+Z6yA8vtQ=; b=hy33dBy5eFhI2atsL0DkBm5ge5pszYJpOOBYHgQ/WEYV4U9Vo9t0c1HAGeC4LMofmOrMFkPrs 2CFKcVLDXspDJfqvB4QMUgDzT/fLxgLhmwAOLXPq0UrgqqsGHX7Ghkl X-Developer-Key: i=j.bhargav.u@gmail.com; a=ed25519; pk=IqNDwUZKECEA+n8wXctFLBbYL9NhFstZNbOznm/nX1k= Convert TI clockdomain to yaml DT schema. Drop '#clock-cells' from the required list as this binding doesn't define a new clock binding type, it is used to group existing clock nodes under hardware hierarchy. Most existing dts omit '#clock-cells'. Signed-off-by: Bhargav Joshi --- .../devicetree/bindings/clock/ti/clockdomain.txt | 25 ------------- .../bindings/clock/ti/ti,clockdomain.yaml | 41 ++++++++++++++++++++++ 2 files changed, 41 insertions(+), 25 deletions(-) diff --git a/Documentation/devicetree/bindings/clock/ti/clockdomain.txt b/Documentation/devicetree/bindings/clock/ti/clockdomain.txt deleted file mode 100644 index edf0b5d42768..000000000000 --- a/Documentation/devicetree/bindings/clock/ti/clockdomain.txt +++ /dev/null @@ -1,25 +0,0 @@ -Binding for Texas Instruments clockdomain. - -This binding uses the common clock binding[1] in consumer role. -Every clock on TI SoC belongs to one clockdomain, but software -only needs this information for specific clocks which require -their parent clockdomain to be controlled when the clock is -enabled/disabled. This binding doesn't define a new clock -binding type, it is used to group existing clock nodes under -hardware hierarchy. - -[1] Documentation/devicetree/bindings/clock/clock-bindings.txt - -Required properties: -- compatible : shall be "ti,clockdomain" -- #clock-cells : from common clock binding; shall be set to 0. -- clocks : link phandles of clocks within this domain - -Optional properties: -- clock-output-names : from common clock binding. - -Examples: - dss_clkdm: dss_clkdm { - compatible = "ti,clockdomain"; - clocks = <&dss1_alwon_fck_3430es2>, <&dss_ick_3430es2>; - }; diff --git a/Documentation/devicetree/bindings/clock/ti/ti,clockdomain.yaml b/Documentation/devicetree/bindings/clock/ti/ti,clockdomain.yaml new file mode 100644 index 000000000000..9494cbb1a942 --- /dev/null +++ b/Documentation/devicetree/bindings/clock/ti/ti,clockdomain.yaml @@ -0,0 +1,41 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/ti/ti,clockdomain.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Texas Instruments clockdomain + +maintainers: + - Tero Kristo + +description: + This binding uses the common clock binding in consumer role. Every clock on TI + SoC belongs to one clockdomain, but software only needs this information for + specific clocks which require their parent clockdomain to be controlled when + the clock is enabled/disabled. This binding doesn't define a new clock binding + type, it is used to group existing clock nodes under hardware hierarchy. + +properties: + compatible: + const: ti,clockdomain + + "#clock-cells": + const: 0 + + clocks: true + + clock-output-names: true + +required: + - compatible + - clocks + +additionalProperties: false + +examples: + - | + dss_clkdm { + compatible = "ti,clockdomain"; + clocks = <&dss1_alwon_fck_3430es2>, <&dss_ick_3430es2>; + }; --- base-commit: acb7500801e98639f6d8c2d796ed9f64cba83d3a change-id: 20260610-ti-clockdomain-a27dd0fa1ad5 Best regards, -- Bhargav