提交 3ec3a7bd 编写于 作者: P Phil Elwell 提交者: Zheng Zengkai

overlays: Rename gpio-fsm property num-soft-gpios

raspberrypi inclusion
category: feature
bugzilla: 50432

--------------------------------

The gpio-fsm property "num-soft-gpios" triggers a kernel DT checker
that warns about the lack of #gpio-cells on a random node with the
phandle that just happens to match the number of soft GPIOs. Rename
the property to "num-swgpios" to avoid the warning.
Signed-off-by: NPhil Elwell <phil@raspberrypi.com>
Signed-off-by: NFang Yafen <yafen@iscas.ac.cn>
Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
上级 f59a3977
......@@ -22,7 +22,7 @@
debug = <0>;
gpio-controller;
#gpio-cells = <2>;
num-soft-gpios = <1>;
num-swgpios = <1>;
gpio-line-names = "button2";
input-gpios = <&gpio 6 1>; // BUTTON1 (active-low)
output-gpios = <&gpio 7 0>, // RED
......
......@@ -58,7 +58,7 @@
debug = <0>;
gpio-controller;
#gpio-cells = <2>;
num-soft-gpios = <1>;
num-swgpios = <1>;
gpio-line-names = "enable";
input-gpios = <&gpio 5 1>; // FAULT (active low)
output-gpios = <&gpio 22 0>, // RELAY1
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册