dt-bindings: pinctrl: Document canaan,k210-fpioa bindings
authorDamien Le Moal <damien.lemoal@wdc.com>
Sun, 13 Dec 2020 13:50:44 +0000 (22:50 +0900)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Thu, 14 Jan 2021 23:08:52 +0000 (15:08 -0800)
commited3137edb31b86702511e7ad12b4abe8686b6805
treeb1a6a3b03cf83a2675a3ef5e45fd21b1f4f96ef5
parent1d7c9d093ed58b8cf4ae23986cd01272667d412a
dt-bindings: pinctrl: Document canaan,k210-fpioa bindings

Document the device tree bindings for the Canaan Kendryte K210 SoC
Fully Programmable IO Array (FPIOA) pinctrl driver in
Documentation/devicetree/bindings/pinctrl/canaan,k210-fpioa.yaml. The
new header file include/dt-bindings/pinctrl/k210-fpioa.h is added to
define all 256 possible pin functions of the SoC IO pins, as well as
macros simplifying the definition of pin functions in a device tree.

Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Documentation/devicetree/bindings/pinctrl/canaan,k210-fpioa.yaml [new file with mode: 0644]
include/dt-bindings/pinctrl/k210-fpioa.h [new file with mode: 0644]