/* Read from a SSD2828 hardware register (regnum >= 0xB0)  */
static u32 read_hw_register(const struct ssd2828_config *cfg, u8 regnum)
/* Read from a SSD2828 hardware register (regnum >= 0xB0)  */
static u32 read_hw_register(const struct ssd2828_config *cfg, u8 regnum)
{
	soft_spi_xfer_24bit_3wire(cfg, 0x700000 | regnum);
	return soft_spi_xfer_24bit_3wire(cfg, 0x730000);
}