Platform devices are integrated devices in a system-on-chip that are directly addressable by the CPU. Platform drivers handle these devices by providing probe and remove methods. The probe method is called when the driver is loaded to notify the kernel of the device and allocate resources. To call the probe method, a platform driver structure must be defined with a probe function, and a matching platform device node added to the device tree. When the module is loaded, it will call the probe method. In probe, private data is allocated and resources like interrupts and memory are obtained from the device tree. The driver then registers itself for its specific purpose.