wl1271: Configure clock-request drive mode to open-drain
This patch configures the wl1271 chipset clock-request line to be driver in open-drain mode instead of push-pull. Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com> Reviewed-by: Luciano Coelho <luciano.coelho@nokia.com> Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:

committed by
John W. Linville

parent
9cea461fb0
commit
9d4e5bb3de
@@ -53,10 +53,13 @@ struct wl1271_static_data {
|
||||
#define OCP_REG_POLARITY 0x0064
|
||||
#define OCP_REG_CLK_TYPE 0x0448
|
||||
#define OCP_REG_CLK_POLARITY 0x0cb2
|
||||
#define OCP_REG_CLK_PULL 0x0cb4
|
||||
|
||||
#define CMD_MBOX_ADDRESS 0x407B4
|
||||
|
||||
#define POLARITY_LOW BIT(1)
|
||||
#define CMD_MBOX_ADDRESS 0x407B4
|
||||
|
||||
#define POLARITY_LOW BIT(1)
|
||||
#define NO_PULL (BIT(14) | BIT(15))
|
||||
|
||||
#define FREF_CLK_TYPE_BITS 0xfffffe7f
|
||||
#define CLK_REQ_PRCM 0x100
|
||||
|
Reference in New Issue
Block a user