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

dt-bindings: pinctr: pinctrl-zynq: Fix compatible string

Compatible string doesn't really match with compatible string listed in the
driver itself. While binding was converted from txt to yaml
xlnx,zynq-pinctrl was listed as compatible string but example was using
xlnx,pinctrl-zynq and also this string is used in all DTSes.
xlnx,zynq-pinctrl is used only in dt binding and not present in any DT
which is stable for quite a long time that's why use old compatible string
and update binding document instead of starting to use unused compatible
string.

Fixes: 153df45acda0 ("dt-bindings: pinctrl: pinctrl-zynq: Convert to yaml")
Signed-off-by: Michal Simek <michal.simek@amd.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/c1307a4dd5e30290acacc786cb2170deb9eaa539.1706087258.git.michal.simek@amd.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

authored by

Michal Simek and committed by
Linus Walleij
cd2807e7 b96e00a4

+3 -3
+3 -3
Documentation/devicetree/bindings/pinctrl/xlnx,zynq-pinctrl.yaml Documentation/devicetree/bindings/pinctrl/xlnx,pinctrl-zynq.yaml
··· 1 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2 2 %YAML 1.2 3 3 --- 4 - $id: http://devicetree.org/schemas/pinctrl/xlnx,zynq-pinctrl.yaml# 4 + $id: http://devicetree.org/schemas/pinctrl/xlnx,pinctrl-zynq.yaml# 5 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 7 title: Xilinx Zynq Pinctrl ··· 28 28 29 29 properties: 30 30 compatible: 31 - const: xlnx,zynq-pinctrl 31 + const: xlnx,pinctrl-zynq 32 32 33 33 reg: 34 34 description: Specifies the base address and size of the SLCR space. ··· 181 181 - | 182 182 #include <dt-bindings/pinctrl/pinctrl-zynq.h> 183 183 pinctrl0: pinctrl@700 { 184 - compatible = "xlnx,zynq-pinctrl"; 184 + compatible = "xlnx,pinctrl-zynq"; 185 185 reg = <0x700 0x200>; 186 186 syscon = <&slcr>; 187 187