Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions dtschema/schemas/net/pcs-consumer.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# SPDX-License-Identifier: BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/net/pcs-consumer.yaml#
$schema: http://devicetree.org/meta-schemas/base.yaml#

title: PCS Consumer Common Properties

maintainers:
- Christian Marangi <ansuelsmth@gmail.com>

# always select the core schema
select: true

properties:
pcs-handle:
$ref: /schemas/types.yaml#/definitions/phandle-array

pcs-names:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We already have psc-handle-names.

Is there a case where pcs-handle is used, but ethernet-controller.yaml doesn't apply to the binding? If not, then we don't need this file.

$ref: /schemas/types.yaml#/definitions/string-array

dependencies:
pcs-names: [ pcs-handle ]

additionalProperties: true
19 changes: 19 additions & 0 deletions dtschema/schemas/net/pcs-provider.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# SPDX-License-Identifier: BSD-2-Clause
---
$id: http://devicetree.org/schemas/net/pcs-provider.yaml#
$schema: http://devicetree.org/meta-schemas/base.yaml#

title: PCS Provider Common Properties

maintainers:
- Christian Marangi <ansuelsmth@gmail.com>

# always select the core schema
select: true

properties:
'#pcs-cells': true

additionalProperties: true

...
Loading