fix(nxp-sfp): shift gpio register offsets by 2These registers are 32-bit registers. When accessing them usingpointers, when should explicitely divide the fixed offsetsGPDIR_REG_OFFSET and GPDAT_R
fix(nxp-sfp): shift gpio register offsets by 2These registers are 32-bit registers. When accessing them usingpointers, when should explicitely divide the fixed offsetsGPDIR_REG_OFFSET and GPDAT_REG_OFFSET by 4 to land on the correctaddress. While set_gpio_bit() did this correctly, clr_gpio_bit() didnot. Even though GPDIR_REG_OFFSET = 0x0, shift it as well forconsistency with GPDAT_REG_OFFSET.Change-Id: I5b8787d8424f83462ad4bb0f2141370ca28eaf34Signed-off-by: Antonin Godard <antoningodard@pm.me>
show more ...
refactor: moved drivers hdr files to include/drivers/nxpNXP drivers header files are moved: - from: drivers/nxp/<xx>/*.h - to : include/drivers/nxp/<xx>/*.hTo accommodate these changes eac
refactor: moved drivers hdr files to include/drivers/nxpNXP drivers header files are moved: - from: drivers/nxp/<xx>/*.h - to : include/drivers/nxp/<xx>/*.hTo accommodate these changes each drivers makefilesdrivers/nxp/<xx>/xx.mk, are updated.Signed-off-by: Pankaj Gupta <pankaj.gupta@nxp.com>Change-Id: I3979c509724d87e3d631a03dbafda1ee5ef07d21
nxp: gpio driver supportNXP General Purpose Input/Output driver support forNXP platforms.Signed-off-by: Pankaj Gupta <pankaj.gupta@nxp.com>Change-Id: I9a3574f1d5d12e4a65ff60f640d4e77e2defd6d4