Skip to contentSkip to conversation

ARM: exynos: Pull for v4.16

GIT PULL Krzysztof Kozlowski 2 participants 12 messages Dec 20, 2017 – Jan 3, 2018 Arm Samsung Exynos

lore
Share & tools
lore

Krzysztof Kozlowski

author maintainer
#0 lore raw

Hi,

Nothing special, no specific order of pulls, no dependencies.

Best regards,
Krzysztof

author maintainer
#1 lore raw

[GIT PULL 3/3] ARM: defconfig: exynos: config for v4.16

The following changes since commit 4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323:

Linux 4.15-rc1 (2017-11-26 16:01:47 -0800)

are available in the git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux.git tags/samsung-defconfig-4.16

for you to fetch changes up to 6b732dfb698991b5f518be1ddf329c1c2eb3d7cb:

ARM: exynos_defconfig: Enable CONFIG_EXYNOS_IOMMU (2017-12-14 18:57:38 +0100)

----------------------------------------------------------------
Samsung defconfig changes for v4.16

1. Enable missing drivers for supported Exynos boards (PMU, CEC, MHL bridge, ASoC for Odroid XU3/XU4).
2. Enable Exynos IOMMU driver on exynos_defconfig.

----------------------------------------------------------------
Marek Szyprowski (2):
ARM: exynos_defconfig: Enable missing drivers for supported Exynos boards
ARM: multi_v7_defconfig: Enable missing drivers for supported Exynos boards

Shuah Khan (1):
ARM: exynos_defconfig: Enable CONFIG_EXYNOS_IOMMU

 arch/arm/configs/exynos_defconfig   | 7 +++++++
 arch/arm/configs/multi_v7_defconfig | 5 +++++
 2 files changed, 12 insertions(+)
author maintainer
#2 lore raw

Re: [GIT PULL 3/3] ARM: defconfig: exynos: config for v4.16

Quoted 25 lines · Krzysztof Kozlowski

The following changes since commit 4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323:

Linux 4.15-rc1 (2017-11-26 16:01:47 -0800)

are available in the git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux.git tags/samsung-defconfig-4.16

for you to fetch changes up to 6b732dfb698991b5f518be1ddf329c1c2eb3d7cb:

ARM: exynos_defconfig: Enable CONFIG_EXYNOS_IOMMU (2017-12-14 18:57:38 +0100)

----------------------------------------------------------------
Samsung defconfig changes for v4.16

1. Enable missing drivers for supported Exynos boards (PMU, CEC, MHL bridge, ASoC for Odroid XU3/XU4).
2. Enable Exynos IOMMU driver on exynos_defconfig.

----------------------------------------------------------------
Marek Szyprowski (2):
ARM: exynos_defconfig: Enable missing drivers for supported Exynos boards
ARM: multi_v7_defconfig: Enable missing drivers for supported Exynos boards

Quoted 6 lines

Shuah Khan (1):
ARM: exynos_defconfig: Enable CONFIG_EXYNOS_IOMMU

 arch/arm/configs/exynos_defconfig   | 7 +++++++
 arch/arm/configs/multi_v7_defconfig | 5 +++++
 2 files changed, 12 insertions(+)

I forgot to mention possible conflict for multi_v7_defconfig (with changes coming from keystone tree). The resolution is to take everything from both branches. Something like:

