Skip to contentSkip to conversation

dt-bindings: nfc: ti,trf7970a: Restrict the ti,rx-gain-reduction-db values

PATCH Applied Fabio Estevam 2 participants 2 messages Aug 26, 2025 – Aug 28, 2025

Subsystems (5)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 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.

---
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(-)
Documentation/devicetree/bindings/net/nfc/ti,trf7970a.yaml +2 -1
index 783a85b84893..7e96a625f0cf 100644
@@ -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
Signature · 1 line
2.34.1
#1 lore raw
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Hello:

This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Quoted 9 lines · 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.

[...]

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!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html