From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f47.google.com (mail-wm1-f47.google.com [209.85.128.47]) (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 1CE913BB67F for ; Thu, 30 Jul 2026 09:25:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785403508; cv=none; b=e81yyA6sG1/opRkWhLQy1KNSnPJ9bcR1AMqZGjl6lh3oq8UDxeU6fEbEN/zhkSVUxGkU6Y0fPvq3TZXtIllkqLvW2vnT0HY6ZZkmJk6PhEnrRYj0Gg/ejvZW+dLBi5TQqkBXo/dO3IzLrNduYvJZ3Oj5bsYrIv3jxgchtaxXP9M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785403508; c=relaxed/simple; bh=+H/W06OtWOUaAXI5Urqcqhgio3A7vzXlFEDAR/6LHyg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=sAnI9vWEQf9dsjZfLYepbBvGHMpIzwjVRoO6ijt3tq6wXXFEoMBSNdLBzHzVIaJSrFW2l23QOSOwQYIkQVxPK7PdinoW98OZi40VVXpgWySko2EnHQxube6nby+Zk808eFOCEGUUPTjf6OZIbeQ+kN0JsU1lxjH7XNUqp6Jc4m8= 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=iAioOw0S; arc=none smtp.client-ip=209.85.128.47 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="iAioOw0S" Received: by mail-wm1-f47.google.com with SMTP id 5b1f17b1804b1-4954afac04bso20719315e9.0 for ; Thu, 30 Jul 2026 02:25:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1785403505; x=1786008305; 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=HmxdOuY2ztTCL/bOsHlKrWIxWkSPLuUMlltrw2X6NRk=; b=iAioOw0StjTUxGWobr1xe9TqzNlgufjRsSVX3xF4bgoW3Pty1YpGRFHISBSs3rhGRJ EhGjuyXnqxOH8lC2ZHckz65N1ij+4jAHkSb6Src0uhQ3JHcmrP8yGvGx3g8F1XAXEHdw ydXK1H15x4ODz2bFxyUVEbSWX4wHu32EFmtd0A7EeRxU9ph1mym3mymePGK9a9S5Txgi lWyER46K1XgXffRuYyfyOkbuVIfraSf8x5LhwpboIk96zM9BO4mLN+B9Xkvu2no3W5wr JaKs1M5/VzOcSr1GJn2DEN+v/WOFhlSi1BP/L0UANvafUVOGdvF8pZIWMdWYx1YYnNok 4kxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1785403505; x=1786008305; 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=HmxdOuY2ztTCL/bOsHlKrWIxWkSPLuUMlltrw2X6NRk=; b=Q8up9Rb9ftV0XssFhPyb9mXzo6gvpC83mFiXjXo5xBOGDAkmgdZi2H8aSMMGL0UEYz PPy4Z3qE/oZNLW8CLsxHUgPlleRqDtkArTgimTB3FVauyZzUEYVgySJ3oL6VNXAf1Rtt hF2C/oThDNEl8habgJ4+mh6I4lhDpB4DQWB0Z0Who73MIrw8xBjOPVZJLlVsj9EP+b9q TpRkuRN80fFtxsVbyKCwtIiMvA2BtJSAyWZyKZwPwUA7REVyBPN5+fY1EvdEQyynL3ct NRjXVtVwU12n8mRPeWd3v72vpuCVABHjTtQYHeZ7SflRZKIQlxE8qw2lFoN9m5hzp8eV hWIQ== X-Forwarded-Encrypted: i=1; AHgh+Rp0c+hYZPoOM1MthvHZagRmEtKW7IgmVGj/MAZZtrbJ5CNwit3S+t0GSJrGlxA1XbsYmJZWMFOCLJf2PCc=@vger.kernel.org X-Gm-Message-State: AOJu0YwOvhGrqgUmEd3JO3g6CTe8qM/SWoRhL95X3+KHPpzbPG3pzBYV Bj04PD0N+owkzgbYCij1n+cINRNszI9SpYFMs9iVqV6ovw/nqEhH1APUXwGJg6mc X-Gm-Gg: AR+sD126I20cvwIjVHnPtsLM+YIG7hVAOu6tKX//oY0vtbOILpbZhpf7rTsFDDOqTsR G3hTOM+Cht32rbMjQMxg5Vb+A1slkpzJWr8YOfg5GTEx7fJ/AG3di+jyevYhIXqDZPlIoFqlzpX AkSZzwe1tru0aVA9jXZu+28/iPf1S/+/ctPGyzw5hhfMDMqHW7/+c2XW6BZ8Meu2AV7Vjv9ynzT 0Y8RaHGg0l51XyiLhH+SSDIcB3cF23o7LLpB5lL1mRwM+1IgSIHb1NNzndbQ38vo/IogITZlxEG l7WOcBIl72uEQzRs/ig2bvPZg7vuOagXf1obewIcj+vSVL+83tsOMAWWSbN0FrqOdVTm44KlauO MLnXCVbg3r0TnbOZPfTMpILAJXIs0Rm8XNvVTeYrh9D3Cx/AQZdnvOnyNWIBqNDzF+8XG5V5qNh RczopctgBfZNEzNiOIt9uTs0+zyolDeZheyre7K5zLFHIMaNhyzJthEoXKMm4a/ojXLPFaV2boC ONcWM6mQ6SQPK0ZSnofDhTAEOil2MIlVw== X-Received: by 2002:a05:600c:820b:b0:493:f442:3dd4 with SMTP id 5b1f17b1804b1-49800ed1b03mr22085445e9.39.1785403505130; Thu, 30 Jul 2026 02:25:05 -0700 (PDT) Received: from fedora.tail6d6c39.ts.net ([82.77.79.56]) by smtp.googlemail.com with ESMTPSA id 5b1f17b1804b1-498011fec37sm44168585e9.9.2026.07.30.02.25.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Jul 2026 02:25:04 -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] dt-bindings: power: Convert TI SmartReflex to DT schema Date: Thu, 30 Jul 2026 12:24:54 +0300 Message-ID: <20260730092454.52466-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: 8bit Convert the Texas Instruments SmartReflex bindings to DT schema. Signed-off-by: Eduard Bostina --- .../bindings/power/ti,smartreflex.yaml | 70 +++++++++++++++++++ .../bindings/power/ti-smartreflex.txt | 47 ------------- 2 files changed, 70 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 000000000..b2dc59b4d --- /dev/null +++ b/Documentation/devicetree/bindings/power/ti,smartreflex.yaml @@ -0,0 +1,70 @@ +# 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 by the SoC + $ref: /schemas/types.yaml#/definitions/string + +required: + - compatible + - reg + - interrupts + +additionalProperties: false + +examples: + - | + #include + + smartreflex@4a0db000 { + compatible = "ti,omap4-smartreflex-iva"; + reg = <0x4a0db000 0x80>; + interrupts = ; + ti,hwmods = "smartreflex_iva"; + }; + + - | + #include + + smartreflex@4a0dd000 { + compatible = "ti,omap4-smartreflex-core"; + reg = <0x4a0dd000 0x80>; + interrupts = ; + ti,hwmods = "smartreflex_core"; + }; + + - | + #include + + smartreflex@4a0d9000 { + compatible = "ti,omap4-smartreflex-mpu"; + reg = <0x4a0d9000 0x80>; + interrupts = ; + ti,hwmods = "smartreflex_mpu"; + }; diff --git a/Documentation/devicetree/bindings/power/ti-smartreflex.txt b/Documentation/devicetree/bindings/power/ti-smartreflex.txt deleted file mode 100644 index 21ef14d6a..000000000 --- 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 = "ti,omap4-smartreflex-iva"; - reg = <0x4a0db000 0x80>; - interrupts = ; - ti,hwmods = "smartreflex_iva"; - }; - - smartreflex_core: smartreflex@4a0dd000 { - compatible = "ti,omap4-smartreflex-core"; - reg = <0x4a0dd000 0x80>; - interrupts = ; - ti,hwmods = "smartreflex_core"; - }; - - smartreflex_mpu: smartreflex@4a0d9000 { - compatible = "ti,omap4-smartreflex-mpu"; - reg = <0x4a0d9000 0x80>; - interrupts = ; - ti,hwmods = "smartreflex_mpu"; - }; -- 2.54.0