pinebuds/platform/drivers/ana/best2300p/usbphy_best2300p.h

35 lines
970 B
C
Raw Normal View History

2022-08-15 04:20:27 -05:00
/***************************************************************************
*
* Copyright 2015-2019 BES.
* All rights reserved. All unpublished rights reserved.
*
* No part of this work may be used or reproduced in any form or by any
* means, or stored in a database or retrieval system, without prior written
* permission of BES.
*
* Use of this work is governed by a license granted by BES.
* This work contains confidential and proprietary information of
* BES. which is protected by copyright, trade secret,
* trademark and other intellectual property rights.
*
****************************************************************************/
#ifndef __USBPHY_BEST2300P_H__
#define __USBPHY_BEST2300P_H__
#ifdef __cplusplus
extern "C" {
#endif
#define SPIPHY_USB_CS 0
#define SPIPHY_USB_REG(reg) (((reg) & 0xFFF) | (SPIPHY_USB_CS << 12))
void usbphy_ldo_config(int enable);
#ifdef __cplusplus
}
#endif
#endif