[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250825161059.496903-1-festevam@gmail.com>
Date: Mon, 25 Aug 2025 13:10:59 -0300
From: Fabio Estevam <festevam@...il.com>
To: krzk@...nel.org
Cc: mgreer@...malcreek.com,
robh@...nel.org,
conor+dt@...nel.org,
netdev@...r.kernel.org,
devicetree@...r.kernel.org,
Fabio Estevam <festevam@...il.com>
Subject: [PATCH] dt-bindings: nfc: ti,trf7970a: Restrict the ti,rx-gain-reduction-db values
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@...il.com>
---
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
Powered by blists - more mailing lists