yaml: Remove redundant document separators

YAML document separators are needed e.g. when doing

  $ cat doc1.yaml doc2.yaml | <parser>

For the bindings, we never parse concatenated documents. Assume we don't
for any other .yaml files either.

Having document separators in e.g. base.yaml makes !include a bit
confusing, since the !included files are merged and not separate
documents (the merging is done in Python code though, so it makes no
difference for behavior).

The replacement was done with

    $ git ls-files '*.yaml' | \
        xargs sed -i -e '${/\s*\.\.\.\s*/d;}' -e 's/^\s*---\s*$//'

First pattern removes ... at the end of files, second pattern clears a
line with a lone --- on it.

Some redundant blank lines at the end of files were cleared with

    $ git ls-files '*.yaml' | xargs sed -i '${/^\s*$/d}'

This is more about making sure people can understand why every part of a
binding is there than about removing some text.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
This commit is contained in:
Ulf Magnusson 2019-06-19 00:03:49 +02:00 committed by Carles Cufí
commit eba81c6e54
330 changed files with 319 additions and 749 deletions

View file

@ -3,7 +3,7 @@
#
# SPDX-License-Identifier: Apache-2.0
#
---
identifier: litex_vexriscv
name: LiteX SoC with VexRiscV softcore CPU
type: mcu

View file

@ -3,7 +3,7 @@
#
# SPDX-License-Identifier: Apache-2.0
#
---
title: ARC DCCM
version: 0.1
@ -19,4 +19,3 @@ properties:
reg:
category: required
...

View file

@ -3,7 +3,7 @@
#
# SPDX-License-Identifier: Apache-2.0
#
---
title: ARC ICCM
version: 0.1
@ -19,4 +19,3 @@ properties:
reg:
category: required
...

View file

@ -3,7 +3,7 @@
#
# SPDX-License-Identifier: Apache-2.0
#
---
title: ARM Serial Configuration Control
version: 0.1
@ -19,5 +19,3 @@ properties:
reg:
category: required
...

View file

@ -1,4 +1,4 @@
---
title: Atmel Device ID (Serial Number) binding
version: 0.1
@ -14,4 +14,3 @@ properties:
reg:
category: required
...

View file

@ -1,4 +1,4 @@
---
title: Atmel DMAC binding
version: 0.1
@ -17,4 +17,3 @@ properties:
interrupts:
category: required
...

View file

@ -1,4 +1,4 @@
---
title: Atmel SERCOM binding
version: 0.1
@ -17,4 +17,3 @@ properties:
interrupts:
category: required
...

View file

@ -3,7 +3,7 @@
#
# SPDX-License-Identifier: Apache-2.0
#
---
title: Nordic DPPIC
version: 0.1
@ -20,4 +20,3 @@ properties:
reg:
category: required
...

View file

@ -1,4 +1,4 @@
---
title: Nordic FICR (Factory Information Configuration Registers)
version: 0.1
@ -14,5 +14,3 @@ properties:
reg:
category: required
...

View file

@ -1,4 +1,4 @@
---
title: Nordic SPU (System Protection Unit)
version: 0.1
@ -17,5 +17,3 @@ properties:
interrupts:
category: required
...

View file

@ -3,7 +3,7 @@
#
# SPDX-License-Identifier: Apache-2.0
#
---
title: i.MX DTCM (Data Tightly Coupled Memory)
version: 0.1
@ -19,5 +19,3 @@ properties:
reg:
category: required
...

View file

@ -3,7 +3,7 @@
#
# SPDX-License-Identifier: Apache-2.0
#
---
title: IMX EPIT COUNTER
version: 0.1
@ -37,5 +37,3 @@ properties:
category: required
description: Set the RDC permission for this peripheral
generation: define
...

View file

@ -3,7 +3,7 @@
#
# SPDX-License-Identifier: Apache-2.0
#
---
title: i.MX ITCM (Instruction Tightly Coupled Memory)
version: 0.1
@ -19,5 +19,3 @@ properties:
reg:
category: required
...

View file

@ -3,7 +3,7 @@
#
# SPDX-License-Identifier: Apache-2.0
#
---
title: IMX MESSAGING UNIT
version: 0.1
@ -31,5 +31,3 @@ properties:
category: required
description: Set the RDC permission for this peripheral
generation: define
...

