SPDX: Convert all of our single license tags to Linux Kernel styleWhen U-Boot started using SPDX tags we were among the early adopters andthere weren't a lot of other examples to borrow from. So
SPDX: Convert all of our single license tags to Linux Kernel styleWhen U-Boot started using SPDX tags we were among the early adopters andthere weren't a lot of other examples to borrow from. So we picked thearea of the file that usually had a full license text and replaced itwith an appropriate SPDX-License-Identifier: entry. Since then, theLinux Kernel has adopted SPDX tags and they place it as the very firstline 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 visibilityand in part for other minor reasons, switch over to that style.This commit changes all instances where we have a single declaredlicense in the tag as both the before and after are identical in tagcontents. There's also a few places where I found we did not have a tagand have introduced one.Signed-off-by: Tom Rini <trini@konsulko.com>
show more ...
power: change from meaningless value to error number'-1' is absolutely meaningless value.This patch changed from meaningless value to error number.Signed-off-by: Jaehoon Chung <jh80.chung@samsun
power: change from meaningless value to error number'-1' is absolutely meaningless value.This patch changed from meaningless value to error number.Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>Reviewed-by: Simon Glass <sjg@chromium.org>
fuelgauge: max17042: fix i2c read issue which causes infinity loop.Issues:- reading i2c data by passing u16 pointer causes errors in read data.- max17042 status register fields have not only Powe
fuelgauge: max17042: fix i2c read issue which causes infinity loop.Issues:- reading i2c data by passing u16 pointer causes errors in read data.- max17042 status register fields have not only Power On Reset meaning so using proper mask is required.Changes:- read i2c data to type u32 instead of u16 - avoids buffer overflow- compare FG status register using mask not just one bit value- add checking return value to functions fg read/write- add model lock and model check count- add debug msgSigned-off-by: Przemyslaw Marczak <p.marczak@samsung.com>Cc: Lukasz Majewski <l.majewski@samsung.com>Cc: Minkyu Kang <mk7.kang@samsung.com>
drivers: convert makefiles to Kbuild styleSigned-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Add GPL-2.0+ SPDX-License-Identifier to source filesSigned-off-by: Wolfgang Denk <wd@denx.de>[trini: Fixup common/cmd_io.c]Signed-off-by: Tom Rini <trini@ti.com>
pmic:fuel-gauge: Support for MAX17042 fuel-gaugeSupport for MAX17042 fuel-gauge (FG), which is built into the MAX8997power management device.Special file - fg_battery_cell_params.h with cells cha
pmic:fuel-gauge: Support for MAX17042 fuel-gaugeSupport for MAX17042 fuel-gauge (FG), which is built into the MAX8997power management device.Special file - fg_battery_cell_params.h with cells characteristicsadded.The FG device will work with redesigned PMIC framework.Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>Cc: Stefano Babic <sbabic@denx.de>