Subversion Repositories Kolibri OS

Rev

Rev 5060 | Rev 6084 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5060 Rev 5354
Line 44... Line 44...
44
struct bdb_header {
44
struct bdb_header {
45
	u8 signature[16];		/**< Always 'BIOS_DATA_BLOCK' */
45
	u8 signature[16];		/**< Always 'BIOS_DATA_BLOCK' */
46
	u16 version;			/**< decimal */
46
	u16 version;			/**< decimal */
47
	u16 header_size;		/**< in bytes */
47
	u16 header_size;		/**< in bytes */
48
	u16 bdb_size;			/**< in bytes */
48
	u16 bdb_size;			/**< in bytes */
49
};
49
} __packed;
Line 50... Line 50...
50
 
50
 
51
/* strictly speaking, this is a "skip" block, but it has interesting info */
51
/* strictly speaking, this is a "skip" block, but it has interesting info */
52
struct vbios_data {
52
struct vbios_data {
53
	u8 type; /* 0 == desktop, 1 == mobile */
53
	u8 type; /* 0 == desktop, 1 == mobile */
Line 250... Line 250...
250
	/* This one should only be kept for legacy code. */
250
	/* This one should only be kept for legacy code. */
251
	struct old_child_dev_config old;
251
	struct old_child_dev_config old;
252
	/* This one should also be safe to use anywhere, even without version
252
	/* This one should also be safe to use anywhere, even without version
253
	 * checks. */
253
	 * checks. */
254
	struct common_child_dev_config common;
254
	struct common_child_dev_config common;
255
};
255
} __packed;
Line 256... Line 256...
256
 
256
 
257
struct bdb_general_definitions {
257
struct bdb_general_definitions {
258
	/* DDC GPIO */
258
	/* DDC GPIO */
Line 800... Line 800...
800
	u16 lane_cnt:2;
800
	u16 lane_cnt:2;
801
	u16 rsvd3:12;
801
	u16 rsvd3:12;
Line 802... Line 802...
802
 
802
 
Line 803... Line 803...
803
	u16 rsvd4;
803
	u16 rsvd4;
-
 
804
 
804
 
805
	u8 rsvd5;
805
	u8 rsvd5[5];
806
	u32 target_burst_mode_freq;
Line 806... Line 807...
806
	u32 dsi_ddr_clk;
807
	u32 dsi_ddr_clk;
807
	u32 bridge_ref_clk;
808
	u32 bridge_ref_clk;
Line 885... Line 886...
885
	u16 panel_on_delay;
886
	u16 panel_on_delay;
886
	u16 bl_enable_delay;
887
	u16 bl_enable_delay;
887
	u16 bl_disable_delay;
888
	u16 bl_disable_delay;
888
	u16 panel_off_delay;
889
	u16 panel_off_delay;
889
	u16 panel_power_cycle_delay;
890
	u16 panel_power_cycle_delay;
890
};
891
} __packed;
Line 891... Line 892...
891
 
892
 
892
struct bdb_mipi_config {
893
struct bdb_mipi_config {
893
	struct mipi_config config[MAX_MIPI_CONFIGURATIONS];
894
	struct mipi_config config[MAX_MIPI_CONFIGURATIONS];
894
	struct mipi_pps_data pps[MAX_MIPI_CONFIGURATIONS];
895
	struct mipi_pps_data pps[MAX_MIPI_CONFIGURATIONS];
Line 895... Line 896...
895
};
896
} __packed;
896
 
897
 
897
/* Block 53 contains MIPI sequences as needed by the panel
898
/* Block 53 contains MIPI sequences as needed by the panel
898
 * for enabling it. This block can be variable in size and
899
 * for enabling it. This block can be variable in size and
899
 * can be maximum of 6 blocks
900
 * can be maximum of 6 blocks
900
 */
901
 */
901
struct bdb_mipi_sequence {
902
struct bdb_mipi_sequence {
902
	u8 version;
903
	u8 version;
Line 903... Line 904...
903
	u8 data[0];
904
	u8 data[0];
904
};
905
} __packed;
905
 
906
 
906
/* MIPI Sequnece Block definitions */
907
/* MIPI Sequnece Block definitions */