I am trying to software reset the whole programmable logic(which uses FCLK_RESET0_N) from Linaro.I found that we can do it through the SLCR(System Level control Registers) and found slcr.c Platform driver(in linux-xlnx/arch/arm/mach-zynq) which has xslcr_reset_periph() function to reset a peripheral.....How do I use this driver to perform a reset? Do I need to write a character device driver that communicates to the platform driver for this? Can anybody please give me any reference material for doing this as I am new to Linux device drivers ?..Thanks!