ShellAlbert / Jetson-TX2

new platform for processing video & audio
GNU Lesser General Public License v3.0
2 stars 0 forks source link

phandle linux,phandle #20

Open ShellAlbert opened 4 years ago

ShellAlbert commented 4 years ago

gpf { gpio-controller;

gpio-cells = <0x2>;

  interrupt-controller;
  #interrupt-cells = <0x2>;
  linux,phandle = <0xc>;
  phandle = <0xc>;

}; phandle(linux,phandle这个属性和phandle是一样的,只不过linux,phandle是old-style, 多定义一个属性是为了兼容)定义了一个句柄, 当其他的device node想要引用这个node的时候就可以使用该句柄。

ShellAlbert commented 4 years ago

phandle

ShellAlbert commented 4 years ago

phandle