[U-Boot] [PATCH v2 2/2] i2c: atmel: DT binding for i2c driver

2016-06-01 Thread Songjun Wu
DT binding documentation for atmel i2c driver. Signed-off-by: Songjun Wu <songjun...@atmel.com> --- Changes in v2: - Add phandles to input clocks doc/device-tree-bindings/i2c/i2c-at91.txt | 26 ++ 1 file changed, 26 insertions(+) create mode 100644 doc/devic

[U-Boot] [PATCH v2 1/2] i2c: atmel: add i2c driver

2016-06-01 Thread Songjun Wu
Add i2c driver. Signed-off-by: Songjun Wu <songjun...@atmel.com> --- Changes in v2: - Add code to get and enable clock. drivers/i2c/Kconfig| 10 ++ drivers/i2c/Makefile | 1 + drivers/i2c/at91_i2c.c | 345 + drivers/i2c/at91_i2c.h

[U-Boot] [PATCH v2 0/2] i2c: atmel: add driver for Atmel i2c platform

2016-06-01 Thread Songjun Wu
The i2c driver includes two parts. 1) Driver code to implement the i2c function. 2) Device tree binding documentation, it describes how to add the i2c in device tree. Changes in v2: - Add code to get and enable clock. - Add phandles to input clocks Songjun Wu (2): i2c: atmel: add i2c driver

[U-Boot] [PATCH v3 1/2] i2c: atmel: add i2c driver

2016-06-20 Thread Songjun Wu
Add i2c driver. Signed-off-by: Songjun Wu <songjun...@atmel.com> --- Changes in v3: - Update the clk API. Changes in v2: - Add code to get and enable clock. drivers/i2c/Kconfig| 10 ++ drivers/i2c/Makefile | 1 + drivers/i2c/at91_i2c.c

[U-Boot] [PATCH v3 0/2] i2c: atmel: add driver for Atmel i2c platform

2016-06-20 Thread Songjun Wu
Songjun Wu (2): i2c: atmel: add i2c driver i2c: atmel: DT binding for i2c driver doc/device-tree-bindings/i2c/i2c-at91.txt | 26 +++ drivers/i2c/Kconfig | 10 + drivers/i2c/Makefile | 1 + drivers/i2c/at91_i2c.c| 338

[U-Boot] [PATCH v3 2/2] i2c: atmel: DT binding for i2c driver

2016-06-20 Thread Songjun Wu
DT binding documentation for atmel i2c driver. Signed-off-by: Songjun Wu <songjun...@atmel.com> --- Changes in v3: None Changes in v2: - Add phandles to input clocks doc/device-tree-bindings/i2c/i2c-at91.txt | 26 ++ 1 file changed, 26 insertions(+) create mode

[U-Boot] [RESEND][PATCH 1/2] i2c: atmel: add i2c driver

2016-05-06 Thread Songjun Wu
Add i2c driver. Signed-off-by: Songjun Wu <songjun...@atmel.com> --- drivers/i2c/Kconfig| 10 ++ drivers/i2c/Makefile | 1 + drivers/i2c/at91_i2c.c | 290 + drivers/i2c/at91_i2c.h | 76 + 4 files changed, 377 inse

[U-Boot] [PATCH 2/2] i2c: atmel: DT binding for i2c driver

2016-05-06 Thread Songjun Wu
DT binding documentation for atmel i2c driver. Signed-off-by: Songjun Wu <songjun...@atmel.com> --- doc/device-tree-bindings/i2c/i2c-at91.txt | 24 1 file changed, 24 insertions(+) create mode 100644 doc/device-tree-bindings/i2c/i2c-at91.txt diff --git a/doc/

[U-Boot] [PATCH 0/2] i2c: atmel: add driver for atmel i2c

