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/src/arm64/qcom/pmi8998.dtsi

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 #include <dt-bindings/interrupt-controller/irq.h>
    3 #include <dt-bindings/spmi/spmi.h>
    4 
    5 &spmi_bus {
    6         pmi8998_lsid0: pmic@2 {
    7                 compatible = "qcom,pmi8998", "qcom,spmi-pmic";
    8                 reg = <0x2 SPMI_USID>;
    9                 #address-cells = <1>;
   10                 #size-cells = <0>;
   11 
   12                 pmi8998_gpio: gpios@c000 {
   13                         compatible = "qcom,pmi8998-gpio", "qcom,spmi-gpio";
   14                         reg = <0xc000>;
   15                         gpio-controller;
   16                         gpio-ranges = <&pmi8998_gpio 0 0 14>;
   17                         #gpio-cells = <2>;
   18                         interrupt-controller;
   19                         #interrupt-cells = <2>;
   20                 };
   21         };
   22 
   23         pmi8998_lsid1: pmic@3 {
   24                 compatible = "qcom,pmi8998", "qcom,spmi-pmic";
   25                 reg = <0x3 SPMI_USID>;
   26                 #address-cells = <1>;
   27                 #size-cells = <0>;
   28 
   29                 labibb {
   30                         compatible = "qcom,pmi8998-lab-ibb";
   31 
   32                         ibb: ibb {
   33                                 interrupts = <0x3 0xdc 0x2 IRQ_TYPE_EDGE_RISING>,
   34                                              <0x3 0xdc 0x0 IRQ_TYPE_LEVEL_HIGH>;
   35                                 interrupt-names = "sc-err", "ocp";
   36                         };
   37 
   38                         lab: lab {
   39                                 interrupts = <0x3 0xde 0x1 IRQ_TYPE_EDGE_RISING>,
   40                                              <0x3 0xde 0x0 IRQ_TYPE_LEVEL_LOW>;
   41                                 interrupt-names = "sc-err", "ocp";
   42                         };
   43                 };
   44 
   45                 pmi8998_lpg: lpg {
   46                         compatible = "qcom,pmi8998-lpg";
   47 
   48                         #address-cells = <1>;
   49                         #size-cells = <0>;
   50                         #pwm-cells = <2>;
   51 
   52                         status = "disabled";
   53                 };
   54 
   55                 pmi8998_wled: leds@d800 {
   56                         compatible = "qcom,pmi8998-wled";
   57                         reg = <0xd800>, <0xd900>;
   58                         interrupts = <0x3 0xd8 0x1 IRQ_TYPE_EDGE_RISING>,
   59                                      <0x3 0xd8 0x2 IRQ_TYPE_EDGE_RISING>;
   60                         interrupt-names = "ovp", "short";
   61                         label = "backlight";
   62 
   63                         status = "disabled";
   64                 };
   65         };
   66 };

Cache object: 86485b7d73e8f87f1b7061826133b5e3


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