25 Apr, 2019

2 commits

  • The Universal C210 (Exynos4210) uses the secure interface of MDMA0,
    instead of regular one - non-secure MDMA1. DTS was overriding MDMA1
    node address which caused DTC W=1 warning:

    arch/arm/boot/dts/exynos4.dtsi:707.25-716.6:
    Warning (simple_bus_reg): /soc/amba/mdma@12850000: simple-bus unit address format error, expected "12840000"

    Signed-off-by: Krzysztof Kozlowski

    Krzysztof Kozlowski
     
  • The ARM PMU and ARM architected timer nodes are part of ARM CPU design
    therefore they should not be inside the soc node. This also fixes DTC
    W=1 warnings like:

    arch/arm/boot/dts/exynos3250.dtsi:106.21-135.5:
    Warning (simple_bus_reg): /soc/fixed-rate-clocks: missing or empty reg/ranges property
    arch/arm/boot/dts/exynos3250.dtsi:676.7-680.5:
    Warning (simple_bus_reg): /soc/pmu: missing or empty reg/ranges property

    Signed-off-by: Krzysztof Kozlowski
    Tested-by: Marek Szyprowski

    Krzysztof Kozlowski
     

26 Jun, 2018

1 commit


22 Apr, 2018

1 commit


27 Feb, 2018

1 commit

  • Typo in unit address of PPMU ACP caused DTC warnings:

    arch/arm/boot/dts/exynos4412-odroidu3.dtb:
    Warning (simple_bus_reg): Node /soc/ppmu_acp@10ae0000 simple-bus unit address format error, expected "106e0000"

    PPMU ACP (under 0x10ae0000 address) is present only in Exynos4210 so
    move this node to exynos4210.dtsi with fixing the reg address to proper
    one.

    Signed-off-by: Krzysztof Kozlowski
    Reviewed-by: Chanwoo Choi

    Krzysztof Kozlowski
     

14 Feb, 2018

3 commits


04 Jan, 2018

1 commit


19 Dec, 2017

1 commit

  • Convert all hex addresses in node unit addresses to lower case to fix warnings
    like:
    arch/arm/boot/dts/exynos5422-odroidhc1.dtb: Warning (simple_bus_reg):
    Node /soc/nocp@10CA1000 simple-bus unit address format error, expected "10ca1000"

    Conversion was done using sed:

    $ sed -e 's/@\([a-zA-Z0-9_-]*\) {/@\L\1 {/' -i arch/arm/boot/dts/exynos*.dts*

    Suggested-by: Rob Herring
    Signed-off-by: Krzysztof Kozlowski

    Krzysztof Kozlowski
     

28 Nov, 2017

1 commit


20 Oct, 2017

