Revision tags: v00.04.15, v00.04.14, v00.04.13, v00.04.12, v00.04.11, v00.04.10, v00.04.09, v00.04.08, v00.04.07, v00.04.06, v00.04.05, v00.04.04, v00.04.03, v00.04.02, v00.04.01, v00.04.00, v2021.04, v00.03.03, v2021.01, v2020.10, v2020.07, v00.02.13, v2020.04, v2020.01, v2019.10, v00.02.05, v00.02.04, v00.02.03, v00.02.02, v00.02.01, v2019.07, v00.02.00, v2019.04, v2018.07 |
|
#
83d290c5 |
| 06-May-2018 |
Tom Rini <trini@konsulko.com> |
SPDX: Convert all of our single license tags to Linux Kernel style
When U-Boot started using SPDX tags we were among the early adopters and there weren't a lot of other examples to borrow from. So
SPDX: Convert all of our single license tags to Linux Kernel style
When U-Boot started using SPDX tags we were among the early adopters and there weren't a lot of other examples to borrow from. So we picked the area of the file that usually had a full license text and replaced it with an appropriate SPDX-License-Identifier: entry. Since then, the Linux Kernel has adopted SPDX tags and they place it as the very first line in a file (except where shebangs are used, then it's second line) and with slightly different comment styles than us.
In part due to community overlap, in part due to better tag visibility and in part for other minor reasons, switch over to that style.
This commit changes all instances where we have a single declared license in the tag as both the before and after are identical in tag contents. There's also a few places where I found we did not have a tag and have introduced one.
Signed-off-by: Tom Rini <trini@konsulko.com>
show more ...
|
Revision tags: v2018.03, v2018.01, v2017.11 |
|
#
234d1298 |
| 04-Apr-2017 |
Tom Rini <trini@konsulko.com> |
Merge branch 'master' of git://git.denx.de/u-boot-i2c
|
#
0f5b461b |
| 14-Mar-2017 |
Liam Beguin <lbeguin@tycoint.com> |
i2c: lpc32xx: Force consistent bus numbering
Normally, this would probably be done by adding devicetree aliases to the main dtsi file for the lpc32xx and using bus->req_seq instead.
Since we want t
i2c: lpc32xx: Force consistent bus numbering
Normally, this would probably be done by adding devicetree aliases to the main dtsi file for the lpc32xx and using bus->req_seq instead.
Since we want to have consistent i2c numbering, we cannot force the bus->req_seq because. If for instance we have 3 buses numbered from 0 to 2 with i2c0 enabled, i2c1 disabled and i2c2 enabled; i2c2 can be selected using 'i2c dev 1' and 'i2c dev 2' commands because a bus can be probed using req_seq or seq interchangeably.
Signed-off-by: Liam Beguin <lbeguin@tycoint.com> Signed-off-by: Sylvain Lemieux <slemieux@tycoint.com>
show more ...
|
#
fb057880 |
| 14-Mar-2017 |
Liam Beguin <lbeguin@tycoint.com> |
i2c: lpc32xx: Move definitions to header file
Since the lpc32xx i2c driver does not yet support the devicetree bindings, this structure is also needed by the board file as the hardware description i
i2c: lpc32xx: Move definitions to header file
Since the lpc32xx i2c driver does not yet support the devicetree bindings, this structure is also needed by the board file as the hardware description is done there.
Signed-off-by: Liam Beguin <lbeguin@tycoint.com> Signed-off-by: Sylvain Lemieux <slemieux@tycoint.com>
show more ...
|
#
ddfd0821 |
| 14-Mar-2017 |
Sylvain Lemieux <slemieux@tycoint.com> |
i2c: lpc32xx: Remove note for DM conversation
Removed note in the LPC32xx I2C driver for DM conversation.
Signed-off-by: Sylvain Lemieux <slemieux@tycoint.com>
|
#
d61c7adb |
| 27-Mar-2017 |
Liam Beguin <lbeguin@tycoint.com> |
i2c: lpc32xx: Add DM for lpc32xx I2C
Adding DM specific wrapper functions and definitions.
Signed-off-by: Liam Beguin <lbeguin@tycoint.com> Signed-off-by: Sylvain Lemieux <slemieux@tycoint.com>
|
#
eddac8e9 |
| 27-Mar-2017 |
Liam Beguin <lbeguin@tycoint.com> |
i2c: lpc32xx: Factor out i2c_adapter parameter
This is part of the prep work for the migration to the driver model. It will enable the driver to support DM and non-DM configurations using the same f
i2c: lpc32xx: Factor out i2c_adapter parameter
This is part of the prep work for the migration to the driver model. It will enable the driver to support DM and non-DM configurations using the same functions.
Signed-off-by: Liam Beguin <lbeguin@tycoint.com> Signed-off-by: Sylvain Lemieux <slemieux@tycoint.com>
show more ...
|
#
552531e4 |
| 14-Mar-2017 |
Liam Beguin <lbeguin@tycoint.com> |
i2c: lpc32xx: Prepare compatibility functions
This is part of the prep work for the migration to the driver model.
Signed-off-by: Liam Beguin <lbeguin@tycoint.com> Signed-off-by: Sylvain Lemieux <s
i2c: lpc32xx: Prepare compatibility functions
This is part of the prep work for the migration to the driver model.
Signed-off-by: Liam Beguin <lbeguin@tycoint.com> Signed-off-by: Sylvain Lemieux <slemieux@tycoint.com>
show more ...
|
#
03d924ae |
| 14-Mar-2017 |
Liam Beguin <lbeguin@tycoint.com> |
i2c: lpc32xx: Rename probe function
This is part of the prep work for the migration to the driver model. What used to be the probe function is now called probe_chip.
Signed-off-by: Liam Beguin <lbe
i2c: lpc32xx: Rename probe function
This is part of the prep work for the migration to the driver model. What used to be the probe function is now called probe_chip.
Signed-off-by: Liam Beguin <lbeguin@tycoint.com> Signed-off-by: Sylvain Lemieux <slemieux@tycoint.com>
show more ...
|
#
f2465934 |
| 16-Dec-2016 |
Stefano Babic <sbabic@denx.de> |
Merge branch 'master' of git://git.denx.de/u-boot
|
#
ea43683b |
| 05-Dec-2016 |
Tom Rini <trini@konsulko.com> |
Merge git://www.denx.de/git/u-boot-i2c
|
#
28527096 |
| 23-Nov-2016 |
Simon Glass <sjg@chromium.org> |
dm: i2c: Add a note to I2C drivers which need conversion
Maintainers need to be notified more directly of the need to convert these drivers. Add a note to the top each affected file.
Signed-off-by:
dm: i2c: Add a note to I2C drivers which need conversion
Maintainers need to be notified more directly of the need to convert these drivers. Add a note to the top each affected file.
Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Heiko Schocher <hs@denx.de>
show more ...
|
#
1221ce45 |
| 20-Sep-2016 |
Masahiro Yamada <yamada.masahiro@socionext.com> |
treewide: replace #include <asm/errno.h> with <linux/errno.h>
Now, arch/${ARCH}/include/asm/errno.h and include/linux/errno.h have the same content. (both just wrap <asm-generic/errno.h>)
Replace
treewide: replace #include <asm/errno.h> with <linux/errno.h>
Now, arch/${ARCH}/include/asm/errno.h and include/linux/errno.h have the same content. (both just wrap <asm-generic/errno.h>)
Replace all include directives for <asm/errno.h> with <linux/errno.h>.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> [trini: Fixup include/clk.] Signed-off-by: Tom Rini <trini@konsulko.com>
show more ...
|
Revision tags: v2016.07, openbmc-20160624-1, v2016.01-rc1, v2015.10, v2015.10-rc5, v2015.10-rc4, v2015.10-rc3, v2015.10-rc2 |
|
#
ea16c6a1 |
| 12-Aug-2015 |
Vladimir Zapolskiy <vz@mleia.com> |
i2c: lpc32xx: correct sanity check for requested bus speed
LPC32xx has 3 I2C bus controllers, 2 of them are used as generic ones and their parent clock is HCLK and CLK_HI/CLK_LO registers are 10 bit
i2c: lpc32xx: correct sanity check for requested bus speed
LPC32xx has 3 I2C bus controllers, 2 of them are used as generic ones and their parent clock is HCLK and CLK_HI/CLK_LO registers are 10 bit wide. This means that if HCLK is 104MHz, then minimal configurable I2C clock speed is about 51KHz.
Only USB OTG I2C bus controller CLK registers are 8 bit wide, thus in assumption that peripheral clock is 13MHz it allows to set the minimal bus speed about 25.5KHz.
Check for negative half clock value is removed since it is always false.
The change fixes the following problem for I2C busses 0 and 1:
=> i2c dev 0 Setting bus to 0 => i2c speed 100000 Setting bus speed to 100000 Hz Failure changing bus speed (-22)
Signed-off-by: Vladimir Zapolskiy <vz@mleia.com> Tested-by: Sylvain Lemieux <slemieux@tycoint.com>
show more ...
|
#
1933af15 |
| 04-Aug-2015 |
Sylvain Lemieux <slemieux@tycoint.com> |
i2c: lpc32xx: add support for OTG I2C
Updated the LPC32xx I2C driver to support the OTG I2C that is part of the USB module.
Signed-off-by: Sylvain Lemieux <slemieux@tycoint.com> Acked-by: Marek Vas
i2c: lpc32xx: add support for OTG I2C
Updated the LPC32xx I2C driver to support the OTG I2C that is part of the USB module.
Signed-off-by: Sylvain Lemieux <slemieux@tycoint.com> Acked-by: Marek Vasut <marex@denx.de>
show more ...
|
Revision tags: v2015.10-rc1 |
|
#
58243001 |
| 27-Jul-2015 |
Sylvain Lemieux <slemieux@tycoint.com> |
i2c: lpc32xx: fix write timeout
Fix a condition that generate watchdog timeout inside "lpc32xx_i2c_write" when parameters alen = 0 and len = 0.
Signed-off-by: Sylvain Lemieux <slemieux@tycoint.com>
|
#
3d2b6a2e |
| 27-Jul-2015 |
Sylvain Lemieux <slemieux@tycoint.com> |
i2c: lpc32xx: fix read timeout
Fix a condition that generate watchdog timeout inside "lpc32xx_i2c_read" when parameters alen != 0 and len = 0.
Signed-off-by: Sylvain Lemieux <slemieux@tycoint.com>
|
#
b395a996 |
| 27-Jul-2015 |
Sylvain Lemieux <slemieux@tycoint.com> |
i2c: lpc32xx: use api to get hclk instead of fix value
The HCLK is not constant and can take different value; use the api function to get the value of the HCLK for the I2C clock high and low computa
i2c: lpc32xx: use api to get hclk instead of fix value
The HCLK is not constant and can take different value; use the api function to get the value of the HCLK for the I2C clock high and low computation.
Signed-off-by: Sylvain Lemieux <slemieux@tycoint.com>
show more ...
|
Revision tags: v2015.07, v2015.07-rc3, v2015.07-rc2, v2015.07-rc1, v2015.04 |
|
#
59064346 |
| 10-Apr-2015 |
Tom Rini <trini@konsulko.com> |
Merge branch 'master' of git://git.denx.de/u-boot-arm
|
Revision tags: v2015.04-rc5 |
|
#
5e862b95 |
| 31-Mar-2015 |
Albert ARIBAUD \(3ADEV\) <albert.aribaud@3adev.fr> |
lpc32xx: i2c: add LPC32xx I2C interface support
Signed-off-by: Albert ARIBAUD (3ADEV) <albert.aribaud@3adev.fr>
|