View file

@ -3,7 +3,7 @@
#
# SPDX-License-Identifier: Apache-2.0
#
---
title: NXP Kinetis PCC (Peripheral Clock Controller)
version: 0.1
@ -26,4 +26,3 @@ properties:
"#cells":
- name
- offset
...

View file

@ -3,7 +3,7 @@
#
# SPDX-License-Identifier: Apache-2.0
#
---
title: NXP Kinetis SCG (System Clock Generator)
version: 0.1
@ -142,5 +142,3 @@ properties:
description: clockout clock source
generation: define
category: optional
...

View file

@ -3,7 +3,7 @@
#
# SPDX-License-Identifier: Apache-2.0
#
---
title: Kinetis System Integration Module (SIM)
version: 0.1
@ -39,4 +39,3 @@ properties:
- name
- offset
- bits
...

View file

@ -3,7 +3,7 @@
#
# SPDX-License-Identifier: Apache-2.0
#
---
title: LPC MAILBOX
version: 0.1
@ -25,5 +25,3 @@ properties:
label:
category: required
...

View file

@ -1,4 +1,4 @@
---
# SPDX-License-Identifier: Apache-2.0
title: STM32 CCM
version: 0.1
@ -15,5 +15,3 @@ properties:
reg:
category: required
...

View file

@ -1,4 +1,4 @@
---
# SPDX-License-Identifier: Apache-2.0
title: TI CC2650 PRCM
version: 0.1
@ -16,4 +16,3 @@ properties:
reg:
category: required
...

View file

@ -3,7 +3,7 @@
#
# SPDX-License-Identifier: Apache-2.0
#
---
title: ST Microelectronics MPXXDTYY digital pdm microphone family
version: 0.1
@ -18,5 +18,3 @@ properties:
constraint: "st,mpxxdtyy"
label:
category: required
...

View file

@ -3,7 +3,7 @@
#
# SPDX-License-Identifier: Apache-2.0
#
---
title: Texas Instruments TLV320DAC Audio DAC
version: 0.1
@ -21,4 +21,3 @@ properties:
type: compound
category: required
generation: define, use-prop-name
...

View file

@ -1,4 +1,4 @@
---
title: base device binding
version: 0.1
@ -41,5 +41,3 @@ properties:
category: optional
description: Human readable string describing the device (used by Zephyr for API name)
generation: define
...

View file

@ -3,7 +3,7 @@
#
# SPDX-License-Identifier: Apache-2.0
#
---
title: Bluetooth controller that provides Host Controller Interface over SPI
version: 0.1
@ -25,4 +25,3 @@ properties:
type: compound
category: required
generation: define
...

View file

@ -3,7 +3,7 @@
#
# SPDX-License-Identifier: Apache-2.0
#
---
title: Bluetooth module based on Zephyr's Bluetooth HCI SPI driver
version: 0.1
@ -27,4 +27,3 @@ properties:
type: compound
category: required
generation: define
...

View file

@ -3,7 +3,7 @@
#
# SPDX-License-Identifier: Apache-2.0
#
---
title: CAN Device Base Structure
version: 0.1
@ -21,4 +21,3 @@ properties:
category: required
label:
category: required
...

View file

@ -1,4 +1,4 @@
---
title: CAN Base Structure
version: 0.1
@ -46,4 +46,3 @@ properties:
type: array
category: optional
description: pinmux information for RX, TX
...

View file

@ -3,7 +3,7 @@
#
# SPDX-License-Identifier: Apache-2.0
#
---
title: MCP2515 CAN
version: 0.1
@ -20,4 +20,3 @@ properties:
type: compound
category: required
generation: define, use-prop-name
...

View file

@ -1,4 +1,4 @@
---
title: STM32 CAN
version: 0.1
@ -41,4 +41,3 @@ properties:
category: required
description: Clock gate control information
generation: define
...

View file

@ -3,7 +3,7 @@
#
# SPDX-License-Identifier: Apache-2.0
#
---
title: Nordic nRF clock control
version: 0.1
@ -25,4 +25,3 @@ properties:
interrupts:
category: required
...

View file

