[PATCH v4 1/2] arm, imx6, dts: add DT for aristainetos2 board

2015-05-22 Thread Heiko Schocher
Hello Philipp,

Am 22.05.2015 11:14, schrieb Philipp Zabel:
> Hi Heiko,
>
> Am Freitag, den 22.05.2015, 10:25 +0200 schrieb Heiko Schocher:
> [...]
>> diff --git a/arch/arm/boot/dts/imx6dl-aristainetos2_4.dts 
>> b/arch/arm/boot/dts/imx6dl-aristainetos2_4.dts
>> new file mode 100644
>> index 000..ae50c8b
>> --- /dev/null
>> +++ b/arch/arm/boot/dts/imx6dl-aristainetos2_4.dts
>> @@ -0,0 +1,158 @@
>> +/*
>> + * Copyright (C) 2014 Rabeeh Khoury (rabeeh at solid-run.com)
>> + * Based on dt work by Russell King
>
> This is new. Copy & paste error?

Argh... Good catch! I fix this .. but wait a while before posting v5
to get some more comments.

> With proper copyright information restored,
> Reviewed-by: Philipp Zabel 

Thanks!

bye,
Heiko
-- 
DENX Software Engineering GmbH,  Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany


[PATCH v4 1/2] arm, imx6, dts: add DT for aristainetos2 board

2015-05-22 Thread Philipp Zabel
Hi Heiko,

Am Freitag, den 22.05.2015, 10:25 +0200 schrieb Heiko Schocher:
[...]
> diff --git a/arch/arm/boot/dts/imx6dl-aristainetos2_4.dts 
> b/arch/arm/boot/dts/imx6dl-aristainetos2_4.dts
> new file mode 100644
> index 000..ae50c8b
> --- /dev/null
> +++ b/arch/arm/boot/dts/imx6dl-aristainetos2_4.dts
> @@ -0,0 +1,158 @@
> +/*
> + * Copyright (C) 2014 Rabeeh Khoury (rabeeh at solid-run.com)
> + * Based on dt work by Russell King

This is new. Copy & paste error?

With proper copyright information restored,
Reviewed-by: Philipp Zabel 

regards
Philipp



[PATCH v4 1/2] arm, imx6, dts: add DT for aristainetos2 board

2015-05-22 Thread Heiko Schocher
This patch add support for the imx6dl based aristainetos2 board
with following configuration:

CPU:   Freescale i.MX6DL rev1.1 at 792 MHz
MReset cause: POR
MBoard: aristaitenos2
DRAM:  1 GiB
NAND:  1024 MiB
MMC:   FSL_SDHC: 0, FSL_SDHC: 1
SF: Detected N25Q128A with page size 256 Bytes, erase size 64 KiB, total 16 MiB
Display: lb07wv8 (800x480)

As this board can used with 2 different display types, the
differences between them are extracted into 2 DTS files, and
the common settings are collected in a common file.

Signed-off-by: Heiko Schocher 
---

Changes in v4:
- add comments from Philipp Zabel:
  - fix some typos
  - fix license text
  - fix pmic compatible name to "dlg,da9063"
  - remove clocks property from i2c4 node
  - use simple panel driver, so remove the fsl,data-mapping
and fsl,data-width properties and the display-timings node.
need patch: "drm/panel: Add support for LG LB070WV8 800x480 7" panel"

Changes in v3:
- add comments from Shawn Guo
  - change license to GPL/X11 dual licence
  - rename touch node name to "touch"
  - add DTB in Makefile
  - remove "status = "okay"" from backlight node
  - rename "pinctrl_ipu1_1_80Ohm_clk" to "pinctrl_ipu_disp"
  - remove "status = "okay"" from "display at di0" node
  - remove "dma-names;" in ecspix nodes
  - use macro for clock ID and gpio
  - move iomuxc to the bottom of the file
  - configure pinctrl_backlight in the device node, not from
the hog group
  - provide a proper pad configuration value rather than 0x800.
  - in the iomuxc node, save one level of the sub-node
needs patch:
LinusW queued patch 5fcdf6a7ed95 ("pinctrl: imx: Allow
parsing DT without function nodes")
- add comments from Philipp Zabel
  - get rid of "fsl,panel" to connect a drm_panel to the parallel-display
instead switch to the common of-graph bindings.
need patch: "drm/imx: parallel-display: fix drm_panel support"
from Philipp Zabel

Changes in v2:
- add comments from Sascha Hauer:
  - remove "clock-frequency" property in i2c nodes
  - correct indentation in some pinctrl nodes
  - move pin settings out of "gpiogrp" where it was possible
led pins not moved, as they used through sysfs

 arch/arm/boot/dts/Makefile   |   2 +
 arch/arm/boot/dts/imx6dl-aristainetos2_4.dts | 158 +++
 arch/arm/boot/dts/imx6dl-aristainetos2_7.dts |  97 
 arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi | 632 +++
 4 files changed, 889 insertions(+)
 create mode 100644 arch/arm/boot/dts/imx6dl-aristainetos2_4.dts
 create mode 100644 arch/arm/boot/dts/imx6dl-aristainetos2_7.dts
 create mode 100644 arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi

diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index 86217db..583fbeb 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -256,6 +256,8 @@ dtb-$(CONFIG_SOC_IMX53) += \
 dtb-$(CONFIG_SOC_IMX6Q) += \
imx6dl-aristainetos_4.dtb \
imx6dl-aristainetos_7.dtb \
+   imx6dl-aristainetos2_4.dtb \
+   imx6dl-aristainetos2_7.dtb \
imx6dl-cubox-i.dtb \
imx6dl-dfi-fs700-m60.dtb \
imx6dl-gw51xx.dtb \
diff --git a/arch/arm/boot/dts/imx6dl-aristainetos2_4.dts 
b/arch/arm/boot/dts/imx6dl-aristainetos2_4.dts
new file mode 100644
index 000..ae50c8b
--- /dev/null
+++ b/arch/arm/boot/dts/imx6dl-aristainetos2_4.dts
@@ -0,0 +1,158 @@
+/*
+ * Copyright (C) 2014 Rabeeh Khoury (rabeeh at solid-run.com)
+ * Based on dt work by Russell King
+ *
+ * This file is dual-licensed: you can use it either under the terms
+ * of the GPL or the X11 license, at your option. Note that this dual
+ * licensing only applies to this file, and not this project as a
+ * whole.
+ *
+ *  a) This file is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * version 2 as published by the Free Software Foundation.
+ *
+ * This file is distributed in the hope that it will be useful
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * Or, alternatively
+ *
+ *  b) Permission is hereby granted, free of charge, to any person
+ * obtaining a copy of this software and associated documentation
+ * files (the "Software"), to deal in the Software without
+ * restriction, including without limitation the rights to use
+ * copy, modify, merge, publish, distribute, sublicense, and/or
+ * sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following
+ * conditions:
+ *
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED , WITHOUT WARRANTY OF ANY KIND
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE