soc/intel/alderlake: Add ADL-P 4+4 with 28W TDP
[coreboot.git] / src / drivers / parade / ps8625 / ps8625.c
blobd4bd7ca9f4d871e79a13256cb3285962d4d75682
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <device/i2c_simple.h>
4 #include <stdint.h>
6 #include "ps8625.h"
8 void parade_ps8625_bridge_setup(unsigned int bus, unsigned int chip_base,
9 const struct parade_write *parade_writes,
10 int parade_write_count)
12 int i;
14 for (i = 0; i < parade_write_count; i++) {
15 const struct parade_write *w = &parade_writes[i];
16 i2c_writeb(bus, chip_base + w->offset, w->reg, w->val);