forked from len0rd/rockbox
imx233/fuze+: set drive strength of tuner chip enable pin, enable backlight on panic
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31026 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
9cb91c0062
commit
852b68c74a
3 changed files with 3 additions and 2 deletions
|
@ -413,7 +413,6 @@ void radio_screen(void)
|
||||||
|
|
||||||
#endif /* CONFIG_CODEC != SWCODEC */
|
#endif /* CONFIG_CODEC != SWCODEC */
|
||||||
#endif /* ndef SIMULATOR */
|
#endif /* ndef SIMULATOR */
|
||||||
|
|
||||||
/* turn on radio */
|
/* turn on radio */
|
||||||
#if CONFIG_CODEC == SWCODEC
|
#if CONFIG_CODEC == SWCODEC
|
||||||
/* This should be done before touching audio settings */
|
/* This should be done before touching audio settings */
|
||||||
|
|
|
@ -33,6 +33,7 @@ bool tuner_power(bool enable)
|
||||||
{
|
{
|
||||||
fmradio_i2c_enable(enable);
|
fmradio_i2c_enable(enable);
|
||||||
/* CE is B029 (active high) */
|
/* CE is B029 (active high) */
|
||||||
|
imx233_set_pin_drive_strength(0, 29, PINCTRL_DRIVE_4mA);
|
||||||
imx233_enable_gpio_output(0, 29, enable);
|
imx233_enable_gpio_output(0, 29, enable);
|
||||||
imx233_set_gpio_output(0, 29, enable);
|
imx233_set_gpio_output(0, 29, enable);
|
||||||
tuner_enable = enable;
|
tuner_enable = enable;
|
||||||
|
|
|
@ -139,8 +139,9 @@ void system_reboot(void)
|
||||||
void system_exception_wait(void)
|
void system_exception_wait(void)
|
||||||
{
|
{
|
||||||
/* make sure lcd and backlight are on */
|
/* make sure lcd and backlight are on */
|
||||||
|
lcd_update();
|
||||||
_backlight_on();
|
_backlight_on();
|
||||||
_backlight_set_brightness(100);
|
_backlight_set_brightness(DEFAULT_BRIGHTNESS_SETTING);
|
||||||
/* wait until button release (if a button is pressed) */
|
/* wait until button release (if a button is pressed) */
|
||||||
while(button_read_device());
|
while(button_read_device());
|
||||||
/* then wait until next button press */
|
/* then wait until next button press */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue