From: Tomer Maimon <tmaimon77@gmail.com>
To: <avifishman70@gmail.com>, <tali.perry1@gmail.com>,
<joel@jms.id.au>, <venture@google.com>, <yuenn@google.com>,
<benjaminfair@google.com>, <arnd@arndb.de>,
<hasegawa-hitomi@fujitsu.com>, <marcan@marcan.st>,
<nicolas.ferre@microchip.com>, <conor.dooley@microchip.com>,
<heiko@sntech.de>, <sven@svenpeter.dev>,
<briannorris@chromium.org>, <robh+dt@kernel.org>,
<krzysztof.kozlowski+dt@linaro.org>
Cc: devicetree@vger.kernel.org, openbmc@lists.ozlabs.org,
linux-kernel@vger.kernel.org, Tomer Maimon <tmaimon77@gmail.com>
Subject: [PATCH v1 1/2] dt-binding: soc: nuvoton: Add NPCM BPC LPC documentation
Date: Tue, 22 Nov 2022 22:12:31 +0200 [thread overview]
Message-ID: <20221122201232.107065-2-tmaimon77@gmail.com> (raw)
In-Reply-To: <20221122201232.107065-1-tmaimon77@gmail.com>
Added device tree binding documentation for Nuvoton BMC NPCM BIOS Post
Code (BPC).
The NPCM BPC monitoring two configurable I/O addresses written by the
host on Low Pin Count (LPC) bus.
Signed-off-by: Tomer Maimon <tmaimon77@gmail.com>
---
.../bindings/soc/nuvoton/npcm-lpc-bpc.yaml | 112 ++++++++++++++++++
1 file changed, 112 insertions(+)
create mode 100644 Documentation/devicetree/bindings/soc/nuvoton/npcm-lpc-bpc.yaml
diff --git a/Documentation/devicetree/bindings/soc/nuvoton/npcm-lpc-bpc.yaml b/Documentation/devicetree/bindings/soc/nuvoton/npcm-lpc-bpc.yaml
new file mode 100644
index 000000000000..2c8e66546891
--- /dev/null
+++ b/Documentation/devicetree/bindings/soc/nuvoton/npcm-lpc-bpc.yaml
@@ -0,0 +1,112 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/soc/nuvoton/npcm-lpc-bpc.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Nuvoton Low Pin Count (LPC) Bus Controller
+
+maintainers:
+ - Tomer Maimon <tmaimon77@gmail.com>
+
+description:
+ The Low Pin Count (LPC) is a low bandwidth bus that is used to connect
+ peripherals around the CPU and to replace the Industry Standard Architecture
+ (ISA) bus.
+
+ The Nuvoton NPCM LPC bus is a bridge of host CPU to a several of peripheral
+ devices.
+
+properties:
+ compatible:
+ items:
+ - enum:
+ - nuvoton,npcm750-lpc
+ - nuvoton,npcm845-lpc
+ - const: simple-mfd
+ - const: syscon
+
+ reg:
+ maxItems: 1
+
+ "#address-cells":
+ const: 1
+
+ "#size-cells":
+ const: 1
+
+ ranges: true
+
+patternProperties:
+ "^lpc_bpc@[0-9a-f]+$":
+ type: object
+ additionalProperties: false
+
+ description:
+ Nuvoton BMC NPCM BIOS Post Code (BPC) monitoring two configurable I/O
+ addresses written by the host on the Low Pin Count (LPC) bus, the capure
+ data stored in 128-word FIFO.
+
+ NPCM BPC supports capture double words, when using capture
+ double word only I/O address 1 is monitored.
+
+ properties:
+ compatible:
+ items:
+ - enum:
+ - nuvoton,npcm750-lpc-bpc
+ - nuvoton,npcm845-lpc-bpc
+
+ reg:
+ maxItems: 1
+
+ interrupts:
+ maxItems: 1
+
+ nuvoton,monitor-ports:
+ $ref: /schemas/types.yaml#/definitions/uint32-array
+ description:
+ Contain monitor I/O addresses, at least one monitor I/O address
+ required.
+
+ nuvoton,bpc-en-dwcapture:
+ description: If present, Enable capture double words support.
+ type: boolean
+
+ required:
+ - compatible
+ - reg
+ - interrupts
+ - nuvoton,monitor-ports
+
+required:
+ - compatible
+ - reg
+ - "#address-cells"
+ - "#size-cells"
+ - ranges
+
+additionalProperties:
+ type: object
+
+examples:
+ - |
+ #include <dt-bindings/interrupt-controller/irq.h>
+ #include <dt-bindings/interrupt-controller/arm-gic.h>
+
+ lpc: lpc@f0007000 {
+ compatible = "nuvoton,npcm750-lpc", "simple-mfd", "syscon";
+ reg = <0xf0007000 0x1000>;
+
+ #address-cells = <1>;
+ #size-cells = <1>;
+ ranges = <0x0 0xf0007000 0x1000>;
+
+ lpc_snoop: lpc-snoop@40 {
+ compatible = "nuvoton,npcm750-lpc-bpc";
+ reg = <0x40 0x20>;
+ interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
+ nuvoton,monitor-ports = <0x80>;
+ };
+ };
+...
--
2.33.0
WARNING: multiple messages have this Message-ID (diff)
From: Tomer Maimon <tmaimon77@gmail.com>
To: <avifishman70@gmail.com>, <tali.perry1@gmail.com>,
<joel@jms.id.au>, <venture@google.com>, <yuenn@google.com>,
<benjaminfair@google.com>, <arnd@arndb.de>,
<hasegawa-hitomi@fujitsu.com>, <marcan@marcan.st>,
<nicolas.ferre@microchip.com>, <conor.dooley@microchip.com>,
<heiko@sntech.de>, <sven@svenpeter.dev>,
<briannorris@chromium.org>, <robh+dt@kernel.org>,
<krzysztof.kozlowski+dt@linaro.org>
Cc: <openbmc@lists.ozlabs.org>, <linux-kernel@vger.kernel.org>,
<devicetree@vger.kernel.org>, Tomer Maimon <tmaimon77@gmail.com>
Subject: [PATCH v1 1/2] dt-binding: soc: nuvoton: Add NPCM BPC LPC documentation
Date: Tue, 22 Nov 2022 22:12:31 +0200 [thread overview]
Message-ID: <20221122201232.107065-2-tmaimon77@gmail.com> (raw)
In-Reply-To: <20221122201232.107065-1-tmaimon77@gmail.com>
Added device tree binding documentation for Nuvoton BMC NPCM BIOS Post
Code (BPC).
The NPCM BPC monitoring two configurable I/O addresses written by the
host on Low Pin Count (LPC) bus.
Signed-off-by: Tomer Maimon <tmaimon77@gmail.com>
---
.../bindings/soc/nuvoton/npcm-lpc-bpc.yaml | 112 ++++++++++++++++++
1 file changed, 112 insertions(+)
create mode 100644 Documentation/devicetree/bindings/soc/nuvoton/npcm-lpc-bpc.yaml
diff --git a/Documentation/devicetree/bindings/soc/nuvoton/npcm-lpc-bpc.yaml b/Documentation/devicetree/bindings/soc/nuvoton/npcm-lpc-bpc.yaml
new file mode 100644
index 000000000000..2c8e66546891
--- /dev/null
+++ b/Documentation/devicetree/bindings/soc/nuvoton/npcm-lpc-bpc.yaml
@@ -0,0 +1,112 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/soc/nuvoton/npcm-lpc-bpc.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Nuvoton Low Pin Count (LPC) Bus Controller
+
+maintainers:
+ - Tomer Maimon <tmaimon77@gmail.com>
+
+description:
+ The Low Pin Count (LPC) is a low bandwidth bus that is used to connect
+ peripherals around the CPU and to replace the Industry Standard Architecture
+ (ISA) bus.
+
+ The Nuvoton NPCM LPC bus is a bridge of host CPU to a several of peripheral
+ devices.
+
+properties:
+ compatible:
+ items:
+ - enum:
+ - nuvoton,npcm750-lpc
+ - nuvoton,npcm845-lpc
+ - const: simple-mfd
+ - const: syscon
+
+ reg:
+ maxItems: 1
+
+ "#address-cells":
+ const: 1
+
+ "#size-cells":
+ const: 1
+
+ ranges: true
+
+patternProperties:
+ "^lpc_bpc@[0-9a-f]+$":
+ type: object
+ additionalProperties: false
+
+ description:
+ Nuvoton BMC NPCM BIOS Post Code (BPC) monitoring two configurable I/O
+ addresses written by the host on the Low Pin Count (LPC) bus, the capure
+ data stored in 128-word FIFO.
+
+ NPCM BPC supports capture double words, when using capture
+ double word only I/O address 1 is monitored.
+
+ properties:
+ compatible:
+ items:
+ - enum:
+ - nuvoton,npcm750-lpc-bpc
+ - nuvoton,npcm845-lpc-bpc
+
+ reg:
+ maxItems: 1
+
+ interrupts:
+ maxItems: 1
+
+ nuvoton,monitor-ports:
+ $ref: /schemas/types.yaml#/definitions/uint32-array
+ description:
+ Contain monitor I/O addresses, at least one monitor I/O address
+ required.
+
+ nuvoton,bpc-en-dwcapture:
+ description: If present, Enable capture double words support.
+ type: boolean
+
+ required:
+ - compatible
+ - reg
+ - interrupts
+ - nuvoton,monitor-ports
+
+required:
+ - compatible
+ - reg
+ - "#address-cells"
+ - "#size-cells"
+ - ranges
+
+additionalProperties:
+ type: object
+
+examples:
+ - |
+ #include <dt-bindings/interrupt-controller/irq.h>
+ #include <dt-bindings/interrupt-controller/arm-gic.h>
+
+ lpc: lpc@f0007000 {
+ compatible = "nuvoton,npcm750-lpc", "simple-mfd", "syscon";
+ reg = <0xf0007000 0x1000>;
+
+ #address-cells = <1>;
+ #size-cells = <1>;
+ ranges = <0x0 0xf0007000 0x1000>;
+
+ lpc_snoop: lpc-snoop@40 {
+ compatible = "nuvoton,npcm750-lpc-bpc";
+ reg = <0x40 0x20>;
+ interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
+ nuvoton,monitor-ports = <0x80>;
+ };
+ };
+...
--
2.33.0
next prev parent reply other threads:[~2022-11-22 20:14 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-22 20:12 [PATCH v1 0/2] soc: add NPCM LPC BPC driver support Tomer Maimon
2022-11-22 20:12 ` Tomer Maimon
2022-11-22 20:12 ` Tomer Maimon [this message]
2022-11-22 20:12 ` [PATCH v1 1/2] dt-binding: soc: nuvoton: Add NPCM BPC LPC documentation Tomer Maimon
2022-11-23 10:03 ` Krzysztof Kozlowski
2022-11-24 15:38 ` Tomer Maimon
2022-11-24 15:38 ` Tomer Maimon
2022-11-24 16:18 ` Krzysztof Kozlowski
2022-11-29 16:44 ` Tomer Maimon
2022-11-29 16:44 ` Tomer Maimon
2022-11-30 8:27 ` Krzysztof Kozlowski
2022-11-30 10:31 ` Tomer Maimon
2022-11-30 10:31 ` Tomer Maimon
2022-11-30 19:30 ` Rob Herring
2022-11-30 19:30 ` Rob Herring
2022-11-22 20:12 ` [PATCH v1 2/2] soc: nuvoton: add NPCM LPC BPC driver Tomer Maimon
2022-11-22 20:12 ` Tomer Maimon
2022-11-23 10:57 ` Arnd Bergmann
2022-11-23 10:57 ` Arnd Bergmann
2022-11-23 18:01 ` Tomer Maimon
2022-11-23 18:01 ` Tomer Maimon
2022-11-25 10:25 ` Arnd Bergmann
2022-11-25 10:25 ` Arnd Bergmann
2022-11-29 18:20 ` Tomer Maimon
2022-11-29 18:20 ` Tomer Maimon
2022-11-25 2:27 ` kernel test robot
2022-11-25 2:27 ` kernel test robot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221122201232.107065-2-tmaimon77@gmail.com \
--to=tmaimon77@gmail.com \
--cc=arnd@arndb.de \
--cc=avifishman70@gmail.com \
--cc=benjaminfair@google.com \
--cc=briannorris@chromium.org \
--cc=conor.dooley@microchip.com \
--cc=devicetree@vger.kernel.org \
--cc=hasegawa-hitomi@fujitsu.com \
--cc=heiko@sntech.de \
--cc=joel@jms.id.au \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=marcan@marcan.st \
--cc=nicolas.ferre@microchip.com \
--cc=openbmc@lists.ozlabs.org \
--cc=robh+dt@kernel.org \
--cc=sven@svenpeter.dev \
--cc=tali.perry1@gmail.com \
--cc=venture@google.com \
--cc=yuenn@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.