@@ -397,6 +397,76 @@ config BT_CTLR_SCAN_REQ_RSSI
397
397
398
398
endmenu
399
399
400
+ comment "BLE Controller hardware configuration"
401
+
402
+ menuconfig BT_CTLR_GPIO_PA
403
+ bool "Power Amplifier GPIO interface"
404
+ help
405
+ Enable GPIO interface to a Power Amplifier. This allows hardware
406
+ designs using PA to let the Controller toggle their state based on
407
+ radio activity.
408
+
409
+ if BT_CTLR_GPIO_PA
410
+
411
+ config BT_CTLR_GPIO_PA_PIN
412
+ prompt "Power Amplifier GPIO pin number"
413
+ int
414
+ help
415
+ GPIO Pin number connected to a Power Amplifier.
416
+
417
+ config BT_CTLR_GPIO_PA_POL_INV
418
+ bool "Inverted polarity for the PA pin"
419
+ help
420
+ Enable inverted polarity (active low) for the PA pin.
421
+
422
+ config BT_CTLR_GPIO_PA_OFFSET
423
+ prompt "Time from PA ON to Tx ready"
424
+ int
425
+ default 5
426
+ range 0 10
427
+ help
428
+ Time before Tx ready to turn on PA.
429
+
430
+ endif # BT_CTLR_GPIO_PA
431
+
432
+ menuconfig BT_CTLR_GPIO_LNA
433
+ bool "Low Noise Amplifier GPIO interface"
434
+ help
435
+ Enable GPIO interface to a Low Noise Amplifier. This allows hardware
436
+ designs using LNAs to let the Controller toggle their state based on
437
+ radio activity.
438
+
439
+ if BT_CTLR_GPIO_LNA
440
+
441
+ config BT_CTLR_GPIO_LNA_PIN
442
+ prompt "Low Noise Amplifier GPIO pin number"
443
+ int
444
+ help
445
+ GPIO Pin number connected to a Low Noise Amplifier.
446
+
447
+ config BT_CTLR_GPIO_LNA_POL_INV
448
+ bool "Inverted polarity for the LNA pin"
449
+ help
450
+ Enable inverted polarity (active low) for the LNA pin.
451
+
452
+ config BT_CTLR_GPIO_LNA_OFFSET
453
+ prompt "Time from LNA ON to Rx ready"
454
+ int
455
+ default 5
456
+ range 0 10
457
+ help
458
+ Time before Rx ready to turn on LNA.
459
+
460
+ endif # BT_CTLR_GPIO_LNA
461
+
462
+ config BT_CTLR_PA_LNA_GPIOTE_CHAN
463
+ # Hidden "nRF5 GPIO PA/LNA GPIOTE Channel"
464
+ depends on SOC_FAMILY_NRF5 && (BT_CTLR_GPIO_PA || BT_CTLR_GPIO_LNA)
465
+ int
466
+ default 3
467
+ help
468
+ Select the nRF5 GPIOTE channel to use for PA/LNA GPIO feature.
469
+
400
470
comment "BLE Controller debug configuration"
401
471
402
472
config BT_CTLR_ASSERT_HANDLER
0 commit comments