Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: pinctrl: spacemit: convert drive strength to schema format

In order to better extend the pinctrl support for future new SoC, convert
drive strength setting from free form text to more standard schema format.

Signed-off-by: Yixun Lan <dlan@gentoo.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Signed-off-by: Linus Walleij <linusw@kernel.org>

authored by

Yixun Lan and committed by
Linus Walleij
c3efac05 255b721c

+8 -4
+8 -4
Documentation/devicetree/bindings/pinctrl/spacemit,k1-pinctrl.yaml
··· 72 72 enum: [ 0, 1 ] 73 73 74 74 drive-strength: 75 - description: | 76 - typical current when output high level. 77 - 1.8V output: 11, 21, 32, 42 (mA) 78 - 3.3V output: 7, 10, 13, 16, 19, 23, 26, 29 (mA) 75 + description: 76 + typical current (in mA) when the output at high level. 77 + oneOf: 78 + - enum: [ 11, 21, 32, 42 ] 79 + description: For K1 SoC, 1.8V voltage output 80 + 81 + - enum: [ 7, 10, 13, 16, 19, 23, 26, 29 ] 82 + description: For K1 SoC, 3.3V voltage output 79 83 80 84 input-schmitt: 81 85 description: |