| /* |
| * All Rights Reserved |
| * |
| * MARVELL CONFIDENTIAL |
| * Copyright 2012 Marvell International Ltd All Rights Reserved. |
| * The source code contained or described herein and all documents related to |
| * the source code ("Material") are owned by Marvell International Ltd or its |
| * suppliers or licensors. Title to the Material remains with Marvell International Ltd |
| * or its suppliers and licensors. The Material contains trade secrets and |
| * proprietary and confidential information of Marvell or its suppliers and |
| * licensors. The Material is protected by worldwide copyright and trade secret |
| * laws and treaty provisions. No part of the Material may be used, copied, |
| * reproduced, modified, published, uploaded, posted, transmitted, distributed, |
| * or disclosed in any way without Marvell's prior express written permission. |
| * |
| * No license under any patent, copyright, trade secret or other intellectual |
| * property right is granted to or conferred upon you by disclosure or delivery |
| * of the Materials, either expressly, by implication, inducement, estoppel or |
| * otherwise. Any license under such intellectual property rights must be |
| * express and approved by Marvell in writing. |
| * |
| */ |
| |
| #ifndef __H_ACM_PIANOSA__ |
| #define __H_ACM_PIANOSA__ |
| |
| #include "acm_ach.h" |
| |
| #define NUM_OF_REGS (sizeof(reg_cache)/sizeof(reg_cache[0])) |
| #define PIANOSA_ID_REG 0 |
| |
| typedef struct { |
| unsigned char reg_index; |
| unsigned char reg_default; |
| unsigned char reg_value; |
| // Field of reg_prior represent when will this register be reset; |
| // 0x00 --- with this value, the register will not be reset, |
| // 0x01~0xff --- with these values, the register will be reset with ascending sequence; |
| // If someone would like to modify the resetting sequences in the table, |
| // only need to modify this field in reg_cache. |
| unsigned char reg_prior; |
| } Pianosa_RegisterCache; |
| |
| static Pianosa_RegisterCache reg_cache[] = { |
| #ifdef CODEC_ELBA |
| {0x48, 0x00, 0x00, 0x01}, {0x61, 0xCE, 0xCE, 0x01}, {0x62, 0x30, 0x30, 0x01} |
| #endif |
| #ifdef CODEC_GELATO |
| {0x52, 0x00, 0x00, 0x01} |
| #endif |
| }; |
| |
| #endif |