The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/Bindings/power/supply/isp1704.yaml

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 # SPDX-License-Identifier: GPL-2.0
    2 # Copyright (C) 2021 Sebastian Reichel
    3 %YAML 1.2
    4 ---
    5 $id: http://devicetree.org/schemas/power/supply/isp1704.yaml#
    6 $schema: http://devicetree.org/meta-schemas/core.yaml#
    7 
    8 title: Binding for NXP ISP1704 USB Charger Detection
    9 
   10 maintainers:
   11   - Sebastian Reichel <sre@kernel.org>
   12 
   13 allOf:
   14   - $ref: power-supply.yaml#
   15 
   16 properties:
   17   compatible:
   18     const: nxp,isp1704
   19 
   20   nxp,enable-gpio:
   21     maxItems: 1
   22     description: GPIO connected to the chip's enable pin
   23 
   24   usb-phy:
   25     $ref: /schemas/types.yaml#/definitions/phandle
   26     description: USB PHY the ISP1704 is connected to
   27 
   28 required:
   29   - compatible
   30   - nxp,enable-gpio
   31   - usb-phy
   32 
   33 additionalProperties: false
   34 
   35 examples:
   36   - |
   37     #include <dt-bindings/gpio/gpio.h>
   38     charger-detect {
   39       compatible = "nxp,isp1704";
   40       nxp,enable-gpio = <&gpio3 3 GPIO_ACTIVE_LOW>;
   41       usb-phy = <&usb2_phy>;
   42     };

Cache object: 00176477c09e26efec316a563036c9b2


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.