@@@ -558,7 -583,8 +559,9 @@@ CONFIG_VIDEO_STI_DELTA=
CONFIG_VIDEO_RENESAS_JPU=m CONFIG_VIDEO_RENESAS_VSP1=m CONFIG_V4L_TEST_DRIVERS=y
+CONFIG_VIDEO_VIVID=m
+ CONFIG_CEC_PLATFORM_DRIVERS=y
+ CONFIG_VIDEO_SAMSUNG_S5P_CEC=m
# CONFIG_MEDIA_SUBDRV_AUTOSELECT is not set CONFIG_VIDEO_ADV7180=m CONFIG_VIDEO_ML86V7667=m
@@@ -582,16 -613,12 +585,17 @@@ CONFIG_DRM_RCAR_DU=
CONFIG_DRM_RCAR_LVDS=y
CONFIG_DRM_SUN4I=m
CONFIG_DRM_TEGRA=y
+CONFIG_DRM_PANEL_SIMPLE=y
CONFIG_DRM_PANEL_SAMSUNG_LD9040=m CONFIG_DRM_PANEL_SAMSUNG_S6E8AA0=m
-CONFIG_DRM_PANEL_SIMPLE=y +CONFIG_DRM_DUMB_VGA_DAC=m +CONFIG_DRM_NXP_PTN3460=m +CONFIG_DRM_PARADE_PS8622=m +CONFIG_DRM_I2C_ADV7511=m +CONFIG_DRM_I2C_ADV7511_AUDIO=y
+ CONFIG_DRM_SII9234=m
CONFIG_DRM_STI=m
-CONFIG_DRM_VC4=y
+CONFIG_DRM_VC4=m
CONFIG_FB_ARMCLCD=y
CONFIG_FB_EFI=y
CONFIG_FB_WM8505=y
@@@ -626,9 -655,10 +630,10 @@@ CONFIG_SND_SOC_SAMSUNG=
CONFIG_SND_SOC_SAMSUNG_SMDK_WM8994=m CONFIG_SND_SOC_SMDK_WM8994_PCM=m CONFIG_SND_SOC_SNOW=m
+ CONFIG_SND_SOC_ODROID=m CONFIG_SND_SOC_SH4_FSI=m CONFIG_SND_SOC_RCAR=m -CONFIG_SND_SIMPLE_SCU_CARD=m +CONFIG_SND_SOC_STI=m CONFIG_SND_SUN4I_CODEC=m CONFIG_SND_SOC_TEGRA=m CONFIG_SND_SOC_TEGRA20_I2S=m

Best regards,
Krzysztof

#3 lore raw

Re: [GIT PULL 3/3] ARM: defconfig: exynos: config for v4.16

In reply to Krzysztof Kozlowski
Quoted 11 lines · Krzysztof Kozlowski

The following changes since commit 4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323:

Linux 4.15-rc1 (2017-11-26 16:01:47 -0800)

are available in the git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux.git tags/samsung-defconfig-4.16

for you to fetch changes up to 6b732dfb698991b5f518be1ddf329c1c2eb3d7cb:

Quoted 8 lines

ARM: exynos_defconfig: Enable CONFIG_EXYNOS_IOMMU (2017-12-14 18:57:38 +0100)

----------------------------------------------------------------
Samsung defconfig changes for v4.16

1. Enable missing drivers for supported Exynos boards (PMU, CEC, MHL bridge, ASoC for Odroid XU3/XU4).
2. Enable Exynos IOMMU driver on exynos_defconfig.

Pulled into next/soc, thanks!

Arnd

author maintainer
#4 lore raw

[GIT PULL 1/3] ARM: dts: exynos: DTS for v4.16

In reply to Krzysztof Kozlowski

The following changes since commit 4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323:

Linux 4.15-rc1 (2017-11-26 16:01:47 -0800)

are available in the git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux.git tags/samsung-dt-4.16

for you to fetch changes up to 3be1ecf291df8191f5ea395d363acc8fa029b5fd:

ARM: dts: exynos: Use lower case hex addresses in node unit addresses (2017-12-18 18:15:51 +0100)

----------------------------------------------------------------
Samsung DTS ARM changes for 4.16

1. Add sound support to Odroid XU4 (and adjustments to Odroid XU3).
2. Enable WiFi on Trats2.
3. Add CPU perf counters to Exynos54xx.
4. Add power domains to certain chipsets.
5. Add Exynos4412 ISP clock controller which finally solves freezes when accessing ISP clocks while having the ISP power domain turned off.
6. Add Pseudo and True RNG to Exynos5.
7. Minor fixes for Trats2, Odroid XU3/XU4, Exynos5410.
8. Cleanup of some of DTC warnings

