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/gpio/gpio-pca953x.txt

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 * NXP PCA953x I2C GPIO multiplexer
    2 
    3 Required properties:
    4  - compatible: Has to contain one of the following:
    5         nxp,pca6416
    6         nxp,pca9505
    7         nxp,pca9534
    8         nxp,pca9535
    9         nxp,pca9536
   10         nxp,pca9537
   11         nxp,pca9538
   12         nxp,pca9539
   13         nxp,pca9554
   14         nxp,pca9555
   15         nxp,pca9556
   16         nxp,pca9557
   17         nxp,pca9574
   18         nxp,pca9575
   19         nxp,pca9698
   20         nxp,pcal6416
   21         nxp,pcal6524
   22         nxp,pcal9535
   23         nxp,pcal9555a
   24         maxim,max7310
   25         maxim,max7312
   26         maxim,max7313
   27         maxim,max7315
   28         ti,pca6107
   29         ti,pca9536
   30         ti,tca6408
   31         ti,tca6416
   32         ti,tca6424
   33         ti,tca9539
   34         ti,tca9554
   35         onnn,cat9554
   36         onnn,pca9654
   37         exar,xra1202
   38  - gpio-controller: if used as gpio expander.
   39  - #gpio-cells: if used as gpio expander.
   40  - interrupt-controller: if to be used as interrupt expander.
   41  - #interrupt-cells: if to be used as interrupt expander.
   42 
   43 Optional properties:
   44  - interrupts: interrupt specifier for the device's interrupt output.
   45  - reset-gpios: GPIO specification for the RESET input. This is an
   46                 active low signal to the PCA953x.
   47  - vcc-supply:  power supply regulator.
   48 
   49 Example:
   50 
   51 
   52         gpio@20 {
   53                 compatible = "nxp,pca9505";
   54                 reg = <0x20>;
   55                 pinctrl-names = "default";
   56                 pinctrl-0 = <&pinctrl_pca9505>;
   57                 gpio-controller;
   58                 #gpio-cells = <2>;
   59                 interrupt-parent = <&gpio3>;
   60                 interrupts = <23 IRQ_TYPE_LEVEL_LOW>;
   61         };
   62 
   63 
   64 Example with Interrupts:
   65 
   66 
   67         gpio99: gpio@22 {
   68                 compatible = "nxp,pcal6524";
   69                 reg = <0x22>;
   70                 interrupt-parent = <&gpio6>;
   71                 interrupts = <1 IRQ_TYPE_EDGE_FALLING>; /* gpio6_161 */
   72                 interrupt-controller;
   73                 #interrupt-cells = <2>;
   74                 vcc-supply = <&vdds_1v8_main>;
   75                 gpio-controller;
   76                 #gpio-cells = <2>;
   77                 gpio-line-names =
   78                         "hdmi-ct-hpd", "hdmi.ls-oe", "p02", "p03", "vibra", "fault2", "p06", "p07",
   79                         "en-usb", "en-host1", "en-host2", "chg-int", "p14", "p15", "mic-int", "en-modem",
   80                         "shdn-hs-amp", "chg-status+red", "green", "blue", "en-esata", "fault1", "p26", "p27";
   81         };
   82 
   83         ts3a227@3b {
   84                 compatible = "ti,ts3a227e";
   85                 reg = <0x3b>;
   86                 interrupt-parent = <&gpio99>;
   87                 interrupts = <14 IRQ_TYPE_EDGE_RISING>;
   88                 ti,micbias = <0>;       /* 2.1V */
   89         };
   90 

Cache object: ff2eb62165a0f5a6b09c84419f578946


[ 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.