dts: bindings: Clean up microchip,xec-espi.yaml and espi.yaml

- Remove 'generation:'

 - Remove 'version:' (see
   https://github.com/zephyrproject-rtos/zephyr/pull/17681)

 - Remove redundant document separators (see
   https://github.com/zephyrproject-rtos/zephyr/pull/16913)

 - Use base.yaml to define common properties and property settings

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
This commit is contained in:
Ulf Magnusson 2019-07-26 12:42:39 +02:00 committed by Kumar Gala
commit fff240e7a7
2 changed files with 6 additions and 28 deletions

View file

@ -1,27 +1,18 @@
# Copyright (c) 2019 Intel Corporation # Copyright (c) 2019 Intel Corporation
# #
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
#
---
title: ESPI Base Structure title: ESPI Base Structure
version: 0.1
description: > description: >
This binding gives the base structures for all ESPI devices This binding gives the base structures for all ESPI devices
inherits:
!include base.yaml
child: child:
bus: espi bus: espi
properties: properties:
compatible:
type: string
category: required
description: compatible strings
generation: define
label: label:
type: string
category: required category: required
description: Human readable string describing the device
generation: define
...

View file

@ -1,62 +1,49 @@
# Copyright (c) 2019 Intel Corporation # Copyright (c) 2019 Intel Corporation
# #
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
#
---
title: MICROCHIP ESPI title: MICROCHIP ESPI
version: 0.1
description: > description: >
This binding gives a base representation of ESPI controller for Microchip This binding gives a base representation of ESPI controller for Microchip
inherits: inherits:
!include espi.yaml !include espi.yaml
properties: properties:
compatible: compatible:
type: string
category: required
description: compatible strings
constraint: "microchip,xec-espi" constraint: "microchip,xec-espi"
generation: define
reg: reg:
type: int
description: mmio register space description: mmio register space
generation: define
category: required category: required
agg_io_irq: agg_io_irq:
type: int type: int
description: soc aggregated nvic irq for eSPI block description: soc aggregated nvic irq for eSPI block
generation: define
category: required category: required
agg_vw_irq: agg_vw_irq:
type: int type: int
description: soc aggregated nvic irq for eSPI virtual wires channel description: soc aggregated nvic irq for eSPI virtual wires channel
generation: define
category: required category: required
agg_pc_irq: agg_pc_irq:
type: int type: int
description: soc aggregated nvic irq for eSPI peripheral channel description: soc aggregated nvic irq for eSPI peripheral channel
generation: define
category: required category: required
io_girq: io_girq:
type: int type: int
description: soc group irq for eSPI I/O description: soc group irq for eSPI I/O
generation: define
category: required category: required
vw_girq: vw_girq:
type: int type: int
description: soc group irq for eSPI virtual wires channel description: soc group irq for eSPI virtual wires channel
generation: define
category: required category: required
pc_girq: pc_girq:
type: int type: int
description: soc group irq for eSPI peripheral channel description: soc group irq for eSPI peripheral channel
generation: define
category: required category: required