ASoC: Updates for v5.15 Quite a quiet release this time, mostly a combination of cleanups and a good set of new drivers. - Lots of cleanups and improvements to the Intel drivers, including some new systems support. - New support for AMD Vangoh, CUI CMM-4030D-261, Mediatek Mt8195, Renesas RZ/G2L Mediatek Mt8195, RealTek RT101P, Renesas RZ/G2L,, Rockchip RK3568 S/PDIF.
Showing the changes to include/uapi (9 of 1689 files). Show all
Unified · Split
| @@ -46,6 +46,7 @@ enum { · 45 unmodified lines | |||
| 46 | ETHTOOL_MSG_FEC_SET, | 46 | ETHTOOL_MSG_FEC_SET, |
| 47 | ETHTOOL_MSG_MODULE_EEPROM_GET, | 47 | ETHTOOL_MSG_MODULE_EEPROM_GET, |
| 48 | ETHTOOL_MSG_STATS_GET, | 48 | ETHTOOL_MSG_STATS_GET, |
| 49 | ETHTOOL_MSG_PHC_VCLOCKS_GET, | ||
| 49 | 50 | ||
| 50 | /* add new constants above here */ | 51 | /* add new constants above here */ |
| 51 | __ETHTOOL_MSG_USER_CNT, | 52 | __ETHTOOL_MSG_USER_CNT, |
| @@ -88,6 +89,7 @@ enum { · 36 unmodified lines | |||
| 88 | ETHTOOL_MSG_FEC_NTF, | 89 | ETHTOOL_MSG_FEC_NTF, |
| 89 | ETHTOOL_MSG_MODULE_EEPROM_GET_REPLY, | 90 | ETHTOOL_MSG_MODULE_EEPROM_GET_REPLY, |
| 90 | ETHTOOL_MSG_STATS_GET_REPLY, | 91 | ETHTOOL_MSG_STATS_GET_REPLY, |
| 92 | ETHTOOL_MSG_PHC_VCLOCKS_GET_REPLY, | ||
| 91 | 93 | ||
| 92 | /* add new constants above here */ | 94 | /* add new constants above here */ |
| 93 | __ETHTOOL_MSG_KERNEL_CNT, | 95 | __ETHTOOL_MSG_KERNEL_CNT, |
| @@ -440,6 +442,19 @@ enum { · 346 unmodified lines | |||
| 440 | ETHTOOL_A_TSINFO_MAX = (__ETHTOOL_A_TSINFO_CNT - 1) | 442 | ETHTOOL_A_TSINFO_MAX = (__ETHTOOL_A_TSINFO_CNT - 1) |
| 441 | }; | 443 | }; |
| 442 | 444 | ||
| 445 | /* PHC VCLOCKS */ | ||
| 446 | |||
| 447 | enum { | ||
| 448 | ETHTOOL_A_PHC_VCLOCKS_UNSPEC, | ||
| 449 | ETHTOOL_A_PHC_VCLOCKS_HEADER, /* nest - _A_HEADER_* */ | ||
| 450 | ETHTOOL_A_PHC_VCLOCKS_NUM, /* u32 */ | ||
| 451 | ETHTOOL_A_PHC_VCLOCKS_INDEX, /* array, s32 */ | ||
| 452 | |||
| 453 | /* add new constants above here */ | ||
| 454 | __ETHTOOL_A_PHC_VCLOCKS_CNT, | ||
| 455 | ETHTOOL_A_PHC_VCLOCKS_MAX = (__ETHTOOL_A_PHC_VCLOCKS_CNT - 1) | ||
| 456 | }; | ||
| 457 | |||
| 443 | /* CABLE TEST */ | 458 | /* CABLE TEST */ |
| 444 | 459 | ||
| 445 | enum { | 460 | enum { |
| @@ -1,4 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | 1 | /* SPDX-License-Identifier: LGPL-2.1 WITH Linux-syscall-note */ |
| 2 | /* Copyright(c) 2019 Intel Corporation. All rights rsvd. */ | 2 | /* Copyright(c) 2019 Intel Corporation. All rights rsvd. */ |
| 3 | #ifndef _USR_IDXD_H_ | 3 | #ifndef _USR_IDXD_H_ |
| 4 | #define _USR_IDXD_H_ | 4 | #define _USR_IDXD_H_ |
| @@ -66,8 +66,11 @@ enum { · 65 unmodified lines | |||
| 66 | #define NUD_NONE 0x00 | 66 | #define NUD_NONE 0x00 |
| 67 | 67 | ||
| 68 | /* NUD_NOARP & NUD_PERMANENT are pseudostates, they never change | 68 | /* NUD_NOARP & NUD_PERMANENT are pseudostates, they never change |
| 69 | and make no address resolution or NUD. | 69 | * and make no address resolution or NUD. |
| 70 | NUD_PERMANENT also cannot be deleted by garbage collectors. | 70 | * NUD_PERMANENT also cannot be deleted by garbage collectors. |
| 71 | * When NTF_EXT_LEARNED is set for a bridge fdb entry the different cache entry | ||
| 72 | * states don't make sense and thus are ignored. Such entries don't age and | ||
| 73 | * can roam. | ||
| 71 | */ | 74 | */ |
| 72 | 75 | ||
| 73 | struct nda_cacheinfo { | 76 | struct nda_cacheinfo { |
| @@ -13,7 +13,7 @@ · 12 unmodified lines | |||
| 13 | #include <linux/types.h> | 13 | #include <linux/types.h> |
| 14 | #include <linux/socket.h> /* for SO_TIMESTAMPING */ | 14 | #include <linux/socket.h> /* for SO_TIMESTAMPING */ |
| 15 | 15 | ||
| 16 | /* SO_TIMESTAMPING gets an integer bit field comprised of these values */ | 16 | /* SO_TIMESTAMPING flags */ |
| 17 | enum { | 17 | enum { |
| 18 | SOF_TIMESTAMPING_TX_HARDWARE = (1<<0), | 18 | SOF_TIMESTAMPING_TX_HARDWARE = (1<<0), |
| 19 | SOF_TIMESTAMPING_TX_SOFTWARE = (1<<1), | 19 | SOF_TIMESTAMPING_TX_SOFTWARE = (1<<1), |
| @@ -30,8 +30,9 @@ enum { · 10 unmodified lines | |||
| 30 | SOF_TIMESTAMPING_OPT_STATS = (1<<12), | 30 | SOF_TIMESTAMPING_OPT_STATS = (1<<12), |
| 31 | SOF_TIMESTAMPING_OPT_PKTINFO = (1<<13), | 31 | SOF_TIMESTAMPING_OPT_PKTINFO = (1<<13), |
| 32 | SOF_TIMESTAMPING_OPT_TX_SWHW = (1<<14), | 32 | SOF_TIMESTAMPING_OPT_TX_SWHW = (1<<14), |
| 33 | SOF_TIMESTAMPING_BIND_PHC = (1 << 15), | ||
| 33 | 34 | ||
| 34 | SOF_TIMESTAMPING_LAST = SOF_TIMESTAMPING_OPT_TX_SWHW, | 35 | SOF_TIMESTAMPING_LAST = SOF_TIMESTAMPING_BIND_PHC, |
| 35 | SOF_TIMESTAMPING_MASK = (SOF_TIMESTAMPING_LAST - 1) | | 36 | SOF_TIMESTAMPING_MASK = (SOF_TIMESTAMPING_LAST - 1) | |
| 36 | SOF_TIMESTAMPING_LAST | 37 | SOF_TIMESTAMPING_LAST |
| 37 | }; | 38 | }; |
| @@ -46,6 +47,18 @@ enum { · 8 unmodified lines | |||
| 46 | SOF_TIMESTAMPING_TX_SCHED | \ | 47 | SOF_TIMESTAMPING_TX_SCHED | \ |
| 47 | SOF_TIMESTAMPING_TX_ACK) | 48 | SOF_TIMESTAMPING_TX_ACK) |
| 48 | 49 | ||
| 50 | /** | ||
| 51 | * struct so_timestamping - SO_TIMESTAMPING parameter | ||
| 52 | * | ||
| 53 | * @flags: SO_TIMESTAMPING flags | ||
| 54 | * @bind_phc: Index of PTP virtual clock bound to sock. This is available | ||
| 55 | * if flag SOF_TIMESTAMPING_BIND_PHC is set. | ||
| 56 | */ | ||
| 57 | struct so_timestamping { | ||
| 58 | int flags; | ||
| 59 | int bind_phc; | ||
| 60 | }; | ||
| 61 | |||
| 49 | /** | 62 | /** |
| 50 | * struct hwtstamp_config - %SIOCGHWTSTAMP and %SIOCSHWTSTAMP parameter | 63 | * struct hwtstamp_config - %SIOCGHWTSTAMP and %SIOCSHWTSTAMP parameter |
| 51 | * | 64 | * |
| @@ -43,6 +43,15 @@ enum nfnl_hook_chain_info_attributes { · 42 unmodified lines | |||
| 43 | }; | 43 | }; |
| 44 | #define NFNLA_HOOK_INFO_MAX (__NFNLA_HOOK_INFO_MAX - 1) | 44 | #define NFNLA_HOOK_INFO_MAX (__NFNLA_HOOK_INFO_MAX - 1) |
| 45 | 45 | ||
| 46 | enum nfnl_hook_chain_desc_attributes { | ||
| 47 | NFNLA_CHAIN_UNSPEC, | ||
| 48 | NFNLA_CHAIN_TABLE, | ||
| 49 | NFNLA_CHAIN_FAMILY, | ||
| 50 | NFNLA_CHAIN_NAME, | ||
| 51 | __NFNLA_CHAIN_MAX, | ||
| 52 | }; | ||
| 53 | #define NFNLA_CHAIN_MAX (__NFNLA_CHAIN_MAX - 1) | ||
| 54 | |||
| 46 | /** | 55 | /** |
| 47 | * enum nfnl_hook_chaintype - chain type | 56 | * enum nfnl_hook_chaintype - chain type |
| 48 | * | 57 | * |
| @@ -61,7 +61,7 @@ enum nfulnl_attr_type { · 60 unmodified lines | |||
| 61 | NFULA_HWTYPE, /* hardware type */ | 61 | NFULA_HWTYPE, /* hardware type */ |
| 62 | NFULA_HWHEADER, /* hardware header */ | 62 | NFULA_HWHEADER, /* hardware header */ |
| 63 | NFULA_HWLEN, /* hardware header length */ | 63 | NFULA_HWLEN, /* hardware header length */ |
| 64 | NFULA_CT, /* nf_conntrack_netlink.h */ | 64 | NFULA_CT, /* nfnetlink_conntrack.h */ |
| 65 | NFULA_CT_INFO, /* enum ip_conntrack_info */ | 65 | NFULA_CT_INFO, /* enum ip_conntrack_info */ |
| 66 | NFULA_VLAN, /* nested attribute: packet vlan info */ | 66 | NFULA_VLAN, /* nested attribute: packet vlan info */ |
| 67 | NFULA_L2HDR, /* full L2 header */ | 67 | NFULA_L2HDR, /* full L2 header */ |
| @@ -51,11 +51,11 @@ enum nfqnl_attr_type { · 50 unmodified lines | |||
| 51 | NFQA_IFINDEX_PHYSOUTDEV, /* __u32 ifindex */ | 51 | NFQA_IFINDEX_PHYSOUTDEV, /* __u32 ifindex */ |
| 52 | NFQA_HWADDR, /* nfqnl_msg_packet_hw */ | 52 | NFQA_HWADDR, /* nfqnl_msg_packet_hw */ |
| 53 | NFQA_PAYLOAD, /* opaque data payload */ | 53 | NFQA_PAYLOAD, /* opaque data payload */ |
| 54 | NFQA_CT, /* nf_conntrack_netlink.h */ | 54 | NFQA_CT, /* nfnetlink_conntrack.h */ |
| 55 | NFQA_CT_INFO, /* enum ip_conntrack_info */ | 55 | NFQA_CT_INFO, /* enum ip_conntrack_info */ |
| 56 | NFQA_CAP_LEN, /* __u32 length of captured packet */ | 56 | NFQA_CAP_LEN, /* __u32 length of captured packet */ |
| 57 | NFQA_SKB_INFO, /* __u32 skb meta information */ | 57 | NFQA_SKB_INFO, /* __u32 skb meta information */ |
| 58 | NFQA_EXP, /* nf_conntrack_netlink.h */ | 58 | NFQA_EXP, /* nfnetlink_conntrack.h */ |
| 59 | NFQA_UID, /* __u32 sk uid */ | 59 | NFQA_UID, /* __u32 sk uid */ |
| 60 | NFQA_GID, /* __u32 sk gid */ | 60 | NFQA_GID, /* __u32 sk gid */ |
| 61 | NFQA_SECCTX, /* security context string */ | 61 | NFQA_SECCTX, /* security context string */ |
| @@ -1,4 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: (GPL-2.0 WITH Linux-syscall-note) OR Linux-OpenIB) */ | 1 | /* SPDX-License-Identifier: (GPL-2.0 WITH Linux-syscall-note) OR Linux-OpenIB */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2006 - 2021 Intel Corporation. All rights reserved. | 3 | * Copyright (c) 2006 - 2021 Intel Corporation. All rights reserved. |
| 4 | * Copyright (c) 2005 Topspin Communications. All rights reserved. | 4 | * Copyright (c) 2005 Topspin Communications. All rights reserved. |
| @@ -233,6 +233,8 @@ · 232 unmodified lines | |||
| 233 | * | 233 | * |
| 234 | * %SKL_TKN_U32_ASTATE_CLK_SRC: Clock source for A-State entry | 234 | * %SKL_TKN_U32_ASTATE_CLK_SRC: Clock source for A-State entry |
| 235 | * | 235 | * |
| 236 | * %SKL_TKN_U32_FMT_CFG_IDX: Format config index | ||
| 237 | * | ||
| 236 | * module_id and loadable flags dont have tokens as these values will be | 238 | * module_id and loadable flags dont have tokens as these values will be |
| 237 | * read from the DSP FW manifest | 239 | * read from the DSP FW manifest |
| 238 | * | 240 | * |
| @@ -324,7 +326,9 @@ enum SKL_TKNS { · 85 unmodified lines | |||
| 324 | SKL_TKN_U32_ASTATE_COUNT, | 326 | SKL_TKN_U32_ASTATE_COUNT, |
| 325 | SKL_TKN_U32_ASTATE_KCPS, | 327 | SKL_TKN_U32_ASTATE_KCPS, |
| 326 | SKL_TKN_U32_ASTATE_CLK_SRC, | 328 | SKL_TKN_U32_ASTATE_CLK_SRC, |
| 327 | SKL_TKN_MAX = SKL_TKN_U32_ASTATE_CLK_SRC, | 329 | |
| 330 | SKL_TKN_U32_FMT_CFG_IDX = 96, | ||
| 331 | SKL_TKN_MAX = SKL_TKN_U32_FMT_CFG_IDX, | ||
| 328 | }; | 332 | }; |
| 329 | 333 | ||
| 330 | #endif | 334 | #endif |