Linux vbus调节器设备树
有人能解释一下设备树的设置吗?他们将在i.MX6处理器上做什么 谢谢Linux vbus调节器设备树,linux,device-tree,Linux,Device Tree,有人能解释一下设备树的设置吗?他们将在i.MX6处理器上做什么 谢谢 vbus1_regulator: regulator@1 { compatible = "regulator-fixed"; regulator-name = "vbus1_regulator"; regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; gpio = <
vbus1_regulator: regulator@1 {
compatible = "regulator-fixed";
regulator-name = "vbus1_regulator";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>;
enable-active-high;
};
&usbotg {
vbus-supply = <&vbus1_regulator>;
dr_mode = "host";
status = "okay";
};
vbus1\u调节器:regulator@1 {
compatible=“调节器固定”;
调节器名称=“vbus1\U调节器”;
调节器最小微伏=;
调节器最大微伏=;
gpio=;
启用主动高电平;
};
&usbotg{
vbus供应=;
dr_mode=“主机”;
status=“好”;
};
USB协议定义了两个角色-主机和客户端。使用USB OTG(移动中)设备可以同时具备主机和客户端功能。见:
为了让设备作为主机工作,它需要按照USB标准的要求为连接到它的客户端设备提供电源
也就是说,&usbotg节点是: