Debug

The drivers involved in PMIC are not complicated in use, the focus is reflected in the final register setting. Therefore, the commonly used debug method is to directly check the register of JH-7110 DevKit through the following i2c:
  • Read register:
    I2cget -f -y 5 0x36 addr
    Figure 1. Example Output
  • Write register:
    I2cset  -f -y 5 0x36 addr data
    Figure 2. Example Output: