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 ...
sandbox: dts: add sandbox_pmic.dtsi and include it to sandbox.dts and test.dtsThis commit adds dtsi file for Sandbox PMIC.It fully describes the PMIC by:- i2c emul node - with a default settings
sandbox: dts: add sandbox_pmic.dtsi and include it to sandbox.dts and test.dtsThis commit adds dtsi file for Sandbox PMIC.It fully describes the PMIC by:- i2c emul node - with a default settings of 16 registers- 2x buck regulator nodes- 2x ldo regulator nodesThe default register settings are set with preprocessor macros:- VAL2REG(min[uV/uA], step[uV/uA], val[uV/uA])- VAL2OMREG(mode id)Both defined in file:- include/dt-bindings/pmic/sandbox_pmic.hThe Voltage ranges of each regulator can be found in:- include/power/sandbox_pmic.hThe new file is included into:- sandbox.dts- test.dtsSigned-off-by: Przemyslaw Marczak <p.marczak@samsung.com>Acked-by: Simon Glass <sjg@chromium.org>Tested on sandbox:Tested-by: Simon Glass <sjg@chromium.org>