OMAP3: igep0020: Add pad config for WIFI/BT GPIOs
PATCH 1/1 OMAP3: igep0020: Add pad config for WIFI/BT GPIOs
This adds support for WIFI/BT GPIOs which were previously missing.
--- board/isee/igep0020/igep0020.h | 6 ++++++ 1 file changed, 6 insertions(+)
board/isee/igep0020/igep0020.h +6 -0
@@ -132,6 +132,12 @@ static void setup_net_chip(void); MUX_VAL(CP(MMC1_DAT1), (IEN | PTU | EN | M0)) /* MMC1_DAT1 */\ MUX_VAL(CP(MMC1_DAT2), (IEN | PTU | EN | M0)) /* MMC1_DAT2 */\ MUX_VAL(CP(MMC1_DAT3), (IEN | PTU | EN | M0)) /* MMC1_DAT3 */\ + MUX_VAL(CP(CAM_HS), (IDIS | PTU | DIS | M4)) /* GPIO_94 */\ + MUX_VAL(CP(CAM_VS), (IDIS | PTU | DIS | M4)) /* GPIO_95 */\ + MUX_VAL(CP(MMC2_DAT4), (IDIS | PTU | DIS | M4)) /* GPIO_136 */\ + MUX_VAL(CP(MMC2_DAT5), (IDIS | PTU | DIS | M4)) /* GPIO_137 */\ + MUX_VAL(CP(MMC2_DAT6), (IDIS | PTU | DIS | M4)) /* GPIO_138 */\ + MUX_VAL(CP(MMC2_DAT7), (IDIS | PTU | DIS | M4)) /* GPIO_139 */\ MUX_VAL(CP(UART3_TX_IRTX), (IDIS | PTD | DIS | M0)) /* UART3_TX */\ MUX_VAL(CP(UART3_RX_IRRX), (IEN | PTD | DIS | M0)) /* UART3_RX */\MUX_VAL (CP (I2C1_SCL ), (IEN |PTU |EN |M0 ))/* I2C1_SCL */ \
Signature · 1 line
1.7.10.4
PATCH 1/1 OMAP3: igep0020: Add pad config for WIFI/BT GPIOs
Hi,
2012/10/28 Anders Hedlund <[email protected]>:
Quoted 27 lines
This adds support for WIFI/BT GPIOs which were previously missing.
Signed-off-by Anders Hedlund <[email protected]>Cc Enric Balletbo i Serra <[email protected]>Cc Jonas Zetterberg <[email protected]>--- board/isee/igep0020/igep0020.h | 6 ++++++ 1 file changed, 6 insertions(+)board/isee/igep0020/igep0020.h +6
-1@@ -132,6 +132,12 @@ static void setup_net_chip(void); MUX_VAL(CP(MMC1_DAT1), (IEN | PTU | EN | M0)) /* MMC1_DAT1 */\ MUX_VAL(CP(MMC1_DAT2), (IEN | PTU | EN | M0)) /* MMC1_DAT2 */\ MUX_VAL(CP(MMC1_DAT3), (IEN | PTU | EN | M0)) /* MMC1_DAT3 */\ + MUX_VAL(CP(CAM_HS), (IDIS | PTU | DIS | M4)) /* GPIO_94 */\ + MUX_VAL(CP(CAM_VS), (IDIS | PTU | DIS | M4)) /* GPIO_95 */\ + MUX_VAL(CP(MMC2_DAT4), (IDIS | PTU | DIS | M4)) /* GPIO_136 */\ + MUX_VAL(CP(MMC2_DAT5), (IDIS | PTU | DIS | M4)) /* GPIO_137 */\ + MUX_VAL(CP(MMC2_DAT6), (IDIS | PTU | DIS | M4)) /* GPIO_138 */\ + MUX_VAL(CP(MMC2_DAT7), (IDIS | PTU | DIS | M4)) /* GPIO_139 */\ MUX_VAL(CP(UART3_TX_IRTX), (IDIS | PTD | DIS | M0)) /* UART3_TX */\ MUX_VAL(CP(UART3_RX_IRRX), (IEN | PTD | DIS | M0)) /* UART3_RX */\MUX_VAL (CP (I2C1_SCL ), (IEN |PTU |EN |M0 ))/* I2C1_SCL */ \ --
Quoted 2 lines
1.7.10.4
Thanks for the patch but u-boot should only mux the pins they use, as u-boot does not use wifi this is not applicable here.
Did you have problems with wifi ? Then we should check if these pins are muxe'd at kernel level, I think so.
Cheers,
Enric
PATCH 1/1 OMAP3: igep0020: Add pad config for WIFI/BT GPIOs
2012/10/29 Enric Balletbo Serra <[email protected]>:
Quoted 36 lines
Hi,
2012/10/28 Anders Hedlund <[email protected]>:
Quoted 27 lines
This adds support for WIFI/BT GPIOs which were previously missing.
Signed-off-by Anders Hedlund <[email protected]>Cc Enric Balletbo i Serra <[email protected]>Cc Jonas Zetterberg <[email protected]>--- board/isee/igep0020/igep0020.h | 6 ++++++ 1 file changed, 6 insertions(+)board/isee/igep0020/igep0020.h +6
-1@@ -132,6 +132,12 @@ static void setup_net_chip(void); MUX_VAL(CP(MMC1_DAT1), (IEN | PTU | EN | M0)) /* MMC1_DAT1 */\ MUX_VAL(CP(MMC1_DAT2), (IEN | PTU | EN | M0)) /* MMC1_DAT2 */\ MUX_VAL(CP(MMC1_DAT3), (IEN | PTU | EN | M0)) /* MMC1_DAT3 */\ + MUX_VAL(CP(CAM_HS), (IDIS | PTU | DIS | M4)) /* GPIO_94 */\ + MUX_VAL(CP(CAM_VS), (IDIS | PTU | DIS | M4)) /* GPIO_95 */\ + MUX_VAL(CP(MMC2_DAT4), (IDIS | PTU | DIS | M4)) /* GPIO_136 */\ + MUX_VAL(CP(MMC2_DAT5), (IDIS | PTU | DIS | M4)) /* GPIO_137 */\ + MUX_VAL(CP(MMC2_DAT6), (IDIS | PTU | DIS | M4)) /* GPIO_138 */\ + MUX_VAL(CP(MMC2_DAT7), (IDIS | PTU | DIS | M4)) /* GPIO_139 */\ MUX_VAL(CP(UART3_TX_IRTX), (IDIS | PTD | DIS | M0)) /* UART3_TX */\ MUX_VAL(CP(UART3_RX_IRRX), (IEN | PTD | DIS | M0)) /* UART3_RX */\MUX_VAL (CP (I2C1_SCL ), (IEN |PTU |EN |M0 ))/* I2C1_SCL */ \ --Quoted 2 lines
1.7.10.4
Thanks for the patch but u-boot should only mux the pins they use, as u-boot does not use wifi this is not applicable here.
Quoted 2 lines
Did you have problems with wifi ? Then we should check if these pins are muxe'd at kernel level, I think so.
Yes. In linux kernel v3.6 WIFI/BT does not work due to this issue. I also have a fix for this but in my oppinion this kind of HW configuration should be made in the boot loader.
Br,
Anders
Quoted 3 lines
Cheers,
Enric
PATCH 1/1 OMAP3: igep0020: Add pad config for WIFI/BT GPIOs
2012/10/29 Anders Hedlund <[email protected]>:
Quoted 37 lines
2012/10/29 Enric Balletbo Serra <[email protected]>:
Quoted 36 lines
Hi,
2012/10/28 Anders Hedlund <[email protected]>:
Quoted 27 lines
This adds support for WIFI/BT GPIOs which were previously missing.
Signed-off-by Anders Hedlund <[email protected]>Cc Enric Balletbo i Serra <[email protected]>Cc Jonas Zetterberg <[email protected]>--- board/isee/igep0020/igep0020.h | 6 ++++++ 1 file changed, 6 insertions(+)board/isee/igep0020/igep0020.h +6
-1@@ -132,6 +132,12 @@ static void setup_net_chip(void); MUX_VAL(CP(MMC1_DAT1), (IEN | PTU | EN | M0)) /* MMC1_DAT1 */\ MUX_VAL(CP(MMC1_DAT2), (IEN | PTU | EN | M0)) /* MMC1_DAT2 */\ MUX_VAL(CP(MMC1_DAT3), (IEN | PTU | EN | M0)) /* MMC1_DAT3 */\ + MUX_VAL(CP(CAM_HS), (IDIS | PTU | DIS | M4)) /* GPIO_94 */\ + MUX_VAL(CP(CAM_VS), (IDIS | PTU | DIS | M4)) /* GPIO_95 */\ + MUX_VAL(CP(MMC2_DAT4), (IDIS | PTU | DIS | M4)) /* GPIO_136 */\ + MUX_VAL(CP(MMC2_DAT5), (IDIS | PTU | DIS | M4)) /* GPIO_137 */\ + MUX_VAL(CP(MMC2_DAT6), (IDIS | PTU | DIS | M4)) /* GPIO_138 */\ + MUX_VAL(CP(MMC2_DAT7), (IDIS | PTU | DIS | M4)) /* GPIO_139 */\ MUX_VAL(CP(UART3_TX_IRTX), (IDIS | PTD | DIS | M0)) /* UART3_TX */\ MUX_VAL(CP(UART3_RX_IRRX), (IEN | PTD | DIS | M0)) /* UART3_RX */\MUX_VAL (CP (I2C1_SCL ), (IEN |PTU |EN |M0 ))/* I2C1_SCL */ \ --Quoted 2 lines
1.7.10.4
Thanks for the patch but u-boot should only mux the pins they use, as u-boot does not use wifi this is not applicable here.
Quoted 6 lines
Quoted 2 lines
Did you have problems with wifi ? Then we should check if these pins are muxe'd at kernel level, I think so.
Yes. In linux kernel v3.6 WIFI/BT does not work due to this issue. I also have a fix for this but in my oppinion this kind of HW configuration should be made in the boot loader.
This was discussed before in this ML, and the result of the discussion was that bootloaders should set only the minimum required for the uboot functionality and kernel boot. So the way to fix this problem is muxing these pins in kernel.
Cheers,
Enric
Quoted 7 lines
Br,
AndersQuoted 3 lines
Cheers,
Enric
PATCH 1/1 OMAP3: igep0020: Add pad config for WIFI/BT GPIOs
2012/10/29 Enric Balletbo Serra <[email protected]>:
Quoted 41 lines
2012/10/29 Anders Hedlund <[email protected]>:
Quoted 40 lines
2012/10/29 Enric Balletbo Serra <[email protected]>:
Quoted 38 lines
Hi,
2012/10/28 Anders Hedlund <[email protected]>:
Quoted 27 lines
This adds support for WIFI/BT GPIOs which were previously missing.
Signed-off-by Anders Hedlund <[email protected]>Cc Enric Balletbo i Serra <[email protected]>Cc Jonas Zetterberg <[email protected]>--- board/isee/igep0020/igep0020.h | 6 ++++++ 1 file changed, 6 insertions(+)board/isee/igep0020/igep0020.h +6
-1@@ -132,6 +132,12 @@ static void setup_net_chip(void); MUX_VAL(CP(MMC1_DAT1), (IEN | PTU | EN | M0)) /* MMC1_DAT1 */\ MUX_VAL(CP(MMC1_DAT2), (IEN | PTU | EN | M0)) /* MMC1_DAT2 */\ MUX_VAL(CP(MMC1_DAT3), (IEN | PTU | EN | M0)) /* MMC1_DAT3 */\ + MUX_VAL(CP(CAM_HS), (IDIS | PTU | DIS | M4)) /* GPIO_94 */\ + MUX_VAL(CP(CAM_VS), (IDIS | PTU | DIS | M4)) /* GPIO_95 */\ + MUX_VAL(CP(MMC2_DAT4), (IDIS | PTU | DIS | M4)) /* GPIO_136 */\ + MUX_VAL(CP(MMC2_DAT5), (IDIS | PTU | DIS | M4)) /* GPIO_137 */\ + MUX_VAL(CP(MMC2_DAT6), (IDIS | PTU | DIS | M4)) /* GPIO_138 */\ + MUX_VAL(CP(MMC2_DAT7), (IDIS | PTU | DIS | M4)) /* GPIO_139 */\ MUX_VAL(CP(UART3_TX_IRTX), (IDIS | PTD | DIS | M0)) /* UART3_TX */\ MUX_VAL(CP(UART3_RX_IRRX), (IEN | PTD | DIS | M0)) /* UART3_RX */\MUX_VAL (CP (I2C1_SCL ), (IEN |PTU |EN |M0 ))/* I2C1_SCL */ \ --Quoted 2 lines
1.7.10.4
Thanks for the patch but u-boot should only mux the pins they use, as u-boot does not use wifi this is not applicable here.
Did you have problems with wifi ? Then we should check if these pins are muxe'd at kernel level, I think so.
Quoted 8 lines
Quoted 3 lines
Yes. In linux kernel v3.6 WIFI/BT does not work due to this issue. I also have a fix for this but in my oppinion this kind of HW configuration should be made in the boot loader.
This was discussed before in this ML, and the result of the discussion was that bootloaders should set only the minimum required for the uboot functionality and kernel boot. So the way to fix this problem is muxing these pins in kernel.
Ok. Thanks for this info. I'll withdraw this patch and make one of the linux kernel instead.
Br,
Anders
Quoted 11 lines
Cheers,
EnricQuoted 7 lines
Br,
AndersQuoted 3 lines
Cheers,
Enric