View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001315 | UBoot | U-Boot | public | 2012-09-12 11:51 | 2019-01-17 14:50 |
Reporter | Keller | Assigned To | |||
Priority | normal | Severity | feature | Reproducibility | N/A |
Status | closed | Resolution | won't fix | ||
Product Version | armStoneA8-V1.1 | ||||
Target Version | fss5pv210-V3.0 | ||||
Summary | 0001315: Add command to set the signal drive strength of devices | ||||
Description | Setting the signal drive strength can be useful to reduce EMC problems. However there is currently no feature in U-Boot to allow setting the drive strength in a comfortable way. We only can set the corresponding registers directly by using memory modification commands like md. And we have to do this all over again at the next start. Therefore add a command sds (signal drive strength) to do this more straightforward. The command should combine signals that belong together in a group, even if each signal could be configured individually. For example all SPI signals of port 0 should collectively be modified under "SPI0". It is rather unlikely that the signals CLK, MISO and MOSI will be set differently and thus grouping them makes the command more simple. The command could look like this: sds [device [value]] Set or show signal drive strength. If no arguments are given, show current settings for all devices. If only a device is given, show setting for this device only. If also a value is given, set the signal drive strength to the given value. This is either an index to one of the possible values, or it is the drive strength current, if mA is added to the number. Then the command will take the nearest possible signal drive strength that this device can support. sds will automatically set an environment variable "sds" that holds the settings for all devices that are different to the default value sds SPI0:1,SPI1:2,I2C0:...,LCD:... These values are then set automatically at startup. Examples: sds SPI0 1 - Set to setting 1 (8mA) sds SPI1 11mA - Set as close as possible to 11mA (will be 12mA in our example) sds - Show list with settings of all devices The list can for example look like this: Signal Current (Possible values) ---------------------------------------------------------- SPI0 1: 8mA (0: 5mA, 1: 8mA, 2: 12mA, 3: 15mA) SPI1 2: 12mA (0: 5mA, 1: 8mA, 2: 12mA, 3: 15mA) I2C0 ... LCD ... ... | ||||
Forum Link | |||||