|
@@ -12,12 +12,17 @@
|
|
#include "hw/i2c/pmbus_device.h"
|
|
#include "hw/i2c/pmbus_device.h"
|
|
#include "qom/object.h"
|
|
#include "qom/object.h"
|
|
|
|
|
|
|
|
+#define TYPE_ISL69259 "isl69259"
|
|
#define TYPE_ISL69260 "isl69260"
|
|
#define TYPE_ISL69260 "isl69260"
|
|
#define TYPE_RAA228000 "raa228000"
|
|
#define TYPE_RAA228000 "raa228000"
|
|
#define TYPE_RAA229004 "raa229004"
|
|
#define TYPE_RAA229004 "raa229004"
|
|
|
|
+#define ISL_MAX_IC_DEVICE_ID_LEN 16
|
|
|
|
|
|
struct ISLState {
|
|
struct ISLState {
|
|
PMBusDevice parent;
|
|
PMBusDevice parent;
|
|
|
|
+
|
|
|
|
+ uint8_t ic_device_id[ISL_MAX_IC_DEVICE_ID_LEN];
|
|
|
|
+ uint8_t ic_device_id_len;
|
|
};
|
|
};
|
|
|
|
|
|
OBJECT_DECLARE_SIMPLE_TYPE(ISLState, ISL69260)
|
|
OBJECT_DECLARE_SIMPLE_TYPE(ISLState, ISL69260)
|