Vadim Yanitskiy has uploaded this change for review. ( 
https://gerrit.osmocom.org/12882


Change subject: firmware/board/pirelli_dpl10: fix ASIC_CONF_REG setting
......................................................................

firmware/board/pirelli_dpl10: fix ASIC_CONF_REG setting

Set LPG and PWL pin mux like Pirelli's firmware does.

Change-Id: I099e13800b7821a8fb274c5264c9823153afe564
---
M src/target/firmware/board/pirelli_dpl10/init.c
1 file changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/82/12882/1

diff --git a/src/target/firmware/board/pirelli_dpl10/init.c 
b/src/target/firmware/board/pirelli_dpl10/init.c
index 4c74a6d..da23308 100644
--- a/src/target/firmware/board/pirelli_dpl10/init.c
+++ b/src/target/firmware/board/pirelli_dpl10/init.c
@@ -60,8 +60,8 @@
        uint16_t reg;

        reg = readw(ASIC_CONF_REG);
-       /* Set function pins to I2C Mode */
-       reg |= ((1 << 12) | (1 << 7));          /* SCL / SDA */
+       /* Set LPG and PWL pin mux like Pirelli's fw does */
+       reg |= (1 << 6) | (1 << 4);
        /* TWL3025: Set SPI+RIF RX clock to rising edge */
        reg |= (1 << 13) | (1 << 14);
        reg &= ~(1 << 1);

-- 
To view, visit https://gerrit.osmocom.org/12882
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I099e13800b7821a8fb274c5264c9823153afe564
Gerrit-Change-Number: 12882
Gerrit-PatchSet: 1
Gerrit-Owner: Vadim Yanitskiy <[email protected]>

Reply via email to