From mboxrd@z Thu Jan 1 00:00:00 1970 From: lee.jones@linaro.org (Lee Jones) Date: Tue, 18 Jul 2017 09:15:08 +0100 Subject: [PATCH 2/3] mfd: syscon: atmel-smc: add helper to retrieve register layout In-Reply-To: <20170711074015.30440-3-ludovic.desroches@microchip.com> References: <20170711074015.30440-1-ludovic.desroches@microchip.com> <20170711074015.30440-3-ludovic.desroches@microchip.com> Message-ID: <20170718081508.yo6uld5ip5hr6ipk@dell> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Tue, 11 Jul 2017, Ludovic Desroches wrote: > For HSMC controller, the register layout depends on the device i.e. the > offset of setup, pulse, cycle, mode and timings registers is not the > same. An helper is added to provide the correct register layout. > > Fixes: fe9d7cb22ef3 ("mfd: syscon: atmel-smc: Add new helpers to ease > SMC regs manipulation") > Suggested-by: Boris Brezillon > Signed-off-by: Ludovic Desroches > --- > drivers/memory/atmel-ebi.c | 13 +++++-- > drivers/mfd/atmel-smc.c | 67 +++++++++++++++++++++++++------- > drivers/mtd/nand/atmel/nand-controller.c | 10 +++-- > include/linux/mfd/syscon/atmel-smc.h | 32 ++++++++++----- > 4 files changed, 92 insertions(+), 30 deletions(-) Applied, thanks. -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org ? Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog