dt-bindings: nfc: ti,trf7970a: Restrict the ti,rx-gain-reduction-db values
Subsystems (5)
PATCH 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.
Signed-off-by Fabio Estevam <[email protected]>
--- 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
@@ -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
Quoted 5 lines · 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 <[email protected]>
Acked-by Conor Dooley <[email protected]>
Quoted 5 lines · 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 <[email protected]>
This should have net-next subject prefix.
Reviewed-by Krzysztof Kozlowski <[email protected]>
Best regards,
Krzysztof