# pmh7tool This is a tool to dump, read from, write to PMH7 registers on Lenovo ThinkPad laptops. This tool is a part of the coreboot project. ### Usage -h, --help: print help -d, --dump: hexdump registers -w, --write : write to register -r, --read : read from register -b, --read-bit : read bit in register -c, --clear-bit : clear bit in register -s, --set-bit : set bit in register # Attention Writing to PMH7 registers is very dangerous, as you directly manipulate the power rails, enable lines, interrupt lines or something else of the device. **Proceed with caution.**