Skip to content

Commit abbeaee

Browse files
committed
sync to upstream 0bdcfaf84a94 ("tools: ynl: add all headers to makefile deps")
Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 2c3da0c commit abbeaee

31 files changed

+4116
-986
lines changed

Documentation/netlink/genetlink-c.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,10 @@ $defs:
1414
pattern: ^[0-9A-Za-z_-]+( - 1)?$
1515
minimum: 0
1616
len-or-limit:
17-
# literal int or limit based on fixed-width type e.g. u8-min, u16-max, etc.
17+
# literal int, const name, or limit based on fixed-width type
18+
# e.g. u8-min, u16-max, etc.
1819
type: [ string, integer ]
19-
pattern: ^[su](8|16|32|64)-(min|max)$
20+
pattern: ^[0-9A-Za-z_-]+$
2021
minimum: 0
2122

2223
# Schema for specs
@@ -106,6 +107,9 @@ properties:
106107
name-prefix:
107108
description: For enum the prefix of the values, optional.
108109
type: string
110+
enum-cnt-name:
111+
description: Name of the render-max counter enum entry.
112+
type: string
109113
# End genetlink-c
110114

111115
attribute-sets:

Documentation/netlink/genetlink-legacy.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,10 @@ $defs:
1414
pattern: ^[0-9A-Za-z_-]+( - 1)?$
1515
minimum: 0
1616
len-or-limit:
17-
# literal int or limit based on fixed-width type e.g. u8-min, u16-max, etc.
17+
# literal int, const name, or limit based on fixed-width type
18+
# e.g. u8-min, u16-max, etc.
1819
type: [ string, integer ]
19-
pattern: ^[su](8|16|32|64)-(min|max)$
20+
pattern: ^[0-9A-Za-z_-]+$
2021
minimum: 0
2122

2223
# Schema for specs
@@ -117,6 +118,9 @@ properties:
117118
name-prefix:
118119
description: For enum the prefix of the values, optional.
119120
type: string
121+
enum-cnt-name:
122+
description: Name of the render-max counter enum entry.
123+
type: string
120124
# End genetlink-c
121125
# Start genetlink-legacy
122126
members:

Documentation/netlink/genetlink.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,10 @@ $defs:
1414
pattern: ^[0-9A-Za-z_-]+( - 1)?$
1515
minimum: 0
1616
len-or-limit:
17-
# literal int or limit based on fixed-width type e.g. u8-min, u16-max, etc.
17+
# literal int, const name, or limit based on fixed-width type
18+
# e.g. u8-min, u16-max, etc.
1819
type: [ string, integer ]
19-
pattern: ^[su](8|16|32|64)-(min|max)$
20+
pattern: ^[0-9A-Za-z_-]+$
2021
minimum: 0
2122

2223
# Schema for specs

Documentation/netlink/netlink-raw.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ properties:
221221
type: &attr-type
222222
description: The netlink attribute type
223223
enum: [ unused, pad, flag, binary, bitfield32,
224-
u8, u16, u32, u64, s8, s16, s32, s64,
224+
uint, sint, u8, u16, u32, u64, s8, s16, s32, s64,
225225
string, nest, indexed-array, nest-type-value,
226226
sub-message ]
227227
doc:

Documentation/netlink/specs/dpll.yaml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,36 @@ definitions:
8585
This may happen for example if dpll device was previously
8686
locked on an input pin of type PIN_TYPE_SYNCE_ETH_PORT.
8787
render-max: true
88+
-
89+
type: enum
90+
name: clock-quality-level
91+
doc: |
92+
level of quality of a clock device. This mainly applies when
93+
the dpll lock-status is DPLL_LOCK_STATUS_HOLDOVER.
94+
The current list is defined according to the table 11-7 contained
95+
in ITU-T G.8264/Y.1364 document. One may extend this list freely
96+
by other ITU-T defined clock qualities, or different ones defined
97+
by another standardization body (for those, please use
98+
different prefix).
99+
entries:
100+
-
101+
name: itu-opt1-prc
102+
value: 1
103+
-
104+
name: itu-opt1-ssu-a
105+
-
106+
name: itu-opt1-ssu-b
107+
-
108+
name: itu-opt1-eec1
109+
-
110+
name: itu-opt1-prtc
111+
-
112+
name: itu-opt1-eprtc
113+
-
114+
name: itu-opt1-eeec
115+
-
116+
name: itu-opt1-eprc
117+
render-max: true
88118
-
89119
type: const
90120
name: temp-divider
@@ -252,6 +282,17 @@ attribute-sets:
252282
name: lock-status-error
253283
type: u32
254284
enum: lock-status-error
285+
-
286+
name: clock-quality-level
287+
type: u32
288+
enum: clock-quality-level
289+
multi-attr: true
290+
doc: |
291+
Level of quality of a clock device. This mainly applies when
292+
the dpll lock-status is DPLL_LOCK_STATUS_HOLDOVER. This could
293+
be put to message multiple times to indicate possible parallel
294+
quality levels (e.g. one specified by ITU option 1 and another
295+
one specified by option 2).
255296
-
256297
name: pin
257298
enum-name: dpll_a_pin

0 commit comments

Comments
 (0)