[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACPK8XcO5Z0f2bU6=+o2q7caGnoBdzQ5Dm8AVt-BNs3d_xmOJg@mail.gmail.com>
Date: Thu, 13 Jan 2022 03:17:20 +0000
From: Joel Stanley <joel@....id.au>
To: Iwona Winiarska <iwona.winiarska@...el.com>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
OpenBMC Maillist <openbmc@...ts.ozlabs.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
devicetree <devicetree@...r.kernel.org>,
linux-aspeed <linux-aspeed@...ts.ozlabs.org>,
Linux ARM <linux-arm-kernel@...ts.infradead.org>,
linux-hwmon@...r.kernel.org, linux-doc@...r.kernel.org,
Rob Herring <robh+dt@...nel.org>,
Andrew Jeffery <andrew@...id.au>,
Jean Delvare <jdelvare@...e.com>,
Guenter Roeck <linux@...ck-us.net>,
Arnd Bergmann <arnd@...db.de>, Olof Johansson <olof@...om.net>,
Jonathan Corbet <corbet@....net>,
Borislav Petkov <bp@...en8.de>,
Pierre-Louis Bossart <pierre-louis.bossart@...ux.intel.com>,
Tony Luck <tony.luck@...el.com>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
Dan Williams <dan.j.williams@...el.com>,
Randy Dunlap <rdunlap@...radead.org>,
Zev Weiss <zweiss@...inix.com>,
David Muller <d.mueller@...oft.ch>,
Dave Hansen <dave.hansen@...el.com>,
Billy Tsai <billy_tsai@...eedtech.com>,
Jae Hyun Yoo <jae.hyun.yoo@...ux.intel.com>
Subject: Re: [PATCH v5 02/13] dt-bindings: Add bindings for peci-aspeed
On Wed, 12 Jan 2022 at 23:04, Iwona Winiarska <iwona.winiarska@...el.com> wrote:
>
> Add device tree bindings for the peci-aspeed controller driver.
>
> Co-developed-by: Jae Hyun Yoo <jae.hyun.yoo@...ux.intel.com>
> Signed-off-by: Jae Hyun Yoo <jae.hyun.yoo@...ux.intel.com>
> Signed-off-by: Iwona Winiarska <iwona.winiarska@...el.com>
Reviewed-by: Joel Stanley <joel@....id.au>
> ---
> .../devicetree/bindings/peci/peci-aspeed.yaml | 72 +++++++++++++++++++
> 1 file changed, 72 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/peci/peci-aspeed.yaml
>
> diff --git a/Documentation/devicetree/bindings/peci/peci-aspeed.yaml b/Documentation/devicetree/bindings/peci/peci-aspeed.yaml
> new file mode 100644
> index 000000000000..1e68a801a92a
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/peci/peci-aspeed.yaml
> @@ -0,0 +1,72 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/peci/peci-aspeed.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Aspeed PECI Bus Device Tree Bindings
> +
> +maintainers:
> + - Iwona Winiarska <iwona.winiarska@...el.com>
> + - Jae Hyun Yoo <jae.hyun.yoo@...ux.intel.com>
> +
> +allOf:
> + - $ref: peci-controller.yaml#
> +
> +properties:
> + compatible:
> + enum:
> + - aspeed,ast2400-peci
> + - aspeed,ast2500-peci
> + - aspeed,ast2600-peci
> +
> + reg:
> + maxItems: 1
> +
> + interrupts:
> + maxItems: 1
> +
> + clocks:
> + description:
> + Clock source for PECI controller. Should reference the external
> + oscillator clock.
> + maxItems: 1
> +
> + resets:
> + maxItems: 1
> +
> + cmd-timeout-ms:
> + minimum: 1
> + maximum: 1000
> + default: 1000
> +
> + clock-frequency:
> + description:
> + The desired operation frequency of PECI controller in Hz.
> + minimum: 2000
> + maximum: 2000000
> + default: 1000000
> +
> +required:
> + - compatible
> + - reg
> + - interrupts
> + - clocks
> + - resets
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + #include <dt-bindings/interrupt-controller/arm-gic.h>
> + #include <dt-bindings/clock/ast2600-clock.h>
> + peci-controller@...8b000 {
> + compatible = "aspeed,ast2600-peci";
> + reg = <0x1e78b000 0x100>;
> + interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
> + clocks = <&syscon ASPEED_CLK_GATE_REF0CLK>;
> + resets = <&syscon ASPEED_RESET_PECI>;
> + cmd-timeout-ms = <1000>;
> + clock-frequency = <1000000>;
> + };
> +...
> --
> 2.31.1
>
Powered by blists - more mailing lists