Skip to content

Commit

Permalink
Add clock IDs
Browse files Browse the repository at this point in the history
  • Loading branch information
IanSB committed Nov 25, 2021
1 parent adc1032 commit 2fc9014
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion src/info.c
Expand Up @@ -284,7 +284,11 @@ void dump_useful_info() {
"ISP",
"SDRAM",
"PIXEL",
"PWM"
"PWM",
"HEVC",
"EMMC2",
"M2MC",
"PIXEL_BVB"
};

int n = sizeof(tags) / sizeof(rpi_mailbox_tag_t);
Expand Down
6 changes: 5 additions & 1 deletion src/rpi-mailbox-interface.h
Expand Up @@ -136,9 +136,13 @@ typedef struct {
#define SDRAM_CLK_ID 0x000000008
#define PIXEL_CLK_ID 0x000000009
#define PWM_CLK_ID 0x00000000a
#define HEVC_CLK_ID 0x00000000b
#define EMMC2_CLK_ID 0x00000000c
#define M2MC_CLK_ID 0x00000000d
#define PIXEL_BVB_CLK_ID 0x00000000e

#define MIN_CLK_ID 0x000000001
#define MAX_CLK_ID 0x00000000a
#define MAX_CLK_ID 0x00000000e

extern void RPI_PropertyInit( void );
extern void RPI_PropertyAddTag( rpi_mailbox_tag_t tag, ... );
Expand Down

0 comments on commit 2fc9014

Please sign in to comment.