mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-24 09:50:04 +00:00
arm64: dts: allwinner: pinephone: Enable internal HMIC bias
Revisions 1.0 and 1.1 of the PinePhone mainboard do not have an external resistor connecting HBIAS to MIC2P. Enable the internal resistor to provide the necessary headeset microphone bias. Signed-off-by: Samuel Holland <samuel@sholland.org> Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com> Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com> Link: https://lore.kernel.org/r/20220621035452.60272-4-samuel@sholland.org
This commit is contained in:
parent
e8f05165b5
commit
aab941b8c3
2 changed files with 8 additions and 0 deletions
|
@ -10,6 +10,10 @@ / {
|
||||||
compatible = "pine64,pinephone-1.0", "pine64,pinephone", "allwinner,sun50i-a64";
|
compatible = "pine64,pinephone-1.0", "pine64,pinephone", "allwinner,sun50i-a64";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&codec_analog {
|
||||||
|
allwinner,internal-bias-resistor;
|
||||||
|
};
|
||||||
|
|
||||||
&sgm3140 {
|
&sgm3140 {
|
||||||
enable-gpios = <&pio 2 3 GPIO_ACTIVE_HIGH>; /* PC3 */
|
enable-gpios = <&pio 2 3 GPIO_ACTIVE_HIGH>; /* PC3 */
|
||||||
flash-gpios = <&pio 3 24 GPIO_ACTIVE_HIGH>; /* PD24 */
|
flash-gpios = <&pio 3 24 GPIO_ACTIVE_HIGH>; /* PD24 */
|
||||||
|
|
|
@ -29,6 +29,10 @@ &backlight {
|
||||||
default-brightness-level = <400>;
|
default-brightness-level = <400>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&codec_analog {
|
||||||
|
allwinner,internal-bias-resistor;
|
||||||
|
};
|
||||||
|
|
||||||
&sgm3140 {
|
&sgm3140 {
|
||||||
enable-gpios = <&pio 3 24 GPIO_ACTIVE_HIGH>; /* PD24 */
|
enable-gpios = <&pio 3 24 GPIO_ACTIVE_HIGH>; /* PD24 */
|
||||||
flash-gpios = <&pio 2 3 GPIO_ACTIVE_HIGH>; /* PC3 */
|
flash-gpios = <&pio 2 3 GPIO_ACTIVE_HIGH>; /* PC3 */
|
||||||
|
|
Loading…
Reference in a new issue