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/include/dt-bindings/iio/qcom,spmi-adc7-pmk8350.h

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-only */
    2 /*
    3  * Copyright (c) 2020 The Linux Foundation. All rights reserved.
    4  */
    5 
    6 #ifndef _DT_BINDINGS_QCOM_SPMI_VADC_PMK8350_H
    7 #define _DT_BINDINGS_QCOM_SPMI_VADC_PMK8350_H
    8 
    9 #ifndef PMK8350_SID
   10 #define PMK8350_SID                                     0
   11 #endif
   12 
   13 /* ADC channels for PMK8350_ADC for PMIC7 */
   14 #define PMK8350_ADC7_REF_GND                    (PMK8350_SID << 8 | 0x0)
   15 #define PMK8350_ADC7_1P25VREF                   (PMK8350_SID << 8 | 0x01)
   16 #define PMK8350_ADC7_VREF_VADC                  (PMK8350_SID << 8 | 0x02)
   17 #define PMK8350_ADC7_DIE_TEMP                   (PMK8350_SID << 8 | 0x03)
   18 
   19 #define PMK8350_ADC7_AMUX_THM1                  (PMK8350_SID << 8 | 0x04)
   20 #define PMK8350_ADC7_AMUX_THM2                  (PMK8350_SID << 8 | 0x05)
   21 #define PMK8350_ADC7_AMUX_THM3                  (PMK8350_SID << 8 | 0x06)
   22 #define PMK8350_ADC7_AMUX_THM4                  (PMK8350_SID << 8 | 0x07)
   23 #define PMK8350_ADC7_AMUX_THM5                  (PMK8350_SID << 8 | 0x08)
   24 
   25 /* 30k pull-up1 */
   26 #define PMK8350_ADC7_AMUX_THM1_30K_PU           (PMK8350_SID << 8 | 0x24)
   27 #define PMK8350_ADC7_AMUX_THM2_30K_PU           (PMK8350_SID << 8 | 0x25)
   28 #define PMK8350_ADC7_AMUX_THM3_30K_PU           (PMK8350_SID << 8 | 0x26)
   29 #define PMK8350_ADC7_AMUX_THM4_30K_PU           (PMK8350_SID << 8 | 0x27)
   30 #define PMK8350_ADC7_AMUX_THM5_30K_PU           (PMK8350_SID << 8 | 0x28)
   31 
   32 /* 100k pull-up2 */
   33 #define PMK8350_ADC7_AMUX_THM1_100K_PU          (PMK8350_SID << 8 | 0x44)
   34 #define PMK8350_ADC7_AMUX_THM2_100K_PU          (PMK8350_SID << 8 | 0x45)
   35 #define PMK8350_ADC7_AMUX_THM3_100K_PU          (PMK8350_SID << 8 | 0x46)
   36 #define PMK8350_ADC7_AMUX_THM4_100K_PU          (PMK8350_SID << 8 | 0x47)
   37 #define PMK8350_ADC7_AMUX_THM5_100K_PU          (PMK8350_SID << 8 | 0x48)
   38 
   39 /* 400k pull-up3 */
   40 #define PMK8350_ADC7_AMUX_THM1_400K_PU          (PMK8350_SID << 8 | 0x64)
   41 #define PMK8350_ADC7_AMUX_THM2_400K_PU          (PMK8350_SID << 8 | 0x65)
   42 #define PMK8350_ADC7_AMUX_THM3_400K_PU          (PMK8350_SID << 8 | 0x66)
   43 #define PMK8350_ADC7_AMUX_THM4_400K_PU          (PMK8350_SID << 8 | 0x67)
   44 #define PMK8350_ADC7_AMUX_THM5_400K_PU          (PMK8350_SID << 8 | 0x68)
   45 
   46 #endif /* _DT_BINDINGS_QCOM_SPMI_VADC_PMK8350_H */

Cache object: 4557836bac8bbdf18d170e9172ed0e35


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