1 commit

  • Fix dtc warnings for 'simple_bus_reg' due to leading 0s. Converted using
    the following command:

    perl -p -i -e 's/\@0+([0-9a-f])/\@$1/g' `find arch/arm/boot/dts -type -f -name '*.dts*'

    Dropped changes to ARM, Ltd. boards LED nodes and manually fixed up some
    occurrences of uppercase hex.

    Signed-off-by: Rob Herring
    Signed-off-by: Arnd Bergmann

    Rob Herring
     

27 Jul, 2017

1 commit

  • Add necessary parent clocks for audss (Audio SubSystem, MAUDIO) clock
    controller block.

    This allows driver to keep EPLL enabled before accessing any MAUDIO
    registers thus fixing silent hang. This silent hang appeared with
    commit 6edfa11cb396 ("clk: samsung: Add enable/disable operation for
    PLL36XX clocks"), e.g. on Odroid U3 usually with last (but unrelated)
    messages:

    [ 2.382741] input: gpio_keys as /devices/platform/gpio_keys/input/input0
    [ 2.405686] usb 1-3: new high-speed USB device number 3 using exynos-ehci
    [ 2.419843] max77686-rtc max77686-rtc: setting system clock to 2017-06-21 17:04:13 UTC (1498064653)

    Signed-off-by: Krzysztof Kozlowski
    Signed-off-by: Arnd Bergmann

    Krzysztof Kozlowski
     

31 Mar, 2017

2 commits


14 Mar, 2017

1 commit

  • The Exynos4412 has the same watchdog as newer SoCs (e.g. Exynos5250).
    Just like the others, for working it requires additional steps in Power
    Management Unit: unmasking the reset request and enabling the system
    reset. Without these additional steps in PMU, the watchdog will not be
    able to reset the system on expiration event.

    Change the compatible of Exynos4412 watchdog device node to
    samsung,exynos5250-wdt which includes the additional PMU steps.

    This will also fix infinite watchdog interrupt in soft mode (lack of
    interrupt clear) because it is also included in samsung,exynos5250-wdt.

    Signed-off-by: Krzysztof Kozlowski
    Acked-by: Guenter Roeck

    Krzysztof Kozlowski
     

01 Feb, 2017

1 commit


30 Jan, 2017

1 commit


29 Dec, 2016

1 commit


19 Nov, 2016

1 commit

  • …el/git/krzk/linux into next/dt

    Topic branch with DT changes for v4.10.

    Fix invalid GIC interrupt flags - type IRQ_TYPE_NONE is not allowed for GIC
    interrupts. Although this was working but with error messages like:
    genirq: Setting trigger mode 0 for irq 16 failed

    Use level high interrupt instead of type none. The choice of level high was
    rather an arbitrary decision hoping it will work on each platform. Tests shown
    no issues so far.

    * tag 'samsung-dt-gic-flags-4.10' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux:
    ARM: dts: exynos: Use human-friendly symbols for interrupt properties in exynos5440
    ARM: dts: exynos: Use human-friendly symbols for interrupt properties in exynos5260
    ARM: dts: exynos: Use human-friendly symbols for interrupt properties in exynos5
    ARM: dts: exynos: Use human-friendly symbols for interrupt properties in exynos4
    ARM: dts: exynos: Use human-friendly symbols for interrupt properties in exynos3250
    ARM: dts: exynos: Fix invalid GIC interrupt flags in exynos5440
    ARM: dts: exynos: Fix invalid GIC interrupt flags in exynos5260
    ARM: dts: exynos: Fix invalid GIC interrupt flags in exynos5410/exynos542x
    ARM: dts: exynos: Fix invalid GIC interrupt flags in exynos5250
    ARM: dts: exynos: Fix invalid GIC interrupt flags in exynos5
    ARM: dts: exynos: Fix invalid GIC interrupt flags in exynos3250
    ARM: dts: exynos: Fix invalid GIC interrupt flags in exynos4x12
    ARM: dts: exynos: Fix invalid GIC interrupt flags in exynos4210
    ARM: dts: exynos: Fix invalid GIC interrupt flags in exynos4

    Signed-off-by: Olof Johansson <olof@lixom.net>

    Olof Johansson
     

05 Nov, 2016

1 commit


04 Nov, 2016

2 commits


02 Sep, 2016

1 commit

  • The skeleton.dtsi file was removed in ARM64 for different reasons as
    explained in commit ("3ebee5a2e141 arm64: dts: kill skeleton.dtsi").

    These also applies to ARM and it will also allow to get rid of the
    following DTC warnings in the future:

    "Node /memory has a reg or ranges property, but no unit name"

    The disassembled DTB are almost the same besides an empty chosen
    node being removed and nodes reordered, so it should not have
    functional changes.

    Signed-off-by: Javier Martinez Canillas
    Signed-off-by: Krzysztof Kozlowski

    Javier Martinez Canillas
     

08 Jun, 2016

1 commit

  • MFC device can be used without any external hardware dependencies (when
    IOMMU is enabled), so it can be enabled by default (like it has been
    already done for Exynos 542x platforms). This unifies handling of this
    device for Exynos3250, Exynos4 and Exynos542x platforms. Board can still
    include exynos-mfc-reserved-memory.dtsi to enable using this device
    without IOMMU being enabled.

    Signed-off-by: Marek Szyprowski
    Reviewed-by: Javier Martinez Canillas
    Signed-off-by: Krzysztof Kozlowski

    Marek Szyprowski
     

28 Apr, 2016

1 commit

  • …ux/kernel/git/krzk/linux into next/dt

    Merge "ARM: dts: exynos: Fixup for SROM controller (v4.7)" from Krzysztof Kozlowski:

    DeviceTree changes for new SROM controller driver reached mainline
    some time ago, before the driver was accepted (due to very late
    comments). However, after these late comments, the driver expects
    different bindings so we need to fix the DTS.

    * tag 'samsung-dt-exynos-srom-fixup-4.7' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux:
    ARM: dts: change SROM node compatible from generic to model specific

    Arnd Bergmann
     

27 Apr, 2016

1 commit


18 Apr, 2016

1 commit


13 Apr, 2016

1 commit


29 Mar, 2016

2 commits


13 Mar, 2016

1 commit

  • The compatible string "simple-bus" is well defined in ePAPR, while
    I see no documentation for the "arm,amba-bus" arnywhere in ePAPR or
    Documentation/devicetree/.

    DT is also used by other projects than Linux kernel. It is not a
    good idea to rely on such an unofficial binding.

    This commit
    - replaces "arm,amba-bus" with "simple-bus"
    - drops "arm,amba-bus" where it is used along with "simple-bus"

    Signed-off-by: Masahiro Yamada
    Signed-off-by: Olof Johansson

    Masahiro Yamada
     

25 Feb, 2016

1 commit


25 Jan, 2016

1 commit

  • Add device node of SROM controller for exynos4.

    CC: Rob Herring
    CC: Mark Rutland
    CC: Ian Campbell
    Signed-off-by: Pankaj Dubey
    Reviewed-by: Krzysztof Kozlowski
    Signed-off-by: Kukjin Kim
    [k.kozlowski: fixed size of mapped SROMC memory region]
    Signed-off-by: Krzysztof Kozlowski

    Pankaj Dubey
     

01 Jan, 2016

1 commit

  • …zk/linux into next/dt

    Merge "Samsung DeviceTree updates and improvements for 4.5" from Krzysztof Kozlowski:

    1. eMMC/SDIO minor fixes usage of bindings on Snow and Peach
    Chromebooks.
    2. Remove FIMD from Odroid XU3-family because on XU3 it cannot be used
    yet and on XU3-Lite and XU4 it is not supported.
    3. Remove deprecated since June 2013 samsung,exynos5-hdmi.
    4. Add support for Pseudo Random Generator on Exynos4 (Trats2 for now).
    This depends on new SSS clock.
    5. Add rotator nodes for Exynos4 and Exynos5.
    6. Switch DWC3_1 on Odroid XU3 and XU3-Lite to peripheral mode because
    now it cannot be used as OTG.
    7. Cleanup the G2D usage on Exynos4 and add it to a proper domain
    in case of Exynos4210.
    8. Put MDMA1 in proper domain on Exynos4210 as well.
    9. Minor cleanups.

    * tag 'samsung-dt-4.5-2' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux: (21 commits)
    ARM: dts: Unify G2D device node with other devices on exynos4
    ARM: dts: Add power domain to G2D device on exynos4210
    ARM: dts: MDMA1 device belongs to LCD0 power domain on exynos4210
    ARM: dts: Remove unneeded GPIO include in exynos4412-odroidu3
    ARM: dts: exynos4210-universal_c210: Disable DMA for UARTs
    ARM: dts: Use peripheral mode for dwc3_1 on exynos5422-odroidxu3
    ARM: dts: Add rotator node on exynos5420
    ARM: dts: Add rotator node on exynos5250
    ARM: dts: Fix power domain for sysmmu-rotator device on exynos4
    ARM: dts: Add rotator nodes on exynos4
    ARM: dts: Enable PRNG module on exynos4412-trats2
    ARM: dts: Add PRNG module for exynos4
    dt-bindings: remove deprecated compatible string from exynos-hdmi
    ARM: dts: Remove fimd node from exynos5422-odroidxu3-common
    ARM: dts: Mark eMMC as non-removable in exynos5250-snow-common
    ARM: dts: Remove broken-cd from eMMC node in exynos5420-peach-pi
    ARM: dts: Remove broken-cd from eMMC node in exynos5800-peach-pi
    ARM: dts: Mark SDIO as non-removable in exynos5250-snow-common
    ARM: dts: Mark SDIO as non-removable in exynos5420-peach-pit
    ARM: dts: Mark SDIO as non-removable in exynos5800-peach-pi
    ...

    Arnd Bergmann
     

29 Dec, 2015

3 commits


20 Nov, 2015

1 commit

  • This patch adds syscon-{reboot, poweroff} nodes to allow the
    generic syscon-{reboot, poweroff} driver to reset/poweroff exynos4 SoC.

    Signed-off-by: Alim Akhtar
    Reviewed-by: Pankaj Dubey
    Reviewed-by: Javier Martinez Canillas
    Tested-by: Krzysztof Kozlowski
    Tested-by: Tobias Jakobi
    Reviewed-by: Krzysztof Kozlowski
    Acked-by: Moritz Fischer
    Signed-off-by: Krzysztof Kozlowski

    Alim Akhtar
     

13 Sep, 2015

1 commit