mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-13 22:14:20 +08:00
f333253246
Currently the power supply device tree documentation is spread in .../bindings/power_supply and .../bindings/power. This unifies the files for chargers and battery fuel gauges in .../bindings/power/supply and the ones for system reset/shutdown in .../bindings/power/reset (same structure as used for the drivers itself). Signed-off-by: Sebastian Reichel <sre@kernel.org>
18 lines
457 B
Plaintext
18 lines
457 B
Plaintext
Binding for NXP ISP1704 USB Charger Detection
|
|
|
|
Required properties:
|
|
- compatible: Should contain one of the following:
|
|
* "nxp,isp1704"
|
|
- nxp,enable-gpio: Should contain a phandle + gpio-specifier
|
|
to the GPIO pin connected to the chip's enable pin.
|
|
- usb-phy: Should contain a phandle to the USB PHY
|
|
the ISP1704 is connected to.
|
|
|
|
Example:
|
|
|
|
isp1704 {
|
|
compatible = "nxp,isp1704";
|
|
nxp,enable-gpio = <&gpio3 3 GPIO_ACTIVE_LOW>;
|
|
usb-phy = <&usb2_phy>;
|
|
};
|