summaryrefslogtreecommitdiff
path: root/drivers/w1-eeprom
Commit message (Collapse)AuthorAgeFilesLines
* w1-eeprom: Add support for Maxim DS2502 add only memoryMartin Fuzzey2018-11-163-0/+258
| | | | Signed-off-by: Martin Fuzzey <martin.fuzzey@flowbird.group>
* w1-eeprom: ds24xxx: fix data abort in ds24xxx_probe()Martin Fuzzey2018-11-011-1/+1
| | | | | | | | | | | | | Data abort was occurring when using "w1 bus" with a DS24B33 present. The abort occurred in the ds24xxx_probe() because the struct w1_device pointer was NULL. This is because that structure is allocated by the parent device uclass (by .per_child_platdata_auto_alloc_size) and thus the correct accessor is dev_get_parent_platdata() not dev_get_platdata() Signed-off-by: Martin Fuzzey <martin.fuzzey@flowbird.group> Reviewed-by: Eugen Hristev <eugen.hristev@microchip.com>
* W1-EEPROM: add sandbox driverEugen Hristev2018-09-283-0/+68
| | | | | | Add a sandbox driver for a one wire EEPROM memory Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
* W1-EEPROM: add support for Maxim DS24 eeprom familiesMaxime Ripard2018-09-283-0/+63
| | | | | | | | | | Add a driver that supports Maxim 1 wire EEPROMs families DS24B33 and DS2431. Can be extended for other families as well. Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> [eugen.hristev@microchip.com: reworked driver] Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
* W1-EEPROM: Add an W1-EEPROM uclass for 1 wire EEPROMsMaxime Ripard2018-09-283-0/+135
We might want to access data stored onto one wire EEPROMs. Create a framework to provide a consistent API. Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> [eugen.hristev@microchip.com: reworked patch] Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>