* [PATCH] dt-bindings: nfc: ti,trf7970a: Restrict the ti,rx-gain-reduction-db values
@ 2025-08-25 16:10 Fabio Estevam
2025-08-25 16:31 ` Conor Dooley
2025-08-26 8:16 ` Krzysztof Kozlowski
0 siblings, 2 replies; 3+ messages in thread
From: Fabio Estevam @ 2025-08-25 16:10 UTC (permalink / raw)
To: krzk; +Cc: mgreer, robh, conor+dt, netdev, devicetree, Fabio Estevam
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>
---
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] 3+ messages in thread
* Re: [PATCH] dt-bindings: nfc: ti,trf7970a: Restrict the ti,rx-gain-reduction-db values
2025-08-25 16:10 [PATCH] dt-bindings: nfc: ti,trf7970a: Restrict the ti,rx-gain-reduction-db values Fabio Estevam
@ 2025-08-25 16:31 ` Conor Dooley
2025-08-26 8:16 ` Krzysztof Kozlowski
1 sibling, 0 replies; 3+ messages in thread
From: Conor Dooley @ 2025-08-25 16:31 UTC (permalink / raw)
To: Fabio Estevam; +Cc: krzk, mgreer, robh, conor+dt, netdev, devicetree
[-- Attachment #1: Type: text/plain, Size: 352 bytes --]
On Mon, Aug 25, 2025 at 01:10:59PM -0300, Fabio Estevam 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>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] dt-bindings: nfc: ti,trf7970a: Restrict the ti,rx-gain-reduction-db values
2025-08-25 16:10 [PATCH] dt-bindings: nfc: ti,trf7970a: Restrict the ti,rx-gain-reduction-db values Fabio Estevam
2025-08-25 16:31 ` Conor Dooley
@ 2025-08-26 8:16 ` Krzysztof Kozlowski
1 sibling, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2025-08-26 8:16 UTC (permalink / raw)
To: Fabio Estevam; +Cc: mgreer, robh, conor+dt, netdev, devicetree
On 25/08/2025 18:10, Fabio Estevam 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>
This should have net-next subject prefix.
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-08-26 8:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-25 16:10 [PATCH] dt-bindings: nfc: ti,trf7970a: Restrict the ti,rx-gain-reduction-db values Fabio Estevam
2025-08-25 16:31 ` Conor Dooley
2025-08-26 8:16 ` Krzysztof Kozlowski
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).