lkml.org 
[lkml]   [2022]   [Oct]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH v1 2/5] dt-bindings: soc: hpe: Add hpe,gxp-plreg
Date
From: Nick Hawkins <nick.hawkins@hpe.com>

The hpe,gxp-plreg binding provides access to the board i/o through the
Programmable logic interface. The binding provides information to enable
use of the same driver across the HPE portfolio.

Signed-off-by: Nick Hawkins <nick.hawkins@hpe.com>
---
.../bindings/soc/hpe/hpe,gxp-plreg.yaml | 43 +++++++++++++++++++
1 file changed, 43 insertions(+)
create mode 100644 Documentation/devicetree/bindings/soc/hpe/hpe,gxp-plreg.yaml

diff --git a/Documentation/devicetree/bindings/soc/hpe/hpe,gxp-plreg.yaml b/Documentation/devicetree/bindings/soc/hpe/hpe,gxp-plreg.yaml
new file mode 100644
index 000000000000..cdc54e66d9a9
--- /dev/null
+++ b/Documentation/devicetree/bindings/soc/hpe/hpe,gxp-plreg.yaml
@@ -0,0 +1,43 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: "http://devicetree.org/schemas/soc/hpe/hpe,gxp-plreg.yaml#"
+$schema: "http://devicetree.org/meta-schemas/core.yaml#"
+
+title: HPE GXP Programmable Logic Registers Controller
+
+maintainers:
+ - Nick Hawkins <nick.hawkins@hpe.com>
+
+properties:
+ compatible:
+ items:
+ - const: hpe,gxp-plreg
+ - const: simple-mfd
+ - const: syscon
+ reg:
+ maxItems: 1
+
+required:
+ - compatible
+
+additionalProperties: true
+
+examples:
+ - |
+ cpld@1e789000 {
+ compatible = "hpe,gxp-plreg", "simple-mfd", "syscon";
+ reg = <0x1e789000 0x1000>;
+ fan1 {
+ bit = <0x01>;
+ inst = <0x27>;
+ id = <0x2B>;
+ };
+ iopled1 {
+ on = <0x04 0x01>;
+ };
+ pwrbtn {
+ latch = <0xFF 0xFF 0x04>;
+ };
+ };
+
--
2.17.1
\
 
 \ /
  Last update: 2022-10-11 20:57    [W:0.164 / U:0.240 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site