@ -3,7 +3,7 @@
#
# SPDX-License-Identifier: Apache-2.0
#
---
title: i.MX Clock Controller Module (CCM)
version: 0.1
@ -27,4 +27,3 @@ properties:
- name
- offset
- bits
...

View file

@ -1,4 +1,4 @@
---
title: STM32 RCC
version: 0.1
@ -18,5 +18,3 @@ properties:
"#cells":
- bus
- bits
...

View file

@ -3,7 +3,7 @@
#
# SPDX-License-Identifier: Apache-2.0
#
---
title: ARM TrustZone CryptoCell 310
version: 0.1

View file

@ -3,7 +3,7 @@
#
# SPDX-License-Identifier: Apache-2.0
#
---
title: Nordic Control Interface for ARM TrustZone CryptoCell 310
version: 0.1

View file

@ -1,4 +1,3 @@
---
title: <short description of the node>
version: 0.1
@ -70,5 +69,3 @@ properties:
- cell1 # name of second cell
- cell2 # name of third cell
- and so on and so forth
...

View file

@ -3,7 +3,7 @@
#
# SPDX-License-Identifier: Apache-2.0
#
---
title: NXP Enhanced LCD Interface (eLCDIF) controller
version: 0.1
@ -25,4 +25,3 @@ properties:
label:
category: required
...

View file

@ -3,7 +3,7 @@
#
# SPDX-License-Identifier: Apache-2.0
#
---
title: ILI9340 320x240 Display Controller
version: 0.1
@ -26,5 +26,3 @@ properties:
type: compound
category: required
generation: define, use-prop-name
...

View file

@ -3,7 +3,7 @@
#
# SPDX-License-Identifier: Apache-2.0
#
---
title: Rocktech LCD Module
version: 0.1
@ -17,4 +17,3 @@ inherits:
properties:
compatible:
constraint: "rocktech,rk043fn02h-ct"
...

View file

@ -3,7 +3,7 @@
#
# SPDX-License-Identifier: Apache-2.0
#
---
title: SSD1306 128x64 Dot Matrix Display Controller
version: 0.1
@ -69,5 +69,3 @@ properties:
type: compound
category: optional
generation: define, use-prop-name
...

View file

@ -3,7 +3,7 @@
#
# SPDX-License-Identifier: Apache-2.0
#
---
title: SSD1673 250x150 EPD Display Controller
version: 0.1
@ -109,5 +109,3 @@ properties:
type: compound
category: required
generation: define, use-prop-name
...

View file

@ -3,7 +3,7 @@
#
# SPDX-License-Identifier: Apache-2.0
#
---
title: Ethernet Base Structure
version: 0.1
@ -20,4 +20,3 @@ properties:
generation: define
label:
category: required
...

View file

@ -21,4 +21,3 @@ properties:
interrupts:
category: required
...

View file

@ -3,7 +3,7 @@
#
# SPDX-License-Identifier: Apache-2.0
#
---
title: 10Base-T Ethernet Controller with SPI Interface
version: 0.1
@ -19,4 +19,3 @@ properties:
type: compound
category: required
generation: define, use-prop-name
...

View file

@ -3,7 +3,7 @@
#
# SPDX-License-Identifier: Apache-2.0
#
---
title: NXP Kinetis Ethernet
version: 0.1
@ -19,4 +19,3 @@ properties:
category: required
interrupts:
category: required
...

View file

@ -3,7 +3,7 @@
#
# SPDX-License-Identifier: Apache-2.0
#
---
title: NXP Kinetis Ethernet PTP
version: 0.1
@ -18,4 +18,3 @@ properties:
constraint: "nxp,kinetis-ptp"
interrupts:
category: required
...

View file

@ -2,7 +2,7 @@
# Copyright (c) 2018 Zilogic Systems
# SPDX-License-Identifier: Apache-2.0
#
---
title: TI Stellaris Ethernet
version: 0.1
@ -19,4 +19,3 @@ properties:
category: required
interrupts:
category: required
...

View file

@ -3,7 +3,7 @@
#
# SPDX-License-Identifier: Apache-2.0
#
---
title: Atmel SAM Flash Controller
version: 0.1
@ -22,4 +22,3 @@ properties:
description: peripheral ID
generation: define
category: required
...

View file

