1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <device/i2c_simple.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
)
14 for (i
= 0; i
< parade_write_count
; i
++) {
15 const struct parade_write
*w
= ¶de_writes
[i
];
16 i2c_writeb(bus
, chip_base
+ w
->offset
, w
->reg
, w
->val
);