/* * Inspired by original work from pxa2xx-regs.h by Nicolas Pitre * Copyright (C) 2014 Robert Jarzmik * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. */ #ifndef __DT_BINDINGS_CLOCK_PXA2XX_H__ #define __DT_BINDINGS_CLOCK_PXA2XX_H__ #define CLK_NONE 0 #define CLK_1WIRE 1 #define CLK_AC97 2 #define CLK_AC97CONF 3 #define CLK_ASSP 4 #define CLK_BOOT 5 #define CLK_BTUART 6 #define CLK_CAMERA 7 #define CLK_CIR 8 #define CLK_CORE 9 #define CLK_DMC 10 #define CLK_FFUART 11 #define CLK_FICP 12 #define CLK_GPIO 13 #define CLK_HSIO2 14 #define CLK_HWUART 15 #define CLK_I2C 16 #define CLK_I2S 17 #define CLK_IM 18 #define CLK_INC 19 #define CLK_ISC 20 #define CLK_KEYPAD 21 #define CLK_LCD 22 #define CLK_MEMC 23 #define CLK_MEMSTK 24 #define CLK_MINI_IM 25 #define CLK_MINI_LCD 26 #define CLK_MMC 27 #define CLK_MMC1 28 #define CLK_MMC2 29 #define CLK_MMC3 30 #define CLK_MSL 31 #define CLK_MSL0 32 #define CLK_MVED 33 #define CLK_NAND 34 #define CLK_NSSP 35 #define CLK_OSTIMER 36 #define CLK_PWM0 37 #define CLK_PWM1 38 #define CLK_PWM2 39 #define CLK_PWM3 40 #define CLK_PWRI2C 41 #define CLK_PXA300_GCU 42 #define CLK_PXA320_GCU 43 #define CLK_SMC 44 #define CLK_SSP 45 #define CLK_SSP1 46 #define CLK_SSP2 47 #define CLK_SSP3 48 #define CLK_SSP4 49 #define CLK_STUART 50 #define CLK_TOUCH 51 #define CLK_TPM 52 #define CLK_UDC 53 #define CLK_USB 54 #define CLK_USB2 55 #define CLK_USBH 56 #define CLK_USBHOST 57 #define CLK_USIM 58 #define CLK_USIM1 59 #define CLK_USMI0 60 #define CLK_MAX 61 #endif a5ab440de0a94d9ad8b3ce2d0'>refslogtreecommitdiff
path: root/include/dt-bindings/power
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2017-01-12 17:15:56 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2017-01-30 10:17:32 +0100
commite6e7b48b295afa5a5ab440de0a94d9ad8b3ce2d0 (patch)
tree77cadb6d8aad1b52c34e4afa8c9deef603bbe2ed /include/dt-bindings/power
parent4e5b54f127426c82dc2816340c26d951a5bb3429 (diff)
drm: Don't race connector registration
I was under the misconception that the sysfs dev stuff can be fully set up, and then registered all in one step with device_add. That's true for properties and property groups, but not for parents and child devices. Those must be fully registered before you can register a child. Add a bit of tracking to make sure that asynchronous mst connector hotplugging gets this right. For consistency we rely upon the implicit barriers of the connector->mutex, which is taken anyway, to ensure that at least either the connector or device registration call will work out. Mildly tested since I can't reliably reproduce this on my mst box here. Reported-by: Dave Hansen <dave.hansen@intel.com> Cc: Dave Hansen <dave.hansen@intel.com> Acked-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/1484237756-2720-1-git-send-email-daniel.vetter@ffwll.ch
Diffstat (limited to 'include/dt-bindings/power')