| #
4ba12f8a |
| 15-Jul-2021 |
Sebastian Reichel <sebastian.reichel@collabora.com> |
UPSTREAM: i2c: add dm_i2c_reg_clrset
Add function to apply a bitmask to an i2c register, so that specific bits can be cleared and/or set.
Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by:
UPSTREAM: i2c: add dm_i2c_reg_clrset
Add function to apply a bitmask to an i2c register, so that specific bits can be cleared and/or set.
Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com> Reviewed-by: Simon Glass <sjg@chromium.org> (cherry picked from commit 2aefa6e3f2ab621483ca645b16c7bf8cb9334fa3) Change-Id: Ic9d69b0c3b5e555637bcdf0f4ccfb086912acdcb
show more ...
|
| #
2eb48ff7 |
| 07-Jun-2017 |
Heiko Schocher <hs@denx.de> |
powerpc, 8260: remove support for mpc8260
There was for long time no activity in the 8260 area. We need to go further and convert to Kconfig, but it turned out, nobody is interested anymore in 8260,
powerpc, 8260: remove support for mpc8260
There was for long time no activity in the 8260 area. We need to go further and convert to Kconfig, but it turned out, nobody is interested anymore in 8260, so remove it.
Signed-off-by: Heiko Schocher <hs@denx.de>
show more ...
|
| #
5b8e76c3 |
| 07-Jun-2017 |
Heiko Schocher <hs@denx.de> |
powerpc, 8xx: remove support for 8xx
There was for long time no activity in the 8xx area. We need to go further and convert to Kconfig, but it turned out, nobody is interested anymore in 8xx, so rem
powerpc, 8xx: remove support for 8xx
There was for long time no activity in the 8xx area. We need to go further and convert to Kconfig, but it turned out, nobody is interested anymore in 8xx, so remove it (with a heavy heart, knowing that I remove here the root of U-Boot).
Signed-off-by: Heiko Schocher <hs@denx.de>
show more ...
|
| #
1704308e |
| 19-May-2017 |
Simon Glass <sjg@chromium.org> |
dm: i2c: Convert uclass to livetree
Update the i2c uclass to support a live device tree.
Signed-off-by: Simon Glass <sjg@chromium.org>
|
| #
853eaa4f |
| 17-May-2017 |
Simon Glass <sjg@chromium.org> |
Drop digital thermometer and thermostat (DTT) drivers
This subsystem is quite old. It has been replaced with a driver-model version (UCLASS_THERMAL). Boards are free to convert to that if required,
Drop digital thermometer and thermostat (DTT) drivers
This subsystem is quite old. It has been replaced with a driver-model version (UCLASS_THERMAL). Boards are free to convert to that if required, but here is a removal patch that could be applied in the meantime.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de> Reviewed-by: Tom Rini <trini@konsulko.com>
show more ...
|
| #
cb33bda4 |
| 15-May-2017 |
Tom Rini <trini@konsulko.com> |
Merge branch 'master' of git://git.denx.de/u-boot-i2c
|
| #
b0103f33 |
| 13-May-2017 |
Simon Glass <sjg@chromium.org> |
i2c: Drop CONFIG_SYS_I2C_BOARD_LATE_INIT
This option is not used by any boards. Drop it.
Signed-off-by: Simon Glass <sjg@chromium.org>
|
| #
eca80375 |
| 28-Mar-2017 |
Simon Glass <sjg@chromium.org> |
i2c: Drop CONFIG_SOFT_I2C_MULTI_BUS
This is not used by any board. Drop it.
Signed-off-by: Simon Glass <sjg@chromium.org> Clean up board_f sequence a little This series tries to remove #ifdefs from
i2c: Drop CONFIG_SOFT_I2C_MULTI_BUS
This is not used by any board. Drop it.
Signed-off-by: Simon Glass <sjg@chromium.org> Clean up board_f sequence a little This series tries to remove #ifdefs from the board_f init sequence. It gets as far as I2C and then we need to discuss whether we can start to remove the old I2C framework.
I think that ideally each entry in the init sequence should be enabled by at most one CONFIG, which is in Kconfig and is not arch-specific. END Acked-by: Lukasz Majewski <lukma@denx.de> Acked-by: Jaehoon Chung <jh80.chung@samsung.com>
show more ...
|
| #
664ee4c9 |
| 28-Mar-2017 |
Simon Glass <sjg@chromium.org> |
i2c: Drop unused i2c_soft...() functions
These are not used in U-Boot. Manual relocation fixup is used by blackfin but that is being removed.
Signed-off-by: Simon Glass <sjg@chromium.org>
|
| #
9d10c2d3 |
| 08-Jun-2016 |
Yuan Yao <yao.yuan@nxp.com> |
drivers: i2c: mxc: Add early init
Add early i2c init function with conservative divider when the exact clock rate is not available.
Signed-off-by: Yuan Yao <yao.yuan@nxp.com> Reviewed-by: York Sun
drivers: i2c: mxc: Add early init
Add early i2c init function with conservative divider when the exact clock rate is not available.
Signed-off-by: Yuan Yao <yao.yuan@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
show more ...
|
| #
fa8883a1 |
| 27-Nov-2015 |
Tom Rini <trini@konsulko.com> |
Merge branch 'master' of git://git.denx.de/u-boot-i2c
|
| #
a06728c8 |
| 25-Nov-2015 |
Stefan Roese <sr@denx.de> |
i2c: Fix the comment to match the function described
Use the correct function name in the function description.
Signed-off-by: Stefan Roese <sr@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org>
i2c: Fix the comment to match the function described
Use the correct function name in the function description.
Signed-off-by: Stefan Roese <sr@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org> Cc: Heiko Schocher <hs@denx.de>
show more ...
|
| #
ae27120c |
| 06-Aug-2015 |
Tom Rini <trini@konsulko.com> |
Merge git://git.denx.de/u-boot-dm
|
| #
3d1957f0 |
| 03-Aug-2015 |
Simon Glass <sjg@chromium.org> |
dm: i2c: Add support for multiplexed I2C buses
Add a new I2C_MUX uclass. Devices in this class can multiplex between several I2C buses, selecting them one at a time for use by the system. The multip
dm: i2c: Add support for multiplexed I2C buses
Add a new I2C_MUX uclass. Devices in this class can multiplex between several I2C buses, selecting them one at a time for use by the system. The multiplexing mechanism is left to the driver to decide - it may be controlled by GPIOs, for example.
The uclass supports only two methods: select() and deselect().
The current mux state is expected to be stored in the mux itself since it is the only thing that knows how to make things work. The mux can record the current state and then avoid switching unless it is necessary. So select() can be skipped if the mux is already in the correct state. Also deselect() can be made a nop if required.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
df358c6b |
| 03-Jul-2015 |
Simon Glass <sjg@chromium.org> |
dm: i2c: Add a function to transfer messages
Sometimes it is useful to be able to transfer a raw I2C message. This happens when the chip address needs to be set manually, or when the data to be sent
dm: i2c: Add a function to transfer messages
Sometimes it is useful to be able to transfer a raw I2C message. This happens when the chip address needs to be set manually, or when the data to be sent/received is in another buffer.
Add a function to provide access to this.
Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Heiko Schocher <hs@denx.de>
show more ...
|
| #
7fc65bcf |
| 03-Jul-2015 |
Simon Glass <sjg@chromium.org> |
dm: i2c: Move definitions to the top of the header file
Move the flags and struct definitions higher in the file so that we can reference them with functions declared in the driver model section.
S
dm: i2c: Move definitions to the top of the header file
Move the flags and struct definitions higher in the file so that we can reference them with functions declared in the driver model section.
Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Heiko Schocher <hs@denx.de>
show more ...
|
| #
25a0fb43 |
| 03-Jul-2015 |
Simon Glass <sjg@chromium.org> |
dm: i2c: Correct comment nits in dm_i2c_reg_read/write()
Add documentation for the @dev parameter.
Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Heiko Schocher <hs@denx.de>
|
| #
7d7db222 |
| 03-Jul-2015 |
Simon Glass <sjg@chromium.org> |
dm: i2c: Add a message debug function
Add a way to dump the contents of an I2C message for debugging purposes.
Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Heiko Schocher <hs@denx.de>
|
| #
6f43ba70 |
| 07-Jul-2015 |
Albert ARIBAUD <albert.u.boot@aribaud.net> |
Merge branch 'u-boot/master' into 'u-boot-arm/master'
|
| #
212b6601 |
| 15-Jun-2015 |
Stefano Babic <sbabic@denx.de> |
Merge branch 'master' of git://git.denx.de/u-boot
|
| #
b9130d88 |
| 12-Jun-2015 |
Tom Rini <trini@konsulko.com> |
Merge git://git.denx.de/u-boot-dm
|
| #
a2879764 |
| 16-May-2015 |
Simon Glass <sjg@chromium.org> |
dm: i2c: Add compatibility functions for dm_i2c_reg_read/write()
Add the legacy i2c_reg_read/write() functions to the compatibility layer so that they can be used when CONFIG_DM_I2C_COMPAT is define
dm: i2c: Add compatibility functions for dm_i2c_reg_read/write()
Add the legacy i2c_reg_read/write() functions to the compatibility layer so that they can be used when CONFIG_DM_I2C_COMPAT is defined.
Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Heiko Schocher <hs@denx.de>
show more ...
|
| #
01501804 |
| 04-May-2015 |
Simon Glass <sjg@chromium.org> |
dm: i2c: Add a function to find out the chip offset length
We can currently set this but there is no API function to get it. Add one.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Joe
dm: i2c: Add a function to find out the chip offset length
We can currently set this but there is no API function to get it. Add one.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Joe Hershberger <joe.hershberger@ni.com> Acked-by: Heiko Schocher<hs@denx.de>
show more ...
|
| #
02ffb580 |
| 08-May-2015 |
Tom Rini <trini@konsulko.com> |
Merge git://git.denx.de/u-boot-dm
|
| #
182bf92d |
| 20-Apr-2015 |
Simon Glass <sjg@chromium.org> |
dm: i2c: Add an explicit test mode to the sandbox I2C driver
At present this driver has a few test features. They are needed for running the driver model unit tests but are confusing and unnecessary
dm: i2c: Add an explicit test mode to the sandbox I2C driver
At present this driver has a few test features. They are needed for running the driver model unit tests but are confusing and unnecessary if using sandbox at the command line. Add a flag to enable the test mode, and don't enable it by default.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|