File tree 2 files changed +20
-3
lines changed
arch/arm/boot/dts/overlays 2 files changed +20
-3
lines changed Original file line number Diff line number Diff line change @@ -490,8 +490,21 @@ Params: <None>
490
490
491
491
Name: iqaudio-dac
492
492
Info: Configures the IQaudio DAC audio card
493
- Load: dtoverlay=iqaudio-dac
494
- Params: <None>
493
+ Load: dtoverlay=iqaudio-dac,<param>
494
+ Params: 24db_digital_gain Allow gain to be applied via the PCM512x codec
495
+ Digital volume control. Enable with
496
+ "dtoverlay=iqaudio-dac,24db_digital_gain"
497
+ (The default behaviour is that the Digital
498
+ volume control is limited to a maximum of
499
+ 0dB. ie. it can attenuate but not provide
500
+ gain. For most users, this will be desired
501
+ as it will prevent clipping. By appending
502
+ the 24db_digital_gain parameter, the Digital
503
+ volume control will allow up to 24dB of
504
+ gain. If this parameter is enabled, it is the
505
+ responsibility of the user to ensure that
506
+ the Digital volume control is set to a value
507
+ that does not result in clipping/distortion!)
495
508
496
509
497
510
Name: iqaudio-dacplus
Original file line number Diff line number Diff line change 30
30
31
31
fragment@2 {
32
32
target = <&sound>;
33
- __overlay__ {
33
+ frag2: __overlay__ {
34
34
compatible = "iqaudio,iqaudio-dac";
35
35
i2s-controller = <&i2s>;
36
36
status = "okay";
37
37
};
38
38
};
39
+
40
+ __overrides__ {
41
+ 24db_digital_gain = <&frag2>,"iqaudio,24db_digital_gain?";
42
+ };
39
43
};
You can’t perform that action at this time.
0 commit comments