ARM: exynos_defconfig: Enable CONFIG_SND_SOC_ODROIDX2 for Odroid-XU3
Subsystems (2)
PATCH v2 1/2 ARM: exynos_defconfig: Enable CONFIG_SND_SOC_ODROIDX2 for Odroid-XU3
Enable CONFIG_SND_SOC_ODROIDX2 and CONFIG_SND_SIMPLE_CARD to enable sound on Odroid-XU3 board.
Below is the output of boot log.
[ 6.021550] max98090 5-0010: MAX98090 REVID=0x43 [ 6.025506] random: nonblocking pool is initialized [ 6.047297] asoc-simple-card sound: HiFi <-> 3830000.i2s mapping ok [ 6.068392] s5m-rtc s2mps14-rtc: setting system clock to 2015-06-07 12:51:06 UTC (1433681466) [ 6.123650] ALSA device list: [ 6.135203] #0: Odroid-XU3
--- arch/arm/configs/exynos_defconfig | 2 ++ 1 file changed, 2 insertions(+)
arch/arm/configs/exynos_defconfig +2 -0
@@ -144,6 +144,8 @@ CONFIG_SND=y CONFIG_SND_SOC=y CONFIG_SND_SOC_SAMSUNG=y CONFIG_SND_SOC_SNOW=y +CONFIG_SND_SOC_ODROIDX2=y +CONFIG_SND_SIMPLE_CARD=y CONFIG_USB=y CONFIG_USB_ANNOUNCE_NEW_DEVICES=y CONFIG_USB_XHCI_HCD=y
Signature · 1 line
2.4.3
PATCH v2 2/2 ARM: exynos_defconfig: Enable CONFIG_LEDS_PWM for Odroid-XU3
Enable CONFIG_LEDS_PWM amd CONFIG_LEDS_TRIGGER_HEARTBEAT for Odroid-XU3 board.
--- arch/arm/configs/exynos_defconfig | 6 ++++++ 1 file changed, 6 insertions(+)
arch/arm/configs/exynos_defconfig +6 -0
@@ -165,6 +165,12 @@ CONFIG_MMC_SDHCI_S3C_DMA=y CONFIG_MMC_DW=y CONFIG_MMC_DW_IDMAC=y CONFIG_MMC_DW_EXYNOS=y +CONFIG_NEW_LEDS=y +CONFIG_LEDS_CLASS=m +CONFIG_LEDS_PWM=m +CONFIG_LEDS_TRIGGERS=y +CONFIG_LEDS_TRIGGER_TIMER=m +CONFIG_LEDS_TRIGGER_HEARTBEAT=m CONFIG_RTC_CLASS=y CONFIG_RTC_DRV_MAX77686=y CONFIG_RTC_DRV_MAX77802=y
Signature · 1 line
2.4.3
Hi Anand,
Quoted 21 lines
Enable
CONFIG_SND_SOC_ODROIDX2andCONFIG_SND_SIMPLE_CARDto enable sound on Odroid-XU3 board.Below is the output of boot log.
[ 6.021550] max98090 5-0010: MAX98090 REVID=0x43 [ 6.025506] random: nonblocking pool is initialized [ 6.047297] asoc-simple-card sound: HiFi <-> 3830000.i2s mapping ok [ 6.068392] s5m-rtc s2mps14-rtc: setting system clock to 2015-06-07 12:51:06 UTC (1433681466) [ 6.123650] ALSA device list: [ 6.135203] #0: Odroid-XU3Signed-off-by Anand Moon <[email protected]>--- arch/arm/configs/exynos_defconfig | 2 ++ 1 file changed, 2 insertions(+)(quoted diff) +0
-0b/arch/arm/configs/exynos_defconfig index 9504e77..1b7253b 100644
arch/arm/configs/exynos_defconfig CONFIG_SND=y · line 151
Quoted 8 lines
arch/arm/configs/exynos_defconfig +2
-0@@ -144,6 +144,8 @@ CONFIG_SND=y CONFIG_SND_SOC=y CONFIG_SND_SOC_SAMSUNG=y CONFIG_SND_SOC_SNOW=y +CONFIG_SND_SOC_ODROIDX2=y +CONFIG_SND_SIMPLE_CARD=y CONFIG_USB=y CONFIG_USB_ANNOUNCE_NEW_DEVICES=y CONFIG_USB_XHCI_HCD=y
Signature · 5 lines
Best regards, Lukasz Majewski Samsung R&D Institute Poland (SRPOL) | Linux Platform Group
Re: [PATCHv2 2/2] ARM: exynos_defconfig: Enable CONFIG_LEDS_PWM for Odroid-XU3
In reply to Anand MoonHi Anand,
Quoted 15 lines
Enable
CONFIG_LEDS_PWMamdCONFIG_LEDS_TRIGGER_HEARTBEATfor Odroid-XU3 board.Signed-off-by Anand Moon <[email protected]>--- arch/arm/configs/exynos_defconfig | 6 ++++++ 1 file changed, 6 insertions(+)(quoted diff) +0
-0b/arch/arm/configs/exynos_defconfig index 1b7253b..2bbdf80 100644
arch/arm/configs/exynos_defconfig +0
-0@@ -165,6 +165,12 @@ CONFIG_MMC_SDHCI_S3C_DMA=y CONFIG_MMC_DW=y CONFIG_MMC_DW_IDMAC=y
arch/arm/configs/exynos_defconfig CONFIG_MMC_SDHCI_S3C_DMA=y · line 176
Quoted 10 lines
arch/arm/configs/exynos_defconfig +6
-0CONFIG_MMC_DW_EXYNOS=y +CONFIG_NEW_LEDS=y +CONFIG_LEDS_CLASS=m +CONFIG_LEDS_PWM=m +CONFIG_LEDS_TRIGGERS=y +CONFIG_LEDS_TRIGGER_TIMER=m +CONFIG_LEDS_TRIGGER_HEARTBEAT=m CONFIG_RTC_CLASS=y CONFIG_RTC_DRV_MAX77686=y CONFIG_RTC_DRV_MAX77802=y
Signature · 5 lines
Best regards, Lukasz Majewski Samsung R&D Institute Poland (SRPOL) | Linux Platform Group
Quoted 10 lines · Anand Moon
Enable
CONFIG_SND_SOC_ODROIDX2andCONFIG_SND_SIMPLE_CARDto enable sound on Odroid-XU3 board.Below is the output of boot log.
[ 6.021550] max98090 5-0010: MAX98090 REVID=0x43 [ 6.025506] random: nonblocking pool is initialized [ 6.047297] asoc-simple-card sound: HiFi <-> 3830000.i2s mapping ok [ 6.068392] s5m-rtc s2mps14-rtc: setting system clock to 2015-06-07 12:51:06 UTC (1433681466) [ 6.123650] ALSA device list: [ 6.135203] #0: Odroid-XU3
Answering the question "why" and "what is device" would be sufficient. You answered the first question ("enable sound") so you can just add second part - using the max98090 audio codec.
This whole dmesg does not bring any benefits here, especially the irrelevant items (like random or RTC). Could you trim the commit message?
Beside of that it looks fine however you marked this as "v2":
1. I cannot find v1 on Google. The title was the same?
2. Where is changelog?
Best regards,
Krzysztof
Re: [PATCHv2 2/2] ARM: exynos_defconfig: Enable CONFIG_LEDS_PWM for Odroid-XU3
In reply to Anand MoonQuoted 2 lines · Anand Moon
Enable
CONFIG_LEDS_PWMamdCONFIG_LEDS_TRIGGER_HEARTBEATfor Odroid-XU3 board.
I am a little confused.
This is v2.
I found version 3, a little different:
http://www.spinics.net/lists/linux-samsung-soc/msg44406.html
(which
Where is the changelog? Which one is newer? Should we drop the v3? While at it, can you add information WHY do you want to enable LEDS?
Best regards,
Krzysztof
Hi,
Quoted 19 lines · Krzysztof Kozlowski
Quoted 10 lines · Anand Moon
Enable
CONFIG_SND_SOC_ODROIDX2andCONFIG_SND_SIMPLE_CARDto enable sound on Odroid-XU3 board.Below is the output of boot log.
[ 6.021550] max98090 5-0010: MAX98090 REVID=0x43 [ 6.025506] random: nonblocking pool is initialized [ 6.047297] asoc-simple-card sound: HiFi <-> 3830000.i2s mapping ok [ 6.068392] s5m-rtc s2mps14-rtc: setting system clock to 2015-06-07 12:51:06 UTC (1433681466) [ 6.123650] ALSA device list: [ 6.135203] #0: Odroid-XU3Answering the question "why" and "what is device" would be sufficient. You answered the first question ("enable sound") so you can just add second part - using the max98090 audio codec.
This whole dmesg does not bring any benefits here, especially the irrelevant items (like random or RTC). Could you trim the commit message?
Quoted 6 lines
Beside of that it looks fine however you marked this as "v2":
1. I cannot find v1 on Google. The title was the same?
2. Where is changelog?Best regards,
Krzysztof
Look like I an doom to make mistake.
This series of patch got PATCHv2 tag,
It's my mistake. not maintain the version of the patch. I will resend it.
-Anand Moon
Re: [PATCHv2 2/2] ARM: exynos_defconfig: Enable CONFIG_LEDS_PWM for Odroid-XU3
In reply to Krzysztof KozlowskiHi
Quoted 12 lines · Krzysztof Kozlowski
Quoted 2 lines · Anand Moon
Enable
CONFIG_LEDS_PWMamdCONFIG_LEDS_TRIGGER_HEARTBEATfor Odroid-XU3 board.I am a little confused.
This is v2.
I found version 3, a little different:
http://www.spinics.net/lists/linux-samsung-soc/msg44406.html
(which
Quoted 6 lines
Where is the changelog? Which one is newer? Should we drop the v3? While at it, can you add information WHY do you want to enable LEDS?
Best regards,
Krzysztof
Look like I an doom to make mistake.
With the introduction of this
http://www.spinics.net/lists/linux-samsung-soc/msg44481.html
We need to enable CONFIG_LEDS_PWM to make it working. So please drop the v3 patch.
-Anand Moon
Re: [PATCHv2 2/2] ARM: exynos_defconfig: Enable CONFIG_LEDS_PWM for Odroid-XU3
In reply to Anand MoonW dniu 08.06.2015 o 02:03, Anand Moon pisze:
Quoted 4 lines
Enable
CONFIG_LEDS_PWMamdCONFIG_LEDS_TRIGGER_HEARTBEATfor Odroid-XU3 board.Signed-off-by Anand Moon <[email protected]>
Dear Anand,
There was some confusion for this patch (mixed v3 and v2) so overall it slipped through fingers.
Can you please:
1. Rebase and resend.
2. Enable them as built-ins, not modules. For exynos_defconfig everything is built-in which makes easier to test on various boards.
3. Enable LEDS_GPIO. I don't know why it disappeared...
Best regards,
Krzysztof
Quoted 22 lines
--- arch/arm/configs/exynos_defconfig | 6 ++++++ 1 file changed, 6 insertions(+)arch/arm/configs/exynos_defconfig +6
-0@@ -165,6 +165,12 @@ CONFIG_MMC_SDHCI_S3C_DMA=y CONFIG_MMC_DW=y CONFIG_MMC_DW_IDMAC=y CONFIG_MMC_DW_EXYNOS=y +CONFIG_NEW_LEDS=y +CONFIG_LEDS_CLASS=m +CONFIG_LEDS_PWM=m +CONFIG_LEDS_TRIGGERS=y +CONFIG_LEDS_TRIGGER_TIMER=m +CONFIG_LEDS_TRIGGER_HEARTBEAT=m CONFIG_RTC_CLASS=y CONFIG_RTC_DRV_MAX77686=y CONFIG_RTC_DRV_MAX77802=y
Re: [PATCHv2 2/2] ARM: exynos_defconfig: Enable CONFIG_LEDS_PWM for Odroid-XU3
HI Krzysztof,
Quoted 35 lines · Krzysztof Kozlowski
W dniu 08.06.2015 o 02:03, Anand Moon pisze:
Quoted 4 lines
Enable
CONFIG_LEDS_PWMamdCONFIG_LEDS_TRIGGER_HEARTBEATfor Odroid-XU3 board.Signed-off-by Anand Moon <[email protected]>Dear Anand,
There was some confusion for this patch (mixed v3 and v2) so overall it slipped through fingers.
Can you please:
1. Rebase and resend.
2. Enable them as built-ins, not modules. Forexynos_defconfigeverything is built-in which makes easier to test on various boards.
3. EnableLEDS_GPIO. I don't know why it disappeared...Best regards,
KrzysztofQuoted 14 lines
--- arch/arm/configs/exynos_defconfig | 6 ++++++ 1 file changed, 6 insertions(+)arch/arm/configs/exynos_defconfig +2
-0@@ -165,6 +165,12 @@ CONFIG_MMC_SDHCI_S3C_DMA=y CONFIG_MMC_DW=y CONFIG_MMC_DW_IDMAC=y CONFIG_MMC_DW_EXYNOS=y +CONFIG_NEW_LEDS=y +CONFIG_LEDS_CLASS=m
Quoted 9 lines
arch/arm/configs/exynos_defconfig CONFIG_MMC_SDHCI_S3C_DMA=y · line 176
Quoted 8 lines
arch/arm/configs/exynos_defconfig +4
-0+CONFIG_LEDS_PWM=m +CONFIG_LEDS_TRIGGERS=y +CONFIG_LEDS_TRIGGER_TIMER=m +CONFIG_LEDS_TRIGGER_HEARTBEAT=m CONFIG_RTC_CLASS=y CONFIG_RTC_DRV_MAX77686=y CONFIG_RTC_DRV_MAX77802=y
Thanks for you input I will resend this patch.
-Anand Moon