-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathktm,kt0913.yaml
56 lines (46 loc) · 1.49 KB
/
ktm,kt0913.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
# Copyright (c) 2020 Santiago Hormazabal <[email protected]>
%YAML 1.2
---
$id: http://devicetree.org/schemas/media/ktm,kt0913.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Device-Tree bindings for the KTMicro KT0913 FM/AM radio tuner.
maintainers:
- Santiago Hormazabal <[email protected]>
description: |-
The KT0913 is a low cost, low components FM/AM radio chip.
It uses the I2C protocol for operation.
properties:
compatible:
const: ktm,kt0913
reg:
description: I2C device address
const: 0x35
ktm,anti-pop:
description: |
Selects the DAC Anti-Pop capacitor. Possible values are
0 thru 3, which corresponds to 100uF (default), 60uF, 20uF or 10uF.
$ref: "/schemas/types.yaml#/definitions/uint32"
enum: [0, 1, 2, 3]
ktm,refclk:
description: |
Selects the reference clock used on the KT0913. Possible
values are 0 thru 9, which corresponds to 32.768kHz (default),
6.5MHz, 7.6MHz, 12MHz, 13MHz, 15.2MHz, 19.2MHz, 24MHz, 26MHz, 38kHz.
$ref: "/schemas/types.yaml#/definitions/uint32"
enum: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
required:
- compatible
- reg
additionalProperties: false
examples:
- |
i2c {
kt0913: fm-am-tuner@35 {
compatible = "ktm,kt0913";
reg = <0x35>;
ktm,anti-pop = <0x01>;
ktm,refclk = <0x00>;
};
};
...