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/pm6150l.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: BSD-3-Clause
    2 // Copyright (c) 2019, The Linux Foundation. All rights reserved.
    3 
    4 #include <dt-bindings/iio/qcom,spmi-vadc.h>
    5 #include <dt-bindings/interrupt-controller/irq.h>
    6 #include <dt-bindings/spmi/spmi.h>
    7 
    8 &spmi_bus {
    9         pm6150l_lsid4: pmic@4 {
   10                 compatible = "qcom,pm6150l", "qcom,spmi-pmic";
   11                 reg = <0x4 SPMI_USID>;
   12                 #address-cells = <1>;
   13                 #size-cells = <0>;
   14 
   15                 pm6150l_adc: adc@3100 {
   16                         compatible = "qcom,spmi-adc5";
   17                         reg = <0x3100>;
   18                         interrupts = <0x4 0x31 0x0 IRQ_TYPE_EDGE_RISING>;
   19                         #address-cells = <1>;
   20                         #size-cells = <0>;
   21                         #io-channel-cells = <1>;
   22 
   23                         adc-chan@6 {
   24                                 reg = <ADC5_DIE_TEMP>;
   25                                 label = "die_temp";
   26                         };
   27                 };
   28 
   29                 pm6150l_adc_tm: adc-tm@3500 {
   30                         compatible = "qcom,spmi-adc-tm5";
   31                         reg = <0x3500>;
   32                         interrupts = <0x4 0x35 0x0 IRQ_TYPE_EDGE_RISING>;
   33                         #thermal-sensor-cells = <1>;
   34                         #address-cells = <1>;
   35                         #size-cells = <0>;
   36                         status = "disabled";
   37                 };
   38 
   39                 pm6150l_gpio: gpios@c000 {
   40                         compatible = "qcom,pm6150l-gpio", "qcom,spmi-gpio";
   41                         reg = <0xc000>;
   42                         gpio-controller;
   43                         gpio-ranges = <&pm6150l_gpio 0 0 12>;
   44                         #gpio-cells = <2>;
   45                         interrupt-controller;
   46                         #interrupt-cells = <2>;
   47                 };
   48         };
   49 
   50         pm6150l_lsid5: pmic@5 {
   51                 compatible = "qcom,pm6150l", "qcom,spmi-pmic";
   52                 reg = <0x5 SPMI_USID>;
   53                 #address-cells = <1>;
   54                 #size-cells = <0>;
   55 
   56                 pm6150l_wled: leds@d800 {
   57                         compatible = "qcom,pm6150l-wled";
   58                         reg = <0xd800>, <0xd900>;
   59                         interrupts = <0x5 0xd8 0x1 IRQ_TYPE_EDGE_RISING>;
   60                         interrupt-names = "ovp";
   61                         label = "backlight";
   62 
   63                         status = "disabled";
   64                 };
   65         };
   66 };

Cache object: ab096a8ea3f9615da251e5686601f6dc


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