mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-15 01:24:33 +00:00
440b075bd2
Documentation/process/license-rules.rst and checkpatch expect the SPDX identifier syntax for multiple licenses to use capital "OR". Correct it to keep consistent format and avoid copy-paste issues. Correct also the format // -> .* in few Allwinner binding headers as pointed out by checkpatch: WARNING: Improper SPDX comment style for 'include/dt-bindings/reset/sun50i-h6-ccu.h', please use '/*' instead Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Acked-by: Guenter Roeck <linux@roeck-us.net> Acked-by: Stephen Boyd <sboyd@kernel.org> Link: https://lore.kernel.org/r/20230823084540.112602-1-krzysztof.kozlowski@linaro.org Signed-off-by: Rob Herring <robh@kernel.org>
24 lines
627 B
C
24 lines
627 B
C
/* SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) */
|
|
/*
|
|
* Author: David Heidelberg <david@ixit.cz>
|
|
*/
|
|
|
|
#ifndef _DT_BINDINGS_SMB347_CHARGER_H
|
|
#define _DT_BINDINGS_SMB347_CHARGER_H
|
|
|
|
/* Charging compensation method */
|
|
#define SMB3XX_SOFT_TEMP_COMPENSATE_NONE 0
|
|
#define SMB3XX_SOFT_TEMP_COMPENSATE_CURRENT 1
|
|
#define SMB3XX_SOFT_TEMP_COMPENSATE_VOLTAGE 2
|
|
|
|
/* Charging enable control */
|
|
#define SMB3XX_CHG_ENABLE_SW 0
|
|
#define SMB3XX_CHG_ENABLE_PIN_ACTIVE_LOW 1
|
|
#define SMB3XX_CHG_ENABLE_PIN_ACTIVE_HIGH 2
|
|
|
|
/* Polarity of INOK signal */
|
|
#define SMB3XX_SYSOK_INOK_ACTIVE_LOW 0
|
|
#define SMB3XX_SYSOK_INOK_ACTIVE_HIGH 1
|
|
|
|
#endif
|