lr20xx: drop the dead pa-hp-sel / pa-duty-cycle devicetree properties

This commit is contained in:
liquidraver
2026-08-12 16:03:54 +02:00
parent 4eaed378b0
commit ebbbfdc559
3 changed files with 0 additions and 22 deletions
@@ -158,9 +158,6 @@
rfswitch-rx = <0x03>;
rfswitch-tx = <0x02>;
rfswitch-tx-hp = <0x03>;
pa-hp-sel = <7>;
pa-duty-cycle = <4>;
};
};
@@ -63,9 +63,6 @@ struct lr20xx_config {
uint8_t rfswitch_rx;
uint8_t rfswitch_tx;
uint8_t rfswitch_tx_hp;
/* PA config */
uint8_t pa_hp_sel; /* maps to pa_lf_slices in LR20xx */
uint8_t pa_duty_cycle; /* maps to pa_lf_duty_cycle in LR20xx */
};
struct lr20xx_data {
@@ -3193,8 +3190,6 @@ static DEVICE_API(lora, lr20xx_lora_api) = {
.rfswitch_rx = DT_INST_PROP_OR(n, rfswitch_rx, 0), \
.rfswitch_tx = DT_INST_PROP_OR(n, rfswitch_tx, 0), \
.rfswitch_tx_hp = DT_INST_PROP_OR(n, rfswitch_tx_hp, 0), \
.pa_hp_sel = DT_INST_PROP_OR(n, pa_hp_sel, 7), \
.pa_duty_cycle = DT_INST_PROP_OR(n, pa_duty_cycle, 4), \
}; \
static struct lr20xx_data lr20xx_data_##n; \
DEVICE_DT_INST_DEFINE(n, lr20xx_lora_init, NULL, \
@@ -90,17 +90,3 @@ properties:
description: |
Bitmask of RF switch DIOs that are HIGH in 2.4 GHz / high-power TX mode (HF PA).
Bit mapping matches rfswitch-enable.
pa-hp-sel:
type: int
default: 7
description: |
LF PA number of slices (0-7). Maps to pa_lf_slices in the SDK.
Higher = more PA output slices active = more power. Default 7 = maximum.
pa-duty-cycle:
type: int
default: 4
description: |
LF PA duty cycle (0-7). Maps to pa_lf_duty_cycle in the SDK.
Default 4 is suitable for most sub-GHz applications.