Commits
Andrew F. Davis committed 8aa1f29b98e
remoteproc/pruss: use consistent match data lookup across all SoCs The of_device_id data pointer used for various SoCs is currently different between AM57xx SoC and AM33xx/AM43xx SoCs. AM57xx used a pruss_match_private_data structure whereas AM33xx/AM43xx used directly a PRUSS instance specific pruss_private_data structure. The pruss_get_private_data() function returns the proper instance specific data using SoC type checks and a device-name based lookup on AM57xx. Unify this logic so that the same lookup logic is used on AM33xx/AM43xx SoCs as well, and is consistent across all SoCs. This will ease the scalability like adding the support for PRUSS0 on AM43xx SoC (not supported in software yet) or the support for both PRUSS instances on the K2G SoC. NOTE: This may not be strictly necessary for AM335x (only SoC family with a single PRUSS instance) but is done anyway for consistency. Signed-off-by: Andrew F. Davis <afd@ti.com> Signed-off-by: Suman Anna <s-anna@ti.com>