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-pmr735a.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_PMR735A_H
    7 #define _DT_BINDINGS_QCOM_SPMI_VADC_PMR735A_H
    8 
    9 #ifndef PMR735A_SID
   10 #define PMR735A_SID                                     4
   11 #endif
   12 
   13 /* ADC channels for PMR735A_ADC for PMIC7 */
   14 #define PMR735A_ADC7_REF_GND                    (PMR735A_SID << 8 | 0x0)
   15 #define PMR735A_ADC7_1P25VREF                   (PMR735A_SID << 8 | 0x01)
   16 #define PMR735A_ADC7_VREF_VADC                  (PMR735A_SID << 8 | 0x02)
   17 #define PMR735A_ADC7_DIE_TEMP                   (PMR735A_SID << 8 | 0x03)
   18 
   19 #define PMR735A_ADC7_GPIO1                      (PMR735A_SID << 8 | 0x0a)
   20 #define PMR735A_ADC7_GPIO2                      (PMR735A_SID << 8 | 0x0b)
   21 #define PMR735A_ADC7_GPIO3                      (PMR735A_SID << 8 | 0x0c)
   22 
   23 /* 100k pull-up2 */
   24 #define PMR735A_ADC7_GPIO1_100K_PU              (PMR735A_SID << 8 | 0x4a)
   25 #define PMR735A_ADC7_GPIO2_100K_PU              (PMR735A_SID << 8 | 0x4b)
   26 #define PMR735A_ADC7_GPIO3_100K_PU              (PMR735A_SID << 8 | 0x4c)
   27 
   28 #endif /* _DT_BINDINGS_QCOM_SPMI_VADC_PMR735A_H */

Cache object: 261ad7c05c31754a1c793ee80cbf8d3a


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