From nobody Tue Sep 29 08:22:55 2026 Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) (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 291B913E02A for ; Mon, 10 Aug 2026 13:17:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.52 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786367840; cv=none; b=qNfnCfp4RfA+B6Nq42LhhIksx+TT09mlR0Pq5KJ7/h0ULihWB/ZbDVMbVkSxuuPI4gC7lUlE0quoHGcnGG9NIul/ajvcHoSucaLw/5YSN66EnEivceuhmmyNOmWA+44W+M87vIAHY0gjmXSWFdiquGcxFrBdWjBraCJoVbSKXmM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786367840; c=relaxed/simple; bh=et5E2cOGoXpU1sHefktlkulFRxcWrIkinUWgju71Mkk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=O/qAmoaA5qiVgNh7ie1ly7pE5BN6NHP0uDCrP/qYwNWPa3aT4aV2OSpXw2xZR1j+z6wMqnDdGYSBvyzdMH6mfS7sB0Qj58+RdevJkutgxLr47zdOlcO+ig8LV7POVu8Xmp075Wiyspj49nBmfVOGvaoL64nllzWC8SYXiiTAaE0= 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=mTf+meQZ; arc=none smtp.client-ip=209.85.128.52 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="mTf+meQZ" Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-49553515a8bso29278605e9.1 for ; Mon, 10 Aug 2026 06:17:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1786367837; x=1786972637; 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:content-type; bh=B8oSs/E53A8VL/5WhNppdFIO5GvmhWJhbKNk7ZSC7qw=; b=mTf+meQZHQUT14aNT3vWBOIAW7JbaSNejKF85iAnjp139qCAyxv0ysSaLIOTX88NE5 uIb1HRQrrMYtTQyfb6Vas0IYMwFIx56ULdXbBUIqcXle2lcBc+Mt1bVGyur+Njmj+PQ0 QiSzwqgpYb0HyibA5FXNpkCM9DWyrAkmYCQHBgFMmO3+TExMgNsVFTkmCXuLHkn7Bh1x oxFotuYmiQVXQ4hjGUZueVRIa9yfvMEMI4u5Y1UYxGNM1CMGmrwg+JDucPR/3Gy5f7gB pdzdInMgPLVmWLAATWujnyEjNabRAtWGiZ3uLPkNdF8OqKKWDDHvQ6IcM12aHefAX1F9 p3OA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1786367837; x=1786972637; 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:content-type; bh=B8oSs/E53A8VL/5WhNppdFIO5GvmhWJhbKNk7ZSC7qw=; b=GruAZY360qhka5qp2d4m5Xf5PqBMFPT0pt+u+7SVZGkH8iSW5HRlxODNbIqRkiIsdq oTLJ7XS3YjZ26k6VjGgT74XCL2RpTplUMOtEl2n4OzImo1SgLzfKvNJ5vcLKeMEu0ZWu lFi3uAGF9IE0qMM+itToHVVa/Gynin8zW4Wjamj2tZ0aJ6AEpHNaZEYNCJDV8mjL+kK0 OfS+9M1+6IHrJzxBvI00rFfbIjSv7zExBwZXx/0qpfQrwLa9vycg936OEQqORyL5fAxz NPlH7XXuI8nKK92gQOsdfYA3wAvyUxBOLQ3OQ4ucT1gtA9zz3NMIlkKCaYcqXFoltUIi 621Q== X-Forwarded-Encrypted: i=1; AHgh+RoIRrchNjD5K1Zer0HHj3YinHeQR/MwW2rBRZr4H6CXq8cAp22aizu7DXeBEXgk1Ua++Bywr9GnqRynY+A=@vger.kernel.org X-Gm-Message-State: AOJu0YxlZbcUCSPaT79ckiMj7nNbgYfK0TamXr8L7UNGMmue9X/iU6Ox UlxiqTMG6S4SmX3yP3Fg1PoE2oG8OJP3MEDMAK0mX7HctCPstKGT8iRi X-Gm-Gg: AR+sD12koZqI5cf5fKLpHG8AOlGDvfsh++vrvdDy2MJwoa9/5K+FNu8iTH7/aSesDZO 9kb50mwD/J3BOULHW9ld91F4bYw0t99JNxlTnmosXfSpsdYx2TE6QgE4+1FCa+1n1F+TkhXGKjD QA69GBMjsFJy/iAQO+gIDJQDcKk8CtuawrYKw6L2gjlXbu1TWREqH5CjsO3HFrJuT/lhhsN12JT loOvzQVHp70zuGV8L8fEyz5/1QQ2m1ppBrBLbqTN+Pfk2en7wm2/uRPc9o8Ae0CmL7K2S5PBQDc LxNlCAWtSKzcIUtV6yRqlAGnFHdc1uO2t3cN5QiZTxEWjTLH8XDIHG7i+DXrjzLu43rQKDDIeWX lurhtCfGD61jZZAgn9o3RCJur1Lt8OF7+U68S3igVVoa2DotCe5XthU7ho5oV25kZOzJ+OroNA0 6gnN5ufUUGCXINZ0qfSZeVFXvZyEhW0u8+LqM0Oqju5NvJa9/IwgxXB8tnjo2ey/7VR0O3oruSG HMvxuZHvAIISS3ab4g5xM7nbUX/Pu3+iZ+2xDRgpg== X-Received: by 2002:a05:600c:3b04:b0:490:c6c2:52 with SMTP id 5b1f17b1804b1-49959e016f2mr394484115e9.3.1786367836983; Mon, 10 Aug 2026 06:17:16 -0700 (PDT) Received: from localhost.localdomain ([82.137.32.40]) by smtp.googlemail.com with ESMTPSA id 5b1f17b1804b1-4995c8bcca6sm231164515e9.4.2026.08.10.06.17.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Aug 2026 06:17:16 -0700 (PDT) From: Eduard Bostina To: Conor Dooley , devicetree@vger.kernel.org, Eduard Bostina , Krzysztof Kozlowski , linux-kernel@vger.kernel.org, Mark Brown , Rob Herring Cc: daniel.baluta@nxp.com, simona.toaca@nxp.com, goledhruva@gmail.com, m-chawdhry@ti.com Subject: [PATCH v2] dt-bindings: power: Convert TI SmartReflex to DT schema Date: Mon, 10 Aug 2026 13:16:41 +0000 Message-ID: <20260810131641.352391-1-egbostina@gmail.com> X-Mailer: git-send-email 2.43.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 SmartReflex bindings to DT schema. Signed-off-by: Eduard Bostina --- Changes in v2: - Dropped the '|' block scalar from the description. - Marked 'ti,hwmods' as deprecated. - Reduced the examples down to a single one. Link to v1: https://lore.kernel.org/all/20260730092454.52466-1-egbostina@gmail.com/ .../bindings/power/ti,smartreflex.yaml | 50 +++++++++++++++++++ .../bindings/power/ti-smartreflex.txt | 47 ----------------- 2 files changed, 50 insertions(+), 47 deletions(-) create mode 100644 Documentation/devicetree/bindings/power/ti,smartreflex.= yaml delete mode 100644 Documentation/devicetree/bindings/power/ti-smartreflex.= txt diff --git a/Documentation/devicetree/bindings/power/ti,smartreflex.yaml b/= Documentation/devicetree/bindings/power/ti,smartreflex.yaml new file mode 100644 index 000000000000..7ca0a5eed9b2 --- /dev/null +++ b/Documentation/devicetree/bindings/power/ti,smartreflex.yaml @@ -0,0 +1,50 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/power/ti,smartreflex.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Texas Instruments SmartReflex + +maintainers: + - Eduard Bostina + +description: + SmartReflex is used to set and adjust the SoC operating points. + +properties: + compatible: + enum: + - ti,omap3-smartreflex-core + - ti,omap3-smartreflex-mpu-iva + - ti,omap4-smartreflex-core + - ti,omap4-smartreflex-mpu + - ti,omap4-smartreflex-iva + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + ti,hwmods: + description: Shall contain the TI interconnect module name if needed b= y the SoC + $ref: /schemas/types.yaml#/definitions/string + deprecated: true + +required: + - compatible + - reg + - interrupts + +additionalProperties: false + +examples: + - | + #include + + smartreflex@4a0db000 { + compatible =3D "ti,omap4-smartreflex-iva"; + reg =3D <0x4a0db000 0x80>; + interrupts =3D ; + }; diff --git a/Documentation/devicetree/bindings/power/ti-smartreflex.txt b/D= ocumentation/devicetree/bindings/power/ti-smartreflex.txt deleted file mode 100644 index 21ef14d6af12..000000000000 --- a/Documentation/devicetree/bindings/power/ti-smartreflex.txt +++ /dev/null @@ -1,47 +0,0 @@ -Texas Instruments SmartReflex binding - -SmartReflex is used to set and adjust the SoC operating points. - - -Required properties: - -compatible: Shall be one of the following: - "ti,omap3-smartreflex-core" - "ti,omap3-smartreflex-mpu-iva" - "ti,omap4-smartreflex-core" - "ti,omap4-smartreflex-mpu" - "ti,omap4-smartreflex-iva" - -reg: Shall contain the device instance IO range - -interrupts: Shall contain the device instance interrupt - - -Optional properties: - -ti,hwmods: Shall contain the TI interconnect module name if needed - by the SoC - - -Example: - - smartreflex_iva: smartreflex@4a0db000 { - compatible =3D "ti,omap4-smartreflex-iva"; - reg =3D <0x4a0db000 0x80>; - interrupts =3D ; - ti,hwmods =3D "smartreflex_iva"; - }; - - smartreflex_core: smartreflex@4a0dd000 { - compatible =3D "ti,omap4-smartreflex-core"; - reg =3D <0x4a0dd000 0x80>; - interrupts =3D ; - ti,hwmods =3D "smartreflex_core"; - }; - - smartreflex_mpu: smartreflex@4a0d9000 { - compatible =3D "ti,omap4-smartreflex-mpu"; - reg =3D <0x4a0d9000 0x80>; - interrupts =3D ; - ti,hwmods =3D "smartreflex_mpu"; - }; --=20 2.43.0