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
-
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 propertySigned-off-by: Krzysztof Kozlowski
Tested-by: Marek Szyprowski
26 Jun, 2018
1 commit
-
Remove no longer needed samsung thermal properties.
There should be no functional changes caused by this patch.
Signed-off-by: Bartlomiej Zolnierkiewicz
Signed-off-by: Krzysztof Kozlowski
22 Apr, 2018
1 commit
-
The PMU node is the actual block responsible for power management,
including typical Exynos on/off/restart procedures. Therefore the
syscon poweroff and restart nodes logically belong to it.Signed-off-by: Krzysztof Kozlowski
Tested-by: Marek Szyprowski
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
14 Feb, 2018
3 commits
-
Soc nodes are used in other exynos DTS. Exynos4 boards should use them
as well.Signed-off-by: Maciej Purski
Signed-off-by: Krzysztof Kozlowski -
In order to use soc node, we need to reference soc child nodes by label
in exynos4412. Define pmu label in exynos4.dtsi. Use it in exynos4412
instead of redefining the node by full path.Signed-off-by: Maciej Purski
Signed-off-by: Krzysztof Kozlowski -
Extend camera, mixer and tmu nodes by labels, not by full path in Exynos
4210 DTSI. This avoids error-prone redefinition of nodes.Signed-off-by: Maciej Purski
Signed-off-by: Krzysztof Kozlowski
04 Jan, 2018
1 commit
-
Replace GPL v2.0 license statements with SPDX license identifiers.
Signed-off-by: Krzysztof Kozlowski
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
28 Nov, 2017
1 commit
-
The new sound card DT binding is used for Odroid XU3 in order
to properly support the HDMI audio path. Clocks configuration is
changed so the I2S controller is now the bit clock and the frame clock
master. The EPLL output clock is now the audio root clock adjusted to
each audio sample rate.Signed-off-by: Sylwester Nawrocki
Signed-off-by: Krzysztof Kozlowski
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
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
31 Mar, 2017
2 commits
-
Add to hdmi-cec node a phandle to hdmi node for new hdmi-cec notifier.
-
Add the new hdmi phandle to exynos4.dtsi. This phandle is needed by the
s5p-cec driver to initialize the CEC notifier framework.Tested with my Odroid U3.
Signed-off-by: Hans Verkuil
Tested-by: Marek Szyprowski
Signed-off-by: Krzysztof Kozlowski
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
01 Feb, 2017
1 commit
-
Provide human readable names for all power domains defined in Exynos SoCs.
Signed-off-by: Marek Szyprowski
Signed-off-by: Krzysztof Kozlowski
30 Jan, 2017
1 commit
-
Replace spaces with tabs in EHCI and OHCI ports indentation.
Signed-off-by: Krzysztof Kozlowski
Reviewed-by: Javier Martinez Canillas
29 Dec, 2016
1 commit
-
"iis", "i2s_opclk0" and "i2s_opclk1" are standard clocks for Exynos4 I2S
hardware module, so they should be defined in .dtsi file not in the random
board .dts file.Signed-off-by: Marek Szyprowski
Reviewed-by: Krzysztof Kozlowski
Signed-off-by: Krzysztof Kozlowski
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 failedUse 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 exynos4Signed-off-by: Olof Johansson <olof@lixom.net>
05 Nov, 2016
1 commit
-
Exynos4 like other Cortex-A9 SoC's has a Snoop Control Unit(SCU)
and its SFR are used during SMP boot and S2R. Add SCU node to the device tree.Signed-off-by: Pankaj Dubey
Reviewed-by: Alim Akhtar
Tested-by: Marek Szyprowski
Signed-off-by: Krzysztof Kozlowski
04 Nov, 2016
2 commits
-
Replace hard-coded values of type of GIC interrupt and its flags with
respective macros from header to increase code readability.Signed-off-by: Krzysztof Kozlowski
-
Interrupt of type IRQ_TYPE_NONE is not allowed for GIC interrupts and
generates an error:
genirq: Setting trigger mode 0 for irq 16 failed (gic_set_type+0x0/0x68)The GIC requires shared interrupts to be edge rising or level high.
Platform declares support for both. Arbitrarily choose level high
everywhere hoping it will work on each platform.Reported-by: Marek Szyprowski
Reported-by: Alban Browaeys
Cc: Marc Zyngier
Signed-off-by: Krzysztof Kozlowski
Reviewed-by: Alim Akhtar
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
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
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
27 Apr, 2016
1 commit
-
There is no external dependency for Security SubSystem (SSS) block so
the nodes for Pseudo Random Number Generator and AES hardware
acceleration can be enabled always for all Exynos4 devices.Suggested-by: Marek Szyprowski
Signed-off-by: Krzysztof Kozlowski
18 Apr, 2016
1 commit
-
This patch changes SROM nodes compatible from generic to model specific
to match with binding documentation. Also updating property
"samsung,srom-page-mode" as it is not defined as bool instead of intSigned-off-by: Pankaj Dubey
Signed-off-by: Krzysztof Kozlowski
13 Apr, 2016
1 commit
-
Fix following DTC warnings in all Exynos4 boards:
Warning (unit_address_vs_reg): Node /soc/video-phy@10020710 has a unit name, but no reg property
Signed-off-by: Krzysztof Kozlowski
Reviewed-by: Javier Martinez Canillas
29 Mar, 2016
2 commits
-
This patch adds HDMI CEC node specific to the Exynos4210/4x12 SoC series.
Signed-off-by: Kamil Debski
Signed-off-by: Hans Verkuil
Signed-off-by: Krzysztof Kozlowski -
Add Security SubSystem (SSS) node to Exynos4 which provides hardware
acceleration of AES operations.Signed-off-by: Krzysztof Kozlowski
Reviewed-by: Javier Martinez Canillas
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
25 Feb, 2016
1 commit
-
All Exynos SoCs have the same syscon reboot and poweroff device nodes so
there is no need to duplicate the same on each SoC dtsi and can be moved
to a common dtsi that can be included by all the SoCs dtsi files.Suggested-by: Krzysztof Kozlowski
Signed-off-by: Javier Martinez Canillas
Reviewed-by: Alim Akhtar
Signed-off-by: Krzysztof Kozlowski
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
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
...
29 Dec, 2015
3 commits
-
Rotator device and it's SYSMMU belongs to different power domains
on various Exynos4 SoC revisions: LCD0 for 4210 and TOP for 4x12. This
patch fixes this by moving power-domains property to exynos4210.dtsi. TOP
power domain is always enabled and it is not represented in DTS.Signed-off-by: Marek Szyprowski
Reviewed-by: Krzysztof Kozlowski
Signed-off-by: Krzysztof Kozlowski -
This patch adds device node for Rotator device to Exynos 4210 and 4x12
device tree files.Signed-off-by: Marek Szyprowski
Reviewed-by: Krzysztof Kozlowski
Signed-off-by: Krzysztof Kozlowski -
Add Pseudo Random Number Generator (PRNG) node of Security Sub System
(SSS) to Exynos 4 DTSI.Signed-off-by: Krzysztof Kozlowski
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
13 Sep, 2015
1 commit
-
Enable DMA transfers for serial ports.
Signed-off-by: Robert Baldyga
Signed-off-by: Krzysztof Kozlowski