@ -1,4 +1,4 @@
---
title: Atmel SAM0 Non-Volatile Memory Controller
version: 0.1
@ -11,5 +11,3 @@ inherits:
properties:
compatible:
constraint: "atmel,sam0-nvmctrl"
...

View file

@ -3,7 +3,7 @@
#
# SPDX-License-Identifier: Apache-2.0
#
---
title: Cypress Flash Controller
version: 0.1
@ -16,5 +16,3 @@ inherits:
properties:
compatible:
constraint: "cypress,psoc6-flash-controller"
...

View file

@ -1,4 +1,4 @@
---
title: flash controller Base Structure
version: 0.1
@ -14,4 +14,3 @@ properties:
reg:
category: required
...

View file

@ -1,4 +1,4 @@
---
title: Nordic NVMC
version: 0.1
@ -11,5 +11,3 @@ inherits:
properties:
compatible:
constraint: "nordic,nrf51-flash-controller"
...

View file

@ -1,4 +1,4 @@
---
title: Nordic NVMC
version: 0.1
@ -11,5 +11,3 @@ inherits:
properties:
compatible:
constraint: "nordic,nrf52-flash-controller"
...

View file

@ -1,4 +1,4 @@
---
title: Nordic NVMC
version: 0.1
@ -11,5 +11,3 @@ inherits:
properties:
compatible:
constraint: "nordic,nrf91-flash-controller"
...

View file

@ -1,4 +1,4 @@
---
title: NXP Kinetis Flash Memory Module (FTFA)
version: 0.1
@ -11,5 +11,3 @@ inherits:
properties:
compatible:
constraint: "nxp,kinetis-ftfa"
...

View file

@ -1,4 +1,4 @@
---
title: NXP Kinetis Flash Memory Module (FTFE)
version: 0.1
@ -11,5 +11,3 @@ inherits:
properties:
compatible:
constraint: "nxp,kinetis-ftfe"
...

View file

@ -1,4 +1,4 @@
---
title: NXP Kinetis Flash Memory Module (FTFL)
version: 0.1
@ -11,5 +11,3 @@ inherits:
properties:
compatible:
constraint: "nxp,kinetis-ftfl"
...

View file

@ -1,4 +1,4 @@
---
title: OpenISA Flash Memory Module (FTFE)
version: 0.1
@ -11,5 +11,3 @@ inherits:
properties:
compatible:
constraint: "openisa,rv32m1-ftfe"
...

View file

@ -3,7 +3,7 @@
#
# SPDX-License-Identifier: Apache-2.0
#
---
title: Silicon Labs Gecko Flash Controller
version: 0.1
@ -16,5 +16,3 @@ inherits:
properties:
compatible:
constraint: "silabs,gecko-flash-controller"
...

View file

@ -1,4 +1,4 @@
---
title: STM32 F0 Flash Controller
version: 0.1
@ -11,5 +11,3 @@ inherits:
properties:
compatible:
constraint: "st,stm32f0-flash-controller"
...

View file

@ -1,4 +1,4 @@
---
title: STM32 F2 Flash Controller
version: 0.1
@ -11,5 +11,3 @@ inherits:
properties:
compatible:
constraint: "st,stm32f2-flash-controller"
...

View file

@ -1,4 +1,4 @@
---
title: STM32 F3 Flash Controller
version: 0.1
@ -11,5 +11,3 @@ inherits:
properties:
compatible:
constraint: "st,stm32f3-flash-controller"
...

View file

@ -1,4 +1,4 @@
---
title: STM32 F4 Flash Controller
version: 0.1
@ -11,5 +11,3 @@ inherits:
properties:
compatible:
constraint: "st,stm32f4-flash-controller"
...

View file

@ -1,4 +1,4 @@
---
title: STM32 F7 Flash Controller
version: 0.1
@ -11,5 +11,3 @@ inherits:
properties:
compatible:
constraint: "st,stm32f7-flash-controller"
...

View file

@ -1,4 +1,4 @@
---
title: STM32 L1 Flash Controller
version: 0.1
@ -11,5 +11,3 @@ inherits:
properties:
compatible:
constraint: "st,stm32l1-flash-controller"
...

View file

