All of lore.kernel.org
 help / color / mirror / Atom feed
* [RESEND] sunxi: Add Inet 86V Rev 2 support
@ 2020-02-10  9:00 agriveaux at deutnet.info
  2020-02-10  9:00 ` [PATCH] " agriveaux at deutnet.info
  0 siblings, 1 reply; 3+ messages in thread
From: agriveaux at deutnet.info @ 2020-02-10  9:00 UTC (permalink / raw)
  To: u-boot

Missing things:
- Accelerometer (MXC6225X)
- Touchpanel (Sitronix SL1536)
- Nand (29F32G08CBACA)
- Camera (HCWY0308)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] sunxi: Add Inet 86V Rev 2 support
  2020-02-10  9:00 [RESEND] sunxi: Add Inet 86V Rev 2 support agriveaux at deutnet.info
@ 2020-02-10  9:00 ` agriveaux at deutnet.info
  2020-02-10  9:39   ` Maxime Ripard
  0 siblings, 1 reply; 3+ messages in thread
From: agriveaux at deutnet.info @ 2020-02-10  9:00 UTC (permalink / raw)
  To: u-boot

From: Alexandre GRIVEAUX <agriveaux@deutnet.info>

Add Inet 86V Rev 2 support, based upon Inet 86VS.

Missing things:
- Accelerometer (MXC6225X)
- Touchpanel (Sitronix SL1536)
- Nand (29F32G08CBACA)
- Camera (HCWY0308)
---
 arch/arm/dts/Makefile                    |  3 ++-
 arch/arm/dts/sun5i-a13-inet-86v-rev2.dts | 17 +++++++++++++++
 configs/inet86v_rev2_defconfig           | 27 ++++++++++++++++++++++++
 3 files changed, 46 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm/dts/sun5i-a13-inet-86v-rev2.dts
 create mode 100644 configs/inet86v_rev2_defconfig

diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
index 6915783d9c..7a0f1c0484 100644
--- a/arch/arm/dts/Makefile
+++ b/arch/arm/dts/Makefile
@@ -444,7 +444,8 @@ dtb-$(CONFIG_MACH_SUN5I) += \
 	sun5i-a13-q8-tablet.dtb \
 	sun5i-a13-utoo-p66.dtb \
 	sun5i-gr8-chip-pro.dtb \
-	sun5i-r8-chip.dtb
+	sun5i-r8-chip.dtb \
+	sun5i-a13-inet-86v-rev2.dtb
 dtb-$(CONFIG_MACH_SUN6I) += \
 	sun6i-a31-app4-evb1.dtb \
 	sun6i-a31-colombus.dtb \
diff --git a/arch/arm/dts/sun5i-a13-inet-86v-rev2.dts b/arch/arm/dts/sun5i-a13-inet-86v-rev2.dts
new file mode 100644
index 0000000000..e73abb9a1e
--- /dev/null
+++ b/arch/arm/dts/sun5i-a13-inet-86v-rev2.dts
@@ -0,0 +1,17 @@
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * Copyright 2020 Alexandre Griveaux <agriveaux@deutnet.info>
+ *
+ * Minimal dts file for the iNet 86V
+ */
+
+/dts-v1/;
+
+#include "sun5i-a13.dtsi"
+#include "sun5i-reference-design-tablet.dtsi"
+
+/ {
+	model = "iNET 86V Rev 02";
+	compatible = "inet,86v-rev2", "allwinner,sun5i-a13";
+
+};
diff --git a/configs/inet86v_rev2_defconfig b/configs/inet86v_rev2_defconfig
new file mode 100644
index 0000000000..f8dbd14c0b
--- /dev/null
+++ b/configs/inet86v_rev2_defconfig
@@ -0,0 +1,27 @@
+CONFIG_ARM=y
+CONFIG_ARCH_SUNXI=y
+CONFIG_MACH_SUN5I=y
+CONFIG_NR_DRAM_BANKS=1
+CONFIG_SPL=y
+# CONFIG_MACH_SUN5I=y
+CONFIG_DRAM_CLK=432
+CONFIG_MMC0_CD_PIN="PG0"
+CONFIG_USB0_VBUS_PIN="PG12"
+CONFIG_USB0_VBUS_DET="PG1"
+CONFIG_USB0_ID_DET="PG2"
+CONFIG_AXP_GPIO=y
+# CONFIG_VIDEO_HDMI is not set
+CONFIG_VIDEO_LCD_MODE="x:800,y:480,depth:18,pclk_khz:33000,le:45,ri:209,up:22,lo:22,hs:1,vs:1,sync:3,vmode:0"
+CONFIG_VIDEO_LCD_POWER="AXP0-0"
+CONFIG_VIDEO_LCD_BL_EN="AXP0-1"
+CONFIG_VIDEO_LCD_BL_PWM="PB2"
+# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
+CONFIG_USE_PREBOOT=y
+CONFIG_SPL_I2C_SUPPORT=y
+# CONFIG_SPL_DOS_PARTITION is not set
+# CONFIG_SPL_EFI_PARTITION is not set
+CONFIG_DEFAULT_DEVICE_TREE="sun5i-a13-inet-86v-rev2"
+CONFIG_SYS_RELOC_GD_ENV_ADDR=y
+CONFIG_CONS_INDEX=2
+CONFIG_USB_MUSB_HOST=y
+CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y
-- 
2.20.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH] sunxi: Add Inet 86V Rev 2 support
  2020-02-10  9:00 ` [PATCH] " agriveaux at deutnet.info
@ 2020-02-10  9:39   ` Maxime Ripard
  0 siblings, 0 replies; 3+ messages in thread
From: Maxime Ripard @ 2020-02-10  9:39 UTC (permalink / raw)
  To: u-boot

Hi (again),

On Mon, Feb 10, 2020 at 10:00:39AM +0100, agriveaux at deutnet.info wrote:
> From: Alexandre GRIVEAUX <agriveaux@deutnet.info>
>
> Add Inet 86V Rev 2 support, based upon Inet 86VS.
>
> Missing things:
> - Accelerometer (MXC6225X)
> - Touchpanel (Sitronix SL1536)
> - Nand (29F32G08CBACA)
> - Camera (HCWY0308)

Please read the doc thouroughly, you're missing your SoB at least.

Maxime
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200210/478be766/attachment.sig>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-02-10  9:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-10  9:00 [RESEND] sunxi: Add Inet 86V Rev 2 support agriveaux at deutnet.info
2020-02-10  9:00 ` [PATCH] " agriveaux at deutnet.info
2020-02-10  9:39   ` Maxime Ripard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.