mirror of
https://github.com/armbian/build.git
synced 2025-08-10 21:26:59 +02:00
* Rework patches for sunxi 5.15.4 * Rework patches sunxi for 5.15.5 * Kernel switch tag=v5.15.5 for sunxi EDGE * Temporarily disabled, requires rework. drivers/clk/sunxi-ng/sun8i-de33.c: In function ‘sunxi_de33_clk_probe’: drivers/clk/sunxi-ng/sun8i-de33.c:155:8: error: implicit declaration of function ‘sunxi_ccu_probe’; did you mean ‘of_sunxi_ccu_probe’? [-Werror=implicit-function-declarati> ret = sunxi_ccu_probe(pdev->dev.of_node, reg, ccu_desc); ^~~~~~~~~~~~~~~ of_sunxi_ccu_probe cc1: some warnings being treated as errors make[3]: *** [scripts/Makefile.build:277: drivers/clk/sunxi-ng/sun8i-de33.o] Error 1 make[2]: *** [scripts/Makefile.build:540: drivers/clk/sunxi-ng] Error 2 * Correct the comment.
41 lines
1.5 KiB
Diff
41 lines
1.5 KiB
Diff
From d1f5feeaa430de121660ff5ad50c9bd72c3b5ec7 Mon Sep 17 00:00:00 2001
|
|
From: Arnaud Ferraris <arnaud.ferraris@collabora.com>
|
|
Date: Sun, 20 Sep 2020 20:26:36 -0500
|
|
Subject: [PATCH 390/467] ASoC: dt-bindings: sun50i-codec: Add binding for
|
|
internal bias
|
|
|
|
In order to properly bias headset microphones, there should be a
|
|
resistor between pins HBIAS and MICDET. This can be an external
|
|
resistor, but the codec also provides an internal 2.2K resistor which
|
|
can be enabled by a register.
|
|
|
|
This patch adds a device-tree property to the sun50i-codec-analog driver
|
|
to take advantage of this feature.
|
|
|
|
Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com>
|
|
[Samuel: split binding and implementation patches]
|
|
Signed-off-by: Samuel Holland <samuel@sholland.org>
|
|
---
|
|
.../bindings/sound/allwinner,sun50i-a64-codec-analog.yaml | 5 +++++
|
|
1 file changed, 5 insertions(+)
|
|
|
|
diff --git a/Documentation/devicetree/bindings/sound/allwinner,sun50i-a64-codec-analog.yaml b/Documentation/devicetree/bindings/sound/allwinner,sun50i-a64-codec-analog.yaml
|
|
index 3b764415c..66859eb8f 100644
|
|
--- a/Documentation/devicetree/bindings/sound/allwinner,sun50i-a64-codec-analog.yaml
|
|
+++ b/Documentation/devicetree/bindings/sound/allwinner,sun50i-a64-codec-analog.yaml
|
|
@@ -21,6 +21,11 @@ properties:
|
|
description:
|
|
Regulator for the headphone amplifier
|
|
|
|
+ allwinner,internal-bias-resistor:
|
|
+ description:
|
|
+ Enable the internal 2.2K bias resistor between HBIAS and MICDET pins
|
|
+ type: boolean
|
|
+
|
|
required:
|
|
- compatible
|
|
- reg
|
|
--
|
|
2.34.0
|
|
|