Skip to content

Commit

Permalink
pinctrl: zynqmp: Correct mismatch between driver and binding doc
Browse files Browse the repository at this point in the history
Existing pin control driver and device tree nodes have
“xlnx,pinctrl-zynqmp” as compatible string. However,
existing binding mentioned in doc is “zynqmp-pinctrl”
insetad of “pinctrl-zynqmp”.

Sync driver name, existing DT binding, binding doc filename
and compatible string in document.

Signed-off-by: Rajan Vaja <rajanv@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
  • Loading branch information
rajanv-xilinx authored and Michal Simek committed Mar 1, 2018
1 parent d5b6e8d commit 5807afd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
@@ -1,7 +1,7 @@
Binding for Xilinx ZynqMP Pinctrl

Required properties:
- compatible: "xlnx,zynqmp-pinctrl"
- compatible: "xlnx,pinctrl-zynqmp"
- reg: Offset and length of pinctrl space in IOU_SLCR

Please refer to pinctrl-bindings.txt in this directory for details of the
Expand Down
2 changes: 1 addition & 1 deletion drivers/pinctrl/pinctrl-zynqmp.c
Expand Up @@ -2181,7 +2181,7 @@ static const struct of_device_id zynqmp_pinctrl_of_match[] = {

static struct platform_driver zynqmp_pinctrl_driver = {
.driver = {
.name = "zynqmp-pinctrl",
.name = "pinctrl-zynqmp",
.of_match_table = zynqmp_pinctrl_of_match,
},
.probe = zynqmp_pinctrl_probe,
Expand Down

0 comments on commit 5807afd

Please sign in to comment.