From nobody Mon Jun 8 06:36:23 2026 Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com [209.85.221.44]) (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 7A1B130DD1D for ; Sat, 6 Jun 2026 12:37:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.44 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780749470; cv=none; b=Oc/XBCjuW4NaqlyxXYFlRlibezVm6/z2np4QW5v+IHvZfhynaq3N6tsdAWczVqS3FXai99JloOg75CNmp22LJZ9Ae2P6dp+6fMySwWzHDAYnF8uaV+rHGd2U4SnKAjecVE25tP6zO9aSVbT3AmUoWmRc+1TdJaaCGDr1jNJLxho= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780749470; c=relaxed/simple; bh=PT0c4SCmORgHScC5hmT20+3aj9a1cYXU4M7xDXv7DeI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=a7lvlhBEjt4XBA7fhkS8Rz5kQaDafvB4xWSRHU+7yQ2Y7mkQjsqDbqgLvwYNGhK99ydBvdwcUy562zOAZHdr3LZ/pkV0fodnsxcuvE6hbXh/pY0iOpsqQSjsuurPqcLjrdQHr7+emY9wcNI5ATfYywAWzEDRDzhcUt9bpd7XMrs= 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=q0t52POX; arc=none smtp.client-ip=209.85.221.44 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="q0t52POX" Received: by mail-wr1-f44.google.com with SMTP id ffacd0b85a97d-4600cbb06deso1498648f8f.1 for ; Sat, 06 Jun 2026 05:37:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1780749468; x=1781354268; 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=IneYlVpAlfHXbZN64g1VwIxrbD7BCWERDo3ypttJ9w0=; b=q0t52POXGko3+aOo/kTZtAu9WuQfQkUhZABBWLGoueilkSHj6hFZ6/3U7RXgxRUp3Q M+aasxfCdlyRwGxMdFdk0+fb+lw8VB5jRsdhkI2vSnUF1L+Y6UkSuxYH9Oi2BBJMSGGg txZkZ2kkFdsf24HruPbMu5Qvr4YMMBAiyfjuI4Kx5BKDWh+4ax2roJAIRFKnfv9VXrTO 1th/rZ4+/rtWNrWN264q08B8h8nKZxeFE4yhkBvCpRV+q8gUr+0EDIf83L8md6ub7bgX VzCwn9kzYZ44dnHhK0dC3mmmKl2VrstjiFqrl1vwJRR7Sq+X39/R6KQUOlfdFG5U3bwv qwpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1780749468; x=1781354268; 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=IneYlVpAlfHXbZN64g1VwIxrbD7BCWERDo3ypttJ9w0=; b=rySVTkNnV4Q4BYWfHAX3y9G04r5fTbm7jD384kmblFnPr53WPeV1QJ/OGtSHJfaJEy WTLoq55hC5qG0kQSe0GTXUYc2XF4hX9VT8x5qu3vPkl7lSvj9ILd4+7Z2Cmkt60B7kB3 VAqPW4qri6QIy4X8oMgPXeWFimT8yZggfmJRjMLJXO+srXcSIDn+2AKLIR/h4rdBGSvc p880zKwKsT68uOP7Fh6fogFYW8KQU0/17egbfTObLyLSHF8xH/gw0xMsg91ejjC0KP9P 5rQTuXicUVmWao+bw4NKKrG/HEd4A2F3u7HNXt8zuYI4BZR04J2I3kfr7I5wG2uUOZeP 8MpQ== X-Forwarded-Encrypted: i=1; AFNElJ+oGRpXoupRwl8Lkl8SwI8xYp28wQP+8JZmtBO0/6kt8ZAfQD13IXUiS5hdIicu2LT/FSODZik7wf2jCew=@vger.kernel.org X-Gm-Message-State: AOJu0YxM5/nrSnM3UTOwuspoColOMORdanFfsPSFEb9SmCZMxLEuCrwV Ru621sS5QYfsoQYQ49h53anMtdXX6Q9WFhMeUlcpgdt7nyU9ZZzN15sw X-Gm-Gg: Acq92OEh8FFBymrjmDUCjYCSerojyz1bNgzdsB6ZCp/ZyiDjIpG/lye1a8O8hFkVJVp N4USUzJVKRFvvR3MWhlVh7VjNtqJ82HLLpY70qMUKuPHekCVbiR9wb5DmnT2/7DL4sTEPBQ5jRD klxYz6a9ErKF1MqIBlJLQlwZfuwPf+Xdu5KMm3dGBD4CzWu4po7E4SdNUf8VvnO+OGAJIpV7BY2 Xly372L5oTqjUGMbsUSw0XUR1P6O8BfhcNg4ox1p1Ulj72IKEJcDMJmEZ8Pp60AL3FCBTDic8lT oxTMQH82mDfw2Vmw/MpncTjoXc0jZpvVwRfY73fuYJCGInL494uj8AbUFPLdYMNz3AA9L/ex9l6 BZCvclSIIzKCWHiXwkA9kndBIYChTmqu5EcJmJdTL0flOCBB6NaUvcm4hA2sXdLVGqR2dYBDGmg VtQWFop1NH0UyPjCJe3AyPcOgroYPaJ8vkdyAEsDWCUSpx7fUcbSIClmlWBMVhACmP/ISAGi8QP 2bNxJhh X-Received: by 2002:a05:6000:46d6:b0:460:d1e:a59a with SMTP id ffacd0b85a97d-46032b75275mr5732880f8f.8.1780749467686; Sat, 06 Jun 2026 05:37:47 -0700 (PDT) Received: from fedora.tail6d6c39.ts.net ([82.77.79.100]) by smtp.googlemail.com with ESMTPSA id ffacd0b85a97d-4601f344762sm36869496f8f.23.2026.06.06.05.37.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 06 Jun 2026 05:37:47 -0700 (PDT) From: Eduard Bostina To: daniel.baluta@nxp.com, simona.toaca@nxp.com, egbostina@gmail.com, goledhruva@gmail.com, m-chawdhry@ti.com, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Mark Brown , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Conor Dooley Subject: [PATCH v2] dt-bindings: arm: omap: Convert Counter-32K to DT schema Date: Sat, 6 Jun 2026 15:36:19 +0300 Message-ID: <20260606123624.14298-1-egbostina@gmail.com> X-Mailer: git-send-email 2.54.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 Texas Instruments OMAP Counter-32K bindings to DT schema. During the conversion, two updates were made to reflect actual hardware usage and resolve dtbs_check warnings: - 'ti,hwmods' has been made optional. While a search confirms it is no longer used, it is kept to maintain backwards compatibility. - Added the 'ti,am4372-counter32k' compatible string. This is used alongside the generic 'ti,omap-counter32k' fallback in AM437x device trees and is retained for backward compatibility with other software stacks that may rely on it. Acked-by: Conor Dooley Signed-off-by: Eduard Bostina --- Changes in v2: - Removed the unused 'counter32k:' label from the example. - Clarified in the commit message that 'ti,am4372-counter32k' is used alongside the generic fallback. .../devicetree/bindings/arm/omap/counter.txt | 15 ------- .../bindings/arm/omap/ti,omap-counter32k.yaml | 41 +++++++++++++++++++ 2 files changed, 41 insertions(+), 15 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/omap/counter.txt create mode 100644 Documentation/devicetree/bindings/arm/omap/ti,omap-coun= ter32k.yaml diff --git a/Documentation/devicetree/bindings/arm/omap/counter.txt b/Docum= entation/devicetree/bindings/arm/omap/counter.txt deleted file mode 100644 index 5bd8aa091..000000000 --- a/Documentation/devicetree/bindings/arm/omap/counter.txt +++ /dev/null @@ -1,15 +0,0 @@ -OMAP Counter-32K bindings - -Required properties: -- compatible: Must be "ti,omap-counter32k" for OMAP controllers -- reg: Contains timer register address range (base address and length) -- ti,hwmods: Name of the hwmod associated to the counter, which is typical= ly - "counter_32k" - -Example: - -counter32k: counter@4a304000 { - compatible =3D "ti,omap-counter32k"; - reg =3D <0x4a304000 0x20>; - ti,hwmods =3D "counter_32k"; -}; diff --git a/Documentation/devicetree/bindings/arm/omap/ti,omap-counter32k.= yaml b/Documentation/devicetree/bindings/arm/omap/ti,omap-counter32k.yaml new file mode 100644 index 000000000..ef2730c34 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/omap/ti,omap-counter32k.yaml @@ -0,0 +1,41 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/omap/ti,omap-counter32k.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Texas Instruments OMAP Counter-32K + +maintainers: + - Eduard Bostina + +properties: + compatible: + oneOf: + - const: ti,omap-counter32k + - items: + - const: ti,am4372-counter32k + - const: ti,omap-counter32k + + reg: + maxItems: 1 + + ti,hwmods: + description: Name of the hwmod associated to the counter + $ref: /schemas/types.yaml#/definitions/string-array + items: + - const: counter_32k + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + counter@4a304000 { + compatible =3D "ti,omap-counter32k"; + reg =3D <0x4a304000 0x20>; + ti,hwmods =3D "counter_32k"; + }; --=20 2.54.0