From nobody Sat Jul 25 03:46:04 2026 Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) (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 CDE3A379EE1 for ; Sat, 18 Jul 2026 21:56:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.42 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784411818; cv=none; b=YyebgP8pUycwG/NfqcNzitziyejZ+HNL5YyIZ+FFNzBifOcA1mwC5DV28MYGG2Xbi79/Ju9CqPmg35aTh5052JNg7vEUjH0g50Uisq/K1CDFAZ9U0LRk/IoPnidcQF1EsUi96pR9sGHD+uxasLkKozUMuedrfvYY0OaUp+YWxtg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784411818; c=relaxed/simple; bh=o2glR0HHqR0WEABSYUab9f3puWpFplzNf7xndkCI/0Y=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=SfL0+VRJ+qUy/5yU+LQRFYRK7HUusG7uk2B4Q5IsuQX9M0zyxQgLUXrmIlw3VCM7gKIuuV9WeDw0tXd2kTwH71j8iUlPVhvKljfwMwotC0KxisAhR7YqMady9Q24LzEpS3+3sNuW2YXGQ0L9DJlkDYrk8dXCCCOWMbJMVtq/Uz0= 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=JKSdsx4/; arc=none smtp.client-ip=209.85.128.42 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="JKSdsx4/" Received: by mail-wm1-f42.google.com with SMTP id 5b1f17b1804b1-4954a2e73a9so10761995e9.3 for ; Sat, 18 Jul 2026 14:56:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1784411815; x=1785016615; 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:content-type; bh=Ix301uMLUVdMn58C2UIAphmLJhOXCWVoJrX02MWxSZA=; b=JKSdsx4/MgULp/4uvVEMDlllpZlYlEnk+Uwj5u0UmLK3x/toEaoUlexRhLR3Fu4Ajr z7kCnE28qZQ5t6QVsI91+1wzH2xqkDw6qjCKNwC22AB1RDNXoY4vuojDQa1yCQhkDmRM 3Ky7YUYYT/DU5jCFABQ72dEUEaqbMf39JBlrBCZpEvdMuKdinWWEXuP7NayBBAvAoxXO DW932m3lTOXlTPjSIw6xkatqAg52NBPEjEsYaggbDo+/wU/GzLGF0Fjlc1+UowIS7Isy HlgUi4a7qgnepn7G4w9eMAd1FzIBI+78x7LIxHCwnqmEcicZeSSBgnmPwIQUpsL1f2pI 9Aug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784411815; x=1785016615; h=content-transfer-encoding:mime-version:references:in-reply-to :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=Ix301uMLUVdMn58C2UIAphmLJhOXCWVoJrX02MWxSZA=; b=D9KYyFd7P/dSLZ8o1Ut+YofG94KCBY0q+qrfmXxfb15WqlykjaQKbDekzEUrZ9OEsd Xnu8Mrv5bV++lquLw+JMc85CT+XSPSJwFXYA2IizN/LXT9clVAQhnAoGV2PfdcZ6AiYT X9aecOu5Oq21wrDBTf2te/fW1ZtQ/d/4tU7fOPOhRShaQh0WYg/4rR4f3lmLL0VEJzRe aFUHo9AM8/sP0DM73JxkD6CUUz0tKGkwYZ0Ve1vjUENqPcXPr4Ex4rVG9amG8xuO7VUt cUmwKKerOpun79OHpd59K0YNC8B+07QrHQ5JyAntdvJD/C6pRRRPMzs+HTQGXq9Eqj3m 7OLw== X-Forwarded-Encrypted: i=1; AHgh+Rr5zVzX+ddjELhAywx9UWSgFYU0tO/l+yEqC1nSeJMFNC+r8xhuEJCF7ZWhlOjG1uZlUJzQOOjPcx2luig=@vger.kernel.org X-Gm-Message-State: AOJu0Ywlzam+Y+L2OhxcvVnwbKqG5rUMRgxHBTgxOrQrk2MXfLXbsyAs Oq67nFsx+30kWZ7S2g6+taIajLV4otzHDiwGCzEJYpUBIUuXTS4BFtph X-Gm-Gg: AfdE7clf2kqQEuj5+IsTKzEF0G8uHP1m3oCt7P4WgjQiFq+kXQ1ruRvWSJ/9zhgvOGF CSI9vQrQLoXDLKUfLGIlxPTMzzYqp/0gspgOib5zRasPgzPrvcptrrfHeYW3oWiSK9uMWRw4PMv SLNjWOM0bP9Opc1Uz+8hRPf6+2SyaZp4uCBNw1TlRHEQUrEc9iWQ6nTpeubrrA60ICaxwnFK7ru JfzyuphzzMcx8FbocKu+yuYRRsxCRZAQlDwO4zDKr+aZjx8TqfI2tbNwfuQRyh+U+EPvIJTLDgE 66xTfQYM0mhbno+OJy+m6KHDcsGrDE2xi4LJiV3731IY+81O0MOMh2IvR52LTWglWGz3voEmzw7 V579usAfD+Akd45XjuKPBPLJi9MSvqmPIy3XChmETzCP4gPYl5alHURSSmPyx5yxFMKFR1G1OrD fytkZ5Mf7BxVkEuF0ZBcWIOioM+7sWm20oS1I0j2U1dORh X-Received: by 2002:a05:600c:4e86:b0:495:3b8a:5e17 with SMTP id 5b1f17b1804b1-4954a3e41d5mr90987515e9.16.1784411815010; Sat, 18 Jul 2026 14:56:55 -0700 (PDT) Received: from localhost.localdomain ([188.26.50.240]) by smtp.googlemail.com with ESMTPSA id 5b1f17b1804b1-4954c0a81f7sm101199835e9.1.2026.07.18.14.56.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Jul 2026 14:56:54 -0700 (PDT) From: Eduard Bostina To: Aaro Koskinen , Andreas Kemnade , Conor Dooley , Daniel Thompson , devicetree@vger.kernel.org, Dmitry Torokhov , dri-devel@lists.freedesktop.org, Eduard Bostina , Jingoo Han , Kevin Hilman , Krzysztof Kozlowski , Lee Jones , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, linux-leds@vger.kernel.org, linux-omap@vger.kernel.org, Pavel Machek , Rob Herring , Roger Quadros , Tony Lindgren Cc: daniel.baluta@nxp.com, simona.toaca@nxp.com, goledhruva@gmail.com, m-chawdhry@ti.com Subject: [PATCH v2 1/3] ARM: dts: ti: am335x-guardian: Drop unused isink-en property Date: Sat, 18 Jul 2026 21:56:30 +0000 Message-ID: <20260718215632.3295049-2-egbostina@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260718215632.3295049-1-egbostina@gmail.com> References: <20260718215632.3295049-1-egbostina@gmail.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" The 'isink-en' property is not read by any driver, so remove it from the TPS65217 backlight node. Signed-off-by: Eduard Bostina Reviewed-by: Krzysztof Kozlowski --- arch/arm/boot/dts/ti/omap/am335x-guardian.dts | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm/boot/dts/ti/omap/am335x-guardian.dts b/arch/arm/boot/= dts/ti/omap/am335x-guardian.dts index 6ce3a2d029ee..d595e79d6b05 100644 --- a/arch/arm/boot/dts/ti/omap/am335x-guardian.dts +++ b/arch/arm/boot/dts/ti/omap/am335x-guardian.dts @@ -320,9 +320,6 @@ backlight { isel =3D <1>; /* 1 - ISET1, 2 ISET2 */ fdim =3D <500>; /* TPS65217_BL_FDIM_500HZ */ default-brightness =3D <50>; - /* 1(on) - enable current sink, while initialization */ - /* 0(off) - disable current sink, while initialization */ - isink-en =3D <1>; }; =20 regulators { --=20 2.43.0 From nobody Sat Jul 25 03:46:04 2026 Received: from mail-wm1-f46.google.com (mail-wm1-f46.google.com [209.85.128.46]) (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 3DAEC379ED2 for ; Sat, 18 Jul 2026 21:56:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.46 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784411823; cv=none; b=AfdwrydM+ABBJqJEWbqu1e9ulYc2U13CUW8aWkzMMDVSWiXXA/Nf+K3r6DeLsHf3fOOPfni3lFoWMBPBw2fG4VoYvnqGkGgwpo3wLlG3TDvo+2fUkRgiLw+KQRTmNiSE+umox+tCb5K0DJY41bGgZhCQtoZPjyJg7NziRHb5p18= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784411823; c=relaxed/simple; bh=Hd+tupI66QuP1tLRrv+1JWvd/0wH4IvI6LIN4P/a8dQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=iU9InHE3w5Y0fyr8zfUT8J43ofS5mtNhERz6FxR7m3Hk0sb8RoiPo7vK1YcnV5JIzUuWBxlputD6kJ8yPfDZeEELOP3yy1alMChT/s9TffOMYF8ozyEGXMB5oBz2/3nK4XA5d1pLn41k+FFGUUHlDNSg/yigF/txK58L6rZsDqU= 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=OsbNm/Ug; arc=none smtp.client-ip=209.85.128.46 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="OsbNm/Ug" Received: by mail-wm1-f46.google.com with SMTP id 5b1f17b1804b1-4953ddae026so28346265e9.3 for ; Sat, 18 Jul 2026 14:56:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1784411817; x=1785016617; 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:content-type; bh=6hEJAtA2FmuGbMms2Cfe5VvNicgq5ngesjv9wLRLgDE=; b=OsbNm/UgKUmH5sFpZ2FcAzQTGBhgEPT9CWuSvzX2jSx4+stmpAYbcER8e6tJXIVxfX 2cR7HFu4X0T1MO9NdTJbh9hIOslRyy6yU4I3nbf3OX2+vXbxt4Z1/bhnmfj86Y8rVZ/g X9mlOWd6OuuLP9+0Kk+vcViemvgX9b5YPIe8XT2x9kk4kkmZ3xPutN5ZlSz1B6qjoTRj UjsofnAOpI4bx7g1BoTfq0blow1A7dNfeBbn5PjntPu6GK5UfFVUa/SVYvSPec+NcxN0 czPQifhNWt4/I9kFkcoaIW+9qn5HfL+GQe+LAE+wIUWKHK1PjCeaziiKMYBDnGMd+Yfa DvzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784411817; x=1785016617; h=content-transfer-encoding:mime-version:references:in-reply-to :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=6hEJAtA2FmuGbMms2Cfe5VvNicgq5ngesjv9wLRLgDE=; b=hIWgvhAqJJEpS1pugQI7VwD0xA639EnV+lDFnGhrO621HTEVvN1CUgiMScPyepNqTq 4LsvAlXaXWcGzyQsCdD6AvDB/uofgsA1x7uDw57NYscDBdtoXNF6k440+xrarCqdlvc6 Qu+jNEw7EC0hfTrkof2m8aRmD9GyRsTI1JeY/HK63C05EVcOpcLDd3E6lNMcUAFeRb/4 nemffcDxGy1GXr5FPst3UJ6JzsqlMFmIp/FaA6uFXwWAk5bdm6LSrnMttlcJLMkeoxix mwHHx5WahJiC//NXrSzi0FvCDlK/PkAKgHmDnLsoxPAaFYudD5CL6Y7LVUB3rzKeES7R uKJA== X-Forwarded-Encrypted: i=1; AHgh+RrNphBwhJ7GdzipYhDrYOMaSzeFwyd98D5VD2ZLCg85yB1ho77tCRgp5X7cKAsjMghdCMu9+gtLvMdq044=@vger.kernel.org X-Gm-Message-State: AOJu0Yx2dwowgCtBmLLS+6yZ/B2A6EHd2hpkwtlf7Xj6hql+6adAsVmJ eqY3fhDlv9FIUtTQqol6POO3O3WLgDrcuX9LaE7sQECFoD5JejLVGOOE X-Gm-Gg: AfdE7clfcPMRxgdEbkL1RHfVUuhXLOP570xWvVqf10RV5unIYhIcABXB8KtnXYSoW3B yhLW7Z/tURqnBPzjIYFNFQMQU1KrnLMWrGtGrN7L0e3YHyaP9sPCLr0fUkVJimQtEVdf22rcQ9k W9ML4KVqPA4gbWG0r1ODO/JuSVAttMZuLpah+lFhZ8v+FzWrR/2beOfR+GlTBRiM+jNuo8Y2uTl xiu2bK/TeTYHerETPeCV+nJuRzafhW4mL3y/2IXNDm9lJXqWtfNJPQmudBRJx7pJ1E6CTGKpI7d jrxJCC2IGWnuNqQDrmO73RgTrg3+geNiqko/wbP+t1rtDBSb6K1Nqr+TsusnIDQuFdPCj6BTEil SYpw0J+DRVG58eA2SqpGOY3Svmot0sm2B40Nnn0INLcYjjMKNKJdWQl3CUS/+02yPokTAP1bpZ6 fRvL3KNQJh3+NBzzPkzKDcsNCEUNl21PFtY31guXhMPXHoTY5SF0qowgs= X-Received: by 2002:a05:600c:1d18:b0:495:3e08:ad19 with SMTP id 5b1f17b1804b1-4954aa1a264mr86084215e9.9.1784411817252; Sat, 18 Jul 2026 14:56:57 -0700 (PDT) Received: from localhost.localdomain ([188.26.50.240]) by smtp.googlemail.com with ESMTPSA id 5b1f17b1804b1-4954c0a81f7sm101199835e9.1.2026.07.18.14.56.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Jul 2026 14:56:56 -0700 (PDT) From: Eduard Bostina To: Aaro Koskinen , Andreas Kemnade , Conor Dooley , Daniel Thompson , devicetree@vger.kernel.org, Dmitry Torokhov , dri-devel@lists.freedesktop.org, Eduard Bostina , Jingoo Han , Kevin Hilman , Krzysztof Kozlowski , Lee Jones , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, linux-leds@vger.kernel.org, linux-omap@vger.kernel.org, Pavel Machek , Rob Herring , Roger Quadros , Tony Lindgren Cc: daniel.baluta@nxp.com, simona.toaca@nxp.com, goledhruva@gmail.com, m-chawdhry@ti.com Subject: [PATCH v2 2/3] dt-bindings: input: Convert TI TPS65217 power button to DT schema Date: Sat, 18 Jul 2026 21:56:31 +0000 Message-ID: <20260718215632.3295049-3-egbostina@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260718215632.3295049-1-egbostina@gmail.com> References: <20260718215632.3295049-1-egbostina@gmail.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" Convert the Texas Instruments TPS65217 and TPS65218 Power Button bindings to DT schema. Signed-off-by: Eduard Bostina Reviewed-by: Krzysztof Kozlowski --- .../bindings/input/ti,tps65217-pwrbutton.yaml | 42 +++++++++++++++++++ .../bindings/input/tps65218-pwrbutton.txt | 30 ------------- 2 files changed, 42 insertions(+), 30 deletions(-) create mode 100644 Documentation/devicetree/bindings/input/ti,tps65217-pwr= button.yaml delete mode 100644 Documentation/devicetree/bindings/input/tps65218-pwrbut= ton.txt diff --git a/Documentation/devicetree/bindings/input/ti,tps65217-pwrbutton.= yaml b/Documentation/devicetree/bindings/input/ti,tps65217-pwrbutton.yaml new file mode 100644 index 000000000000..3526d8b045fd --- /dev/null +++ b/Documentation/devicetree/bindings/input/ti,tps65217-pwrbutton.yaml @@ -0,0 +1,42 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/input/ti,tps65217-pwrbutton.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Texas Instruments TPS65217 and TPS65218 Power Button + +maintainers: + - Eduard Bostina + +description: + This module is part of the TPS65217/TPS65218 PMIC. It provides a simple + power button event via an interrupt. + +properties: + compatible: + enum: + - ti,tps65217-pwrbutton + - ti,tps65218-pwrbutton + + interrupts: + maxItems: 1 + +required: + - compatible + - interrupts + +additionalProperties: false + +examples: + - | + #include + pmic { + #address-cells =3D <1>; + #size-cells =3D <0>; + + power-button { + compatible =3D "ti,tps65218-pwrbutton"; + interrupts =3D <3 IRQ_TYPE_EDGE_BOTH>; + }; + }; diff --git a/Documentation/devicetree/bindings/input/tps65218-pwrbutton.txt= b/Documentation/devicetree/bindings/input/tps65218-pwrbutton.txt deleted file mode 100644 index 8682ab6d4a50..000000000000 --- a/Documentation/devicetree/bindings/input/tps65218-pwrbutton.txt +++ /dev/null @@ -1,30 +0,0 @@ -Texas Instruments TPS65217 and TPS65218 power button - -This module is part of the TPS65217/TPS65218. For more details about the w= hole -TPS65217 chip see Documentation/devicetree/bindings/regulator/tps65217.txt. - -This driver provides a simple power button event via an Interrupt. - -Required properties: -- compatible: should be "ti,tps65217-pwrbutton" or "ti,tps65218-pwrbutton" - -Required properties: -- interrupts: should be one of the following - - <2>: For controllers compatible with tps65217 - - <3 IRQ_TYPE_EDGE_BOTH>: For controllers compatible with tps65218 - -Examples: - -&tps { - tps65217-pwrbutton { - compatible =3D "ti,tps65217-pwrbutton"; - interrupts =3D <2>; - }; -}; - -&tps { - power-button { - compatible =3D "ti,tps65218-pwrbutton"; - interrupts =3D <3 IRQ_TYPE_EDGE_BOTH>; - }; -}; --=20 2.43.0 From nobody Sat Jul 25 03:46:04 2026 Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) (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 7C988379C45 for ; Sat, 18 Jul 2026 21:57:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.41 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784411825; cv=none; b=kK4hwNC8+DgpphBnwp1qON/dozC1f4wx1Qzn7mCRVvvUJJ66yO4kR4whKe5QaxG0u6xJKzQ4jE1YVQE4eqvPvy7lEMzH6PIKryI+Anj7vJga0ABEvC7Iu387wQ4nPqfhuWWiVYMyr+Hbsgrzx94jtOWIqceGutW4mEAv43TY5Ic= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784411825; c=relaxed/simple; bh=e8EdoxkcXCLGue3RMjSGCqAcggnaqiNqZOMtkWZQElo=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=DjI7rnNqOJtj70g001pV/iGecf7udV9nOTcZD3fFYy+1NQjuJMZREJfGk40MO4/h+wNrjT1QboYl75O/NqfoGFtulS3rXKfSgtYIeYFWim5f8+LqXFMxlURqjB1C5NZM2rkmzgP+x7Veors6jeZDKFQ9dDqk96RVQlAyKSTPO40= 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=oR0l6BlS; arc=none smtp.client-ip=209.85.128.41 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="oR0l6BlS" Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-495590ba856so550035e9.2 for ; Sat, 18 Jul 2026 14:57:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1784411820; x=1785016620; 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:content-type; bh=lpxItdTSSRPz8qQrNM+YynkVLo80ONeSs8p2LlFqFRA=; b=oR0l6BlSpb8sfd8K2IAp3PJkSsj01jSmDOPHtuL1Op/LhltiA/F5g3LAtb9KGibvpp MKej7qZurmoaR93I6rgUnvIe59vvCD44CXgIpvgLrVYJo5UO5qtPABhZJCo5BZ8mMCLz 8bw+lx0u2r+aDI+ZW9nE14nC6IaeTA5uukUtt+SyFkLNtntui0wycVmW8YnLT97xTC5d 0kGnUth2teEFdHth/9gXLKxn1RHoxF+ciDayX56iNZjx0hyZobdg8jRqwJOuN2LpDczx O3obNIHRDCATLnk/oGP3POJUbrlGHIaNyn7AiMNd2zUCivmS4IWae6SfG6MDWkiPq9a7 IDog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784411820; x=1785016620; h=content-transfer-encoding:mime-version:references:in-reply-to :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=lpxItdTSSRPz8qQrNM+YynkVLo80ONeSs8p2LlFqFRA=; b=RprrQk/lJSzI0Zsv+5/GntD+dIU4fz9n/pzFS89ZJC+KCRw5QazJ7Zh/u3Kd+gIOme DztlxiHQOpczLy4CRfJHTcH0/gkC7FuARJ+F+uA3P8VDxoz6a6xl4pPQHBoJ8GwKx9tX oe/+dra2DpMIeHkVfE+/fV+TvsmAoEbGHUMnXqqbN1CJs+i7M1LbFyLhxS4Bq9a0Cmh1 uy7bCcK14rGIau37gRgpD0MnaDWvTPoJ6zVJoS9bs7otHWBD/9xRKIhzHT5m/deU6p4H X/rCDcmtzMCSO2G2mpvbSEgTMicuOLjDfYAy/1vWdokkWidsSPZCaOfQ5tRtWrOWuDT0 p0Yw== X-Forwarded-Encrypted: i=1; AHgh+RqCigTgggx+47jLhiBIugOjK+HJiR2egXki9R2PU0SnG9+L8e+6eYch8ih+DkffdHgVV7Fqyo9jcQyyo60=@vger.kernel.org X-Gm-Message-State: AOJu0YwUZJ5IuvPsvUJ1VpWWbjYhLUkfUODaURLZVWndoH/Vy/jB6SQC yc+xbvIQ0fEYoh04k1uglp0roQzBxFbPDZ1M56OZshxe4LapQAMGiMis X-Gm-Gg: AfdE7clYVbxvDXkcTOhCWNAiHu+mrtEHiuvcMoIToCEZtip2mqa8ggVv0DPmnGZac0g C+zP0OpcZni2yYtyHfvzIsVRDwWRV3DKqTxh3YdFxgZRSgEdEnn3HQ6itotZiO3oirXq4dC1j5g 71TVf22nHUzvoy9fHB/fm0tX1XI/mpKaF2atYWtkl2DBGKhOrbHk2f2zEnaLpaYuJmEo1rC0cUj lEwl75N64X/CczukRWcLSYVKmoD3+xJbGnl0fOqPo5GGTh9A0i4d0YsG+3KeAhM+LgpjEmpVbOW 2Kwt99gJJJAs0KwxtGFkrX1VULXQIPt15VB1y23z/8zJ8RBO5TdzoqbnKAVHDcYyMQhCgPul4yE S5LeVkUUxnvyHGZcSnvZweOPhnn4PlsrN3E3WyGdTR32KbGhyV/i+J7RadsyBFxVsZCQ+fOdwSc WF1Lo2wiMG0Q9uCzA44wqmwIkGGcrbGgUBo3Ja0dJxbuL5 X-Received: by 2002:a05:600c:1911:b0:495:4fd4:619b with SMTP id 5b1f17b1804b1-4954fd46219mr50068585e9.1.1784411819680; Sat, 18 Jul 2026 14:56:59 -0700 (PDT) Received: from localhost.localdomain ([188.26.50.240]) by smtp.googlemail.com with ESMTPSA id 5b1f17b1804b1-4954c0a81f7sm101199835e9.1.2026.07.18.14.56.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Jul 2026 14:56:59 -0700 (PDT) From: Eduard Bostina To: Aaro Koskinen , Andreas Kemnade , Conor Dooley , Daniel Thompson , devicetree@vger.kernel.org, Dmitry Torokhov , dri-devel@lists.freedesktop.org, Eduard Bostina , Jingoo Han , Kevin Hilman , Krzysztof Kozlowski , Lee Jones , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, linux-leds@vger.kernel.org, linux-omap@vger.kernel.org, Pavel Machek , Rob Herring , Roger Quadros , Tony Lindgren Cc: daniel.baluta@nxp.com, simona.toaca@nxp.com, goledhruva@gmail.com, m-chawdhry@ti.com Subject: [PATCH v2 3/3] dt-bindings: leds: backlight: Convert TPS65217 to DT schema Date: Sat, 18 Jul 2026 21:56:32 +0000 Message-ID: <20260718215632.3295049-4-egbostina@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260718215632.3295049-1-egbostina@gmail.com> References: <20260718215632.3295049-1-egbostina@gmail.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" Convert the Texas Instruments TPS65217 bindings to DT schema. During the conversion, the following updates were made: - Documented the 'regulators', 'charger' and 'pwrbutton' child nodes, which are used by the boards but were missing from the old txt binding. - Documented the 'interrupts', 'interrupt-controller', '#interrupt-cells' and 'ti,pmic-shutdown-controller' properties, which are used by the am335x boards and read by the driver. - Named the regulators 'regulator@[0-6]' to match what the boards use instead of the dcdc/ldo node names from the txt binding. Signed-off-by: Eduard Bostina --- .../bindings/leds/backlight/ti,tps65217.yaml | 123 ++++++++++++++++++ .../leds/backlight/tps65217-backlight.txt | 27 ---- 2 files changed, 123 insertions(+), 27 deletions(-) create mode 100644 Documentation/devicetree/bindings/leds/backlight/ti,tps= 65217.yaml delete mode 100644 Documentation/devicetree/bindings/leds/backlight/tps652= 17-backlight.txt diff --git a/Documentation/devicetree/bindings/leds/backlight/ti,tps65217.y= aml b/Documentation/devicetree/bindings/leds/backlight/ti,tps65217.yaml new file mode 100644 index 000000000000..9586e08f1b1f --- /dev/null +++ b/Documentation/devicetree/bindings/leds/backlight/ti,tps65217.yaml @@ -0,0 +1,123 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/leds/backlight/ti,tps65217.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: TPS65217 family of regulators + +maintainers: + - Eduard Bostina + +description: + The TPS65217 chip contains a boost converter and current sinks which can= be + used to drive LEDs for use as backlights. + +properties: + compatible: + const: ti,tps65217 + + reg: + maxItems: 1 + description: I2C slave address + + interrupts: + maxItems: 1 + + interrupt-controller: true + + "#interrupt-cells": + const: 1 + + ti,pmic-shutdown-controller: + type: boolean + description: + Set the PMIC to shutdown on PWR_EN toggle. + + backlight: + type: object + additionalProperties: false + description: + Node for specifying WLED1 and WLED2 lines in TPS65217. + + properties: + isel: + $ref: /schemas/types.yaml#/definitions/uint32 + enum: [1, 2] + description: | + Selection bit. Valid values: + 1 - ISEL1 (low-level) + 2 - ISEL2 (high-level) + + fdim: + $ref: /schemas/types.yaml#/definitions/uint32 + enum: [100, 200, 500, 1000] + description: + PWM dimming frequency in Hz. + + default-brightness: + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 0 + maximum: 100 + + required: + - isel + - fdim + - default-brightness + + regulators: + type: object + additionalProperties: false + description: + List of child nodes that specify the regulator initialization data. + Not all regulators for the given device need to be present. + + properties: + "#address-cells": + const: 1 + + "#size-cells": + const: 0 + + patternProperties: + "^regulator@[0-6]$": + type: object + $ref: /schemas/regulator/regulator.yaml# + unevaluatedProperties: false + + properties: + reg: + maxItems: 1 + + regulator-compatible: + $ref: /schemas/types.yaml#/definitions/string + + charger: + $ref: /schemas/power/supply/tps65217-charger.yaml# + + pwrbutton: + $ref: /schemas/input/ti,tps65217-pwrbutton.yaml# + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells =3D <1>; + #size-cells =3D <0>; + + tps@24 { + reg =3D <0x24>; + compatible =3D "ti,tps65217"; + + backlight { + isel =3D <1>; /* 1 - ISET1, 2 ISET2 */ + fdim =3D <100>; /* TPS65217_BL_FDIM_100HZ */ + default-brightness =3D <50>; + }; + }; + }; diff --git a/Documentation/devicetree/bindings/leds/backlight/tps65217-back= light.txt b/Documentation/devicetree/bindings/leds/backlight/tps65217-backl= ight.txt deleted file mode 100644 index 5fb9279ac287..000000000000 --- a/Documentation/devicetree/bindings/leds/backlight/tps65217-backlight.t= xt +++ /dev/null @@ -1,27 +0,0 @@ -TPS65217 family of regulators - -The TPS65217 chip contains a boost converter and current sinks which can be -used to drive LEDs for use as backlights. - -Required properties: -- compatible: "ti,tps65217" -- reg: I2C slave address -- backlight: node for specifying WLED1 and WLED2 lines in TPS65217 -- isel: selection bit, valid values: 1 for ISEL1 (low-level) and 2 for ISE= L2 (high-level) -- fdim: PWM dimming frequency, valid values: 100, 200, 500, 1000 -- default-brightness: valid values: 0-100 - -Each regulator is defined using the standard binding for regulators. - -Example: - - tps: tps@24 { - reg =3D <0x24>; - compatible =3D "ti,tps65217"; - backlight { - isel =3D <1>; /* 1 - ISET1, 2 ISET2 */ - fdim =3D <100>; /* TPS65217_BL_FDIM_100HZ */ - default-brightness =3D <50>; - }; - }; - --=20 2.43.0