[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 --- 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(). - Disable the clock if the clock is e

[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 --- 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

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

2017-04-11 Thread Songjun Wu
emove the 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_h

[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 --- 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: - Due to the peripheral clock driver

[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 --- 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 insertions(+) create mode

[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

[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 --- 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/video/atme-hlcdc.txt diff --git a

[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 --- Changes in v2: - Due to the peripheral clock driver improvement, remove the unneccessary clock calling. board/atmel/at91sam9n12ek/at91sam9n12ek.c | 2 + board/atmel/at91sam9x5ek/at91sam9x5ek.c | 2

[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 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 --- Changes in v2: - Due to the peripheral clock driver improvement, remove the unneccessary clock calling. drivers/video/Kconfig| 7 + drivers/video/Makefile | 2 +- drivers/video/atmel_hlcdfb.c | 314

[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 --- Changes in v2: - Due to the peripheral clock driver improvement, remove the unneccessary clock calling. drivers/video/Kconfig| 7 + drivers/video/Makefile | 2 +- drivers/video/atmel_hlcdfb.c | 314

[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 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 --- drivers/video/Kconfig| 7 + drivers/video/Makefile | 2 +- drivers/video/atmel_hlcdfb.c | 330 ++- 3 files changed, 335 insertions(+), 4 deletions(-) diff --git a

[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 --- 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 diff --git a/doc/device-tree

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

2016-06-19 Thread Songjun Wu
Add i2c driver. Signed-off-by: Songjun Wu --- 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 | 338 + drivers/i2c

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

2016-06-19 Thread Songjun Wu
DT binding documentation for atmel i2c driver. Signed-off-by: Songjun Wu --- 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 100644 doc/device-tree

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

2016-06-19 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 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 --- 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/device-tree-bindings/i2c/i2c-at91.txt

[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 --- 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 | 77 +++ 4 files

[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] [RESEND][PATCH 1/2] i2c: atmel: add i2c driver

2016-05-06 Thread Songjun Wu
Add i2c driver. Signed-off-by: Songjun Wu --- drivers/i2c/Kconfig| 10 ++ drivers/i2c/Makefile | 1 + drivers/i2c/at91_i2c.c | 290 + drivers/i2c/at91_i2c.h | 76 + 4 files changed, 377 insertions(+) create mode 100644

[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 --- 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/device-tree-bindings/i2c/i2c

[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 --- 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/device-tree-bindings/i2c/i2c

[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] [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 --- drivers/i2c/Kconfig| 10 ++ drivers/i2c/Makefile | 1 + drivers/i2c/at91_i2c.c | 290 + drivers/i2c/at91_i2c.h | 76 + 4 files changed, 377 insertions(+) create mode 100644