----------------------------------------------------------------
Dongjin Kim (1):
ARM: dts: exynos: Fix property values of LDO15/17 for Odroid XU3/XU4

Krzysztof Kozlowski (2):
ARM: dts: exynos: Add missing interrupt-controller properties to Exynos5410 PMU
ARM: dts: exynos: Use lower case hex addresses in node unit addresses

Marek Szyprowski (5):
ARM: dts: exynos: Add Exynos4412 ISP clock controller
ARM: dts: exynos: Add audio power domain support to Exynos542x SoCs
ARM: dts: exynos: Fix power domain node names for Exynos5250
ARM: dts: exynos: Add audio power domain to Exynos5250
ARM: dts: exynos: Add G3D power domain to Exynos5250

Marian Mihailescu (1):
ARM: dts: exynos: Add CPU perf counters to Exynos54xx boards

Simon Shields (2):
ARM: dts: exynos: Correct Trats2 panel reset line
ARM: dts: exynos: Add bcm4334 device node to Trats2

Sylwester Nawrocki (2):
ARM: dts: exynos: Switch to dedicated Odroid XU3 sound card binding
ARM: dts: exynos: Add sound support for Odroid XU4

Tobias Jakobi (1):
ARM: dts: exynos: Move G2D node to exynos5.dtsi

?ukasz Stelmach (3):
ARM: dts: exynos: Remove duplicate definitions of SSS nodes for Exynos5
ARM: dts: exynos: Add DT nodes for PRNG in Exynos5 SoCs
ARM: dts: exynos: Add nodes for True Random Number Generator

 arch/arm/boot/dts/exynos3250.dtsi                 |  34 +++---
 arch/arm/boot/dts/exynos4.dtsi                    |  57 +++++-----
 arch/arm/boot/dts/exynos4210.dtsi                 |   8 +-
 arch/arm/boot/dts/exynos4412-pinctrl.dtsi         |   2 +-
 arch/arm/boot/dts/exynos4412-trats2.dts           |  29 ++++-
 arch/arm/boot/dts/exynos4412.dtsi                 |  93 +++++++++-------
 arch/arm/boot/dts/exynos5.dtsi                    |  45 ++++++--
 arch/arm/boot/dts/exynos5250.dtsi                 | 126 +++++++++++++---------
 arch/arm/boot/dts/exynos5260.dtsi                 |  26 ++---
 arch/arm/boot/dts/exynos5410.dtsi                 |  18 ++++
 arch/arm/boot/dts/exynos5420-cpus.dtsi            |  10 ++
 arch/arm/boot/dts/exynos5420.dtsi                 |  71 ++++++++----
 arch/arm/boot/dts/exynos5422-cpus.dtsi            |  10 ++
 arch/arm/boot/dts/exynos5422-odroid-core.dtsi     |   6 +-
 arch/arm/boot/dts/exynos5422-odroidxu3-audio.dtsi |  60 +++++++----
 arch/arm/boot/dts/exynos5422-odroidxu4.dts        |  52 +++++++++
 arch/arm/boot/dts/exynos5440.dtsi                 |  14 +--
 arch/arm/boot/dts/exynos54xx.dtsi                 |  26 +++--
 18 files changed, 464 insertions(+), 223 deletions(-)
#5 lore raw

Re: [GIT PULL 1/3] ARM: dts: exynos: DTS for v4.16

Quoted 4 lines · Krzysztof Kozlowski

----------------------------------------------------------------
Samsung DTS ARM changes for 4.16

Quoted 9 lines