@ -1,4 +1,4 @@
---
title: STM32 L4 Flash Controller
version: 0.1
@ -11,5 +11,3 @@ inherits:
properties:
compatible:
constraint: "st,stm32l4-flash-controller"
...

View file

@ -1,4 +1,4 @@
---
title: STM32 WB Flash Controller
version: 0.1
@ -23,4 +23,3 @@ properties:
description: dual-bank mode enabled (page erase 2048k)
generation: define
category: optional
...

View file

@ -1,4 +1,4 @@
---
title: Native POSIX Flash Controller
version: 0.1
@ -12,5 +12,3 @@ inherits:
properties:
compatible:
constraint: "zephyr,native-posix-flash-controller"
...

View file

@ -1,5 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
---
title: simulated flash
version: 0.1
@ -15,5 +15,3 @@ properties:
label:
category: required
...

View file

@ -3,7 +3,7 @@
#
# SPDX-License-Identifier: Apache-2.0
#
---
title: ARDUINO GPIO HEADER
version: 0.1
@ -20,5 +20,3 @@ properties:
gpio-map:
type: compound
category: required
...

View file

@ -1,4 +1,4 @@
---
title: ARM CMSDK GPIO
version: 0.1
@ -17,4 +17,3 @@ properties:
interrupts:
category: required
...

View file

@ -1,4 +1,4 @@
---
title: Atmel SAM GPIO PORT driver
version: 0.1
@ -30,4 +30,3 @@ properties:
"#cells":
- pin
- flags
...

View file

@ -1,4 +1,4 @@
---
title: Atmel SAM0 GPIO PORT driver
version: 0.1
@ -21,4 +21,3 @@ properties:
"#cells":
- pin
- flags
...

View file

@ -3,7 +3,7 @@
#
# SPDX-License-Identifier: Apache-2.0
#
---
title: GPIO KEYS
version: 0.1
@ -24,5 +24,3 @@ properties:
label:
category: required
...

View file

@ -3,7 +3,7 @@
#
# SPDX-License-Identifier: Apache-2.0
#
---
title: GPIO LED
version: 0.1
@ -24,5 +24,3 @@ properties:
label:
category: required
...

View file

@ -1,4 +1,4 @@
---
title: Holtek HT16K33 LED Driver With Keyscan
version: 0.1
@ -23,5 +23,3 @@ cell_string: GPIO
"#cells":
- pin
- flags
...

View file

@ -3,7 +3,7 @@
#
# SPDX-License-Identifier: Apache-2.0
#
---
title: Intel Apollo Lake GPIO controller
version: 0.1
@ -31,4 +31,3 @@ cell_string: GPIO
"#cells":
- pin
- flags
...

View file

@ -3,7 +3,7 @@
#
# SPDX-License-Identifier: Apache-2.0
#
---
title: Intel QMSI GPIO
version: 0.1
@ -31,4 +31,3 @@ cell_string: GPIO
"#cells":
- pin
- flags
...

View file

@ -3,7 +3,7 @@
#
# SPDX-License-Identifier: Apache-2.0
#
---
title: Intel QMSI SS GPIO
version: 0.1
@ -31,4 +31,3 @@ cell_string: GPIO
"#cells":
- pin
- flags
...

View file

@ -4,7 +4,7 @@
# SPDX-License-Identifier: Apache-2.0
#
---
title: MICROCHIP GPIO
version: 0.1
@ -30,4 +30,3 @@ properties:
"#cells":
- pin
- flags
...

View file

@ -3,7 +3,7 @@
#
# SPDX-License-Identifier: Apache-2.0
#
---
title: NRF5 GPIO
version: 0.1
@ -28,4 +28,3 @@ cell_string: GPIO
"#cells":
- pin
- flags
...

View file

@ -3,7 +3,7 @@
#
# SPDX-License-Identifier: Apache-2.0
#
---
title: NRF5 GPIOTE
version: 0.1
@ -25,5 +25,3 @@ properties:
label:
category: required
...

View file

@ -3,7 +3,7 @@
#
# SPDX-License-Identifier: Apache-2.0
#
---
title: i.MX GPIO
version: 0.1
@ -35,4 +35,3 @@ properties:
"#cells":
- pin
- flags
...

View file

@ -1,4 +1,4 @@
---
title: Kinetis GPIO
version: 0.1
@ -24,4 +24,3 @@ properties:
"#cells":
- pin
- flags
...

