summaryrefslogtreecommitdiffstats
path: root/include/dt-bindings/ata/ahci.h
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2022-10-19 17:37:01 +0200
committerMark Brown <broonie@kernel.org>2022-10-19 17:37:01 +0200
commit008f05a72d32dcc14038801649ec67af765fcc3c (patch)
treec958a2ab7039ea3e03621b1cbae4fcad41ee947c /include/dt-bindings/ata/ahci.h
parentASoC: simple-card: Fix up checks for HW param fixups (diff)
parentASoC: codecs: jz4725b: Fix spelling mistake "Sourc" -> "Source", "Routee" -> ... (diff)
downloadlinux-008f05a72d32dcc14038801649ec67af765fcc3c.tar.xz
linux-008f05a72d32dcc14038801649ec67af765fcc3c.zip
ASoC: jz4752b: Capture fixes
Merge series from Siarhei Volkau <lis8215@gmail.com>: The patchset fixes: - Line In path stays powered off during capturing or bypass to mixer. - incorrectly represented dB values in alsamixer, et al. - incorrect represented Capture input selector in alsamixer in Playback tab. - wrong control selected as Capture Master
Diffstat (limited to 'include/dt-bindings/ata/ahci.h')
-rw-r--r--include/dt-bindings/ata/ahci.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/dt-bindings/ata/ahci.h b/include/dt-bindings/ata/ahci.h
new file mode 100644
index 000000000000..77997b35612c
--- /dev/null
+++ b/include/dt-bindings/ata/ahci.h
@@ -0,0 +1,20 @@
+/* SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause */
+/*
+ * This header provides constants for most AHCI bindings.
+ */
+
+#ifndef _DT_BINDINGS_ATA_AHCI_H
+#define _DT_BINDINGS_ATA_AHCI_H
+
+/* Host Bus Adapter generic platform capabilities */
+#define HBA_SSS (1 << 27)
+#define HBA_SMPS (1 << 28)
+
+/* Host Bus Adapter port-specific platform capabilities */
+#define HBA_PORT_HPCP (1 << 18)
+#define HBA_PORT_MPSP (1 << 19)
+#define HBA_PORT_CPD (1 << 20)
+#define HBA_PORT_ESP (1 << 21)
+#define HBA_PORT_FBSCP (1 << 22)
+
+#endif