[PATCH v3 1/1] nvmem: Change to unified property interface

2021-03-30 Thread Kevin Paul Herbert
erface, so no need for a wrapper. Reported-by: kernel test robot Signed-off-by: Kevin Paul Herbert --- drivers/nvmem/core.c | 176 - include/linux/nvmem-consumer.h | 31 +++--- 2 files changed, 125 insertions(+), 82 deletions(-) diff --git a/drivers/nv

[PATCH v3 0/1] nvmem: Change to unified property interface

2021-03-30 Thread Kevin Paul Herbert
nvmem: Change to unified property interface Change from using device tree (Open Firmware) APIs to the unified 'fwnode' interface. Change of_nvmem_cell_get() to fwnode_nvmem_cell_get(), and add a wrapper for of_nvmem_cell_get(). Change of_nvmem_device_get() to fwnode_nvmem_device_get(). There are

[PATCH v2] nvmem: Change to unified property interface

2021-03-29 Thread Kevin Paul Herbert
erface, so no need for a wrapper. The first version of this patch incorrectly had a wrapper for of_nvmem_device_get(), even though the comments about the patch not needing this were correct. Reported-by: kernel test robot Signed-off-by: Kevin Paul Herbert --- drivers/nvmem/core.c

[PATCH v2] nvmem: Change to unified property interface

2021-03-29 Thread Kevin Paul Herbert
The original version of this patch correctly stated that the only wrapper needed was for of_nvmem_cell_get(), but included only a wrapper for of_nvmem_device_get(). Replace with the proper wrapper.

[PATCH v2] nvmem: Change to unified property interface

2021-03-29 Thread Kevin Paul Herbert
THis first version of this patch erroneously had an unnecessary wrapper for of_nvmem_device_get() even though the commentary properly stated that the only wrapper needed was of_nvmem_cell_get(). Fix the code to match the intent.

[PATCH] nvmem: Change to unified property interface

2021-03-29 Thread Kevin Paul Herbert
erface, so no need for a wrapper. Signed-off-by: Kevin Paul Herbert --- drivers/nvmem/core.c | 176 - include/linux/nvmem-consumer.h | 27 ++--- 2 files changed, 123 insertions(+), 80 deletions(-) diff --git a/drivers/nvmem/core.c b/drivers/nvmem/co

[PATCH] nvmem: Change to unified property interface

2021-03-29 Thread Kevin Paul Herbert
erface, so no need for a wrapper. Signed-off-by: Kevin Paul Herbert --- drivers/nvmem/core.c | 176 - include/linux/nvmem-consumer.h | 27 ++--- 2 files changed, 123 insertions(+), 80 deletions(-) diff --git a/drivers/nvmem/core.c b/drivers/nvmem/co

[PATCH] i2c-imx.c: Synthesize end of transaction events without idle interrupts

2020-12-22 Thread Kevin Paul Herbert
I2C_SLAVE_READ_REQUESTED, send the backend a I2C_SLAVE_READ_PROCESSED followed by I2C_SLAVE_STOP. For all other events, send an I2C_SLAVE_STOP. Signed-off-by: Kevin Paul Herbert --- drivers/i2c/busses/i2c-imx.c | 59 +++- 1 file changed, 52 insertions(+), 7 deletions(-) diff --git a