View file

@ -1,4 +1,4 @@
---
title: OpenISA GPIO
version: 0.1
@ -30,4 +30,3 @@ properties:
"#cells":
- pin
- flags
...

View file

@ -3,7 +3,7 @@
#
# SPDX-License-Identifier: Apache-2.0
#
---
title: Semtech SX1509B I2C GPIO
version: 0.1
@ -25,4 +25,3 @@ cell_string: GPIO
"#cells":
- pin
- flags
...

View file

@ -3,7 +3,7 @@
#
# SPDX-License-Identifier: Apache-2.0
#
---
title: SiFive GPIO
version: 0.1
@ -31,4 +31,3 @@ cell_string: GPIO
"#cells":
- pin
- flags
...

View file

@ -1,4 +1,4 @@
---
title: EFM32 GPIO
version: 0.1
@ -21,4 +21,3 @@ properties:
"#cells":
- pin
- flags
...

View file

@ -1,4 +1,4 @@
---
title: EFM32 GPIO
version: 0.1
@ -26,4 +26,3 @@ properties:
category: optional
description: Serial Wire Output (SWO) PIN location
generation: define
...

View file

@ -1,4 +1,4 @@
---
title: EFR32MG GPIO
version: 0.1
@ -21,4 +21,3 @@ properties:
"#cells":
- pin
- flags
...

View file

@ -1,4 +1,4 @@
---
title: EFR32MG GPIO
version: 0.1
@ -26,4 +26,3 @@ properties:
category: optional
description: Serial Wire Output (SWO) PIN location
generation: define
...

View file

@ -1,4 +1,4 @@
---
title: EFR32XG1 GPIO
version: 0.1
@ -21,4 +21,3 @@ properties:
"#cells":
- pin
- flags
...

View file

@ -1,4 +1,4 @@
---
title: EFR32XG1 GPIO
version: 0.1
@ -26,4 +26,3 @@ properties:
category: optional
description: Serial Wire Output (SWO) PIN location
generation: define
...

View file

@ -3,7 +3,7 @@
#
# SPDX-License-Identifier: Apache-2.0
#
---
title: Synopsys Designware GPIO controller
version: 0.1
@ -37,4 +37,3 @@ cell_string: GPIO
"#cells":
- pin
- flags
...

View file

@ -3,7 +3,7 @@
#
# SPDX-License-Identifier: Apache-2.0
#
---
title: STM32 GPIO
version: 0.1
@ -35,4 +35,3 @@ properties:
"#cells":
- pin
- flags
...

View file

@ -3,7 +3,7 @@
#
# SPDX-License-Identifier: Apache-2.0
#
---
title: TI SimpleLink CC13xx / CC26xx GPIO
version: 0.1
@ -31,4 +31,3 @@ cell_string: GPIO
"#cells":
- pin
- flags
...

View file

@ -1,4 +1,4 @@
---
# SPDX-License-Identifier: Apache-2.0
title: TI CC2650 GPIO
version: 0.1
@ -18,4 +18,3 @@ properties:
interrupts:
category: required
...

View file

@ -1,4 +1,4 @@
---
# SPDX-License-Identifier: Apache-2.0
title: TI CC32XX GPIO
version: 0.1
@ -27,4 +27,3 @@ cell_string: GPIO
"#cells":
- pin
- flags
...

View file

@ -1,4 +1,4 @@
---
# SPDX-License-Identifier: Apache-2.0
title: TI Stellaris GPIO
version: 0.1
@ -25,4 +25,3 @@ properties:
"#cells":
- pin
- flags
...

View file

@ -3,7 +3,7 @@
#
# SPDX-License-Identifier: Apache-2.0
#
---
title: ARM SBCon two-wire serial bus interface
version: 0.1
@ -19,5 +19,3 @@ properties:
reg:
category: required
...

View file

@ -3,7 +3,7 @@
#
# SPDX-License-Identifier: Apache-2.0
#
---
title: Atmel SAM Family I2C (TWI) node
version: 0.1
@ -28,4 +28,3 @@ properties:
description: peripheral ID
generation: define
category: required
...

Some files were not shown because too many files have changed in this diff Show more