From nobody Mon Sep 28 23:06:24 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 9BC1754788 for ; Sat, 15 Aug 2026 08:32:02 +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=1786782724; cv=none; b=NOsy7j//jqivh0GEiuR59mtz1Us16zh0lu8jr8i4IfzySWs80HCnO5AhpRydLSt/3MXyof2Wg0F+ddRNNDs7t6kC4KcPCowN2Gfsnbffr7Y8WED+Y+OHSjSsiKSZHm8kG3l8fTorgBK2lJcsVEe25Gb7jj8ksFK6FFLIHJjIjAk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786782724; c=relaxed/simple; bh=ig0Czw6EoJk1SeXGouZnD93LG49YWVcmjNh23KhFKG8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=bRdbGRI2mLMydFhh97CSWqQXFM2TxI3CgoRDwCcNSBFFeb+Kt6/1ImomIjwu+1E9oFZ+TzD+s2WjJNbBoaLQDdskr2qMjWN1K+MBZ9Iv/wfCRxWrwXOGWTse9R+QNCnsacAridhajbcd31T+tXyQRpBO3Xg0wX82gvML8akoEOI= 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=ezbi7WP1; 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="ezbi7WP1" Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-4980fe6b3beso20183855e9.0 for ; Sat, 15 Aug 2026 01:32:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1786782721; x=1787387521; 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=JmXRmBb374yuyQNwVRXydj5Wcgj3TvsFot0DLbSW/P4=; b=ezbi7WP1C99y+DrBGx3M0jA6VoLTK3P8mIUGr4d7JM+dSO4k0cVtFkBl21OZASJhxU qcZx17Q7cikKzcbDV3nBA20C2k67OMZYhTe/5wramfuU1AGiJCNVXpuE3adYPtFsKGZ+ Pd4b8JC2HrVooV3nv9s9gRinJ4EaSz/i0yBVxS5bfBy4dGAuw1s6Vxk1whym35q3EaFT SeD7hSev7L9vt1F2P6/AJ+DKB25x/QTsSd7yRRLTGfrOJBPtR9IGl+sIj2GVu7//3seA m+75QcOThLMbHFDoQc2vhWATGMtmZQZqtgWL9bG27uoPhFGArzH+G3yhJLdt4nQmEgN+ 2hyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1786782721; x=1787387521; 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=JmXRmBb374yuyQNwVRXydj5Wcgj3TvsFot0DLbSW/P4=; b=jqGavegZQna/eDwMiCitf7/SDQT1OWg2ygn44EKHgtb3/VjLCOVLSrttKX/Wy0/uoj EZeoMhHNC71xwHfJ5ZgcVuR/ty0sq/S7XujxqJAb2iEcVn7YtAfvYuF61SS7jlsxHYdB z2cyY1EpqqHEqAc1usI5x6AHFROpQeQqzlERBDVNq97IMTIspK8yYbOKxhD8MmWLGTtA 5nxCekI6Wq+fM3wiC/nqoif2RLqNyrJiCHDHGHSwhtfkh63sqn9fZhUS4ZjsbM9LL4qV aW6+jq1ItXMRf9xYBaHr3Cakrg3OT8K91RmOn+ZVW22VJJiqmLh5uFjzJgNyZzYZblaI MrQg== X-Forwarded-Encrypted: i=1; AHgh+RqlU0YAYGrE1pdXkYVFMqlcGQl9VInbeCLH8xzTbKXzz8pS9YSxBmrmNxbgjCZomboFIr1gT6j3gT65Yrk=@vger.kernel.org X-Gm-Message-State: AOJu0Ywt40KbYd4lofHIEv9BMWnGpnABlIVFCXnH39uiFne1zfNfNztu b3XogeKhn+jri+C0irYfj4viirmro2996/WtPicTgNVJw7ofFjQJGbzQ X-Gm-Gg: AR+sD118n+nasomwqfr8hHKhDK2y9veJV8iXy82UcI1EtVOc3Dta6KMCSg83rC79+L0 t1jda3TsIMm3Xj37RzR5GM7wTO55+Bjukosf3JkjxO26DVrgcfY07NupAH1WaKyJBieQsciElC0 e5+wcuwynaL+kXN/8z5cIuOvvi/TbOxF2RswFL97+LMjv35mMqtqARXoYpCVndCidiFQ5RBRyYH P2CdRZZTUUsCPvFcYbkyvOGvobjnpOm3kj7IKNSyoAyg08q2D5iOhY37L/KH9MX1N3+1tQTp/1S lOAXRXKda2BR93455+kmCROph+l3VZCR1vqsYm1JzoTodyhlU9LBzINrE8dyc8ZepNqcOlLcAhB 2kS3Ub9dgJTEksRr2GB9RZrKHsb2Rryhbp+har+FbkrY2JRT2/t0QSWBGIxTcRHioBJu6htywZT Z/RBt5NWST/UfBk1vuZ+UPuWszqjHpntaF5IKcKNle4fpRzLYMrYeeV0xNoKw9xmN3M+ZnOQMaT VC6eGz27W/dfgzMsXWbeO5h2Ka4Hvs= X-Received: by 2002:a05:600c:5643:b0:499:77ba:4b6 with SMTP id 5b1f17b1804b1-49987ad988emr113620185e9.9.1786782720567; Sat, 15 Aug 2026 01:32:00 -0700 (PDT) Received: from localhost.localdomain ([82.137.32.242]) by smtp.googlemail.com with ESMTPSA id 5b1f17b1804b1-49988b1d33asm126774485e9.10.2026.08.15.01.31.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 15 Aug 2026 01:32:00 -0700 (PDT) From: Eduard Bostina To: Conor Dooley , devicetree@vger.kernel.org, Eduard Bostina , Krzysztof Kozlowski , Lee Jones , linux-kernel@vger.kernel.org, mfd@lists.linux.dev, Rob Herring Cc: daniel.baluta@nxp.com, simona.toaca@nxp.com, goledhruva@gmail.com, m-chawdhry@ti.com Subject: [PATCH] dt-bindings: mfd: Convert TPS61050 to DT schema Date: Sat, 15 Aug 2026 08:31:45 +0000 Message-ID: <20260815083145.2145984-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 TPS61050/TPS61052 boost converters bindings to DT schema. Signed-off-by: Eduard Bostina Reviewed-by: Rob Herring (Arm) --- .../devicetree/bindings/mfd/ti,tps61050.yaml | 92 +++++++++++++++++++ .../devicetree/bindings/mfd/tps6105x.txt | 62 ------------- 2 files changed, 92 insertions(+), 62 deletions(-) create mode 100644 Documentation/devicetree/bindings/mfd/ti,tps61050.yaml delete mode 100644 Documentation/devicetree/bindings/mfd/tps6105x.txt diff --git a/Documentation/devicetree/bindings/mfd/ti,tps61050.yaml b/Docum= entation/devicetree/bindings/mfd/ti,tps61050.yaml new file mode 100644 index 000000000000..974ef78d6e26 --- /dev/null +++ b/Documentation/devicetree/bindings/mfd/ti,tps61050.yaml @@ -0,0 +1,92 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mfd/ti,tps61050.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Texas Instruments TPS61050/TPS61052 Boost Converter + +maintainers: + - Eduard Bostina + +description: + The TP61050/TPS61052 is a high-power "white LED driver". The device + provides LED, GPIO and regulator functionalities. + +properties: + compatible: + enum: + - ti,tps61050 + - ti,tps61052 + + reg: + maxItems: 1 + + regulator: + type: object + $ref: /schemas/regulator/regulator.yaml# + description: Puts the chip in regulator mode. + unevaluatedProperties: false + + led: + type: object + $ref: /schemas/leds/common.yaml# + description: Puts the chip in LED mode. + unevaluatedProperties: false + +required: + - compatible + - reg + +allOf: + - not: + required: + - regulator + - led + +additionalProperties: false + +examples: + - | + i2c { + #address-cells =3D <1>; + #size-cells =3D <0>; + + tps61052@33 { + compatible =3D "ti,tps61052"; + reg =3D <0x33>; + }; + }; + + - | + i2c { + #address-cells =3D <1>; + #size-cells =3D <0>; + + tps61052@33 { + compatible =3D "ti,tps61052"; + reg =3D <0x33>; + + regulator { + regulator-min-microvolt =3D <5000000>; + regulator-max-microvolt =3D <5000000>; + regulator-always-on; + }; + }; + }; + + - | + #include + i2c { + #address-cells =3D <1>; + #size-cells =3D <0>; + + tps61052@33 { + compatible =3D "ti,tps61052"; + reg =3D <0x33>; + + led { + color =3D ; + }; + }; + }; diff --git a/Documentation/devicetree/bindings/mfd/tps6105x.txt b/Documenta= tion/devicetree/bindings/mfd/tps6105x.txt deleted file mode 100644 index dc448a9d5b4d..000000000000 --- a/Documentation/devicetree/bindings/mfd/tps6105x.txt +++ /dev/null @@ -1,62 +0,0 @@ -* Device tree bindings for TI TPS61050/61052 Boost Converters - -The TP61050/TPS61052 is a high-power "white LED driver". The -device provides LED, GPIO and regulator functionalities. - -Required properties: -- compatible: "ti,tps61050" or "ti,tps61052" -- reg: Specifies the I2C slave address - -Optional sub-node: - -This subnode selects the chip's operational mode. -There can be at most one single available subnode. - -- regulator: presence of this sub-node puts the chip in regulator mode. - see ../regulator/regulator.yaml - -- led: presence of this sub-node puts the chip in led mode. - Optional properties: - - function : see ../leds/common.txt - - color : see ../leds/common.txt - - label : see ../leds/common.txt - (deprecated) - -Example (GPIO operation only): - -i2c0 { - tps61052@33 { - compatible =3D "ti,tps61052"; - reg =3D <0x33>; - }; -}; - -Example (GPIO + regulator operation): - -i2c0 { - tps61052@33 { - compatible =3D "ti,tps61052"; - reg =3D <0x33>; - - regulator { - regulator-min-microvolt =3D <5000000>; - regulator-max-microvolt =3D <5000000>; - regulator-always-on; - }; - }; -}; - -Example (GPIO + led operation): - -#include - -i2c0 { - tps61052@33 { - compatible =3D "ti,tps61052"; - reg =3D <0x33>; - - led { - color =3D ; - }; - }; -}; --=20 2.43.0