dt-bindings: serial: Allow embedded-controller as child node

There exist some embedded controllers (like Microsoft SAM found on
Surface devices or Apple Oscar found on old iPhones) that connect to
the host device via serial.

Allow that class of devices to exist under serial interface controller
nodes.

Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Konrad Dybcio <quic_kdybcio@quicinc.com>
Link: https://lore.kernel.org/r/20240814-topic-sam-v3-1-a84588aad233@quicinc.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
This commit is contained in:
Konrad Dybcio 2024-08-14 12:27:25 +02:00 committed by Hans de Goede
parent 3573fee87f
commit ac5ebdad20

View File

@ -88,7 +88,7 @@ properties:
TX FIFO threshold configuration (in bytes).
patternProperties:
"^(bluetooth|bluetooth-gnss|gnss|gps|mcu|onewire)$":
"^(bluetooth|bluetooth-gnss|embedded-controller|gnss|gps|mcu|onewire)$":
if:
type: object
then: