Skip to content

Convert Xilinx XADC binding to YAML and related cleanups

Pramod Maurya linux-arm-kernel linux-devicetree linux-iio lkml 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 6 repliesIn review
  2. v3 posting 2/21 patch 12 repliesApplied
  3. v3 posting 1/21 patch 1 replySuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v21 patch1 replySuperseded
v11 patch0 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3dt-bindings: iio: adc: Convert xilinx-xadc bindings to YAML schemaDocumentation/devicetree/bindings/iio/adc/xilinx-xadc.txt Documentation/devicetree/bindings/iio/adc/xlnx,xadc.yaml MAINTAINERS+217 -1413 replies
2/3staging: axis-fifo: Fix alignment of wait_event_interruptible argumentsdrivers/staging/axis-fifo/axis-fifo.c+2 -11 reply
3/3dt-bindings: misc: Add binding for Xilinx AXI-Stream FIFODocumentation/devicetree/bindings/misc/xlnx,axi-fifo-mm-s.yaml MAINTAINERS+99 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH v4 0/3] Convert Xilinx XADC binding to YAML and related cleanups

This series converts the Xilinx XADC device tree binding from the legacy plain-text format to a validated YAML schema, fixes a checkpatch alignment warning in the axis-fifo staging driver, and adds a YAML DT binding for the Xilinx AXI-Stream FIFO IP core.

Patch 1 is v4 of the XADC binding conversion. Previous versions had the following issues that are now addressed:
- v3: xlnx,channels was placed in patternProperties to satisfy the vendor-props.yaml meta-schema; dt-schema PR#195 (merged by Rob Herring) now allows commas in nodenames so it correctly lives in properties. A companion dt-schema update is needed to add xlnx,channels to the vendor-props.yaml explicit object exceptions (similar to the existing adi,channels entry).
- v3: reg constraints inside channel subnodes used bare minimum/maximum keywords which are silently ignored on array types; the description now documents the valid range and reg uses maxItems: 1 per cell.yaml.
- v3: xlnx,bipolar had a redundant type: boolean alongside the $ref to /schemas/types.yaml#/definitions/flag; the $ref already implies the boolean type so type: boolean is removed.

Patches 2 and 3 are new additions to this series.

Pramod Maurya (3):
dt-bindings: iio: adc: Convert xilinx-xadc bindings to YAML schema
staging: axis-fifo: Fix alignment of wait_event_interruptible
arguments
dt-bindings: misc: Add binding for Xilinx AXI-Stream FIFO

 .../bindings/iio/adc/xilinx-xadc.txt          | 141 ------------
 .../bindings/iio/adc/xlnx,xadc.yaml           | 210 ++++++++++++++++++
 .../bindings/misc/xlnx,axi-fifo-mm-s.yaml     |  93 ++++++++
 MAINTAINERS                                   |  13 ++
 drivers/staging/axis-fifo/axis-fifo.c         |   3 +-
 5 files changed, 318 insertions(+), 142 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/iio/adc/xilinx-xadc.txt
 create mode 100644 Documentation/devicetree/bindings/iio/adc/xlnx,xadc.yaml
 create mode 100644 Documentation/devicetree/bindings/misc/xlnx,axi-fifo-mm-s.yaml
Signature · 1 line
2.52.0