From: Konrad Dybcio <konradybcio@gmail.com>
To: "Krzysztof Kozlowski" <krzk@kernel.org>,
"Konrad Dybcio" <konradybcio@kernel.org>,
"Rob Herring" <robh@kernel.org>,
"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
"Jiri Slaby" <jirislaby@kernel.org>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
"Rafael J. Wysocki" <rafael@kernel.org>,
"Len Brown" <lenb@kernel.org>,
"Maximilian Luz" <luzmaximilian@gmail.com>,
"Hans de Goede" <hdegoede@redhat.com>,
"Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>
Cc: Marijn Suijten <marijn.suijten@somainline.org>,
linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org,
devicetree@vger.kernel.org, linux-acpi@vger.kernel.org,
platform-driver-x86@vger.kernel.org,
Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <quic_kdybcio@quicinc.com>
Subject: Re: [PATCH v2 2/3] dt-bindings: platform: Add Surface System Aggregator Module
Date: Tue, 13 Aug 2024 16:27:12 +0200 [thread overview]
Message-ID: <36b0ee66-3af3-40c1-86b6-b52cd826298e@gmail.com> (raw)
In-Reply-To: <1a6ebc27-95ca-4f56-9971-b2a8d03f270a@kernel.org>
On 11.08.2024 4:28 PM, Krzysztof Kozlowski wrote:
> On 10/08/2024 03:28, Konrad Dybcio wrote:
>> From: Konrad Dybcio <quic_kdybcio@quicinc.com>
>>
>> Add bindings for the Surface System Aggregator Module (SAM/SSAM), the
>> Microsoft Surface-standard Embedded Controller, used on both x86- and
>> Qualcomm-based devices.
>>
>> It provides a plethora of functions, depending on what's wired up to
>> it. That includes but is not limited to: fan control, keyboard/touchpad
>> support, thermal sensors, power control, special buttons, tablet mode.
>>
>> Signed-off-by: Konrad Dybcio <quic_kdybcio@quicinc.com>
>> ---
>> .../bindings/platform/microsoft,surface-sam.yaml | 50 ++++++++++++++++++++++
>> 1 file changed, 50 insertions(+)
>>
>> diff --git a/Documentation/devicetree/bindings/platform/microsoft,surface-sam.yaml b/Documentation/devicetree/bindings/platform/microsoft,surface-sam.yaml
>> new file mode 100644
>> index 000000000000..f613738aa31d
>> --- /dev/null
>> +++ b/Documentation/devicetree/bindings/platform/microsoft,surface-sam.yaml
>> @@ -0,0 +1,50 @@
>> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
>> +%YAML 1.2
>> +---
>> +$id: http://devicetree.org/schemas/platform/microsoft,surface-sam.yaml#
>> +$schema: http://devicetree.org/meta-schemas/core.yaml#
>> +
>> +title: Surface System Aggregator Module (SAM, SSAM)
>> +
>> +maintainers:
>> + - Konrad Dybcio <konradybcio@kernel.org>
>> +
>> +description: |
>
> No need for |
Apparently it's necessary because I have a :
>
>> + Surface devices use a standardized embedded controller to let the
>> + operating system interface with various hardware functions. The
>> + specific functionalities are modeled as subdevices and matched on
>> + five levels: domain, category, target, instance and function.
^ here
Should I e.g. s/:/-/, or keep the |?
>> +
>> +properties:
>> + compatible:
>> + const: microsoft,surface-sam
>> +
>> + interrupts:
>> + maxItems: 1
>> +
>> + current-speed:
>> + description: The baudrate in bits per second of the device as it comes
>> + online, current active speed.
>> + $ref: /schemas/types.yaml#/definitions/uint32
>
> This should be just "current-speed: true", because the type will be
> brought by serial schema. We should however have some schema with
> peripheral properties for serial devices. I'll come with something.
I suppose I should just include:
https://lore.kernel.org/linux-serial/20240811-dt-bindings-serial-peripheral-props-v1-0-1dba258b7492@linaro.org/
Konrad
next prev parent reply other threads:[~2024-08-13 14:27 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-10 1:28 [PATCH v2 0/3] OF support for Surface System Aggregator Module Konrad Dybcio
2024-08-10 1:28 ` [PATCH v2 1/3] dt-bindings: serial: Allow embedded-controller as child node Konrad Dybcio
2024-08-11 13:33 ` Krzysztof Kozlowski
2024-08-10 1:28 ` [PATCH v2 2/3] dt-bindings: platform: Add Surface System Aggregator Module Konrad Dybcio
2024-08-11 14:28 ` Krzysztof Kozlowski
2024-08-13 14:27 ` Konrad Dybcio [this message]
2024-08-14 6:16 ` Krzysztof Kozlowski
2024-08-14 10:25 ` Konrad Dybcio
2024-08-10 1:28 ` [PATCH v2 3/3] platform/surface: Add OF support Konrad Dybcio
2024-08-10 1:47 ` Maximilian Luz
2024-08-10 11:21 ` Konrad Dybcio
2024-08-10 13:00 ` Maximilian Luz
2024-08-11 0:26 ` Maximilian Luz
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=36b0ee66-3af3-40c1-86b6-b52cd826298e@gmail.com \
--to=konradybcio@gmail.com \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=hdegoede@redhat.com \
--cc=ilpo.jarvinen@linux.intel.com \
--cc=jirislaby@kernel.org \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=krzk@kernel.org \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
--cc=luzmaximilian@gmail.com \
--cc=marijn.suijten@somainline.org \
--cc=platform-driver-x86@vger.kernel.org \
--cc=quic_kdybcio@quicinc.com \
--cc=rafael@kernel.org \
--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