From nobody Mon Feb 9 18:43:29 2026 Received: from mail-pl1-f181.google.com (mail-pl1-f181.google.com [209.85.214.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 2E33E1862A for ; Fri, 4 Apr 2025 01:45:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.181 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743731120; cv=none; b=NRK7UtzOt8w2gEgvAVDHHc6pkEF4XTIpkW18pLiuelJEWGhonL/Gi+CfTndBHpQggJd9maRoFMaCSD4/CRaLIhzY/NgQWEe8UIcyfWr3W0scyrRBhLEe8xzz2OLIkbA6DueCOwOE/EX7dptsyf2D6/3wI/OwddrE+dJpLF79USE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743731120; c=relaxed/simple; bh=VtZFzV4SFM7hxS9whoKifK0cWBFHUo7gxrtPQ7C+MbU=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=IIqRSJll+kQf7rRpfgQ/iGF0FNvs3xS3dVF5MQ5W3idzdw0yz3XugZIx5Gk10b0bX0F7CM77Fqqennuy4U5mRC+4SPpj6py5vDjAoThD+6MxbiD9EE+JpQy3hCq89epzHnI6dapk2qPDfh0QZUgyqAcexfr/fbI5PrYC0Loh+nE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b=UERdeM19; arc=none smtp.client-ip=209.85.214.181 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b="UERdeM19" Received: by mail-pl1-f181.google.com with SMTP id d9443c01a7336-2264aefc45dso21367635ad.0 for ; Thu, 03 Apr 2025 18:45:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1743731118; x=1744335918; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=vd/Kv7YAIdyn43HTlxRPFm7Eme+lU7QzjnIMeLAoJAo=; b=UERdeM19yodduWAJiQG1W4Jo1XGOmLCwiDuKNTJovixwfx0tCzuQmKTPb9peNYO8Uj 8UDGUUcHYQvrqVce2DrxUveRZh1NJRjY4IOQ8l/zEckW9cq3UUnHFfZ1W5GNSD7mmfeY gDmOPnanViXwXHmve4ZG7mnQg6uCXdm73SL4ylpFp+6Vzm0W56uQ+IOEO5Of1UogwKo1 aiN/CIfZjTJ4Yp5Fps+MltjVnDh3DY+mngrP8V5cAZ+lDGLmq7rIG4yj40N6Y3cAQemo 62tcwzHt6VkNCG67DIBwjIJHf6Cjo3KssXu6Io5t+mrZ6FfQrlCaJDfJOzoi0k7npDH2 a7Kg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743731118; x=1744335918; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=vd/Kv7YAIdyn43HTlxRPFm7Eme+lU7QzjnIMeLAoJAo=; b=n7M+KWJIK9EFUK1rLXqbmD90t7SvRTpfMJOADmEMRhm27rdoFVPMdbuB39yiNxQ8p6 sL1S1fhXJQRE8QszAMnjlQI/HgdPXVkHCgZ2MAYlcKiytGX95nEEYkGDd6Xc0m9VNHTw jLTDWsQIpFNHJZYNJA7lAwp699OFE8pX6gDIt9SAEqagRaFMfKUiLOOQgD3HZ3ixUl/t xH1k1RzWwAjTyP5x+U5IjAyzzG4j3jZbhwtMPOy6qL6y7QelXuHEANtfGrVtYBLyS79T 6V/cXJ/yVfvNsi8GCIr5e13J3TKJdThzMZWX9xVS2Qo4CzGeJc/dAZWYQyLjb2La83Sv rIZw== X-Forwarded-Encrypted: i=1; AJvYcCUkdBgdhj8euzKO8AXlwE9ptI3cXMbjmOxoiJjM8iqbZHoLUbOjfceVZdt/9xPXQG7V8lb5TCj7u1bCNOU=@vger.kernel.org X-Gm-Message-State: AOJu0YzQLozgZwGc81nc1D9A5wVfckgimt6qui5ruZDohABtq1kN3x34 Uhp4ci1hykRHBmPay2CCj0v/vd4alZzB31G5HeHvQciU7ztpJX6XyyxeOyScIcI= X-Gm-Gg: ASbGncsXaI/zyjqHimi7Ezvf0hs92R+j7Nvco/rQcQfdsO6x5Xt725y5XZGVrM/ys4z LUqfKULS/BSUWxv51RTqz/U9PvmBkgFfbu4QUBQO9Y3sdb2+sshDOpSddqr8MYqcg5SIDcSRgdl hb8gnuL0MlPUzYJHw5hBNQpdl9XHgzc2nmiV+ofsSHn8T3bZEgn4MXibWyZnxKWQI2TbLISsiAF 4vUEc98atDq8f7u4nAmuToI2N9CPHhQFVvq0wL2z1kvr5kzbYjQ5XaLxgglhEMXiebjXiCxxPV2 yGZ4wq0Hx/mYMIMlRA8zcIS04D/70p1Tdt/Sa1VIeX4BeB+xjeP3i7/Zo2UymTZ01Vwf6ibDz2u AYq4gv7k= X-Google-Smtp-Source: AGHT+IGHo9ZuBB0qJ1rexiUBkU1zGy+UOTRILsGjezQ/KXhzycsHA6LVyLjVtGW5XbFbwRWLRWJOzw== X-Received: by 2002:a17:902:d2c1:b0:21f:6bda:e492 with SMTP id d9443c01a7336-22a8a8b82f1mr16901115ad.35.1743731118385; Thu, 03 Apr 2025 18:45:18 -0700 (PDT) Received: from dev-linux.. (syn-076-088-115-008.res.spectrum.com. [76.88.115.8]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-739da0e3184sm2195304b3a.160.2025.04.03.18.45.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Apr 2025 18:45:17 -0700 (PDT) From: Sukrut Bellary To: Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Sukrut Bellary , Tero Kristo , Kevin Hilman , Andreas Kemnade , linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/4] dt-bindings: clock: ti: Convert to yaml Date: Thu, 3 Apr 2025 18:44:58 -0700 Message-Id: <20250404014500.2789830-3-sbellary@baylibre.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250404014500.2789830-1-sbellary@baylibre.com> References: <20250404014500.2789830-1-sbellary@baylibre.com> 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" This binding doesn't define a new clock binding type, it is used to group the existing clock nodes under the hardware hierarchy. As this is not a provider clock, remove #clock-cells and clock-output-names properties. Though few clockdomain nodes in the dts use these properties, we are not fixing dts here. Clean up the example to meet the current standards. Add the creator of the original binding as a maintainer. Signed-off-by: Sukrut Bellary --- .../bindings/clock/ti/clockdomain.txt | 25 ------------ .../bindings/clock/ti/ti,clockdomain.yaml | 38 +++++++++++++++++++ 2 files changed, 38 insertions(+), 25 deletions(-) delete mode 100644 Documentation/devicetree/bindings/clock/ti/clockdomain.= txt create mode 100644 Documentation/devicetree/bindings/clock/ti/ti,clockdoma= in.yaml diff --git a/Documentation/devicetree/bindings/clock/ti/clockdomain.txt b/D= ocumentation/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 =3D "ti,clockdomain"; - clocks =3D <&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..2bae2a0f6318 --- /dev/null +++ b/Documentation/devicetree/bindings/clock/ti/ti,clockdomain.yaml @@ -0,0 +1,38 @@ +# 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: TI clock domain + +maintainers: + - Tero Kristo + - Sukrut Bellary + +description: | + Every clock on TI SoC belongs to one clockdomain. For specific clocks, t= he + parent clockdomain has to be controlled when the clock is enabled/disabl= ed. + This binding doesn't define a new clock binding type, it is used to group + the existing clock nodes under hardware hierarchy. + +properties: + compatible: + const: ti,clockdomain + + clocks: + description: + Clocks within this domain + +required: + - compatible + - clocks + +additionalProperties: false + +examples: + - | + l3init_clkdm: l3init_clkdm { + compatible =3D "ti,clockdomain"; + clocks =3D <&dpll_usb_ck>; + }; --=20 2.34.1