]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
dt-bindings: serial: Allow embedded-controller as child node
authorKonrad Dybcio <quic_kdybcio@quicinc.com>
Wed, 14 Aug 2024 10:27:25 +0000 (12:27 +0200)
committerHans de Goede <hdegoede@redhat.com>
Mon, 19 Aug 2024 11:39:02 +0000 (13:39 +0200)
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>
Documentation/devicetree/bindings/serial/serial.yaml

index ffc9198ae21469de249c87da75e27521bc2a419f..9b2c94796371b8e666b5d7ead9bade8caca3e995 100644 (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: