diff options
-rw-r--r-- | firmware/target/arm/imx31/gigabeat-s/fmradio-i2c-gigabeat-s.c | 2 | ||||
-rw-r--r-- | firmware/target/arm/imx31/gigabeat-s/mc13783-gigabeat-s.c | 4 |
2 files changed, 1 insertions, 5 deletions
diff --git a/firmware/target/arm/imx31/gigabeat-s/fmradio-i2c-gigabeat-s.c b/firmware/target/arm/imx31/gigabeat-s/fmradio-i2c-gigabeat-s.c index 5ee0ba5224..2ed6d80afe 100644 --- a/firmware/target/arm/imx31/gigabeat-s/fmradio-i2c-gigabeat-s.c +++ b/firmware/target/arm/imx31/gigabeat-s/fmradio-i2c-gigabeat-s.c | |||
@@ -34,8 +34,6 @@ static struct i2c_node si4700_i2c_node = | |||
34 | { | 34 | { |
35 | .num = I2C2_NUM, | 35 | .num = I2C2_NUM, |
36 | .ifdr = I2C_IFDR_DIV192, /* 66MHz/.4MHz = 165, closest = 192 = 343750Hz */ | 36 | .ifdr = I2C_IFDR_DIV192, /* 66MHz/.4MHz = 165, closest = 192 = 343750Hz */ |
37 | /* Just hard-code for now - scaling may require | ||
38 | * updating */ | ||
39 | .addr = (0x20), | 37 | .addr = (0x20), |
40 | }; | 38 | }; |
41 | 39 | ||
diff --git a/firmware/target/arm/imx31/gigabeat-s/mc13783-gigabeat-s.c b/firmware/target/arm/imx31/gigabeat-s/mc13783-gigabeat-s.c index 6ae8c23c48..76001dddd6 100644 --- a/firmware/target/arm/imx31/gigabeat-s/mc13783-gigabeat-s.c +++ b/firmware/target/arm/imx31/gigabeat-s/mc13783-gigabeat-s.c | |||
@@ -32,11 +32,9 @@ | |||
32 | 32 | ||
33 | /* Gigabeat S mc13783 serial interface node. */ | 33 | /* Gigabeat S mc13783 serial interface node. */ |
34 | 34 | ||
35 | /* This is all based on communicating with the MC13783 PMU which is on | ||
36 | * CSPI2 with the chip select at 0. The LCD controller resides on | ||
37 | * CSPI3 cs1, but we have no idea how to communicate to it */ | ||
38 | struct spi_node mc13783_spi = | 35 | struct spi_node mc13783_spi = |
39 | { | 36 | { |
37 | /* Based upon original firmware settings */ | ||
40 | CSPI2_NUM, /* CSPI module 2 */ | 38 | CSPI2_NUM, /* CSPI module 2 */ |
41 | CSPI_CONREG_CHIP_SELECT_SS0 | /* Chip select 0 */ | 39 | CSPI_CONREG_CHIP_SELECT_SS0 | /* Chip select 0 */ |
42 | CSPI_CONREG_DRCTL_DONT_CARE | /* Don't care about CSPI_RDY */ | 40 | CSPI_CONREG_DRCTL_DONT_CARE | /* Don't care about CSPI_RDY */ |