Simon Glass | 45ddf88 | 2019-04-23 21:56:23 -0600 | [diff] [blame] | 1 | Audio Binding for Snow boards |
| 2 | |
| 3 | Required properties: |
| 4 | - compatible : Can be one of the following, |
| 5 | "google,snow-audio-max98090" or |
| 6 | "google,snow-audio-max98091" or |
| 7 | "google,snow-audio-max98095" |
| 8 | - samsung,i2s-controller (deprecated): The phandle of the Samsung I2S controller |
| 9 | - samsung,audio-codec (deprecated): The phandle of the audio codec |
| 10 | |
| 11 | Required sub-nodes: |
| 12 | |
| 13 | - 'cpu' subnode with a 'sound-dai' property containing the phandle of the I2S |
| 14 | controller |
| 15 | - 'codec' subnode with a 'sound-dai' property containing list of phandles |
| 16 | to the CODEC nodes, first entry must be the phandle of the MAX98090, |
| 17 | MAX98091 or MAX98095 CODEC (exact device type is indicated by the compatible |
| 18 | string) and the second entry must be the phandle of the HDMI IP block node |
| 19 | |
| 20 | Optional: |
| 21 | - samsung,model: The name of the sound-card |
Simon Glass | 13ff038 | 2019-04-23 21:56:25 -0600 | [diff] [blame] | 22 | - codec-enable-gpio : The GPIO used to enable the audio codec |
Simon Glass | 45ddf88 | 2019-04-23 21:56:23 -0600 | [diff] [blame] | 23 | |
| 24 | Example: |
| 25 | |
| 26 | sound { |
| 27 | compatible = "google,snow-audio-max98095"; |
| 28 | |
| 29 | samsung,model = "Snow-I2S-MAX98095"; |
| 30 | samsung,i2s-controller = <&i2s0>; |
| 31 | samsung,audio-codec = <&max98095>; |
| 32 | }; |