]> git.baikalelectronics.ru Git - kernel.git/commitdiff
dt-bindings: phy: ti,tcan104x-can: Document mux-states property
authorAswath Govindraju <a-govindraju@ti.com>
Thu, 16 Dec 2021 04:10:11 +0000 (09:40 +0530)
committerRob Herring <robh@kernel.org>
Tue, 8 Mar 2022 16:41:32 +0000 (10:41 -0600)
On some boards, for routing CAN signals from controller to transceivers,
muxes might need to be set. This can be implemented using mux-states
property. Therefore, document the same in the respective bindings.

Signed-off-by: Aswath Govindraju <a-govindraju@ti.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20211216041012.16892-2-a-govindraju@ti.com
Documentation/devicetree/bindings/phy/ti,tcan104x-can.yaml

index 6107880e524629ec0a9a54a82b19370538a8c646..02b76f15e71702316c3b24d6ad8e510aa8ea27f5 100644 (file)
@@ -37,6 +37,12 @@ properties:
       max bit rate supported in bps
     minimum: 1
 
+  mux-states:
+    description:
+      mux controller node to route the signals from controller to
+      transceiver.
+    maxItems: 1
+
 required:
   - compatible
   - '#phy-cells'
@@ -53,4 +59,5 @@ examples:
       max-bitrate = <5000000>;
       standby-gpios = <&wakeup_gpio1 16 GPIO_ACTIVE_LOW>;
       enable-gpios = <&main_gpio1 67 GPIO_ACTIVE_HIGH>;
+      mux-states = <&mux0 1>;
     };