[COMMON] iommu/exynos: parsing DT for sysmmu properties
authorJanghyuck Kim <janghyuck.kim@samsung.com>
Mon, 16 May 2016 12:19:54 +0000 (21:19 +0900)
committerSangwook Ju <sw.ju@samsung.com>
Mon, 14 May 2018 10:45:19 +0000 (19:45 +0900)
commitb60e51524fd095dfde705cb860fa2d27c01bdfc7
treeeda0608e71ff2f84ff92518a7774f9e7e02fc528
parent14e8ccf940e799702236287b4fd956924feb4aad
[COMMON] iommu/exynos: parsing DT for sysmmu properties

Sysmmu properties that read from DT are parsed and stored into driver
data.

1) QoS property is defined like below in DT.
sysmmu_node:
qos = <4>;

2) TLB properties are defined like below in DT.
sysmmu_node:
sysmmu,tlb_property =
<PRIV_WAY_CFG ID SYSMMU_ID(X)>,
<PRIV_WAY_CFG ID SYSMMU_ID(X)>,
<PUBLIC_WAY_CFG SYSMMU_NOID>;
Refer to include/dt-bindings/sysmmu/sysmmu.h for detailed definitions.

Change-Id: Ibdca6081351e997ba3a01f0173c751d30bb69a1d
Signed-off-by: Janghyuck Kim <janghyuck.kim@samsung.com>
drivers/iommu/exynos-iommu.c
drivers/iommu/exynos-iommu.h
include/dt-bindings/sysmmu/sysmmu.h [new file with mode: 0644]