From: Brad Larson <brad@pensando.io>
To: krzysztof.kozlowski@linaro.org
Cc: adrian.hunter@intel.com, alcooperx@gmail.com,
andy.shevchenko@gmail.com, arnd@arndb.de, blarson@amd.com,
brad@pensando.io, brijeshkumar.singh@amd.com, broonie@kernel.org,
catalin.marinas@arm.com, devicetree@vger.kernel.org,
fancer.lancer@gmail.com, gerg@linux-m68k.org, gsomlo@gmail.com,
krzk@kernel.org, krzysztof.kozlowski+dt@linaro.org,
lee.jones@linaro.org, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org,
p.yadav@ti.com, p.zabel@pengutronix.de, piotrs@cadence.com,
rdunlap@infradead.org, robh+dt@kernel.org, samuel@sholland.org,
suravee.suthikulpanit@amd.com, thomas.lendacky@amd.com,
ulf.hansson@linaro.org, will@kernel.org,
yamada.masahiro@socionext.com
Subject: [PATCH v8 06/17] dt-bindings: mfd: amd,pensando-elbasr: Add AMD Pensando Elba System Resource chip
Date: Wed, 16 Nov 2022 11:39:40 -0800 [thread overview]
Message-ID: <20221116193940.67445-1-blarson@amd.com> (raw)
In-Reply-To: <e9d8c14d-38b3-0401-7bfc-b2bd7ab36c52@linaro.org>
Add support for the AMD Pensando Elba SoC System Resource chip
using the SPI interface.
Signed-off-by: Brad Larson <blarson@amd.com>
---
v8:
- Apply review request changes and picked the two unique examples
for the 4 chip-selects as one has the reset control support and
the other an interrupt. Missed the --in-reply-to in git
send-email for v7, included in this update.
v7:
- Use system-controller for the device with four chip-selects
connected over spi.
- Delete child by moving reset-controller into the parent.
- Updated and used dtschema-2022.11 and yamllint-1.28.0
v6:
- Expand description, rename nodes and change compatible usage
v5:
- Change to AMD Pensando instead of Pensando
v4:
- Change Maintained to Supported
.../bindings/mfd/amd,pensando-elbasr.yaml | 60 +++++++++++++++++++
1 file changed, 60 insertions(+)
create mode 100644 Documentation/devicetree/bindings/mfd/amd,pensando-elbasr.yaml
diff --git a/Documentation/devicetree/bindings/mfd/amd,pensando-elbasr.yaml b/Documentation/devicetree/bindings/mfd/amd,pensando-elbasr.yaml
new file mode 100644
index 000000000000..622c93402a86
--- /dev/null
+++ b/Documentation/devicetree/bindings/mfd/amd,pensando-elbasr.yaml
@@ -0,0 +1,60 @@
+# SPDX-License-Identifier: (GPL-2.0-only or BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/mfd/amd,pensando-elbasr.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: AMD Pensando Elba SoC Resource Controller
+
+description: |
+ AMD Pensando Elba SoC Resource Controller functions are
+ accessed with four chip-selects. Reset control is on CS0.
+
+maintainers:
+ - Brad Larson <blarson@amd.com>
+
+properties:
+ compatible:
+ enum:
+ - amd,pensando-elbasr
+
+ "#reset-cells":
+ const: 1
+
+ interrupts:
+ maxItems: 1
+
+required:
+ - compatible
+ - reg
+ - spi-max-frequency
+
+allOf:
+ - $ref: /schemas/spi/spi-peripheral-props.yaml#
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/interrupt-controller/arm-gic.h>
+
+ spi {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ num-cs = <4>;
+
+ system-controller@0 {
+ compatible = "amd,pensando-elbasr";
+ reg = <0>;
+ spi-max-frequency = <12000000>;
+ #reset-cells = <1>;
+ };
+
+ system-controller@2 {
+ compatible = "amd,pensando-elbasr";
+ reg = <2>;
+ spi-max-frequency = <12000000>;
+ interrupt-parent = <&porta>;
+ interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
+ };
+ };
--
2.17.1
next prev parent reply other threads:[~2022-11-16 19:39 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-16 1:04 [PATCH v7 06/17] dt-bindings: mfd: amd,pensando-elbasr: Add AMD Pensando Elba System Resource chip Brad Larson
2022-11-16 8:45 ` Krzysztof Kozlowski
2022-11-16 8:46 ` Krzysztof Kozlowski
2022-11-16 19:39 ` Brad Larson [this message]
2022-11-16 22:30 ` [PATCH v8 " Rob Herring
2022-11-17 0:41 ` Larson, Bradley
2022-11-17 12:33 ` Krzysztof Kozlowski
2022-11-17 13:14 ` Rob Herring
2022-11-17 18:37 ` Larson, Bradley
2022-11-18 8:42 ` Geert Uytterhoeven
2022-11-18 18:29 ` Larson, Bradley
2023-01-30 19:12 ` Brad Larson
2023-02-01 9:57 ` Krzysztof Kozlowski
2023-02-06 23:43 ` Brad Larson
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=20221116193940.67445-1-blarson@amd.com \
--to=brad@pensando.io \
--cc=adrian.hunter@intel.com \
--cc=alcooperx@gmail.com \
--cc=andy.shevchenko@gmail.com \
--cc=arnd@arndb.de \
--cc=blarson@amd.com \
--cc=brijeshkumar.singh@amd.com \
--cc=broonie@kernel.org \
--cc=catalin.marinas@arm.com \
--cc=devicetree@vger.kernel.org \
--cc=fancer.lancer@gmail.com \
--cc=gerg@linux-m68k.org \
--cc=gsomlo@gmail.com \
--cc=krzk@kernel.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=krzysztof.kozlowski@linaro.org \
--cc=lee.jones@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mmc@vger.kernel.org \
--cc=p.yadav@ti.com \
--cc=p.zabel@pengutronix.de \
--cc=piotrs@cadence.com \
--cc=rdunlap@infradead.org \
--cc=robh+dt@kernel.org \
--cc=samuel@sholland.org \
--cc=suravee.suthikulpanit@amd.com \
--cc=thomas.lendacky@amd.com \
--cc=ulf.hansson@linaro.org \
--cc=will@kernel.org \
--cc=yamada.masahiro@socionext.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;
as well as URLs for NNTP newsgroup(s).