Re: [PATCH v3 2/2] NFC: trf7970a: Create device-tree parameter for RX gain reduction
From: Krzysztof Kozlowski
Date: Fri Jun 27 2025 - 03:40:07 EST
On Thu, Jun 26, 2025 at 04:12:42PM +0200, Paul Geurts wrote:
> The TRF7970a device is sensitive to RF disturbances, which can make it
> hard to pass some EMC immunity tests. By reducing the RX antenna gain,
> the device becomes less sensitive to EMC disturbances, as a trade-off
> against antenna performance.
>
> Add a device tree option to select RX gain reduction to improve EMC
> performance.
>
> Selecting a communication standard in the ISO control register resets
> the RX antenna gain settings. Therefore set the RX gain reduction
> everytime the ISO control register changes, when the option is used.
>
> Signed-off-by: Paul Geurts <paul.geurts@xxxxxxxxxxxxxxxxxxxxxxxxx>
> ---
> drivers/nfc/trf7970a.c | 91 +++++++++++++++++++++++++++++++++++++-----
> 1 file changed, 80 insertions(+), 11 deletions(-)
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
Best regards,
Krzysztof