-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'asoc/topic/tas5086' into asoc-next
- Loading branch information
Showing
5 changed files
with
636 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
Texas Instruments TAS5086 6-channel PWM Processor | ||
|
||
Required properties: | ||
|
||
- compatible: Should contain "ti,tas5086". | ||
- reg: The i2c address. Should contain <0x1b>. | ||
|
||
Optional properties: | ||
|
||
- reset-gpio: A GPIO spec to define which pin is connected to the | ||
chip's !RESET pin. If specified, the driver will | ||
assert a hardware reset at probe time. | ||
|
||
- ti,charge-period: This property should contain the time in microseconds | ||
that closely matches the external single-ended | ||
split-capacitor charge period. The hardware chip | ||
waits for this period of time before starting the | ||
PWM signals. This helps reduce pops and clicks. | ||
|
||
When not specified, the hardware default of 1300ms | ||
is retained. | ||
|
||
Examples: | ||
|
||
i2c_bus { | ||
tas5086@1b { | ||
compatible = "ti,tas5086"; | ||
reg = <0x1b>; | ||
reset-gpio = <&gpio 23 0>; | ||
ti,charge-period = <156000>; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#ifndef _SND_SOC_CODEC_TAS5086_H_ | ||
#define _SND_SOC_CODEC_TAS5086_H_ | ||
|
||
#define TAS5086_CLK_IDX_MCLK 0 | ||
#define TAS5086_CLK_IDX_SCLK 1 | ||
|
||
#endif /* _SND_SOC_CODEC_TAS5086_H_ */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.