Re: [U-Boot] [PATCH v2 7/7] rockchip: rk3368: Add PX5 Evaluation board

2017-05-23 Thread sjg
PX5 EVB is designed by Rockchip for automotive field
with integrated CVBS (TP2825) / MIPI DSI / CSI / LVDS
HDMI video input/output interface, audio codec ES8396,
WIFI / BT (on RTL8723BS), Gsensor BMA250E and light
sensor STK3410.

Signed-off-by: Andy Yan 
Reviewed-by: Simon Glass 
---

Changes in v2:
- fix rebase Conflicts

 arch/arm/dts/Makefile |   1 +
 arch/arm/dts/rk3368-px5-evb.dts   | 319 ++
 arch/arm/mach-rockchip/rk3368/Kconfig |  10 ++
 board/rockchip/evb_px5/Kconfig|  15 ++
 board/rockchip/evb_px5/MAINTAINERS|   6 +
 board/rockchip/evb_px5/Makefile   |   7 +
 board/rockchip/evb_px5/README |   1 +
 board/rockchip/evb_px5/evb-px5.c  |  51 ++
 configs/evb-px5_defconfig |  30 
 include/configs/evb_px5.h |  17 ++
 10 files changed, 457 insertions(+)
 create mode 100644 arch/arm/dts/rk3368-px5-evb.dts
 create mode 100644 board/rockchip/evb_px5/Kconfig
 create mode 100644 board/rockchip/evb_px5/MAINTAINERS
 create mode 100644 board/rockchip/evb_px5/Makefile
 create mode 100644 board/rockchip/evb_px5/README
 create mode 100644 board/rockchip/evb_px5/evb-px5.c
 create mode 100644 configs/evb-px5_defconfig
 create mode 100644 include/configs/evb_px5.h

Applied to u-boot-rockchip, thanks!
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


[U-Boot] [PATCH v2 7/7] rockchip: rk3368: Add PX5 Evaluation board

2017-05-15 Thread Andy Yan
PX5 EVB is designed by Rockchip for automotive field
with integrated CVBS (TP2825) / MIPI DSI / CSI / LVDS
HDMI video input/output interface, audio codec ES8396,
WIFI / BT (on RTL8723BS), Gsensor BMA250E and light
sensor STK3410.

Signed-off-by: Andy Yan 
Reviewed-by: Simon Glass 
---

Changes in v2:
- fix rebase Conflicts

 arch/arm/dts/Makefile |   1 +
 arch/arm/dts/rk3368-px5-evb.dts   | 319 ++
 arch/arm/mach-rockchip/rk3368/Kconfig |  10 ++
 board/rockchip/evb_px5/Kconfig|  15 ++
 board/rockchip/evb_px5/MAINTAINERS|   6 +
 board/rockchip/evb_px5/Makefile   |   7 +
 board/rockchip/evb_px5/README |   1 +
 board/rockchip/evb_px5/evb-px5.c  |  51 ++
 configs/evb-px5_defconfig |  30 
 include/configs/evb_px5.h |  17 ++
 10 files changed, 457 insertions(+)
 create mode 100644 arch/arm/dts/rk3368-px5-evb.dts
 create mode 100644 board/rockchip/evb_px5/Kconfig
 create mode 100644 board/rockchip/evb_px5/MAINTAINERS
 create mode 100644 board/rockchip/evb_px5/Makefile
 create mode 100644 board/rockchip/evb_px5/README
 create mode 100644 board/rockchip/evb_px5/evb-px5.c
 create mode 100644 configs/evb-px5_defconfig
 create mode 100644 include/configs/evb_px5.h

diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
index c9b81cc..acbcbd8 100644
--- a/arch/arm/dts/Makefile
+++ b/arch/arm/dts/Makefile
@@ -43,6 +43,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += \
rk3328-evb.dtb \
rk3368-sheep.dtb \
rk3368-geekbox.dtb \
+   rk3368-px5-evb.dtb \
rk3399-evb.dtb \
rk3399-firefly.dtb \
rk3399-puma.dtb
diff --git a/arch/arm/dts/rk3368-px5-evb.dts b/arch/arm/dts/rk3368-px5-evb.dts
new file mode 100644
index 000..c7478f7
--- /dev/null
+++ b/arch/arm/dts/rk3368-px5-evb.dts
@@ -0,0 +1,319 @@
+/*
+ * Copyright (c) 2017 Rockchip Electronics Co., Ltd
+ *
+ * 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 as
+ * published by the Free Software Foundation; either version 2 of the
+ * License, or (at your option) any later version.
+ *
+ * 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 "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+ * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+ * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+ * OTHER DEALINGS IN THE SOFTWARE.
+ */
+
+/dts-v1/;
+#include "rk3368.dtsi"
+#include 
+
+/ {
+   model = "PX5 EVB";
+   compatible = "rockchip,px5-evb", "rockchip,px5", "rockchip,rk3368";
+
+   chosen {
+   stdout-path = "serial4:115200n8";
+   };
+
+   memory@0 {
+   device_type = "memory";
+   reg = <0x0 0x0 0x0 0x4000>;
+   };
+
+   ext_gmac: gmac-clk {
+   compatible = "fixed-clock";
+   clock-frequency = <12500>;
+   clock-output-names = "ext_gmac";
+   #clock-cells = <0>;
+   };
+
+   ir: ir-receiver {
+   compatible = "gpio-ir-receiver";
+   gpios = < 30 GPIO_ACTIVE_LOW>;
+   pinctrl-names = "default";
+   pinctrl-0 = <_int>;
+   };
+
+   keys: gpio-keys {
+   compatible = "gpio-keys";
+   pinctrl-names = "default";
+   pinctrl-0 = <_key>;
+
+   power {
+   gpios = < 2 GPIO_ACTIVE_LOW>;
+   label = "GPIO Power";