Skip to content

Commit 16d56f2

Browse files
committed
Add driver for Hasivo HS104 PSE Chip over I2C
Signed-off-by: Bevan Weiss <[email protected]>
1 parent 12d4755 commit 16d56f2

File tree

3 files changed

+495
-0
lines changed

3 files changed

+495
-0
lines changed
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
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 <[email protected]>
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+
unevaluatedProperties: false
24+
25+
required:
26+
- compatible
27+
- reg
28+
29+
examples:
30+
- |
31+
i2c {
32+
#address-cells = <1>;
33+
#size-cells = <0>;
34+
35+
ethernet-pse@20 {
36+
compatible = "hasivo,hs104";
37+
reg = <0x20>;
38+
};
39+
};

0 commit comments

Comments
 (0)