ARM: dts: sun4i: Add dts file for Chuwi V7 CW0825 tablet
Subsystems (3)
PATCH v2 1/3 ARM: dts: sun4i: Add dts file for Chuwi V7 CW0825 tablet
The Chuwi V7 is an A10 (sun4i) based tablet with 1G of RAM, 16G of nand flash, microsd slot, 7" 1024x768 lvds ips panel, mini hdmi out, headphones out, stereo speakers, front & back camera and usb wifi.
It is clearly marked "CHUWI", "V7" and "Model: CW0825" on the back of the tablet.
---
Changes in v2:
- Use cpp style includes
- Use GPIO header for the GPIO flags
- Address nodes by reference rather then by their full dt path
--- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/sun4i-a10-chuwi-v7-cw0825.dts | 99 +++++++++++++++++++++++++ 2 files changed, 100 insertions(+) create mode 100644 arch/arm/boot/dts/sun4i-a10-chuwi-v7-cw0825.dts
arch/arm/boot/dts/Makefile +1 -0
@@ -445,6 +445,7 @@ dtb-$(CONFIG_ARCH_STI)+= stih407-b2120.dtb \ dtb-$(CONFIG_MACH_SUN4I) += \ sun4i-a10-a1000.dtb \ sun4i-a10-ba10-tvbox.dtb \ + sun4i-a10-chuwi-v7-cw0825.dtb \ sun4i-a10-cubieboard.dtb \ sun4i-a10-mini-xplus.dtb \ sun4i-a10-hackberry.dtb \
arch/arm/boot/dts/sun4i-a10-chuwi-v7-cw0825.dts new file +99 -0
99 lines not on this page · raw message
Signature · 1 line
2.1.0
PATCH v2 2/3 ARM: dts: sun7i: Add dts file for Bananapro board
Add support for the new Bananapro A20 development board from lemaker.org. This board features 1G RAM, 2 USB A receptacles, 1 micro USB receptacle for OTG, 1 micro USB receptacle for power, HDMI, sata, Gbit ethernet, ir receiver, 3.5 mm jack for a/v out, on board microphone, 40 gpio pins and sdio wifi.
---
Changes in v2:
- Use cpp style includes
- Use GPIO header for the GPIO flags
- Address nodes by reference rather then by their full dt path
--- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/sun7i-a20-bananapro.dts | 261 ++++++++++++++++++++++++++++++ 2 files changed, 262 insertions(+) create mode 100644 arch/arm/boot/dts/sun7i-a20-bananapro.dts
arch/arm/boot/dts/Makefile +1 -0
@@ -467,6 +467,7 @@ dtb-$(CONFIG_MACH_SUN6I) += \ sun6i-a31s-cs908.dtb dtb-$(CONFIG_MACH_SUN7I) += \ sun7i-a20-bananapi.dtb \ + sun7i-a20-bananapro.dtb \ sun7i-a20-cubieboard2.dtb \ sun7i-a20-cubietruck.dtb \ sun7i-a20-hummingbird.dtb \
arch/arm/boot/dts/sun7i-a20-bananapro.dts new file +261 -0
261 lines not on this page · raw message
Signature · 1 line
2.1.0
PATCH v2 3/3 ARM: dts: sun8i: Add dts file for Ippo Q8H v1.2 tablets
In reply to Hans de GoedeThe Ippo Q8H v1.2 is almost identical to the v5, still it needs a separate dtb file since some gpio-s surrounding the wlan/bluetooth are different, it uses different camera sensors, and different DRAM timings.
Note that atm neither the wlan/bluetooth nor the camera are supported, so atm their is no difference between the dts files, but because of the different DRAM timings there are already separate u-boot configs for the 2 different versions, and the 1.2 config refers to sun8i-a23-ippo-q8h-v1.2.dtb to be future proof, so we need to provide a sun8i-a23-ippo-q8h-v1.2.dtb file.
---
Changes in v2:
-Change compatible for v1.2 from "ippo,q8h-v5" to "ippo,q8h-v1.2"
--- arch/arm/boot/dts/Makefile | 3 +- arch/arm/boot/dts/sun8i-a23-ippo-q8h-v1.2.dts | 59 +++++++++++++++++++++++++++ 2 files changed, 61 insertions(+), 1 deletion(-) create mode 100644 arch/arm/boot/dts/sun8i-a23-ippo-q8h-v1.2.dts
arch/arm/boot/dts/Makefile +2 -1
@@ -478,7 +478,8 @@ dtb-$(CONFIG_MACH_SUN7I) += \ sun7i-a20-olinuxino-micro.dtb \ sun7i-a20-pcduino3.dtb dtb-$(CONFIG_MACH_SUN8I) += \ - sun8i-a23-ippo-q8h-v5.dtb + sun8i-a23-ippo-q8h-v5.dtb \ + sun8i-a23-ippo-q8h-v1.2.dtb dtb-$(CONFIG_MACH_SUN9I) += \ sun9i-a80-optimus.dtb dtb-$(CONFIG_ARCH_TEGRA) += tegra20-harmony.dtb \
arch/arm/boot/dts/sun8i-a23-ippo-q8h-v1.2.dts new file +59 -0
59 lines not on this page · raw message
Signature · 1 line
2.1.0
Maxime Ripard
AppliedPATCH v2 3/3 ARM: dts: sun8i: Add dts file for Ippo Q8H v1.2 tablets
Quoted 11 lines · Hans de Goede
The Ippo Q8H v1.2 is almost identical to the v5, still it needs a separate dtb file since some gpio-s surrounding the wlan/bluetooth are different, it uses different camera sensors, and different DRAM timings.
Note that atm neither the wlan/bluetooth nor the camera are supported, so atm their is no difference between the dts files, but because of the different DRAM timings there are already separate u-boot configs for the 2 different versions, and the 1.2 config refers to sun8i-a23-ippo-q8h-v1.2.dtb to be future proof, so we need to provide a sun8i-a23-ippo-q8h-v1.2.dtb file.
Signed-off-by Hans de Goede <[email protected]>
Applied, thanks!
Maxime
Signature · 10 lines
Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20150113/2e5bb2e6/attachment.sig>
PATCH v2 1/3 ARM: dts: sun4i: Add dts file for Chuwi V7 CW0825 tablet
In reply to Hans de GoedeQuoted 92 lines · Hans de Goede
The Chuwi V7 is an A10 (sun4i) based tablet with 1G of RAM, 16G of nand flash, microsd slot, 7" 1024x768 lvds ips panel, mini hdmi out, headphones out, stereo speakers, front & back camera and usb wifi.
It is clearly marked "CHUWI", "V7" and "Model: CW0825" on the back of the tablet.
Signed-off-by Hans de Goede <[email protected]>---
Changes in v2:
- Use cpp style includes
- Use GPIO header for the GPIO flags
- Address nodes by reference rather then by their full dt path--- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/sun4i-a10-chuwi-v7-cw0825.dts | 99 +++++++++++++++++++++++++ 2 files changed, 100 insertions(+) create mode 100644 arch/arm/boot/dts/sun4i-a10-chuwi-v7-cw0825.dtsarch/arm/boot/dts/Makefile +1
-0@@ -445,6 +445,7 @@ dtb-$(CONFIG_ARCH_STI)+= stih407-b2120.dtb \ dtb-$(CONFIG_MACH_SUN4I) += \ sun4i-a10-a1000.dtb \ sun4i-a10-ba10-tvbox.dtb \ + sun4i-a10-chuwi-v7-cw0825.dtb \ sun4i-a10-cubieboard.dtb \ sun4i-a10-mini-xplus.dtb \ sun4i-a10-hackberry.dtb \arch/arm/boot/dts/sun4i-a10-chuwi-v7-cw0825.dts new file +55
-0@@ -0,0 +1,99 @@ +/* + * Copyright 2015 Hans de Goede <[email protected]> + * + * 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. + * + * You should have received a copy of the GNU General Public + * License along with this file; if not, write to the Free + * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, + * MA 02110-1301 USA + * + * 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 "sun4i-a10.dtsi" +#include "sunxi-common-regulators.dtsi" + +/ { + model = "Chuwi V7 CW0825"; + compatible = "chuwi,v7-cw0825", "allwinner,sun4i-a10"; +};
arch/arm/boot/dts/sun4i-a10-chuwi-v7-cw0825.dts line 65
Quoted 10 lines
arch/arm/boot/dts/sun4i-a10-chuwi-v7-cw0825.dts new file +10
-0+ +&mmc0 { + pinctrl-names = "default"; + pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_reference_design>; + vmmc-supply = <®_vcc3v3>; + bus-width = <4>; + cd-gpios = <&pio 7 1 GPIO_ACTIVE_HIGH>; /* PH1 */ + cd-inverted; + status = "okay"; +};
MMC0 base address: 01c0f000
arch/arm/boot/dts/sun4i-a10-chuwi-v7-cw0825.dts line 71
Quoted 6 lines
arch/arm/boot/dts/sun4i-a10-chuwi-v7-cw0825.dts new file +6
-0+ +&uart0 { + pinctrl-names = "default"; + pinctrl-0 = <&uart0_pins_a>; + status = "okay"; +};
UART0 base address: 0x01c28000
arch/arm/boot/dts/sun4i-a10-chuwi-v7-cw0825.dts line 76
Quoted 4 lines
arch/arm/boot/dts/sun4i-a10-chuwi-v7-cw0825.dts new file +4
-0+&usbphy { + usb2_vbus-supply = <®_usb2_vbus>; + status = "okay"; +};
USB PHY base address: 01c13400
See what I meant?
I'm not blaming anyone, it's just a fact. If you made that mistake, as experienced as you are, we can expect from all the newcomers to do it.
Maxime
Signature · 10 lines
Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20150114/11d10038/attachment-0001.sig>