1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/media/i2c/rda,rda5807.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Unisoc Communications RDA5807 FM radio receiver 8 9maintainers: 10 - Paul Cercueil <paul@crapouillou.net> 11 12properties: 13 compatible: 14 enum: 15 - rda,rda5807 16 17 reg: 18 description: I2C address. 19 maxItems: 1 20 21 power-supply: true 22 23 rda,lnan: 24 description: Use LNAN input port. 25 type: boolean 26 27 rda,lnap: 28 description: Use LNAP input port. 29 type: boolean 30 31 rda,analog-out: 32 description: Enable analog audio output. 33 type: boolean 34 35 rda,i2s-out: 36 description: Enable I2S digital audio output. 37 type: boolean 38 39 rda,lna-microamp: 40 description: LNA working current, in micro-amperes. 41 default: 2500 42 enum: [1800, 2100, 2500, 3000] 43 44required: 45 - compatible 46 - reg 47 - power-supply 48 49additionalProperties: false 50 51examples: 52 - | 53 i2c { 54 #address-cells = <1>; 55 #size-cells = <0>; 56 57 radio@11 { 58 compatible = "rda,rda5807"; 59 reg = <0x11>; 60 61 power-supply = <&ldo6>; 62 63 rda,lnan; 64 rda,lnap; 65 rda,analog-out; 66 }; 67 }; 68