Skip to content

Commit

Permalink
dt-bindings: net: dsa: qca8k: Document qca,led-open-drain binding
Browse files Browse the repository at this point in the history
Document new binding qca,ignore-power-on-sel used to ignore
power on strapping and use sw regs instead.
Document qca,led-open.drain to set led to open drain mode, the
qca,ignore-power-on-sel is mandatory with this enabled or an error will
be reported.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Ansuel Smith authored and David S. Miller committed Oct 15, 2021
1 parent bbc4799 commit 924087c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Documentation/devicetree/bindings/net/dsa/qca8k.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,17 @@ Required properties:
Optional properties:

- reset-gpios: GPIO to be used to reset the whole device
- qca,ignore-power-on-sel: Ignore power on pin strapping to configure led open
drain or eeprom presence. This is needed for broken
devices that have wrong configuration or when the oem
decided to not use pin strapping and fallback to sw
regs.
- qca,led-open-drain: Set leds to open-drain mode. This requires the
qca,ignore-power-on-sel to be set or the driver will fail
to probe. This is needed if the oem doesn't use pin
strapping to set this mode and prefers to set it using sw
regs. The pin strapping related to led open drain mode is
the pin B68 for QCA832x and B49 for QCA833x

Subnodes:

Expand Down

0 comments on commit 924087c

Please sign in to comment.