1. Add sound support to Odroid XU4 (and adjustments to Odroid XU3).
2. Enable WiFi on Trats2.
3. Add CPU perf counters to Exynos54xx.
4. Add power domains to certain chipsets.
5. Add Exynos4412 ISP clock controller which finally solves freezes when accessing ISP clocks while having the ISP power domain turned off.
6. Add Pseudo and True RNG to Exynos5.
7. Minor fixes for Trats2, Odroid XU3/XU4, Exynos5410.
8. Cleanup of some of DTC warnings

Pulled into next/dt, thanks!

Arnd

#6 lore raw

Re: [GIT PULL 1/3] ARM: dts: exynos: DTS for v4.16

In reply to Krzysztof Kozlowski
Quoted 2 lines · Krzysztof Kozlowski

Krzysztof Kozlowski (2):
ARM: dts: exynos: Add missing interrupt-controller properties to Exynos5410 PMU

I just looked through the remaining warnings in 4.15 and noticed that you had sent this
only for 4.16, not as a bug fix.

Looking closer, it seems incorrect:

According to the comment added to exynos_dt_pmu_match[] in commit 8b283c025443 ("ARM: exynos4/5: convert pmu wakeup to stacked domains"), the RTC is not able to wake up the system through the PMU on Exynos5410, unlike Exynos5420. However, when the RTC DT node got added in commit e1e146b1b062 ("ARM: dts: exynos: Add RTC and I2C to Exynos5410"), it was a straight copy of the Exynos5420 node, which now causes the warning from dtc, and now you add the "interrupt-controller" property to the device node, but the code still doesn't handle it at all.

Can you have another look here?

Arnd

author maintainer
#7 lore raw

Re: [GIT PULL 1/3] ARM: dts: exynos: DTS for v4.16

Quoted 11 lines · Arnd Bergmann
Quoted 2 lines · Krzysztof Kozlowski

Krzysztof Kozlowski (2):
ARM: dts: exynos: Add missing interrupt-controller properties to Exynos5410 PMU

I just looked through the remaining warnings in 4.15 and noticed that you had sent this
only for 4.16, not as a bug fix.

Looking closer, it seems incorrect:

Quoted 8 lines

According to the comment added to exynos_dt_pmu_match[] in commit 8b283c025443 ("ARM: exynos4/5: convert pmu wakeup to stacked domains"), the RTC is not able to wake up the system through the PMU on Exynos5410, unlike Exynos5420. However, when the RTC DT node got added in commit e1e146b1b062 ("ARM: dts: exynos: Add RTC and I2C to Exynos5410"), it was a straight copy of the Exynos5420 node, which now causes the warning from dtc, and now you add the "interrupt-controller" property to the device node, but the code still doesn't handle it at all.

I received a Odroid XU board, based on Exynos5410, from Markus Reichl (big thanks! it is second board from fivetechno.de) but I did not setup testing infrastructure on it yet.

I see you pulled my entire DT branch, including the change around Exynos5410 PMU's interrupts. I think your analysis and your follow-up patch are correct which means that RTC on Exynso5410 might be broken now. It is getting late in RC-cycle so I could send a follow-up pull with fixed DT including your patch [1].

The other way is to drop my commit entirely. I could prepare a rebased DT branch for this as well.

Let me know if you have any preferences.

Best regards,
Krzysztof

[1] https://patchwork.kernel.org/patch/10128431/

author maintainer
#8 lore raw

[GIT PULL 2/3] arm64: dts: exynos: DTS for v4.16

In reply to Krzysztof Kozlowski

The following changes since commit 4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323:

Linux 4.15-rc1 (2017-11-26 16:01:47 -0800)

are available in the git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux.git tags/samsung-dt64-4.16

for you to fetch changes up to 3808354701090723b53c73afaccfcafdeb8a5bfe:

arm64: dts: exynos: Increase bus frequency for MHL chip (2017-12-04 17:51:10 +0100)

----------------------------------------------------------------
Samsung DTS ARM64 changes for v4.16

