lint-000-license-headers: Add src/sbom/TAGS to exception list
[coreboot.git] / util / pmh7tool / pmh7tool.h
blob8f5e179d217a50477c5a4c98158fa09d2cb86cf5
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #ifndef PMH7TOOL_H
4 #define PMH7TOOL_H
6 #define EC_LENOVO_PMH7_BASE 0x15e0
7 #define EC_LENOVO_PMH7_ADDR_L (EC_LENOVO_PMH7_BASE + 0x0c)
8 #define EC_LENOVO_PMH7_ADDR_H (EC_LENOVO_PMH7_BASE + 0x0d)
9 #define EC_LENOVO_PMH7_DATA (EC_LENOVO_PMH7_BASE + 0x0e)
11 uint8_t pmh7_register_read(uint16_t reg);
12 void pmh7_register_write(uint16_t reg, uint8_t val);
13 void pmh7_register_set_bit(uint16_t reg, uint8_t bit);
14 void pmh7_register_clear_bit(uint16_t reg, uint8_t bit);
16 #endif /* PMH7TOOL_H */