Skip to content

Commit fc12271

Browse files
committed
Add driver for Hasivo HS104 PSE Chip over I2C
Signed-off-by: Bevan Weiss <bevan.weiss@gmail.com>
1 parent 12d4755 commit fc12271

File tree

3 files changed

+502
-0
lines changed

3 files changed

+502
-0
lines changed
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/net/pse-pd/hasivo,hs104.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Hasivo HS104 Power Sourcing Equipment controller
8+
9+
maintainers:
10+
- Bevan Weiss <bevan.weiss@gmail.com>
11+
12+
allOf:
13+
- $ref: pse-controller.yaml#
14+
15+
properties:
16+
compatible:
17+
enum:
18+
- hasivo,hs104
19+
20+
reg:
21+
maxItems: 1
22+
23+
hasivo,port-enable-delay-ms:
24+
$ref: /schemas/types.yaml#/definitions/uint32
25+
description: Delay in milliseconds after enabling a port before proceeding.
26+
minimum: 0
27+
maximum: 65535
28+
29+
unevaluatedProperties: false
30+
31+
required:
32+
- compatible
33+
- reg
34+
35+
examples:
36+
- |
37+
i2c {
38+
#address-cells = <1>;
39+
#size-cells = <0>;
40+
41+
ethernet-pse@20 {
42+
compatible = "hasivo,hs104";
43+
reg = <0x20>;
44+
hasivo,port-enable-delay-ms = <300>;
45+
};
46+
};

0 commit comments

Comments
 (0)