mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Iwona Winiarska <iwona.winiarska@intel.com>
To: openbmc@lists.ozlabs.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org
Cc: Avi Fishman <avifishman70@gmail.com>,
	Tomer Maimon <tmaimon77@gmail.com>,
	Patrick Venture <venture@google.com>,
	Nancy Yuen <yuenn@google.com>,
	Benjamin Fair <benjaminfair@google.com>,
	Rob Herring <robh+dt@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Tyrone Ting <warp5tw@gmail.com>,
	Iwona Winiarska <iwona.winiarska@intel.com>
Subject: [PATCH 1/4] dt-bindings: Add bindings for peci-npcm
Date: Thu, 20 Jul 2023 00:08:50 +0200	[thread overview]
Message-ID: <20230719220853.1029316-2-iwona.winiarska@intel.com> (raw)
In-Reply-To: <20230719220853.1029316-1-iwona.winiarska@intel.com>

From: Tomer Maimon <tmaimon77@gmail.com>

Add device tree bindings for the peci-npcm controller driver.

Signed-off-by: Tomer Maimon <tmaimon77@gmail.com>
Signed-off-by: Tyrone Ting <warp5tw@gmail.com>
Co-developed-by: Iwona Winiarska <iwona.winiarska@intel.com>
Signed-off-by: Iwona Winiarska <iwona.winiarska@intel.com>
---
 .../devicetree/bindings/peci/peci-npcm.yaml   | 56 +++++++++++++++++++
 1 file changed, 56 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/peci/peci-npcm.yaml

diff --git a/Documentation/devicetree/bindings/peci/peci-npcm.yaml b/Documentation/devicetree/bindings/peci/peci-npcm.yaml
new file mode 100644
index 000000000000..6eafa9ccaa54
--- /dev/null
+++ b/Documentation/devicetree/bindings/peci/peci-npcm.yaml
@@ -0,0 +1,56 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/peci/peci-npcm.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Nuvoton PECI Bus
+
+maintainers:
+  - Tomer Maimon <tmaimon77@gmail.com>
+
+allOf:
+  - $ref: peci-controller.yaml#
+
+properties:
+  compatible:
+    enum:
+      - nuvoton,npcm750-peci
+      - nuvoton,npcm845-peci
+
+  reg:
+    maxItems: 1
+
+  interrupts:
+    maxItems: 1
+
+  clocks:
+    description:
+      Clock source for PECI controller. Should reference the APB clock.
+    maxItems: 1
+
+  cmd-timeout-ms:
+    minimum: 1
+    maximum: 1000
+    default: 1000
+
+required:
+  - compatible
+  - reg
+  - interrupts
+  - clocks
+
+additionalProperties: false
+
+examples:
+  - |
+    #include <dt-bindings/clock/nuvoton,npcm7xx-clock.h>
+    #include <dt-bindings/interrupt-controller/arm-gic.h>
+    peci-controller@f0100000 {
+      compatible = "nuvoton,npcm750-peci";
+      reg = <0xf0100000 0x200>;
+      interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
+      clocks = <&clk NPCM7XX_CLK_APB3>;
+      cmd-timeout-ms = <1000>;
+    };
+...
-- 
2.40.1


  reply	other threads:[~2023-07-19 22:09 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-19 22:08 [PATCH 0/4] Add support for PECI Nuvoton Iwona Winiarska
2023-07-19 22:08 ` Iwona Winiarska [this message]
2023-07-20  6:18   ` [PATCH 1/4] dt-bindings: Add bindings for peci-npcm Krzysztof Kozlowski
2023-07-20  8:03     ` Winiarska, Iwona
2023-07-24 14:38       ` Rob Herring
2023-07-24 17:02         ` Winiarska, Iwona
2023-07-19 22:08 ` [PATCH 2/4] peci: Add peci-npcm controller driver Iwona Winiarska
2023-07-20  6:20   ` Paul Menzel
2023-07-20  8:38     ` Winiarska, Iwona
2023-07-20 14:47       ` Paul Menzel
2023-07-20 20:20         ` Winiarska, Iwona
2023-07-21  6:30           ` Paul Menzel
2023-07-21  9:22             ` Winiarska, Iwona
2023-07-23 14:19               ` Tomer Maimon
2023-07-19 22:08 ` [PATCH 3/4] ARM: dts: nuvoton: Add PECI controller node Iwona Winiarska
2023-07-19 22:08 ` [PATCH 4/4] arm64: " Iwona Winiarska
2023-07-20  6:17 ` [PATCH 0/4] Add support for PECI Nuvoton Krzysztof Kozlowski
2023-07-20  8:00   ` Winiarska, Iwona
2023-07-20  8:40     ` Krzysztof Kozlowski
2023-07-20 13:06       ` Winiarska, Iwona

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=20230719220853.1029316-2-iwona.winiarska@intel.com \
    --to=iwona.winiarska@intel.com \
    --cc=avifishman70@gmail.com \
    --cc=benjaminfair@google.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=openbmc@lists.ozlabs.org \
    --cc=robh+dt@kernel.org \
    --cc=tmaimon77@gmail.com \
    --cc=venture@google.com \
    --cc=warp5tw@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®