Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/iio/adc/allwinner,sun8i-a33-ths.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Allwinner A33 Thermal Sensor Device Tree Bindings
0008 
0009 maintainers:
0010   - Chen-Yu Tsai <wens@csie.org>
0011   - Maxime Ripard <mripard@kernel.org>
0012 
0013 properties:
0014   "#io-channel-cells":
0015     const: 0
0016 
0017   "#thermal-sensor-cells":
0018     const: 0
0019 
0020   compatible:
0021     const: allwinner,sun8i-a33-ths
0022 
0023   reg:
0024     maxItems: 1
0025 
0026 required:
0027   - "#io-channel-cells"
0028   - "#thermal-sensor-cells"
0029   - compatible
0030   - reg
0031 
0032 additionalProperties: false
0033 
0034 examples:
0035   - |
0036     ths: ths@1c25000 {
0037         compatible = "allwinner,sun8i-a33-ths";
0038         reg = <0x01c25000 0x100>;
0039         #thermal-sensor-cells = <0>;
0040         #io-channel-cells = <0>;
0041     };
0042 
0043 ...