From: Stephan Gerhold <stephan.gerhold@linaro.org>
To: Maya Matuszczyk <maccraft123mc@gmail.com>
Cc: Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 1/3] dt-bindings: platform: Add bindings for Qcom's EC on IT8987
Date: Fri, 20 Dec 2024 19:05:02 +0100 [thread overview]
Message-ID: <Z2WxzvKRVcOz5d2V@linaro.org> (raw)
In-Reply-To: <20241219200821.8328-1-maccraft123mc@gmail.com>
On Thu, Dec 19, 2024 at 09:08:18PM +0100, Maya Matuszczyk wrote:
> This patch adds bindings for the EC firmware running on IT8987 present
> on most of X1E80100 devices
>
> Signed-off-by: Maya Matuszczyk <maccraft123mc@gmail.com>
> ---
> .../bindings/platform/qcom,x1e-it8987-ec.yaml | 52 +++++++++++++++++++
> 1 file changed, 52 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/platform/qcom,x1e-it8987-ec.yaml
>
> diff --git a/Documentation/devicetree/bindings/platform/qcom,x1e-it8987-ec.yaml b/Documentation/devicetree/bindings/platform/qcom,x1e-it8987-ec.yaml
> new file mode 100644
> index 000000000000..4a4f6eb63072
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/platform/qcom,x1e-it8987-ec.yaml
> @@ -0,0 +1,52 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/platform/qcom,x1e-it8987-ec.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Qualcomm Embedded Controller on IT8987 chip.
> +
> +maintainers:
> + - Maya Matuszczyk <maccraft123mc@gmail.com>
> +
> +description:
> + Most x1e80100 laptops have an EC running on IT8987 MCU chip. The EC controls
> + minor functions, like fans, power LED, and on some laptops it also handles
> + keyboard hotkeys.
> +
> +properties:
> + compatible:
> + oneOf:
> + - const: qcom,x1e-it8987-ec
Given that ECs tend to be somewhat device-specific and many vendors
might have slightly customized the EC firmware(?), I think it would be
better to disallow using this generic compatible without a more specific
one. In other words, I would drop this line and just keep the case
below:
> + - items:
> + - const: lenovo,yoga-slim7x-ec
> + - const: qcom,x1e-it8987-ec
People can add compatible entries for other devices as needed.
Thanks,
Stephan
next prev parent reply other threads:[~2024-12-20 18:05 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-19 20:08 [PATCH v2 1/3] dt-bindings: platform: Add bindings for Qcom's EC on IT8987 Maya Matuszczyk
2024-12-19 20:08 ` [PATCH v2 3/3] arm64: dts: qcom: x1e80100-lenovo-yoga-slim7x: Add the EC Maya Matuszczyk
2024-12-20 11:52 ` Aiqun(Maria) Yu
2024-12-20 12:10 ` Konrad Dybcio
2024-12-19 23:40 ` [PATCH v2 1/3] dt-bindings: platform: Add bindings for Qcom's EC on IT8987 Rob Herring (Arm)
2024-12-20 18:05 ` Stephan Gerhold [this message]
[not found] ` <CAO_MupJ7JtXNgGyXcxGa+EGAvsu-yG0O6MgneGUBdCEgKNG+MA@mail.gmail.com>
2024-12-20 18:24 ` Stephan Gerhold
2024-12-22 14:40 ` Krzysztof Kozlowski
2024-12-22 15:07 ` Maya Matuszczyk
2024-12-23 14:25 ` Krzysztof Kozlowski
2024-12-30 2:45 ` Aiqun(Maria) Yu
2025-01-14 10:23 ` Aiqun(Maria) Yu
2024-12-22 6:33 ` Krzysztof Kozlowski
2024-12-22 6:40 ` Krzysztof Kozlowski
2024-12-22 7:55 ` Maya Matuszczyk
2024-12-22 9:40 ` Maya Matuszczyk
2024-12-22 14:34 ` Krzysztof Kozlowski
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=Z2WxzvKRVcOz5d2V@linaro.org \
--to=stephan.gerhold@linaro.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=maccraft123mc@gmail.com \
--cc=robh@kernel.org \
/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).