Lines Matching +full:vcc +full:- +full:supply
1 // SPDX-License-Identifier: GPL-2.0-only
9 * Copyright (C) 2002 Hewlett-Packard Company
18 #include <asm/mach-types.h>
27 * PCM Vcc:
29 * PCM Vcc on BadgePAD 4 can be jumpered for 3v3 (short pins 1 and 3
35 * on JP6) or tied to PCM Vcc (short pins 2 and 4 on JP6). N.B.,
36 * 12v0 operation requires that the power supply actually supply 12v0
39 * CF Vcc:
41 * CF Vcc on BadgePAD 4 can be jumpered either for 3v3 (short pins 1
49 * setup argument: pcmv=<pcm vcc>,<pcm vpp>,<cf vcc>. The units are
50 * tenths of volts; e.g. pcmv=33,120,50 indicates 3v3 PCM Vcc, 12v0
51 * PCM Vpp, and 5v0 CF Vcc.
60 const char *supply, in complain_about_jumpering() argument
65 "; re-jumper the board and/or use pcmv=xx,xx,xx\n", in complain_about_jumpering()
66 whom, supply, in complain_about_jumpering()
68 supply, in complain_about_jumpering()
77 switch (skt->nr) { in badge4_pcmcia_configure_socket()
79 if ((state->Vcc != 0) && in badge4_pcmcia_configure_socket()
80 (state->Vcc != badge4_pcmvcc)) { in badge4_pcmcia_configure_socket()
82 badge4_pcmvcc, state->Vcc); in badge4_pcmcia_configure_socket()
84 // return -1; in badge4_pcmcia_configure_socket()
86 if ((state->Vpp != 0) && in badge4_pcmcia_configure_socket()
87 (state->Vpp != badge4_pcmvpp)) { in badge4_pcmcia_configure_socket()
89 badge4_pcmvpp, state->Vpp); in badge4_pcmcia_configure_socket()
90 return -1; in badge4_pcmcia_configure_socket()
95 if ((state->Vcc != 0) && in badge4_pcmcia_configure_socket()
96 (state->Vcc != badge4_cfvcc)) { in badge4_pcmcia_configure_socket()
98 badge4_cfvcc, state->Vcc); in badge4_pcmcia_configure_socket()
99 return -1; in badge4_pcmcia_configure_socket()
104 return -1; in badge4_pcmcia_configure_socket()
114 need5V = ((state->Vcc == 50) || (state->Vpp == 50)); in badge4_pcmcia_configure_socket()
116 badge4_set_5V(BADGE4_5V_PCMCIA_SOCK(skt->nr), need5V); in badge4_pcmcia_configure_socket()