mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-18 02:38:56 +00:00
83d290c56f
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>
69 lines
1.9 KiB
C
69 lines
1.9 KiB
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* (C) Copyright 2013-2015
|
|
* NVIDIA Corporation <www.nvidia.com>
|
|
*/
|
|
|
|
#ifndef _MAX77620_INIT_H_
|
|
#define _MAX77620_INIT_H_
|
|
|
|
/* MAX77620-PMIC-specific early init regs */
|
|
|
|
#define MAX77620_I2C_ADDR 0x78
|
|
#define MAX77620_I2C_ADDR_7BIT 0x3C
|
|
|
|
#define MAX77620_CNFGGLBL1_REG 0x00
|
|
|
|
#define MAX77620_SD0_REG 0x16
|
|
#define MAX77620_SD1_REG 0x17
|
|
#define MAX77620_SD2_REG 0x18
|
|
#define MAX77620_SD3_REG 0x19
|
|
#define MAX77620_CNFG2SD_REG 0x22
|
|
|
|
#define MAX77620_CNFG1_L0_REG 0x23
|
|
#define MAX77620_CNFG2_L0_REG 0x24
|
|
#define MAX77620_CNFG1_L1_REG 0x25
|
|
#define MAX77620_CNFG2_L1_REG 0x26
|
|
#define MAX77620_CNFG1_L2_REG 0x27
|
|
#define MAX77620_CNFG2_L2_REG 0x28
|
|
#define MAX77620_CNFG1_L3_REG 0x29
|
|
#define MAX77620_CNFG2_L3_REG 0x2A
|
|
#define MAX77620_CNFG1_L4_REG 0x2B
|
|
#define MAX77620_CNFG2_L4_REG 0x2C
|
|
#define MAX77620_CNFG1_L5_REG 0x2D
|
|
#define MAX77620_CNFG2_L5_REG 0x2E
|
|
#define MAX77620_CNFG1_L6_REG 0x2F
|
|
#define MAX77620_CNFG2_L6_REG 0x30
|
|
#define MAX77620_CNFG1_L7_REG 0x31
|
|
#define MAX77620_CNFG2_L7_REG 0x32
|
|
#define MAX77620_CNFG1_L8_REG 0x33
|
|
#define MAX77620_CNFG2_L8_REG 0x34
|
|
#define MAX77620_CNFG3_LDO_REG 0x35
|
|
|
|
#define MAX77620_GPIO0_REG 0x36
|
|
#define MAX77620_GPIO1_REG 0x37
|
|
#define MAX77620_GPIO2_REG 0x38
|
|
#define MAX77620_GPIO3_REG 0x39
|
|
#define MAX77620_GPIO4_REG 0x3A
|
|
#define MAX77620_GPIO5_REG 0x3B
|
|
#define MAX77620_GPIO6_REG 0x3C
|
|
#define MAX77620_GPIO7_REG 0x3D
|
|
#define MAX77620_GPIO_PUE_GPIO 0x3E
|
|
#define MAX77620_GPIO_PDE_GPIO 0x3F
|
|
|
|
#define MAX77620_AME_GPIO 0x40
|
|
#define MAX77620_REG_ONOFF_CFG1 0x41
|
|
#define MAX77620_REG_ONOFF_CFG2 0x42
|
|
|
|
#define MAX77620_CID0_REG 0x58
|
|
#define MAX77620_CID1_REG 0x59
|
|
#define MAX77620_CID2_REG 0x5A
|
|
#define MAX77620_CID3_REG 0x5B
|
|
#define MAX77620_CID4_REG 0x5C
|
|
#define MAX77620_CID5_REG 0x5D
|
|
|
|
#define I2C_SEND_2_BYTES 0x0A02
|
|
|
|
void pmic_enable_cpu_vdd(void);
|
|
|
|
#endif /* _MAX77620_INIT_H_ */
|