linux-postmarketos-exynos5: add support for snow and peach-pit (MR 2888)
This commit is contained in:
parent
8b4e160ce5
commit
ac6091a4a7
13 changed files with 601 additions and 25 deletions
|
@ -0,0 +1,31 @@
|
|||
From 372e3d504849abb51c626ae6d3a6cf64015cf4ee Mon Sep 17 00:00:00 2001
|
||||
From: Anton Bambura <jenneron@protonmail.com>
|
||||
Date: Fri, 31 Dec 2021 09:43:18 +0200
|
||||
Subject: [PATCH 1/5] ARM: dts: exynos: snow: add mmc aliases
|
||||
|
||||
Add aliases for eMMC, SD card and WiFi, so nubmers will not be
|
||||
changed anymore.
|
||||
|
||||
Signed-off-by: Anton Bambura <jenneron@protonmail.com>
|
||||
---
|
||||
arch/arm/boot/dts/exynos5250-snow-common.dtsi | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
diff --git a/arch/arm/boot/dts/exynos5250-snow-common.dtsi b/arch/arm/boot/dts/exynos5250-snow-common.dtsi
|
||||
index 2335c4687..7a0896ff0 100644
|
||||
--- a/arch/arm/boot/dts/exynos5250-snow-common.dtsi
|
||||
+++ b/arch/arm/boot/dts/exynos5250-snow-common.dtsi
|
||||
@@ -15,6 +15,10 @@
|
||||
/ {
|
||||
aliases {
|
||||
i2c104 = &i2c_104;
|
||||
+
|
||||
+ mmc0 = &mmc_0; /* eMMC */
|
||||
+ mmc1 = &mmc_2; /* SD */
|
||||
+ mmc2 = &mmc_3; /* WiFi */
|
||||
};
|
||||
|
||||
memory@40000000 {
|
||||
--
|
||||
2.34.1
|
||||
|
|
@ -0,0 +1,33 @@
|
|||
From e48471140e9fb8dd116ba49d2698bf4c0e18f49e Mon Sep 17 00:00:00 2001
|
||||
From: Anton Bambura <jenneron@protonmail.com>
|
||||
Date: Fri, 31 Dec 2021 11:20:23 +0200
|
||||
Subject: [PATCH 2/5] ARM: dts: exynos: snow: use num-interpolated-steps for
|
||||
backlight
|
||||
|
||||
Use num-interpolated-steps in backlight node to get more
|
||||
brightness levels.
|
||||
|
||||
Signed-off-by: Anton Bambura <jenneron@protonmail.com>
|
||||
---
|
||||
arch/arm/boot/dts/exynos5250-snow-common.dtsi | 5 +++--
|
||||
1 file changed, 3 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/arch/arm/boot/dts/exynos5250-snow-common.dtsi b/arch/arm/boot/dts/exynos5250-snow-common.dtsi
|
||||
index 7a0896ff0..5c6e74c52 100644
|
||||
--- a/arch/arm/boot/dts/exynos5250-snow-common.dtsi
|
||||
+++ b/arch/arm/boot/dts/exynos5250-snow-common.dtsi
|
||||
@@ -201,8 +201,9 @@ xxti {
|
||||
backlight: backlight {
|
||||
compatible = "pwm-backlight";
|
||||
pwms = <&pwm 0 1000000 0>;
|
||||
- brightness-levels = <0 100 500 1000 1500 2000 2500 2800>;
|
||||
- default-brightness-level = <7>;
|
||||
+ brightness-levels = <1 255>;
|
||||
+ num-interpolated-steps = <254>;
|
||||
+ default-brightness-level = <254>;
|
||||
enable-gpios = <&gpx3 0 GPIO_ACTIVE_HIGH>;
|
||||
power-supply = <&fet1>;
|
||||
pinctrl-0 = <&pwm0_out>;
|
||||
--
|
||||
2.34.1
|
||||
|
|
@ -0,0 +1,42 @@
|
|||
From 170fa62ecc113a44cf33591c7b38643eaf457c55 Mon Sep 17 00:00:00 2001
|
||||
From: Anton Bambura <jenneron@protonmail.com>
|
||||
Date: Wed, 5 Jan 2022 16:13:53 +0200
|
||||
Subject: [PATCH] ARM: dts: exynos: snow: add atmel mxt touchpad
|
||||
|
||||
Add Atmel mXT touchpad (like peach chromebooks) as it is used in
|
||||
some revisions (probably rev5 only).
|
||||
|
||||
Signed-off-by: Anton Bambura <jenneron@protonmail.com>
|
||||
---
|
||||
arch/arm/boot/dts/exynos5250-snow-common.dtsi | 15 +++++++++++++++
|
||||
1 file changed, 15 insertions(+)
|
||||
|
||||
diff --git a/arch/arm/boot/dts/exynos5250-snow-common.dtsi b/arch/arm/boot/dts/exynos5250-snow-common.dtsi
|
||||
index c952a6151..83c1a3a4e 100644
|
||||
--- a/arch/arm/boot/dts/exynos5250-snow-common.dtsi
|
||||
+++ b/arch/arm/boot/dts/exynos5250-snow-common.dtsi
|
||||
@@ -446,6 +446,21 @@ trackpad@67 {
|
||||
interrupt-parent = <&gpx1>;
|
||||
wakeup-source;
|
||||
};
|
||||
+
|
||||
+ /* Atmel mXT which is used in some revisions */
|
||||
+ trackpad@4b {
|
||||
+ compatible = "atmel,maxtouch";
|
||||
+ reg = <0x4b>;
|
||||
+ interrupt-parent = <&gpx1>;
|
||||
+ interrupts = <2 IRQ_TYPE_EDGE_FALLING>;
|
||||
+ wakeup-source;
|
||||
+ linux,gpio-keymap = <KEY_RESERVED
|
||||
+ KEY_RESERVED
|
||||
+ KEY_RESERVED /* GPIO0 */
|
||||
+ KEY_RESERVED /* GPIO1 */
|
||||
+ KEY_RESERVED /* GPIO2 */
|
||||
+ BTN_LEFT>; /* GPIO3 */
|
||||
+ };
|
||||
};
|
||||
|
||||
/*
|
||||
--
|
||||
2.34.1
|
||||
|
|
@ -0,0 +1,31 @@
|
|||
From 703e52a60b69d71e2bd6e65276b16cdfbe3833f8 Mon Sep 17 00:00:00 2001
|
||||
From: Anton Bambura <jenneron@protonmail.com>
|
||||
Date: Fri, 31 Dec 2021 11:28:32 +0200
|
||||
Subject: [PATCH 3/5] ARM: dts: exynos: peach-pit: add mmc aliases
|
||||
|
||||
Add aliases for eMMC, SD card and WiFi, so numbers will not be
|
||||
changed anymore.
|
||||
|
||||
Signed-off-by: Anton Bambura <jenneron@protonmail.com>
|
||||
---
|
||||
arch/arm/boot/dts/exynos5420-peach-pit.dts | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
diff --git a/arch/arm/boot/dts/exynos5420-peach-pit.dts b/arch/arm/boot/dts/exynos5420-peach-pit.dts
|
||||
index e76fb104d..4aa51746b 100644
|
||||
--- a/arch/arm/boot/dts/exynos5420-peach-pit.dts
|
||||
+++ b/arch/arm/boot/dts/exynos5420-peach-pit.dts
|
||||
@@ -31,6 +31,10 @@ / {
|
||||
aliases {
|
||||
/* Assign 20 so we don't get confused w/ builtin ones */
|
||||
i2c20 = &i2c_tunnel;
|
||||
+
|
||||
+ mmc0 = &mmc_0; /* eMMC */
|
||||
+ mmc1 = &mmc_2; /* uSD */
|
||||
+ mmc2 = &mmc_1; /* WiFi */
|
||||
};
|
||||
|
||||
backlight: backlight {
|
||||
--
|
||||
2.34.1
|
||||
|
|
@ -0,0 +1,33 @@
|
|||
From c19c5a90307725f0974c534299f382106fd07a59 Mon Sep 17 00:00:00 2001
|
||||
From: Anton Bambura <jenneron@protonmail.com>
|
||||
Date: Fri, 31 Dec 2021 11:29:56 +0200
|
||||
Subject: [PATCH 4/5] ARM: dts: exynos: peach-pit: use num-interpolated-steps
|
||||
for backlight
|
||||
|
||||
Use num-interpolated-steps in backlight node to get more
|
||||
brightness levels.
|
||||
|
||||
Signed-off-by: Anton Bambura <jenneron@protonmail.com>
|
||||
---
|
||||
arch/arm/boot/dts/exynos5420-peach-pit.dts | 5 +++--
|
||||
1 file changed, 3 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/arch/arm/boot/dts/exynos5420-peach-pit.dts b/arch/arm/boot/dts/exynos5420-peach-pit.dts
|
||||
index 4aa51746b..dcbeaf9cb 100644
|
||||
--- a/arch/arm/boot/dts/exynos5420-peach-pit.dts
|
||||
+++ b/arch/arm/boot/dts/exynos5420-peach-pit.dts
|
||||
@@ -40,8 +40,9 @@ aliases {
|
||||
backlight: backlight {
|
||||
compatible = "pwm-backlight";
|
||||
pwms = <&pwm 0 1000000 0>;
|
||||
- brightness-levels = <0 100 500 1000 1500 2000 2500 2800>;
|
||||
- default-brightness-level = <7>;
|
||||
+ brightness-levels = <1 255>;
|
||||
+ num-interpolated-steps = <254>;
|
||||
+ default-brightness-level = <254>;
|
||||
power-supply = <&tps65090_fet1>;
|
||||
pinctrl-0 = <&pwm0_out>;
|
||||
pinctrl-names = "default";
|
||||
--
|
||||
2.34.1
|
||||
|
|
@ -0,0 +1,31 @@
|
|||
From 122e449a4ed8e447b749e449d1af39801626d657 Mon Sep 17 00:00:00 2001
|
||||
From: Anton Bambura <jenneron@protonmail.com>
|
||||
Date: Fri, 31 Dec 2021 11:30:32 +0200
|
||||
Subject: [PATCH 5/5] ARM: dts: exynos: peach-pit: enable GPU
|
||||
|
||||
Enable GPU for this device.
|
||||
|
||||
Signed-off-by: Anton Bambura <jenneron@protonmail.com>
|
||||
---
|
||||
arch/arm/boot/dts/exynos5420-peach-pit.dts | 5 +++++
|
||||
1 file changed, 5 insertions(+)
|
||||
|
||||
diff --git a/arch/arm/boot/dts/exynos5420-peach-pit.dts b/arch/arm/boot/dts/exynos5420-peach-pit.dts
|
||||
index dcbeaf9cb..25c1a44ab 100644
|
||||
--- a/arch/arm/boot/dts/exynos5420-peach-pit.dts
|
||||
+++ b/arch/arm/boot/dts/exynos5420-peach-pit.dts
|
||||
@@ -194,6 +194,11 @@ &fimd {
|
||||
samsung,invert-vclk;
|
||||
};
|
||||
|
||||
+&gpu {
|
||||
+ status = "okay";
|
||||
+ mali-supply = <&buck4_reg>;
|
||||
+};
|
||||
+
|
||||
&hdmi {
|
||||
status = "okay";
|
||||
hpd-gpios = <&gpx3 7 GPIO_ACTIVE_HIGH>;
|
||||
--
|
||||
2.34.1
|
||||
|
|
@ -0,0 +1,43 @@
|
|||
From 3477f4de2d05c35d9c58c127c5d6271212b6daa7 Mon Sep 17 00:00:00 2001
|
||||
From: Anton Bambura <jenneron@protonmail.com>
|
||||
Date: Tue, 1 Feb 2022 12:57:32 +0200
|
||||
Subject: [PATCH] HACK: ARM: dts: exynos: snow: disable HDMI audio
|
||||
|
||||
When enabling Internal Microphone, HDMI codec results in:
|
||||
[ 730.054945] hdmi-audio-codec hdmi-audio-codec.14.auto: Only one simultaneous stream supported!
|
||||
[ 730.054961] hdmi-audio-codec hdmi-audio-codec.14.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -22
|
||||
[ 730.054978] Primary: soc_pcm_open() failed (-22)
|
||||
---
|
||||
arch/arm/boot/dts/exynos5250-snow-rev5.dts | 2 +-
|
||||
arch/arm/boot/dts/exynos5250-snow.dts | 2 +-
|
||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/arch/arm/boot/dts/exynos5250-snow-rev5.dts b/arch/arm/boot/dts/exynos5250-snow-rev5.dts
|
||||
index f8ca61df6..33651c0c5 100644
|
||||
--- a/arch/arm/boot/dts/exynos5250-snow-rev5.dts
|
||||
+++ b/arch/arm/boot/dts/exynos5250-snow-rev5.dts
|
||||
@@ -27,7 +27,7 @@ cpu {
|
||||
};
|
||||
|
||||
codec {
|
||||
- sound-dai = <&max98090 0>, <&hdmi>;
|
||||
+ sound-dai = <&max98090 0>;
|
||||
};
|
||||
};
|
||||
};
|
||||
diff --git a/arch/arm/boot/dts/exynos5250-snow.dts b/arch/arm/boot/dts/exynos5250-snow.dts
|
||||
index a630bc654..6ed9a0f03 100644
|
||||
--- a/arch/arm/boot/dts/exynos5250-snow.dts
|
||||
+++ b/arch/arm/boot/dts/exynos5250-snow.dts
|
||||
@@ -25,7 +25,7 @@ cpu {
|
||||
};
|
||||
|
||||
codec {
|
||||
- sound-dai = <&max98095 0>, <&hdmi>;
|
||||
+ sound-dai = <&max98095 0>;
|
||||
};
|
||||
};
|
||||
};
|
||||
--
|
||||
2.34.1
|
||||
|
|
@ -0,0 +1,29 @@
|
|||
From f474179058e347268e2c60d40cb3595a91742d47 Mon Sep 17 00:00:00 2001
|
||||
From: Anton Bambura <jenneron@protonmail.com>
|
||||
Date: Tue, 1 Feb 2022 12:14:02 +0200
|
||||
Subject: [PATCH] HACK: ARM: dts: exynos: peach-pit: disable HDMI audio
|
||||
|
||||
When enabling Internal Microphone, HDMI codec results in:
|
||||
[ 730.054945] hdmi-audio-codec hdmi-audio-codec.14.auto: Only one simultaneous stream supported!
|
||||
[ 730.054961] hdmi-audio-codec hdmi-audio-codec.14.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -22
|
||||
[ 730.054978] Primary: soc_pcm_open() failed (-22)
|
||||
---
|
||||
arch/arm/boot/dts/exynos5420-peach-pit.dts | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/arch/arm/boot/dts/exynos5420-peach-pit.dts b/arch/arm/boot/dts/exynos5420-peach-pit.dts
|
||||
index e76fb104d..7842ab2a3 100644
|
||||
--- a/arch/arm/boot/dts/exynos5420-peach-pit.dts
|
||||
+++ b/arch/arm/boot/dts/exynos5420-peach-pit.dts
|
||||
@@ -94,7 +94,7 @@ cpu {
|
||||
};
|
||||
|
||||
codec {
|
||||
- sound-dai = <&max98090>, <&hdmi>;
|
||||
+ sound-dai = <&max98090>;
|
||||
};
|
||||
};
|
||||
|
||||
--
|
||||
2.34.1
|
||||
|
|
@ -0,0 +1,154 @@
|
|||
From dcde1b82bbf5bb4b4f58beb1dfa593d4d8e1501e Mon Sep 17 00:00:00 2001
|
||||
From: Anton Bambura <jenneron@protonmail.com>
|
||||
Date: Sat, 5 Feb 2022 03:19:07 +0200
|
||||
Subject: [PATCH 1/3] WIP: ASoC: samsung: snow: add jack detection support
|
||||
|
||||
Add jack detection support with two GPIOs:
|
||||
- samsung,hp-det;
|
||||
- samsung,mic-det.
|
||||
|
||||
This change works (alsa sends events, pulseaudio switches devices), but
|
||||
there are such messages in kmsg on each plug/unplug:
|
||||
[ 85.673023] snow-audio sound: ASoC: DAPM unknown pin Headphone
|
||||
[ 86.005010] snow-audio sound: ASoC: DAPM unknown pin Mic Jack
|
||||
|
||||
Signed-off-by: Anton Bambura <jenneron@protonmail.com>
|
||||
---
|
||||
sound/soc/samsung/snow.c | 86 ++++++++++++++++++++++++++++++++++++++++
|
||||
1 file changed, 86 insertions(+)
|
||||
|
||||
diff --git a/sound/soc/samsung/snow.c b/sound/soc/samsung/snow.c
|
||||
index 6da674e90..bd534c56f 100644
|
||||
--- a/sound/soc/samsung/snow.c
|
||||
+++ b/sound/soc/samsung/snow.c
|
||||
@@ -3,10 +3,12 @@
|
||||
// ASoC machine driver for Snow boards
|
||||
|
||||
#include <linux/clk.h>
|
||||
+#include <linux/gpio/consumer.h>
|
||||
#include <linux/module.h>
|
||||
#include <linux/platform_device.h>
|
||||
#include <linux/of.h>
|
||||
#include <linux/of_device.h>
|
||||
+#include <sound/jack.h>
|
||||
#include <sound/pcm_params.h>
|
||||
#include <sound/soc.h>
|
||||
|
||||
@@ -22,6 +24,32 @@ SND_SOC_DAILINK_DEFS(links,
|
||||
struct snow_priv {
|
||||
struct snd_soc_dai_link dai_link;
|
||||
struct clk *clk_i2s_bus;
|
||||
+ struct gpio_desc *gpiod_hp_det;
|
||||
+ struct gpio_desc *gpiod_mic_det;
|
||||
+};
|
||||
+
|
||||
+static struct snd_soc_jack snow_hp_jack;
|
||||
+
|
||||
+static struct snd_soc_jack_pin snow_hp_jack_pins[] = {
|
||||
+ { .pin = "Headphone", .mask = SND_JACK_HEADPHONE },
|
||||
+};
|
||||
+
|
||||
+static struct snd_soc_jack_gpio snow_hp_jack_gpio = {
|
||||
+ .name = "Headphones detection",
|
||||
+ .report = SND_JACK_HEADPHONE,
|
||||
+ .debounce_time = 150,
|
||||
+};
|
||||
+
|
||||
+static struct snd_soc_jack snow_mic_jack;
|
||||
+
|
||||
+static struct snd_soc_jack_pin snow_mic_jack_pins[] = {
|
||||
+ { .pin = "Mic Jack", .mask = SND_JACK_MICROPHONE },
|
||||
+};
|
||||
+
|
||||
+static struct snd_soc_jack_gpio snow_mic_jack_gpio = {
|
||||
+ .name = "Microphone detection",
|
||||
+ .report = SND_JACK_MICROPHONE,
|
||||
+ .debounce_time = 150,
|
||||
};
|
||||
|
||||
static int snow_card_hw_params(struct snd_pcm_substream *substream,
|
||||
@@ -105,9 +133,56 @@ static int snow_late_probe(struct snd_soc_card *card)
|
||||
{
|
||||
struct snd_soc_pcm_runtime *rtd;
|
||||
struct snd_soc_dai *codec_dai;
|
||||
+ struct snow_priv *priv = snd_soc_card_get_drvdata(card);
|
||||
+ const char *jack_name;
|
||||
+ int err;
|
||||
|
||||
rtd = snd_soc_get_pcm_runtime(card, &card->dai_link[0]);
|
||||
|
||||
+ if (priv->gpiod_hp_det) {
|
||||
+ jack_name = "Headphones";
|
||||
+
|
||||
+ err = snd_soc_card_jack_new(card, jack_name,
|
||||
+ SND_JACK_HEADPHONE,
|
||||
+ &snow_hp_jack,
|
||||
+ snow_hp_jack_pins,
|
||||
+ ARRAY_SIZE(snow_hp_jack_pins));
|
||||
+ if (err) {
|
||||
+ dev_err(rtd->dev,
|
||||
+ "Headphones Jack creation failed: %d\n", err);
|
||||
+ return err;
|
||||
+ }
|
||||
+
|
||||
+ snow_hp_jack_gpio.desc = priv->gpiod_hp_det;
|
||||
+
|
||||
+ err = snd_soc_jack_add_gpios(&snow_hp_jack, 1,
|
||||
+ &snow_hp_jack_gpio);
|
||||
+ if (err)
|
||||
+ dev_err(rtd->dev, "Headphones GPIOs not added: %d\n", err);
|
||||
+ }
|
||||
+
|
||||
+ if (priv->gpiod_mic_det) {
|
||||
+ jack_name = "Microphone";
|
||||
+
|
||||
+ err = snd_soc_card_jack_new(card, jack_name,
|
||||
+ SND_JACK_MICROPHONE,
|
||||
+ &snow_mic_jack,
|
||||
+ snow_mic_jack_pins,
|
||||
+ ARRAY_SIZE(snow_mic_jack_pins));
|
||||
+ if (err) {
|
||||
+ dev_err(rtd->dev,
|
||||
+ "Microphone Jack creation failed: %d\n", err);
|
||||
+ return err;
|
||||
+ }
|
||||
+
|
||||
+ snow_mic_jack_gpio.desc = priv->gpiod_mic_det;
|
||||
+
|
||||
+ err = snd_soc_jack_add_gpios(&snow_mic_jack, 1,
|
||||
+ &snow_mic_jack_gpio);
|
||||
+ if (err)
|
||||
+ dev_err(rtd->dev, "Microphone GPIOs not added: %d\n", err);
|
||||
+ }
|
||||
+
|
||||
/* In the multi-codec case codec_dais 0 is MAX98095 and 1 is HDMI. */
|
||||
codec_dai = asoc_rtd_to_codec(rtd, 0);
|
||||
|
||||
@@ -129,6 +204,7 @@ static int snow_probe(struct platform_device *pdev)
|
||||
struct device_node *cpu, *codec;
|
||||
struct snd_soc_dai_link *link;
|
||||
struct snow_priv *priv;
|
||||
+ struct gpio_desc *gpiod;
|
||||
int ret;
|
||||
|
||||
priv = devm_kzalloc(dev, sizeof(*priv), GFP_KERNEL);
|
||||
@@ -137,6 +213,16 @@ static int snow_probe(struct platform_device *pdev)
|
||||
|
||||
link = &priv->dai_link;
|
||||
|
||||
+ gpiod = devm_gpiod_get_optional(dev, "samsung,hp-det", GPIOD_IN);
|
||||
+ priv->gpiod_hp_det = gpiod;
|
||||
+ if (IS_ERR(gpiod))
|
||||
+ return PTR_ERR(gpiod);
|
||||
+
|
||||
+ gpiod = devm_gpiod_get_optional(dev, "samsung,mic-det", GPIOD_IN);
|
||||
+ priv->gpiod_mic_det = gpiod;
|
||||
+ if (IS_ERR(gpiod))
|
||||
+ return PTR_ERR(gpiod);
|
||||
+
|
||||
link->dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF |
|
||||
SND_SOC_DAIFMT_CBS_CFS;
|
||||
|
||||
--
|
||||
2.34.1
|
||||
|
|
@ -0,0 +1,52 @@
|
|||
From 6306844736f3b737fcfb10cc258e1262bcea56c4 Mon Sep 17 00:00:00 2001
|
||||
From: Anton Bambura <jenneron@protonmail.com>
|
||||
Date: Sat, 5 Feb 2022 03:33:17 +0200
|
||||
Subject: [PATCH 2/3] ARM: dts: exynos: snow: add jack detection
|
||||
|
||||
Add GPIOs for headphones and microphone detection.
|
||||
|
||||
Signed-off-by: Anton Bambura <jenneron@protonmail.com>
|
||||
---
|
||||
arch/arm/boot/dts/exynos5250-snow-common.dtsi | 19 +++++++++++++++++++
|
||||
1 file changed, 19 insertions(+)
|
||||
|
||||
diff --git a/arch/arm/boot/dts/exynos5250-snow-common.dtsi b/arch/arm/boot/dts/exynos5250-snow-common.dtsi
|
||||
index 3f8fbe414..96a5e1b24 100644
|
||||
--- a/arch/arm/boot/dts/exynos5250-snow-common.dtsi
|
||||
+++ b/arch/arm/boot/dts/exynos5250-snow-common.dtsi
|
||||
@@ -178,6 +178,11 @@ charger {
|
||||
|
||||
sound {
|
||||
samsung,i2s-controller = <&i2s0>;
|
||||
+ samsung,hp-det-gpios = <&gpx2 2 GPIO_ACTIVE_HIGH>;
|
||||
+ samsung,mic-det-gpios = <&gpx2 0 GPIO_ACTIVE_LOW>;
|
||||
+
|
||||
+ pinctrl-names = "default";
|
||||
+ pinctrl-0 = <&hp_det_gpio &mic_det_gpio>;
|
||||
};
|
||||
|
||||
usb3_vbus_reg: regulator-usb3 {
|
||||
@@ -635,6 +640,20 @@ ec_irq: ec-irq {
|
||||
samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
|
||||
};
|
||||
|
||||
+ mic_det_gpio: mic-det-gpio {
|
||||
+ samsung,pins = "gpx2-0";
|
||||
+ samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
|
||||
+ samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
|
||||
+ samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
|
||||
+ };
|
||||
+
|
||||
+ hp_det_gpio: hp-det-gpio {
|
||||
+ samsung,pins = "gpx2-2";
|
||||
+ samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
|
||||
+ samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
|
||||
+ samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
|
||||
+ };
|
||||
+
|
||||
tps65090_irq: tps65090-irq {
|
||||
samsung,pins = "gpx2-6";
|
||||
samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
|
||||
--
|
||||
2.34.1
|
||||
|
|
@ -0,0 +1,52 @@
|
|||
From b28810a224d700e098ae09c48a7d161a34e8dcb0 Mon Sep 17 00:00:00 2001
|
||||
From: Anton Bambura <jenneron@protonmail.com>
|
||||
Date: Sat, 5 Feb 2022 03:34:45 +0200
|
||||
Subject: [PATCH 3/3] ARM: dts: exynos: peach-pit: add jack detection
|
||||
|
||||
Add GPIOs for headphones and microphone detection.
|
||||
|
||||
Signed-off-by: Anton Bambura <jenneron@protonmail.com>
|
||||
---
|
||||
arch/arm/boot/dts/exynos5420-peach-pit.dts | 19 +++++++++++++++++++
|
||||
1 file changed, 19 insertions(+)
|
||||
|
||||
diff --git a/arch/arm/boot/dts/exynos5420-peach-pit.dts b/arch/arm/boot/dts/exynos5420-peach-pit.dts
|
||||
index 42d1ba06d..081300138 100644
|
||||
--- a/arch/arm/boot/dts/exynos5420-peach-pit.dts
|
||||
+++ b/arch/arm/boot/dts/exynos5420-peach-pit.dts
|
||||
@@ -93,6 +93,11 @@ sound {
|
||||
samsung,model = "Peach-Pit-I2S-MAX98090";
|
||||
samsung,i2s-controller = <&i2s0>;
|
||||
samsung,audio-codec = <&max98090>;
|
||||
+ samsung,hp-det-gpios = <&gpx2 1 GPIO_ACTIVE_HIGH>;
|
||||
+ samsung,mic-det-gpios = <&gpx1 7 GPIO_ACTIVE_LOW>;
|
||||
+
|
||||
+ pinctrl-names = "default";
|
||||
+ pinctrl-0 = <&hp_det_gpio &mic_det_gpio>;
|
||||
|
||||
cpu {
|
||||
sound-dai = <&i2s0 0>;
|
||||
@@ -835,6 +840,20 @@ ec_irq: ec-irq {
|
||||
samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
|
||||
};
|
||||
|
||||
+ mic_det_gpio: mic-det-gpio {
|
||||
+ samsung,pins = "gpx1-7";
|
||||
+ samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
|
||||
+ samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
|
||||
+ samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
|
||||
+ };
|
||||
+
|
||||
+ hp_det_gpio: hp-det-gpio {
|
||||
+ samsung,pins = "gpx2-1";
|
||||
+ samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
|
||||
+ samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
|
||||
+ samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
|
||||
+ };
|
||||
+
|
||||
tps65090_irq: tps65090-irq {
|
||||
samsung,pins = "gpx2-5";
|
||||
samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
|
||||
--
|
||||
2.34.1
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
pkgname=linux-postmarketos-exynos5
|
||||
pkgver=5.16.1
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
pkgdesc="Mainline kernel fork for Samsung Exynos5 devices"
|
||||
arch="armv7"
|
||||
_carch="arm"
|
||||
|
@ -54,6 +54,17 @@ source="
|
|||
0014-ARM-dts-Add-support-for-Samsung-Klimt-WiFi.patch
|
||||
0015-dt-bindings-arm-samsung-document-Klimt-LTE-board-bin.patch
|
||||
0016-ARM-dts-Add-support-for-Samsung-Klimt-LTE.patch
|
||||
0017-ARM-dts-exynos-snow-add-mmc-aliases.patch
|
||||
0018-ARM-dts-exynos-snow-use-num-interpolated-steps-for-b.patch
|
||||
0019-ARM-dts-exynos-snow-add-atmel-mxt-touchpad.patch
|
||||
0020-ARM-dts-exynos-peach-pit-add-mmc-aliases.patch
|
||||
0021-ARM-dts-exynos-peach-pit-use-num-interpolated-steps-.patch
|
||||
0022-ARM-dts-exynos-peach-pit-enable-GPU.patch
|
||||
0023-HACK-ARM-dts-exynos-snow-disable-HDMI-audio.patch
|
||||
0024-HACK-ARM-dts-exynos-peach-pit-disable-HDMI-audio.patch
|
||||
0025-WIP-ASoC-samsung-snow-add-jack-detection-support.patch
|
||||
0026-ARM-dts-exynos-snow-add-jack-detection.patch
|
||||
0027-ARM-dts-exynos-peach-pit-add-jack-detection.patch
|
||||
"
|
||||
builddir="$srcdir/linux-${_kernver//_/-}"
|
||||
|
||||
|
@ -84,7 +95,7 @@ package() {
|
|||
|
||||
sha512sums="
|
||||
f47cf92065c7445518452052566251642f701089494c8b5eb7d5b0e147d7177b016957481e0b98050840d79e2b838cfb088aeee1941fd41b75b681972f2fec5d linux-5.16.1.tar.xz
|
||||
0f8a3c7a1aec868f60405e723b44107f66f6518a25fe5e64ace50c9ec4d89b533a7b63775236b81a84017791a569a49a18698f72bb8bf71aacffedafca8f2ecf config-postmarketos-exynos5.armv7
|
||||
f42997c126572ddda012111fdfe4426daf0c8ae22124bdfc28ff604d65aeb04b041c423653e4209c5b8cabf0adced16274318cfa665a736905aaff2b0fb3c626 config-postmarketos-exynos5.armv7
|
||||
8818dee159da213314d21affb33873217a9c281b01598776c46bc26fcde790675e157fc5c604ec432f22d2ee780e703e8590f268a57e54fd0f74fe6d4ad6f315 0001-ODROID-COMMON-gpu-drm-Add-Hardkernel-3.2-LCD-driver-.patch
|
||||
1e460183a1e34f25ff615f8e1ead274dc224fb2b337924a799fca3807d382870dbcfc3418f0ff203ce6533fe416e56541a0f93a2e4ff6bc072ae2fbb7245de39 0002-ODROID-COMMON-gpu-drm-Add-new-Tiny-DRM-driver-with-I.patch
|
||||
7f4771e6fc701223f5e693e694385daede79e854231c94054179520f5f6b0e21d668554082143ae28048e4a6c2cdfc0608db46d9938a02cde1d9d3a9628be60a 0003-ODROID-COMMON-hwmon-pwm-fan-fix-to-add-pwm1_enable-t.patch
|
||||
|
@ -101,4 +112,15 @@ d552e78c7a7c029274766200dba88a9af3b22e60f393e1fcd345a527de26c203222308ecce0b212e
|
|||
36a175f5c6775e5b03a521ac8c57b1dafb565de78bbe46d4a77141f362eeb76f5872b6cb380401f2987c6dd480affbc08954ec9b9adfb4ea21ef0d670f3e858f 0014-ARM-dts-Add-support-for-Samsung-Klimt-WiFi.patch
|
||||
a0d5bf1292155da056b07a2384885ca11a4602e1ade3f0672c92e537cce6f5bd631ef1e0389418f5259468f637577ed1335293cb70764e5de23ad134a0725752 0015-dt-bindings-arm-samsung-document-Klimt-LTE-board-bin.patch
|
||||
70111f8591a1a566473dbb04a4dcfded110789196922d166719604afcfc6c6d5d5fd66d75c1e020be055c86c2c7b3deac59a13f593d37620027fc75bcfaad7af 0016-ARM-dts-Add-support-for-Samsung-Klimt-LTE.patch
|
||||
d937ff84674771fde27299fd00612c31dbd4c8410b43501fdf1dea9ce9fc5b029060203752cd0f03292093cca7456ea7f6dc81bcde5c895b79db7d03b278d1a3 0017-ARM-dts-exynos-snow-add-mmc-aliases.patch
|
||||
d780bb6a90ca7a473b56f9a45b18318ffa5611b8a81b7e489e20680800bd8b481875bff0a05b2a6c3243bf6efb3ffc0329c248a3cb98ceda0f1f4f9cffbf4ae9 0018-ARM-dts-exynos-snow-use-num-interpolated-steps-for-b.patch
|
||||
3bab175626a6a58b7f7254bb4fe0297d39e3891bf50c861fc0a689c00ffa60848a4ffe61df13276904b2fd95d79d5b2b58619d292c26b93daf3a4ea7eb3fab46 0019-ARM-dts-exynos-snow-add-atmel-mxt-touchpad.patch
|
||||
b8d81a436984e8ac820a78c24d800485f845a58c6d3d291a89656b78c00ff4f123006adf0dc66c086e6ac7d0e76193f2f59e8f0972aebbc4ae93b676d671b73f 0020-ARM-dts-exynos-peach-pit-add-mmc-aliases.patch
|
||||
2a7c222c217ddf468ea3ab39cbd943e80d8e0c806778063dff5c18af9465828b8a3557433344c9b3580089ac4db248c433f1b8aa2d7ef181b6d1e13054baa7bf 0021-ARM-dts-exynos-peach-pit-use-num-interpolated-steps-.patch
|
||||
3631ef02553ae0085bc079cc667e89b3fbd30763ea8d0d2c9c8bf5bddc20a841fea3ee55c8023d24a702f84babee209ab67d2e162e9a8f25541133d695fed1e0 0022-ARM-dts-exynos-peach-pit-enable-GPU.patch
|
||||
5cbcbec6cde266d9c73dd8f558f4e4fd41b4229cafdddcd139bd24c95b6f14f2adc06f7ff716bcb189ef0f7ea420bdf7298508fb8629feee561f27e24283b405 0023-HACK-ARM-dts-exynos-snow-disable-HDMI-audio.patch
|
||||
3641e949e139b62f4c090566562ae1b1013b85add4f0eb960e4f9a2c00053bde80a22f89717103a8a1e59db48fa651eeb787a21bcc8988676b9c83bdb359ba1e 0024-HACK-ARM-dts-exynos-peach-pit-disable-HDMI-audio.patch
|
||||
7e4de24b46abd9b54297592090e8e0f3559563ff48dfa764f937b63982ed338596b891e0a4a546fe8fae5e06992ac62f15b394b52a16d58280d341f0b7ddc5d8 0025-WIP-ASoC-samsung-snow-add-jack-detection-support.patch
|
||||
cd6eca38325363eb3dae5adb973624288dce5c6e4c90b14203090fdaec1aa0721384f9bfa7eb5051f5efdc988999ed0acfee23b1d11e5cd91d90a5c227ca5c71 0026-ARM-dts-exynos-snow-add-jack-detection.patch
|
||||
8dc11bdb132846bbf59ddd5e2a6e02b3910db5b8cfc58dc4715121afd321427d087537d0640e6ecbd70c36bd4977756e17f0b14b83a480d48622e26a35132d0c 0027-ARM-dts-exynos-peach-pit-add-jack-detection.patch
|
||||
"
|
||||
|
|
|
@ -272,7 +272,7 @@ CONFIG_GENERIC_CALIBRATE_DELAY=y
|
|||
CONFIG_ARCH_SUPPORTS_UPROBES=y
|
||||
CONFIG_ARM_PATCH_PHYS_VIRT=y
|
||||
CONFIG_GENERIC_BUG=y
|
||||
CONFIG_PGTABLE_LEVELS=2
|
||||
CONFIG_PGTABLE_LEVELS=3
|
||||
|
||||
#
|
||||
# System Type
|
||||
|
@ -309,6 +309,7 @@ CONFIG_ARCH_MULTI_V6_V7=y
|
|||
# CONFIG_ARCH_ARTPEC is not set
|
||||
# CONFIG_ARCH_ASPEED is not set
|
||||
# CONFIG_ARCH_AT91 is not set
|
||||
# CONFIG_ARCH_AXXIA is not set
|
||||
# CONFIG_ARCH_BCM is not set
|
||||
# CONFIG_ARCH_BERLIN is not set
|
||||
# CONFIG_ARCH_DIGICOLOR is not set
|
||||
|
@ -321,7 +322,7 @@ CONFIG_ARCH_EXYNOS5=y
|
|||
#
|
||||
# Exynos SoCs
|
||||
#
|
||||
# CONFIG_SOC_EXYNOS5250 is not set
|
||||
CONFIG_SOC_EXYNOS5250=y
|
||||
# CONFIG_SOC_EXYNOS5260 is not set
|
||||
# CONFIG_SOC_EXYNOS5410 is not set
|
||||
CONFIG_SOC_EXYNOS5420=y
|
||||
|
@ -390,7 +391,7 @@ CONFIG_CPU_CP15_MMU=y
|
|||
#
|
||||
# Processor Features
|
||||
#
|
||||
# CONFIG_ARM_LPAE is not set
|
||||
CONFIG_ARM_LPAE=y
|
||||
CONFIG_ARM_THUMB=y
|
||||
# CONFIG_ARM_THUMBEE is not set
|
||||
CONFIG_ARM_VIRT_EXT=y
|
||||
|
@ -458,7 +459,6 @@ CONFIG_MCPM=y
|
|||
CONFIG_BIG_LITTLE=y
|
||||
# CONFIG_BL_SWITCHER is not set
|
||||
CONFIG_VMSPLIT_3G=y
|
||||
# CONFIG_VMSPLIT_3G_OPT is not set
|
||||
# CONFIG_VMSPLIT_2G is not set
|
||||
# CONFIG_VMSPLIT_1G is not set
|
||||
CONFIG_PAGE_OFFSET=0xC0000000
|
||||
|
@ -484,7 +484,6 @@ CONFIG_ARCH_FLATMEM_ENABLE=y
|
|||
CONFIG_ARCH_SPARSEMEM_ENABLE=y
|
||||
CONFIG_HIGHMEM=y
|
||||
CONFIG_HIGHPTE=y
|
||||
CONFIG_CPU_SW_DOMAIN_PAN=y
|
||||
CONFIG_HW_PERF_EVENTS=y
|
||||
CONFIG_ARCH_WANT_GENERAL_HUGETLB=y
|
||||
# CONFIG_ARM_MODULE_PLTS is not set
|
||||
|
@ -660,6 +659,8 @@ CONFIG_HAVE_HW_BREAKPOINT=y
|
|||
CONFIG_HAVE_PERF_REGS=y
|
||||
CONFIG_HAVE_PERF_USER_STACK_DUMP=y
|
||||
CONFIG_HAVE_ARCH_JUMP_LABEL=y
|
||||
CONFIG_MMU_GATHER_TABLE_FREE=y
|
||||
CONFIG_MMU_GATHER_RCU_TABLE_FREE=y
|
||||
CONFIG_ARCH_HAVE_NMI_SAFE_CMPXCHG=y
|
||||
CONFIG_ARCH_WANT_IPC_PARSE_VERSION=y
|
||||
CONFIG_HAVE_ARCH_SECCOMP=y
|
||||
|
@ -674,6 +675,7 @@ CONFIG_LTO_NONE=y
|
|||
CONFIG_HAVE_CONTEXT_TRACKING=y
|
||||
CONFIG_HAVE_VIRT_CPU_ACCOUNTING_GEN=y
|
||||
CONFIG_HAVE_IRQ_TIME_ACCOUNTING=y
|
||||
CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE=y
|
||||
CONFIG_HAVE_MOD_ARCH_SPECIFIC=y
|
||||
CONFIG_MODULES_USE_ELF_REL=y
|
||||
CONFIG_ARCH_HAS_ELF_RANDOMIZE=y
|
||||
|
@ -816,6 +818,7 @@ CONFIG_SELECT_MEMORY_MODEL=y
|
|||
CONFIG_FLATMEM_MANUAL=y
|
||||
# CONFIG_SPARSEMEM_MANUAL is not set
|
||||
CONFIG_FLATMEM=y
|
||||
CONFIG_HAVE_FAST_GUP=y
|
||||
CONFIG_ARCH_KEEP_MEMBLOCK=y
|
||||
CONFIG_MEMORY_ISOLATION=y
|
||||
CONFIG_SPLIT_PTLOCK_CPUS=4
|
||||
|
@ -823,9 +826,11 @@ CONFIG_COMPACTION=y
|
|||
# CONFIG_PAGE_REPORTING is not set
|
||||
CONFIG_MIGRATION=y
|
||||
CONFIG_CONTIG_ALLOC=y
|
||||
CONFIG_PHYS_ADDR_T_64BIT=y
|
||||
CONFIG_BOUNCE=y
|
||||
# CONFIG_KSM is not set
|
||||
CONFIG_DEFAULT_MMAP_MIN_ADDR=4096
|
||||
# CONFIG_TRANSPARENT_HUGEPAGE is not set
|
||||
# CONFIG_CLEANCACHE is not set
|
||||
# CONFIG_FRONTSWAP is not set
|
||||
CONFIG_CMA=y
|
||||
|
@ -839,6 +844,7 @@ CONFIG_GENERIC_EARLY_IOREMAP=y
|
|||
# CONFIG_IDLE_PAGE_TRACKING is not set
|
||||
# CONFIG_PERCPU_STATS is not set
|
||||
# CONFIG_GUP_TEST is not set
|
||||
CONFIG_ARCH_HAS_PTE_SPECIAL=y
|
||||
CONFIG_KMAP_LOCAL=y
|
||||
CONFIG_KMAP_LOCAL_NON_LINEAR_PTE_ARRAY=y
|
||||
|
||||
|
@ -1629,7 +1635,7 @@ CONFIG_BT_HCIBPA10X=m
|
|||
CONFIG_BT_HCIBFUSB=m
|
||||
CONFIG_BT_HCIVHCI=m
|
||||
CONFIG_BT_MRVL=m
|
||||
# CONFIG_BT_MRVL_SDIO is not set
|
||||
CONFIG_BT_MRVL_SDIO=m
|
||||
CONFIG_BT_ATH3K=m
|
||||
# CONFIG_BT_MTKSDIO is not set
|
||||
# end of Bluetooth device drivers
|
||||
|
@ -2294,7 +2300,7 @@ CONFIG_LIBERTAS_THINFIRM=m
|
|||
# CONFIG_LIBERTAS_THINFIRM_DEBUG is not set
|
||||
CONFIG_LIBERTAS_THINFIRM_USB=m
|
||||
CONFIG_MWIFIEX=m
|
||||
# CONFIG_MWIFIEX_SDIO is not set
|
||||
CONFIG_MWIFIEX_SDIO=m
|
||||
CONFIG_MWIFIEX_USB=m
|
||||
CONFIG_WLAN_VENDOR_MEDIATEK=y
|
||||
CONFIG_MT7601U=m
|
||||
|
@ -2438,7 +2444,7 @@ CONFIG_KEYBOARD_SAMSUNG=y
|
|||
# CONFIG_KEYBOARD_OMAP4 is not set
|
||||
# CONFIG_KEYBOARD_TM2_TOUCHKEY is not set
|
||||
# CONFIG_KEYBOARD_XTKBD is not set
|
||||
# CONFIG_KEYBOARD_CROS_EC is not set
|
||||
CONFIG_KEYBOARD_CROS_EC=m
|
||||
# CONFIG_KEYBOARD_CAP11XX is not set
|
||||
# CONFIG_KEYBOARD_BCM is not set
|
||||
# CONFIG_KEYBOARD_CYPRESS_SF is not set
|
||||
|
@ -2800,7 +2806,7 @@ CONFIG_I2C_GPIO=y
|
|||
# CONFIG_I2C_PCA_PLATFORM is not set
|
||||
# CONFIG_I2C_RK3X is not set
|
||||
CONFIG_HAVE_S3C2410_I2C=y
|
||||
# CONFIG_I2C_S3C2410 is not set
|
||||
CONFIG_I2C_S3C2410=y
|
||||
# CONFIG_I2C_SIMTEC is not set
|
||||
# CONFIG_I2C_XILINX is not set
|
||||
|
||||
|
@ -2850,7 +2856,7 @@ CONFIG_SPI_GPIO=y
|
|||
# CONFIG_SPI_OC_TINY is not set
|
||||
# CONFIG_SPI_PL022 is not set
|
||||
# CONFIG_SPI_ROCKCHIP is not set
|
||||
CONFIG_SPI_S3C64XX=m
|
||||
CONFIG_SPI_S3C64XX=y
|
||||
# CONFIG_SPI_SC18IS602 is not set
|
||||
# CONFIG_SPI_SIFIVE is not set
|
||||
# CONFIG_SPI_MXIC is not set
|
||||
|
@ -3072,6 +3078,7 @@ CONFIG_BATTERY_SBS=y
|
|||
# CONFIG_CHARGER_BQ25980 is not set
|
||||
# CONFIG_CHARGER_BQ256XX is not set
|
||||
# CONFIG_CHARGER_SMB347 is not set
|
||||
CONFIG_CHARGER_TPS65090=m
|
||||
# CONFIG_BATTERY_GAUGE_LTC2941 is not set
|
||||
# CONFIG_BATTERY_GOLDFISH is not set
|
||||
# CONFIG_BATTERY_RT5033 is not set
|
||||
|
@ -3338,7 +3345,7 @@ CONFIG_MFD_CROS_EC_DEV=y
|
|||
# CONFIG_MFD_MAX14577 is not set
|
||||
# CONFIG_MFD_MAX77620 is not set
|
||||
# CONFIG_MFD_MAX77650 is not set
|
||||
# CONFIG_MFD_MAX77686 is not set
|
||||
CONFIG_MFD_MAX77686=y
|
||||
# CONFIG_MFD_MAX77693 is not set
|
||||
# CONFIG_MFD_MAX77843 is not set
|
||||
# CONFIG_MFD_MAX8907 is not set
|
||||
|
@ -3375,7 +3382,7 @@ CONFIG_MFD_SYSCON=y
|
|||
# CONFIG_TPS65010 is not set
|
||||
# CONFIG_TPS6507X is not set
|
||||
# CONFIG_MFD_TPS65086 is not set
|
||||
# CONFIG_MFD_TPS65090 is not set
|
||||
CONFIG_MFD_TPS65090=y
|
||||
# CONFIG_MFD_TPS65217 is not set
|
||||
# CONFIG_MFD_TI_LP873X is not set
|
||||
# CONFIG_MFD_TI_LP87565 is not set
|
||||
|
@ -3443,6 +3450,8 @@ CONFIG_REGULATOR_GPIO=y
|
|||
# CONFIG_REGULATOR_MAX8893 is not set
|
||||
# CONFIG_REGULATOR_MAX8952 is not set
|
||||
# CONFIG_REGULATOR_MAX8973 is not set
|
||||
CONFIG_REGULATOR_MAX77686=y
|
||||
CONFIG_REGULATOR_MAX77802=y
|
||||
# CONFIG_REGULATOR_MAX77826 is not set
|
||||
# CONFIG_REGULATOR_MCP16502 is not set
|
||||
# CONFIG_REGULATOR_MP5416 is not set
|
||||
|
@ -3475,6 +3484,7 @@ CONFIG_REGULATOR_S5M8767=y
|
|||
# CONFIG_REGULATOR_TPS62360 is not set
|
||||
# CONFIG_REGULATOR_TPS65023 is not set
|
||||
# CONFIG_REGULATOR_TPS6507X is not set
|
||||
CONFIG_REGULATOR_TPS65090=y
|
||||
# CONFIG_REGULATOR_TPS65132 is not set
|
||||
# CONFIG_REGULATOR_TPS6524X is not set
|
||||
# CONFIG_REGULATOR_VCTRL is not set
|
||||
|
@ -4077,6 +4087,7 @@ CONFIG_DVB_SP2=m
|
|||
# CONFIG_IMX_IPUV3_CORE is not set
|
||||
CONFIG_DRM=y
|
||||
CONFIG_DRM_MIPI_DSI=y
|
||||
CONFIG_DRM_DP_AUX_BUS=m
|
||||
# CONFIG_DRM_DP_AUX_CHARDEV is not set
|
||||
# CONFIG_DRM_DEBUG_MM is not set
|
||||
CONFIG_DRM_KMS_HELPER=y
|
||||
|
@ -4111,7 +4122,7 @@ CONFIG_DRM_EXYNOS=y
|
|||
#
|
||||
# CRTCs
|
||||
#
|
||||
# CONFIG_DRM_EXYNOS_FIMD is not set
|
||||
CONFIG_DRM_EXYNOS_FIMD=y
|
||||
# CONFIG_DRM_EXYNOS5433_DECON is not set
|
||||
# CONFIG_DRM_EXYNOS7_DECON is not set
|
||||
CONFIG_DRM_EXYNOS_MIXER=y
|
||||
|
@ -4120,6 +4131,9 @@ CONFIG_DRM_EXYNOS_MIXER=y
|
|||
#
|
||||
# Encoders and Bridges
|
||||
#
|
||||
# CONFIG_DRM_EXYNOS_DPI is not set
|
||||
# CONFIG_DRM_EXYNOS_DSI is not set
|
||||
CONFIG_DRM_EXYNOS_DP=y
|
||||
CONFIG_DRM_EXYNOS_HDMI=y
|
||||
|
||||
#
|
||||
|
@ -4153,7 +4167,7 @@ CONFIG_DRM_PANEL=y
|
|||
# CONFIG_DRM_PANEL_DSI_CM is not set
|
||||
# CONFIG_DRM_PANEL_LVDS is not set
|
||||
CONFIG_DRM_PANEL_SIMPLE=y
|
||||
# CONFIG_DRM_PANEL_EDP is not set
|
||||
CONFIG_DRM_PANEL_EDP=m
|
||||
# CONFIG_DRM_PANEL_ELIDA_KD35T133 is not set
|
||||
# CONFIG_DRM_PANEL_FEIXIN_K101_IM2BA02 is not set
|
||||
# CONFIG_DRM_PANEL_FEIYANG_FY07024DI26A30D is not set
|
||||
|
@ -4249,6 +4263,7 @@ CONFIG_DRM_PARADE_PS8622=y
|
|||
# CONFIG_DRM_TI_TPD12S015 is not set
|
||||
# CONFIG_DRM_ANALOGIX_ANX6345 is not set
|
||||
# CONFIG_DRM_ANALOGIX_ANX78XX is not set
|
||||
CONFIG_DRM_ANALOGIX_DP=y
|
||||
# CONFIG_DRM_ANALOGIX_ANX7625 is not set
|
||||
# CONFIG_DRM_I2C_ADV7511 is not set
|
||||
# CONFIG_DRM_CDNS_MHDP8546 is not set
|
||||
|
@ -4359,10 +4374,7 @@ CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y
|
|||
# CONFIG_FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER is not set
|
||||
# end of Console display driver support
|
||||
|
||||
CONFIG_LOGO=y
|
||||
CONFIG_LOGO_LINUX_MONO=y
|
||||
CONFIG_LOGO_LINUX_VGA16=y
|
||||
CONFIG_LOGO_LINUX_CLUT224=y
|
||||
# CONFIG_LOGO is not set
|
||||
# end of Graphics support
|
||||
|
||||
CONFIG_SOUND=y
|
||||
|
@ -5035,7 +5047,6 @@ CONFIG_USB_GADGET_STORAGE_NUM_BUFFERS=2
|
|||
#
|
||||
# USB Peripheral Controller
|
||||
#
|
||||
# CONFIG_USB_FUSB300 is not set
|
||||
# CONFIG_USB_FOTG210_UDC is not set
|
||||
# CONFIG_USB_GR_UDC is not set
|
||||
# CONFIG_USB_R8A66597 is not set
|
||||
|
@ -5257,6 +5268,7 @@ CONFIG_RTC_INTF_DEV=y
|
|||
# CONFIG_RTC_DRV_DS1672 is not set
|
||||
# CONFIG_RTC_DRV_HYM8563 is not set
|
||||
# CONFIG_RTC_DRV_MAX6900 is not set
|
||||
CONFIG_RTC_DRV_MAX77686=y
|
||||
# CONFIG_RTC_DRV_RS5C372 is not set
|
||||
# CONFIG_RTC_DRV_ISL1208 is not set
|
||||
# CONFIG_RTC_DRV_ISL12022 is not set
|
||||
|
@ -5527,10 +5539,10 @@ CONFIG_FB_TFT_WATTEROTT=m
|
|||
# CONFIG_GOLDFISH is not set
|
||||
CONFIG_CHROME_PLATFORMS=y
|
||||
CONFIG_CROS_EC=y
|
||||
# CONFIG_CROS_EC_I2C is not set
|
||||
# CONFIG_CROS_EC_SPI is not set
|
||||
CONFIG_CROS_EC_I2C=y
|
||||
CONFIG_CROS_EC_SPI=y
|
||||
CONFIG_CROS_EC_PROTO=y
|
||||
# CONFIG_CROS_EC_CHARDEV is not set
|
||||
CONFIG_CROS_EC_CHARDEV=y
|
||||
CONFIG_CROS_EC_LIGHTBAR=y
|
||||
CONFIG_CROS_EC_VBC=y
|
||||
CONFIG_CROS_EC_DEBUGFS=y
|
||||
|
@ -5550,6 +5562,7 @@ CONFIG_COMMON_CLK=y
|
|||
# end of Clock driver for ARM Reference designs
|
||||
|
||||
# CONFIG_LMK04832 is not set
|
||||
CONFIG_COMMON_CLK_MAX77686=y
|
||||
# CONFIG_COMMON_CLK_MAX9485 is not set
|
||||
# CONFIG_COMMON_CLK_SI5341 is not set
|
||||
# CONFIG_COMMON_CLK_SI5351 is not set
|
||||
|
@ -5565,6 +5578,7 @@ CONFIG_COMMON_CLK_S2MPS11=y
|
|||
# CONFIG_COMMON_CLK_VC5 is not set
|
||||
# CONFIG_COMMON_CLK_FIXED_MMIO is not set
|
||||
CONFIG_COMMON_CLK_SAMSUNG=y
|
||||
CONFIG_EXYNOS_5250_COMMON_CLK=y
|
||||
CONFIG_EXYNOS_5420_COMMON_CLK=y
|
||||
CONFIG_EXYNOS_AUDSS_CLK_CON=y
|
||||
CONFIG_EXYNOS_CLKOUT=y
|
||||
|
@ -6031,7 +6045,7 @@ CONFIG_EXYNOS_ADC=y
|
|||
CONFIG_CM36651=y
|
||||
# CONFIG_GP2AP002 is not set
|
||||
# CONFIG_GP2AP020A00F is not set
|
||||
# CONFIG_SENSORS_ISL29018 is not set
|
||||
CONFIG_SENSORS_ISL29018=m
|
||||
# CONFIG_SENSORS_ISL29028 is not set
|
||||
# CONFIG_ISL29125 is not set
|
||||
# CONFIG_HID_SENSOR_ALS is not set
|
||||
|
@ -6250,6 +6264,7 @@ CONFIG_PHY_EXYNOS_MIPI_VIDEO=y
|
|||
CONFIG_PHY_SAMSUNG_USB2=y
|
||||
CONFIG_PHY_EXYNOS5250_USB2=y
|
||||
CONFIG_PHY_EXYNOS5_USBDRD=y
|
||||
# CONFIG_PHY_EXYNOS5250_SATA is not set
|
||||
# end of PHY Subsystem
|
||||
|
||||
# CONFIG_POWERCAP is not set
|
||||
|
@ -6275,6 +6290,7 @@ CONFIG_ANDROID_BINDER_DEVICES="binder,hwbinder,vndbinder"
|
|||
# CONFIG_ANDROID_BINDER_IPC_SELFTEST is not set
|
||||
# end of Android
|
||||
|
||||
# CONFIG_LIBNVDIMM is not set
|
||||
CONFIG_DAX=y
|
||||
CONFIG_NVMEM=y
|
||||
CONFIG_NVMEM_SYSFS=y
|
||||
|
@ -6433,6 +6449,8 @@ CONFIG_SYSFS=y
|
|||
CONFIG_TMPFS=y
|
||||
CONFIG_TMPFS_POSIX_ACL=y
|
||||
CONFIG_TMPFS_XATTR=y
|
||||
CONFIG_ARCH_SUPPORTS_HUGETLBFS=y
|
||||
# CONFIG_HUGETLBFS is not set
|
||||
CONFIG_MEMFD_CREATE=y
|
||||
CONFIG_CONFIGFS_FS=y
|
||||
# end of Pseudo filesystems
|
||||
|
@ -6915,9 +6933,14 @@ CONFIG_HAS_DMA=y
|
|||
CONFIG_DMA_OPS=y
|
||||
CONFIG_NEED_SG_DMA_LENGTH=y
|
||||
CONFIG_NEED_DMA_MAP_STATE=y
|
||||
CONFIG_ARCH_DMA_ADDR_T_64BIT=y
|
||||
CONFIG_DMA_DECLARE_COHERENT=y
|
||||
CONFIG_ARCH_HAS_SETUP_DMA_OPS=y
|
||||
CONFIG_ARCH_HAS_TEARDOWN_DMA_OPS=y
|
||||
CONFIG_ARCH_HAS_SYNC_DMA_FOR_DEVICE=y
|
||||
CONFIG_ARCH_HAS_SYNC_DMA_FOR_CPU=y
|
||||
CONFIG_SWIOTLB=y
|
||||
# CONFIG_DMA_RESTRICTED_POOL is not set
|
||||
CONFIG_DMA_NONCOHERENT_MMAP=y
|
||||
CONFIG_DMA_REMAP=y
|
||||
CONFIG_DMA_CMA=y
|
||||
|
|
Loading…
Reference in a new issue