mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
libvoice-airoha: update uci-defaults to apply DECT RFPI from prodution data
Set the hw.board.dect_rfpi with value of USP 'DectRfpi'.
This commit is contained in:
parent
c5e79244c7
commit
8fb1b55e57
1 changed files with 5 additions and 0 deletions
|
|
@ -17,6 +17,11 @@ SLIC=$(cat /proc/device-tree/airoha-voice/slic-type)
|
||||||
hasDect=$(db -q get hw.board.hasDect)
|
hasDect=$(db -q get hw.board.hasDect)
|
||||||
[ "$hasDect" = "1" ] || exit 0
|
[ "$hasDect" = "1" ] || exit 0
|
||||||
|
|
||||||
|
# Set the DECT RFPI
|
||||||
|
. /lib/functions/iopsys-environment.sh
|
||||||
|
db set hw.board.dect_rfpi=$(get_dect_rfpi)
|
||||||
|
db commit
|
||||||
|
|
||||||
# configure the PCM for DECT/DCX81
|
# configure the PCM for DECT/DCX81
|
||||||
[ -f "/proc/device-tree/aliases/dcx81-uart" ] && {
|
[ -f "/proc/device-tree/aliases/dcx81-uart" ] && {
|
||||||
uci set dect.global.pcm_fsync='SHORT_LF'
|
uci set dect.global.pcm_fsync='SHORT_LF'
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue