/* * cs42l42.h -- CS42L42 ALSA SoC audio driver DT bindings header * * Copyright 2016 Cirrus Logic, Inc. * * Author: James Schulman * Author: Brian Austin * Author: Michael White * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * */ #ifndef __DT_CS42L42_H #define __DT_CS42L42_H /* HPOUT Load Capacity */ #define CS42L42_HPOUT_LOAD_1NF 0 #define CS42L42_HPOUT_LOAD_10NF 1 /* HPOUT Clamp to GND Overide */ #define CS42L42_HPOUT_CLAMP_EN 0 #define CS42L42_HPOUT_CLAMP_DIS 1 /* Tip Sense Inversion */ #define CS42L42_TS_INV_DIS 0 #define CS42L42_TS_INV_EN 1 /* Tip Sense Debounce */ #define CS42L42_TS_DBNCE_0 0 #define CS42L42_TS_DBNCE_125 1 #define CS42L42_TS_DBNCE_250 2 #define CS42L42_TS_DBNCE_500 3 #define CS42L42_TS_DBNCE_750 4 #define CS42L42_TS_DBNCE_1000 5 #define CS42L42_TS_DBNCE_1250 6 #define CS42L42_TS_DBNCE_1500 7 /* Button Press Software Debounce Times */ #define CS42L42_BTN_DET_INIT_DBNCE_MIN 0 #define CS42L42_BTN_DET_INIT_DBNCE_DEFAULT 100 #define CS42L42_BTN_DET_INIT_DBNCE_MAX 200 #define CS42L42_BTN_DET_EVENT_DBNCE_MIN 0 #define CS42L42_BTN_DET_EVENT_DBNCE_DEFAULT 10 #define CS42L42_BTN_DET_EVENT_DBNCE_MAX 20 /* Button Detect Level Sensitivities */ #define CS42L42_NUM_BIASES 4 #define CS42L42_HS_DET_LEVEL_15 0x0F #define CS42L42_HS_DET_LEVEL_8 0x08 #define CS42L42_HS_DET_LEVEL_4 0x04 #define CS42L42_HS_DET_LEVEL_1 0x01 #define CS42L42_HS_DET_LEVEL_MIN 0 #define CS42L42_HS_DET_LEVEL_MAX 0x3F /* HS Bias Ramp Rate */ #define CS42L42_HSBIAS_RAMP_FAST_RISE_SLOW_FALL 0 #define CS42L42_HSBIAS_RAMP_FAST 1 #define CS42L42_HSBIAS_RAMP_SLOW 2 #define CS42L42_HSBIAS_RAMP_SLOWEST 3 #define CS42L42_HSBIAS_RAMP_TIME0 10 #define CS42L42_HSBIAS_RAMP_TIME1 40 #define CS42L42_HSBIAS_RAMP_TIME2 90 #define CS42L42_HSBIAS_RAMP_TIME3 170 #endif /* __DT_CS42L42_H */ u.h?id=99421c1cb27fb837e93b517036fab4500fe39de5'>commitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2017-01-15 16:09:50 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2017-01-15 16:09:50 -0800
commit99421c1cb27fb837e93b517036fab4500fe39de5 (patch)
treede5fc5bacb671223f389793ad643cebe520bc292 /include/dt-bindings/clock/efm32-cmu.h
parentc92816275674c1491ce228ee49aa030a5fa1be04 (diff)
parent93362fa47fe98b62e4a34ab408c4a418432e7939 (diff)
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace
Pull namespace fixes from Eric Biederman: "This tree contains 4 fixes. The first is a fix for a race that can causes oopses under the right circumstances, and that someone just recently encountered. Past that are several small trivial correct fixes. A real issue that was blocking development of an out of tree driver, but does not appear to have caused any actual problems for in-tree code. A potential deadlock that was reported by lockdep. And a deadlock people have experienced and took the time to track down caused by a cleanup that removed the code to drop a reference count" * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace: sysctl: Drop reference added by grab_header in proc_sys_readdir pid: fix lockdep deadlock warning due to ucount_lock libfs: Modify mount_pseudo_xattr to be clear it is not a userspace mount mnt: Protect the mountpoint hashtable with mount_lock
Diffstat (limited to 'include/dt-bindings/clock/efm32-cmu.h')