1. Add CPU perf counters to Exynos5433.
2. Add missing power domains to Exynos5433.
3. Add NFC chip to Exynos5433 TM2/TM2E.
4. Fix obscure bugs on I2C transfers to MHL chip on TM2/TM2E.

----------------------------------------------------------------
Andrzej Hajda (1):
arm64: dts: exynos: Increase bus frequency for MHL chip

Marek Szyprowski (8):
arm64: dts: exynos: Add CPU performance counters to Exynos5433 boards
arm64: dts: exynos: Add support for S3FWRN5 NFC chip to TM2(e) boards
arm64: dts: exynos: Add GSCL power domain to Exynos 5433 SoC
arm64: dts: exynos: Add DISP power domain to Exynos 5433 SoC
arm64: dts: exynos: Add MSCL power domain to Exynos 5433 SoC
arm64: dts: exynos: Add MFC power domain to Exynos 5433 SoC
arm64: dts: exynos: Add AUD power domain to Exynos5433 SoC
arm64: dts: exynos: Add remaining power domains to Exynos5433 SoC

 .../boot/dts/exynos/exynos5433-tm2-common.dtsi     |  14 +++
 arch/arm64/boot/dts/exynos/exynos5433.dtsi         | 132 +++++++++++++++++++++
 2 files changed, 146 insertions(+)
#9 lore raw

Re: [GIT PULL 2/3] arm64: dts: exynos: DTS for v4.16

Quoted 6 lines · Krzysztof Kozlowski

Samsung DTS ARM64 changes for v4.16

1. Add CPU perf counters to Exynos5433.
2. Add missing power domains to Exynos5433.
3. Add NFC chip to Exynos5433 TM2/TM2E.
4. Fix obscure bugs on I2C transfers to MHL chip on TM2/TM2E.

Pulled into next/dt, thanks!

One question: do you know if anyone is working on support for the newer Exynos chips, or the Nexell S5P6818 series? It seems odd that none of the chips from the past three years are supported yet.

Arnd

author maintainer
#10 lore raw

Re: [GIT PULL 2/3] arm64: dts: exynos: DTS for v4.16

Quoted 8 lines · Arnd Bergmann
Quoted 6 lines · Krzysztof Kozlowski

Samsung DTS ARM64 changes for v4.16

1. Add CPU perf counters to Exynos5433.
2. Add missing power domains to Exynos5433.
3. Add NFC chip to Exynos5433 TM2/TM2E.
4. Fix obscure bugs on I2C transfers to MHL chip on TM2/TM2E.

Quoted 5 lines

Pulled into next/dt, thanks!

One question: do you know if anyone is working on support for the newer Exynos chips, or the Nexell S5P6818 series? It seems odd that none of the chips from the past three years are supported yet.

For the new Exynos chips - I think Samsung folks are working on them. Indeed it looks like the pace for new chips has slowed down.

The Nexell series are similar to Exynos but this is different company so probably they would end up in different sub-arch. Only some IP blocks are similar to Exynos even though the datasheet has Samsung marks. I saw patches for U-Boot (I do not remember the author) so maybe soon something will happen on LKML.

Best regards,
Krzysztof

#11 lore raw

Re: [GIT PULL 2/3] arm64: dts: exynos: DTS for v4.16

Quoted 8 lines · Krzysztof Kozlowski
Quoted 1 line · Arnd Bergmann

On Wed, Dec 20, 2017 at 6:36 PM, Krzysztof Kozlowski <[email protected]> wrote:

The Nexell series are similar to Exynos but this is different company so probably they would end up in different sub-arch. Only some IP blocks are similar to Exynos even though the datasheet has Samsung marks. I saw patches for U-Boot (I do not remember the author) so maybe soon something will happen on LKML.

Ok. When I looked at an old 32-bit 3.4 kernel tree, I could see no similarity to Exynos, but it seems that there is now an active development tree for a 64-bit 4.x kernel for the Samsung Artik board series, just no patches.

Arnd