devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 net-next] dt-bindings: nfc: ti,trf7970a: Restrict the ti,rx-gain-reduction-db values
@ 2025-08-26 14:17 Fabio Estevam
  2025-08-28  0:30 ` patchwork-bot+netdevbpf
  0 siblings, 1 reply; 2+ messages in thread
From: Fabio Estevam @ 2025-08-26 14:17 UTC (permalink / raw)
  To: krzk
  Cc: mgreer, robh, conor+dt, netdev, devicetree, Fabio Estevam,
	Conor Dooley, Krzysztof Kozlowski

Instead of stating the supported values for the ti,rx-gain-reduction-db
property in free text format, add an enum entry that can help validating
the devicetree files.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
Changes since v1:
- Added net-next prefix. (Krzysztof)
- Collected tags.

 Documentation/devicetree/bindings/net/nfc/ti,trf7970a.yaml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/net/nfc/ti,trf7970a.yaml b/Documentation/devicetree/bindings/net/nfc/ti,trf7970a.yaml
index 783a85b84893..7e96a625f0cf 100644
--- a/Documentation/devicetree/bindings/net/nfc/ti,trf7970a.yaml
+++ b/Documentation/devicetree/bindings/net/nfc/ti,trf7970a.yaml
@@ -58,7 +58,8 @@ properties:
   ti,rx-gain-reduction-db:
     description: |
       Specify an RX gain reduction to reduce antenna sensitivity with 5dB per
-      increment, with a maximum of 15dB. Supported values: [0, 5, 10, 15].
+      increment, with a maximum of 15dB.
+    enum: [ 0, 5, 10, 15]
 
 required:
   - compatible
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v2 net-next] dt-bindings: nfc: ti,trf7970a: Restrict the ti,rx-gain-reduction-db values
  2025-08-26 14:17 [PATCH v2 net-next] dt-bindings: nfc: ti,trf7970a: Restrict the ti,rx-gain-reduction-db values Fabio Estevam
@ 2025-08-28  0:30 ` patchwork-bot+netdevbpf
  0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2025-08-28  0:30 UTC (permalink / raw)
  To: Fabio Estevam
  Cc: krzk, mgreer, robh, conor+dt, netdev, devicetree, conor.dooley,
	krzysztof.kozlowski

Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Tue, 26 Aug 2025 11:17:36 -0300 you wrote:
> Instead of stating the supported values for the ti,rx-gain-reduction-db
> property in free text format, add an enum entry that can help validating
> the devicetree files.
> 
> Signed-off-by: Fabio Estevam <festevam@gmail.com>
> Acked-by: Conor Dooley <conor.dooley@microchip.com>
> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> 
> [...]

Here is the summary with links:
  - [v2,net-next] dt-bindings: nfc: ti,trf7970a: Restrict the ti,rx-gain-reduction-db values
    https://git.kernel.org/netdev/net-next/c/40fb9751ccc6

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-08-28  0:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-26 14:17 [PATCH v2 net-next] dt-bindings: nfc: ti,trf7970a: Restrict the ti,rx-gain-reduction-db values Fabio Estevam
2025-08-28  0:30 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).