Difference between revisions of "RPI BCM2708 Parameters"
m |
Levijunkert (talk | contribs) (→module: sdhci-bcm2708) |
||
(5 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
+ | {{TOC right}} | ||
==module: '''sdhci-bcm2708'''== | ==module: '''sdhci-bcm2708'''== | ||
Line 8: | Line 9: | ||
! module parameter !! description !! purpose / reason to use | ! module parameter !! description !! purpose / reason to use | ||
|- | |- | ||
− | |allow_highspeed || Allow high speed transfers modes || | + | |allow_highspeed || Allow high speed transfers modes || Parameter to disable high-speed mode for the few cards that still might have problems. High-speed mode is enabled by default.<ref>https://github.com/raspberrypi/linux/commit/fdc3114aea4a8c869fb3478b1b2563bf595dcb6c</ref><ref>http://www.raspberrypi.org/phpBB3/viewtopic.php?p=91559#p96480</ref> |
|- | |- | ||
− | |emmc_clock_freq || Specify the speed of emmc clock || | + | |emmc_clock_freq || Specify the speed of emmc clock || 25 MHz or 50 MHz (high speed mode). 50 MHz (default) clock is perfect to drive the SD interface at ideal frequencies<ref>https://github.com/raspberrypi/linux/commit/819cbdd1d18f150070257737b0b20de6536eac48</ref><ref>https://github.com/raspberrypi/linux/commit/4144c02c7b8e4f9c3d3a5be8d33d05da98a01bee</ref> |
|- | |- | ||
− | |sync_after_dma || Block in driver until dma complete || | + | |sync_after_dma || Block in driver until dma complete || We get CRC and DEND errors unless we wait for he SD controller to finish reading/writing to the card<ref>https://github.com/raspberrypi/firmware/issues/19#issuecomment-7442015</ref><ref>https://github.com/raspberrypi/linux/commit/53011c10f7477d80dbae40b1be6dfad150e6c7eb</ref> |
+ | <ref>https://github.com/raspberrypi/linux/commit/8e39b3019b3494305d87b7489820178580369eb7</ref> | ||
|- | |- | ||
|missing_status || Use the missing status quirk || May improve interrupt latency on some sdcards <ref>https://github.com/raspberrypi/linux/pull/72</ref> | |missing_status || Use the missing status quirk || May improve interrupt latency on some sdcards <ref>https://github.com/raspberrypi/linux/pull/72</ref> | ||
|- | |- | ||
− | |spurious_crc_acmd51 || Use the spurious crc quirk for reading SCR (ACMD51) || | + | |spurious_crc_acmd51 || Use the spurious crc quirk for reading SCR (ACMD51) || Fixes for CRC calculation errors after card reset <ref>https://github.com/raspberrypi/linux/pull/159</ref> |
|- | |- | ||
− | |enable_llm || Enable low-latency mode || Low latency mode for sdcards (1=enable)<ref>https://github.com/raspberrypi/linux/pull/72#issuecomment-8066275</ref> | + | |enable_llm || Enable low-latency mode || Low latency mode for sdcards (1=enable)<ref>https://github.com/raspberrypi/linux/pull/72#issuecomment-8066275</ref><ref>https://github.com/raspberrypi/linux/commit/77f82f9de9f88fc7ff693497dcb6b0ef5b1c5e63#diff-8af9a46d1b0e50638bf61a18ad2d09b7R1401</ref> |
|- | |- | ||
|extra_messages || Enable more sdcard warning messages || | |extra_messages || Enable more sdcard warning messages || | ||
|} | |} | ||
− | |||
== module: '''dwc_otg''' == | == module: '''dwc_otg''' == | ||
Line 37: | Line 38: | ||
|speed || Limit speed to full speed || set to 1 to limit to full speed (USB 1.1) (When set to 0: USB 2.0 high speed) Might break some keyboards? <ref>http://raspberrypi.stackexchange.com/questions/4090/how-can-dwc-otg-speed-1-be-made-to-work</ref> | |speed || Limit speed to full speed || set to 1 to limit to full speed (USB 1.1) (When set to 0: USB 2.0 high speed) Might break some keyboards? <ref>http://raspberrypi.stackexchange.com/questions/4090/how-can-dwc-otg-speed-1-be-made-to-work</ref> | ||
|- | |- | ||
− | |lpm_enable || Change USB Link Power Management || Default is 0 to disable LPM support | + | |lpm_enable || Change USB Link Power Management || Default is 0 to disable LPM support <ref>https://github.com/raspberrypi/linux/commit/9025bc52c25cf7526ef8b204e9a6dbd620d31529#diff-b1c763eb039590f135f0fd3b01dc42b3</ref> |
|- | |- | ||
|microframe_schedule || Enable/disable microframe scheduler || Improve USB with multiple endpoints? Default is on (1)<ref>https://github.com/raspberrypi/linux/commit/5cc98c1e75700e51e4a31d8a05b4a55a7d29648c</ref> | |microframe_schedule || Enable/disable microframe scheduler || Improve USB with multiple endpoints? Default is on (1)<ref>https://github.com/raspberrypi/linux/commit/5cc98c1e75700e51e4a31d8a05b4a55a7d29648c</ref> | ||
Line 43: | Line 44: | ||
|nak_holdoff_enable || Enable the NACK holdoff || Reduce interrupt overhead when devices hold off using NACKs<ref>https://github.com/raspberrypi/linux/commit/9e07cbc724ea3c094a8ea764a093335e5f42f088</ref> | |nak_holdoff_enable || Enable the NACK holdoff || Reduce interrupt overhead when devices hold off using NACKs<ref>https://github.com/raspberrypi/linux/commit/9e07cbc724ea3c094a8ea764a093335e5f42f088</ref> | ||
|} | |} | ||
− | |||
== module: '''i2c-bcm2708''' == | == module: '''i2c-bcm2708''' == | ||
Line 54: | Line 54: | ||
|- | |- | ||
| baudrate || The I2C baudrate || Change default (100KHz) baudrate for i2c <ref>http://www.raspberrypi.org/phpBB3/viewtopic.php?p=342126&sid=c0235b5b385e7d0104399f194616d59f#p342126</ref> <ref>https://github.com/raspberrypi/linux/commit/e5c5956ed7aa509187515a1acfe4ec2ca6d63433</ref> | | baudrate || The I2C baudrate || Change default (100KHz) baudrate for i2c <ref>http://www.raspberrypi.org/phpBB3/viewtopic.php?p=342126&sid=c0235b5b385e7d0104399f194616d59f#p342126</ref> <ref>https://github.com/raspberrypi/linux/commit/e5c5956ed7aa509187515a1acfe4ec2ca6d63433</ref> | ||
+ | |} | ||
+ | |||
+ | |||
+ | == module: '''w1-gpio''' == | ||
+ | |||
+ | ''GPIO w1 bus master driver'' | ||
+ | |||
+ | {| class="wikitable" | ||
+ | |- | ||
+ | ! module parameter !! description !! purpose / reason to use | ||
+ | |- | ||
+ | | pullup || - || Enable pullup to enable parasite power in bitbang mode <ref>https://github.com/raspberrypi/linux/commit/36a1ff9b3debcd596f531feaeb0ee92879cba31c</ref> | ||
|} | |} | ||
Line 59: | Line 71: | ||
---- | ---- | ||
− | References | + | == References == |
<references/> | <references/> |
Latest revision as of 01:00, 29 January 2014
module: sdhci-bcm2708
Support for SDHCI device on BCM2708. SDHCI platform device - Arasan SD controller in BCM2708
module parameter | description | purpose / reason to use |
---|---|---|
allow_highspeed | Allow high speed transfers modes | Parameter to disable high-speed mode for the few cards that still might have problems. High-speed mode is enabled by default.[1][2] |
emmc_clock_freq | Specify the speed of emmc clock | 25 MHz or 50 MHz (high speed mode). 50 MHz (default) clock is perfect to drive the SD interface at ideal frequencies[3][4] |
sync_after_dma | Block in driver until dma complete | We get CRC and DEND errors unless we wait for he SD controller to finish reading/writing to the card[5][6] |
missing_status | Use the missing status quirk | May improve interrupt latency on some sdcards [8] |
spurious_crc_acmd51 | Use the spurious crc quirk for reading SCR (ACMD51) | Fixes for CRC calculation errors after card reset [9] |
enable_llm | Enable low-latency mode | Low latency mode for sdcards (1=enable)[10][11] |
extra_messages | Enable more sdcard warning messages |
module: dwc_otg
HS OTG USB Controller driver
module parameter | description | purpose / reason to use |
---|---|---|
fiq_fix_enable | Enable/disable FIQ patch | Lower number of interrupts when USB is idle, gains about 10% performance on the ARM side[12] |
speed | Limit speed to full speed | set to 1 to limit to full speed (USB 1.1) (When set to 0: USB 2.0 high speed) Might break some keyboards? [14] |
lpm_enable | Change USB Link Power Management | Default is 0 to disable LPM support [15] |
microframe_schedule | Enable/disable microframe scheduler | Improve USB with multiple endpoints? Default is on (1)[16] |
nak_holdoff_enable | Enable the NACK holdoff | Reduce interrupt overhead when devices hold off using NACKs[17] |
module: i2c-bcm2708
BSC controller driver for Broadcom BCM2708
module parameter | description | purpose / reason to use |
---|---|---|
baudrate | The I2C baudrate | Change default (100KHz) baudrate for i2c [18] [19] |
module: w1-gpio
GPIO w1 bus master driver
module parameter | description | purpose / reason to use |
---|---|---|
pullup | - | Enable pullup to enable parasite power in bitbang mode [20] |
References
- ↑ https://github.com/raspberrypi/linux/commit/fdc3114aea4a8c869fb3478b1b2563bf595dcb6c
- ↑ http://www.raspberrypi.org/phpBB3/viewtopic.php?p=91559#p96480
- ↑ https://github.com/raspberrypi/linux/commit/819cbdd1d18f150070257737b0b20de6536eac48
- ↑ https://github.com/raspberrypi/linux/commit/4144c02c7b8e4f9c3d3a5be8d33d05da98a01bee
- ↑ https://github.com/raspberrypi/firmware/issues/19#issuecomment-7442015
- ↑ https://github.com/raspberrypi/linux/commit/53011c10f7477d80dbae40b1be6dfad150e6c7eb
- ↑ https://github.com/raspberrypi/linux/commit/8e39b3019b3494305d87b7489820178580369eb7
- ↑ https://github.com/raspberrypi/linux/pull/72
- ↑ https://github.com/raspberrypi/linux/pull/159
- ↑ https://github.com/raspberrypi/linux/pull/72#issuecomment-8066275
- ↑ https://github.com/raspberrypi/linux/commit/77f82f9de9f88fc7ff693497dcb6b0ef5b1c5e63#diff-8af9a46d1b0e50638bf61a18ad2d09b7R1401
- ↑ https://github.com/raspberrypi/linux/commit/1f45d3d733d51369b3e21b3152839e24a840ec59
- ↑ http://www.raspberrypi.org/phpBB3/viewtopic.php?f=28&t=7866&start=75
- ↑ http://raspberrypi.stackexchange.com/questions/4090/how-can-dwc-otg-speed-1-be-made-to-work
- ↑ https://github.com/raspberrypi/linux/commit/9025bc52c25cf7526ef8b204e9a6dbd620d31529#diff-b1c763eb039590f135f0fd3b01dc42b3
- ↑ https://github.com/raspberrypi/linux/commit/5cc98c1e75700e51e4a31d8a05b4a55a7d29648c
- ↑ https://github.com/raspberrypi/linux/commit/9e07cbc724ea3c094a8ea764a093335e5f42f088
- ↑ http://www.raspberrypi.org/phpBB3/viewtopic.php?p=342126&sid=c0235b5b385e7d0104399f194616d59f#p342126
- ↑ https://github.com/raspberrypi/linux/commit/e5c5956ed7aa509187515a1acfe4ec2ca6d63433
- ↑ https://github.com/raspberrypi/linux/commit/36a1ff9b3debcd596f531feaeb0ee92879cba31c