[U-Boot] [PATCH v3] Add 16-bit single register pin controller support

2017-04-18 Thread James Balean
Enables the pinctrl-single driver to support 16-bit registers. Only 32-bit registers were supported previously. Reduced width registers are required for some platforms, such as OMAP. Signed-off-by: James Balean Cc: Felix Brack Cc: Simon Glass --- Changes for v3: - Fixes incorrect v2

Re: [U-Boot] [PATCH v2] Add 16-bit single register pin controller support

2017-04-18 Thread James Balean
Hi Felix, On 7 April 2017 at 23:22, Felix Brack wrote: > You should though read my comment as there is some more work to be > done. Thank you for your suggestions despite my incorrect submission. I now see and agree that it would be better to have the code inline in the `single_configure_pins()`

Re: [U-Boot] [PATCH v2] Add 16-bit single register pin controller support

2017-04-06 Thread James Balean
Apologies! Just noticed I submitted the untested patch update. I'll gather suggestions on this (note that 'size' in the first switch should be 'width' and there's a trailing bracket missing), then submit a (hopefully) final version. James ___ U-Boot mai

[U-Boot] [PATCH v2] Add 16-bit single register pin controller support

2017-04-05 Thread James Balean
Enables the pinctrl-single driver to support 16-bit registers. Only 32-bit registers were supported previously. Reduced width registers are required for some platforms, such as OMAP. Signed-off-by: James Balean Cc: Felix Brack Cc: Simon Glass --- Changes for v2: - Added explanation of why

Re: [U-Boot] [PATCH] Add 8 and 16-bit single register pin controller support

2017-04-05 Thread James Balean
Hi All, Thank you for your responses. I will submit a new version of the patch with your suggestions following this. On 1 April 2017 at 15:22, Simon Glass wrote: > Can you explain in your commit message why we want this? Will do. I will be seeking to add TI OMAP device tree support to U-Boot sh

[U-Boot] [PATCH] Add 8 and 16-bit single register pin controller support

2017-03-26 Thread James Balean
Enables the pinctrl-single driver to support 8 and 16-bit registers. Only 32-bit registers were supported previously. Signed-off-by: James Balean Cc: Felix Brack Cc: Simon Glass --- drivers/pinctrl/pinctrl-single.c | 58 ++-- 1 file changed, 50 insertions

[U-Boot] [PATCH v2] Ensure device tree DTS is compiled

2017-03-15 Thread James Balean
Enables custom DTS files, or those not associated with a specific target, to be compiled into a boot image. Signed-off-by: James Balean Cc: Andy Shevchenko Cc: Simon Glass --- Changes for v2: - Removed trailing '/dts' from paths containing ARCH_PATH dts/Makefile | 13 ++-

[U-Boot] [PATCH] Ensure device tree DTS is compiled

2017-03-13 Thread James Balean
Enables custom DTS files, or those not associated with a specific target, to be compiled into a boot image. Signed-off-by: James Balean --- dts/Makefile | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/dts/Makefile b/dts/Makefile index c4ac153..6dfaf57 100644

[U-Boot] [PATCH v3] Add single register pin controller driver

2017-03-09 Thread James Balean
This patch adds a pin controller driver supporting devices using a single configuration register per pin. Signed-off-by: Felix Brack [ja...@balean.com.au: changed .set_state_simple operation to .set_state] Signed-off-by: James Balean --- drivers/pinctrl/Kconfig | 10 +++ drivers

[U-Boot] [PATCH v2] Add single register pin controller driver

2017-02-20 Thread James Balean
op missing\n"); return -ENOSYS; } return ops->set_state_simple(pctldev, dev); --- Reviewed-by: James Balean -- Kind regards, James Balean ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot