summaryrefslogtreecommitdiff
path: root/include/dt-bindings/phy/phy-pistachio-usb.h
blob: d1877aa0a3f5c18dd029db5566b24f7159ee7c24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
 * Copyright (C) 2015 Google, Inc.
 *
 * This program is free software; you can redistribute it and/or modify it
 * under the terms and conditions of the GNU General Public License,
 * version 2, as published by the Free Software Foundation.
 */

#ifndef _DT_BINDINGS_PHY_PISTACHIO
#define _DT_BINDINGS_PHY_PISTACHIO

#define REFCLK_XO_CRYSTAL	0x0
#define REFCLK_X0_EXT_CLK	0x1
#define REFCLK_CLK_CORE		0x2

#endif /* _DT_BINDINGS_PHY_PISTACHIO */
) tree5c8b730a137696ef979f05ceae869b6e0348794c /drivers/usb/dwc3/dwc3-keystone.c parent566cf877a1fcb6d6dc0126b076aad062054c2637 (diff)
mmc: sdhci: Ignore unexpected CARD_INT interrupts
One of our kernelCI boxes hanged at boot because a faulty eSDHC device was triggering spurious CARD_INT interrupts for SD cards, causing CMD52 reads, which are not allowed for SD devices. This adds a sanity check to the interruption path, preventing that illegal command from getting sent if the CARD_INT interruption should be disabled. This quirk allows that particular machine to resume boot despite the faulty hardware, instead of getting hung dealing with thousands of mishandled interrupts. Suggested-by: Adrian Hunter <adrian.hunter@intel.com> Signed-off-by: Gabriel Krisman Bertazi <krisman@collabora.co.uk> Acked-by: Adrian Hunter <adrian.hunter@intel.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Cc: <stable@vger.kernel.org>
Diffstat (limited to 'drivers/usb/dwc3/dwc3-keystone.c')