Fabio Estevam
40fb9751cc
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@gmail.com >
Acked-by: Conor Dooley <conor.dooley@microchip.com >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://patch.msgid.link/20250826141736.712827-1-festevam@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org >
2025-08-27 17:17:58 -07:00
Krzysztof Kozlowski
f8262b8dad
dt-bindings: nfc: ti,trf7970a: Drop 'db' suffix duplicating dtschema
...
A common property unit suffix '-db' was added to dtschema, thus
in-kernel bindings should not reference the type.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Acked-by: Conor Dooley <conor.dooley@microchip.com >
Link: https://patch.msgid.link/20250811142235.170407-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org >
2025-08-12 14:12:29 -07:00
Paul Geurts
2bee162a28
dt-bindings: net/nfc: ti,trf7970a: Add ti,rx-gain-reduction-db option
...
Add option to reduce the RX antenna gain to be able to reduce the
sensitivity.
Signed-off-by: Paul Geurts <paul.geurts@prodrive-technologies.com >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://patch.msgid.link/20250626141242.3749958-2-paul.geurts@prodrive-technologies.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org >
2025-06-27 15:08:57 -07:00
Tobias Schramm
9e1aa985d6
dt-bindings: nfc: ti,trf7970a: fix usage example
...
The TRF7970A is a SPI device, not I2C.
Signed-off-by: Tobias Schramm <t.schramm@manjaro.org >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Signed-off-by: David S. Miller <davem@davemloft.net >
2024-01-29 13:02:07 +00:00
Krzysztof Kozlowski
ba323f6bee
dt-bindings: nfc: use spi-peripheral-props.yaml
...
Instead of listing directly properties typical for SPI peripherals,
reference the spi-peripheral-props.yaml schema. This allows using all
properties typical for SPI-connected devices, even these which device
bindings author did not tried yet.
Remove the spi-* properties which now come via spi-peripheral-props.yaml
schema, except for the cases when device schema adds some constraints
like maximum frequency.
While changing additionalProperties->unevaluatedProperties, put it in
typical place, just before example DTS.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Acked-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20220727164130.385411-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org >
2022-07-28 22:26:52 -07:00
Krzysztof Kozlowski
8a1e6bb3f7
dt-bindings: update Krzysztof Kozlowski's email
...
Krzysztof Kozlowski's @canonical.com email stopped working, so switch to
generic @kernel.org account for all Devicetree bindings.
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org >
Acked-by: Rob Herring <robh@kernel.org >
Acked-by: Arnd Bergmann <arnd@arndb.de >
Link: https://lore.kernel.org/r/20220330074016.12896-2-krzysztof.kozlowski@linaro.org
2022-04-04 15:43:20 +02:00
Krzysztof Kozlowski
3470d69bfd
dt-bindings: nfc: ti,trf7970a: convert to dtschema
...
Convert the TI TRF7970A NFC to DT schema format.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com >
Link: https://lore.kernel.org/r/20211011073934.34340-8-krzysztof.kozlowski@canonical.com
Signed-off-by: Rob Herring <robh@kernel.org >
2021-10-18 15:17:09 -05:00