2016-05-06 Thread Songjun Wu
The i2c driver includes two parts. 1) Driver code to implement the i2c function. 2) Device tree binding documentation, it describes how to add the i2c in device tree. Songjun Wu (2): i2c: atmel: add i2c driver i2c: atmel: DT binding for i2c driver doc/device-tree-bindings/i2c/i2c-at91

[U-Boot] [PATCH 1/2] i2c: atmel: add i2c driver

2016-05-06 Thread Songjun Wu
Add i2c driver. Signed-off-by: Songjun Wu <songjun...@atmel.com> --- drivers/i2c/Kconfig| 10 ++ drivers/i2c/Makefile | 1 + drivers/i2c/at91_i2c.c | 290 + drivers/i2c/at91_i2c.h | 76 + 4 files changed, 377 inse

[U-Boot] [RESEND][PATCH 0/2] i2c: atmel: add driver for atmel i2c

2016-05-06 Thread Songjun Wu
The i2c driver includes two parts. 1) Driver code to implement the i2c function. 2) Device tree binding documentation, it describes how to add the i2c in device tree. Songjun Wu (2): i2c: atmel: add i2c driver i2c: atmel: DT binding for i2c driver doc/device-tree-bindings/i2c/i2c-at91

[U-Boot] [RESEND][PATCH 2/2] i2c: atmel: DT binding for i2c driver

2016-05-06 Thread Songjun Wu
DT binding documentation for atmel i2c driver. Signed-off-by: Songjun Wu <songjun...@atmel.com> --- doc/device-tree-bindings/i2c/i2c-at91.txt | 24 1 file changed, 24 insertions(+) create mode 100644 doc/device-tree-bindings/i2c/i2c-at91.txt diff --git a/doc/

[U-Boot] [PATCH 1/2] at91: video: Support driver-model for the HLCD driver

2016-08-08 Thread Songjun Wu
Add driver-model support to this driver. Signed-off-by: Songjun Wu <songjun...@microchip.com> --- drivers/video/Kconfig| 7 + drivers/video/Makefile | 2 +- drivers/video/atmel_hlcdfb.c | 330 ++- 3 files changed, 335 insertions

[U-Boot] [PATCH 0/2] at91: video: add driver for Atmel HLCD controller

2016-08-08 Thread Songjun Wu
The i2c driver includes two parts. 1) Driver code to implement the HLCD function. 2) Device tree binding documentation, it describes how to add the HLCD in device tree. Songjun Wu (2): at91: video: Support driver-model for the HLCD driver at91: video: DT binding for HLCDC driver doc

[U-Boot] [PATCH 2/2] at91: video: DT binding for HLCDC driver

2016-08-08 Thread Songjun Wu
DT binding documentation for atmel HLCDC driver. Signed-off-by: Songjun Wu <songjun...@microchip.com> --- doc/device-tree-bindings/video/atme-hlcdc.txt | 38 +++ 1 file changed, 38 insertions(+) create mode 100644 doc/device-tree-bindings/video/atme-hlcdc.txt

[U-Boot] [PATCH v2] at91: video: Support driver-model for the HLCD driver

2016-09-26 Thread Songjun Wu
Add driver-model support to this driver. Signed-off-by: Songjun Wu <songjun...@microchip.com> --- Changes in v2: - Due to the peripheral clock driver improvement, remove the unneccessary clock calling. drivers/video/Kconfig| 7 + drivers/video/Makefile | 2 +- drivers

[U-Boot] [PATCH RESEND v2] at91: video: Support driver-model for the HLCD driver

2017-01-10 Thread Songjun Wu
Add driver-model support to this driver. Signed-off-by: Songjun Wu <songjun...@microchip.com> --- Changes in v2: - Due to the peripheral clock driver improvement, remove the unneccessary clock calling. drivers/video/Kconfig| 7 + drivers/video/Makefile | 2 +- drivers

[U-Boot] [PATCH v3 0/2] at91: video: add driver for Atmel HLCD controller

