diff options
author | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2008-10-17 18:58:45 -0300 |
---|---|---|
committer | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2008-10-17 18:58:45 -0300 |
commit | 8b7ce66e26113ec5859566e7f3d0fd15d3e29eaa (patch) | |
tree | c81701397e2a26d63712eefc09568143f4d6178f /src/smi_501.h | |
parent | de1b633f916f4fcaaa95b226a8622d37041c86d4 (diff) |
Update sm502 pll3 programming.
Also print the value of sm502 registers (should be a noop on sm501).
Added the frequency field to the MSOCRegRec's misc_ctl, as it is
a read/write registers, and changing bit 24 may change the logic
of pll3 programming (needs clarification with SMI).
Diffstat (limited to 'src/smi_501.h')
-rw-r--r-- | src/smi_501.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/smi_501.h b/src/smi_501.h index a3c1549..77eaa13 100644 --- a/src/smi_501.h +++ b/src/smi_501.h @@ -208,11 +208,16 @@ typedef struct _MSOCRegRec { * 12:12 DAC Power Control. * 0: Enable. * 1: Disable. + * 24:24 Crystal Frequency Select. + * 0: 24MHz. + * 1: 12MHz */ union { struct { int32_t u0 : bits( 0, 11); int32_t dac : bits(12, 12); + int32_t u1 : bits(13, 23); + int32_t frequency : bits(24, 24); } f; int32_t value; } misc_ctl; |