arm,smmu: restructure code in preparation to new bindings support
authorBrian Woods <brian.woods@xilinx.com>
Tue, 3 Aug 2021 00:24:08 +0000 (17:24 -0700)
committerJulien Grall <jgrall@amazon.com>
Tue, 3 Aug 2021 09:38:55 +0000 (10:38 +0100)
commit029760630a9023b2b49833a00a4768b541ff50d4
treecf40a5f3e525528cb5164b98c8bf29384e8dadf9
parent4a692732105bc6357c64e5af93785bbfa28d6704
arm,smmu: restructure code in preparation to new bindings support

Restructure some of the code and add supporting functions for adding
generic device tree (DT) binding support.  This will allow for using
current Linux device trees with just modifying the chosen field to
enable Xen.

Signed-off-by: Brian Woods <brian.woods@xilinx.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@xilinx.com>
Reviewed-by: Rahul Singh <rahul.singh@arm.com>
Acked-by: Julien Grall <jgrall@amazon.com>
xen/drivers/passthrough/arm/smmu.c