2017-03-15 Thread Songjun Wu
if the clock is enabled and error occurs. - Add 'atmel,output-mode' entry in dts. Changes in v2: - Due to the peripheral clock driver improvement, remove the unneccessary clock calling. Songjun Wu (2): at91: video: Support driver-model for the HLCD driver at91: video: DT binding for HLCDC

[U-Boot] [PATCH v3 2/2] at91: video: DT binding for HLCDC driver

2017-03-15 Thread Songjun Wu
DT binding documentation for atmel HLCDC driver. Signed-off-by: Songjun Wu <songjun...@microchip.com> --- Changes in v3: - Add 'atmel,output-mode' entry in dts. Changes in v2: None doc/device-tree-bindings/video/atme-hlcdc.txt | 42 +++ 1 file changed, 42 inse

[U-Boot] [PATCH v3 1/2] at91: video: Support driver-model for the HLCD driver

2017-03-15 Thread Songjun Wu
Add driver-model support to this driver. Signed-off-by: Songjun Wu <songjun...@microchip.com> --- Changes in v3: - Replace lcdc_readl/lcdc_writel with real/writel - Replace while() with wait_for_bit(). - Disable the clock if the clock is enabled and error occurs. Changes in v2:

[U-Boot] [PATCH v4 0/2] at91: video: add driver for Atmel HLCD controller

2017-04-11 Thread Songjun Wu
e unneccessary clock calling. Songjun Wu (2): at91: video: Support driver-model for the HLCD driver at91: video: DT binding for HLCDC driver doc/device-tree-bindings/video/atme-hlcdc.txt | 42 +++ drivers/video/Kconfig | 6 + drivers/video/atmel_hlcdfb.c

[U-Boot] [PATCH v4 1/2] at91: video: Support driver-model for the HLCD driver

2017-04-11 Thread Songjun Wu
Add driver-model support to this driver. Signed-off-by: Songjun Wu <songjun...@microchip.com> --- Changes in v4: - Add "atmel,at91sam9x5-hlcdc" to atmel_hlcdc_ids[]. Changes in v3: - Replace lcdc_readl/lcdc_writel with real/writel - Replace while() with wait_for_bit(). - D

[U-Boot] [PATCH v4 2/2] at91: video: DT binding for HLCDC driver

2017-04-11 Thread Songjun Wu
DT binding documentation for atmel HLCDC driver. Signed-off-by: Songjun Wu <songjun...@microchip.com> --- Changes in v4: - Add "atmel,at91sam9x5-hlcdc" to compatible. Changes in v3: - Add 'atmel,output-mode' entry in dts. Changes in v2: None doc/device-tree-bindings/video/atm

[U-Boot] [PATCH v2 0/2] at91: video: add driver for Atmel HLCD controller

2017-03-06 Thread Songjun Wu
The i2c driver includes two parts. 1) Driver code to implement the HLCD function. 2) Device tree binding documentation, it describes how to add the HLCD in device tree. Changes in v2: - Due to the peripheral clock driver improvement, remove the unneccessary clock calling. Songjun Wu (2

[U-Boot] [PATCH v2 1/2] at91: video: Support driver-model for the HLCD driver

2017-03-06 Thread Songjun Wu
Add driver-model support to this driver. Signed-off-by: Songjun Wu <songjun...@microchip.com> --- Changes in v2: - Due to the peripheral clock driver improvement, remove the unneccessary clock calling. board/atmel/at91sam9n12ek/at91sam9n12ek.c | 2 + board/atmel/at91sa

[U-Boot] [PATCH v2 2/2] at91: video: DT binding for HLCDC driver

2017-03-06 Thread Songjun Wu
DT binding documentation for atmel HLCDC driver. Signed-off-by: Songjun Wu <songjun...@microchip.com> --- Changes in v2: None doc/device-tree-bindings/video/atme-hlcdc.txt | 38 +++ 1 file changed, 38 insertions(+) create mode 100644 doc/device-tree-bindings/vide