linux-amlogic.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] add support for videostrong KII Pro
@ 2019-11-20 16:49 Mohammad Rasim
  2019-11-20 16:49 ` [PATCH 1/2] dt-bindings: Add vendor prefix for Videostrong Mohammad Rasim
  2019-11-20 16:49 ` [PATCH 2/2] arm64: dts: meson-gxbb: add support for Videostrong KII Pro Mohammad Rasim
  0 siblings, 2 replies; 3+ messages in thread
From: Mohammad Rasim @ 2019-11-20 16:49 UTC (permalink / raw)
  To: linux-amlogic
  Cc: Martin Blumenstingl, Kevin Hilman, Mohammad Rasim, Neil Armstrong

This patch set adds support for the Videostrong KII Pro tv box which is based on the gxbb-p201 reference design.
Patch 1 and 4 also adds support for the BCM4335A0 that comes with this device

Device specifications:
    SoC –  Amlogic S905 quad core ARM Cortex-A53 @ up to 2.0GHz with  penta-core Mali-450MP GPU @ 750 MHz
    System Memory – 2GB DDR3
    Storage – 16GB eMMC flash + micro SD card slot up to 32GB
    Video Output – HDMI 2.0 up to 4K @ 60Hz, and 3.5mm AV (composite video) jack
    Audio – HDMI, AV (stereo audio), optical S/PDIF
    Video Codecs – 10-bit H.265 up to 4K60, MPEG/VC-1/AVS+/H.265 up to 4K30
    Tuner – Combo DVB-T/T2 and DVB-S/S2 with two connectors
    Connectivity – 10/100M Ethernet, 802.11 b/g/n/ac Wi-Fi, and Bluetooth 4.0 (Ampak AP6335)
    USB – 4x USB 2.0 host ports
    Misc – Power button and LED, IR receiver
    Power Supply –  DC 12V/1A
    Dimensions – 130 x 120 x 32 mm
    Weight – 187.50 grams

Changes since RFC v1:
- add commit description to the cover letter
- update bluetooth bindings
- use lowercase name for the dts filename,vendor prefix and device compatible
- add copyrights to the new files
- include "meson-gxbb-p20x.dtsi" instead of "meson-gxbb-p201.dts"

Changes since RFC v2:
- Fix styling issues


Mohammad Rasim (2):
  dt-bindings: Add vendor prefix for Videostrong Technology
  arm64: dts: meson-gxbb: add support for Videostrong KII Pro

 .../devicetree/bindings/vendor-prefixes.yaml  |  2 ++
 arch/arm64/boot/dts/amlogic/Makefile          |  1 +
 .../boot/dts/amlogic/meson-gxbb-kii-pro.dts   | 34 +++++++++++++++++++
 3 files changed, 37 insertions(+)
 create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxbb-kii-pro.dts

-- 
2.24.0


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

* [PATCH 1/2] dt-bindings: Add vendor prefix for Videostrong
  2019-11-20 16:49 [PATCH 0/2] add support for videostrong KII Pro Mohammad Rasim
@ 2019-11-20 16:49 ` Mohammad Rasim
  2019-11-20 16:49 ` [PATCH 2/2] arm64: dts: meson-gxbb: add support for Videostrong KII Pro Mohammad Rasim
  1 sibling, 0 replies; 3+ messages in thread
From: Mohammad Rasim @ 2019-11-20 16:49 UTC (permalink / raw)
  To: linux-amlogic, devicetree, Rob Herring, Mark Rutland
  Cc: Martin Blumenstingl, Kevin Hilman, Mohammad Rasim, Neil Armstrong

Videostrong Technology Co., Ltd., A manufacturer of Android Players & STB
(Android with DVB Hybrid box & DVB-T2/S2/C/ISDB-T/DTMB-TH/ATSC )as well as
HD media players.

Signed-off-by: Mohammad Rasim <mohammad.rasim96@gmail.com>
---
 Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml
index 967e78c5ec0a..e4bd0a9fd4e5 100644
--- a/Documentation/devicetree/bindings/vendor-prefixes.yaml
+++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml
@@ -1006,6 +1006,8 @@ patternProperties:
     description: Variscite Ltd.
   "^via,.*":
     description: VIA Technologies, Inc.
+  "^videostrong,.*":
+    description: Videostrong Technology Co., Ltd.
   "^virtio,.*":
     description: Virtual I/O Device Specification, developed by the OASIS consortium
   "^vishay,.*":
-- 
2.24.0


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

* [PATCH 2/2] arm64: dts: meson-gxbb: add support for Videostrong KII Pro
  2019-11-20 16:49 [PATCH 0/2] add support for videostrong KII Pro Mohammad Rasim
  2019-11-20 16:49 ` [PATCH 1/2] dt-bindings: Add vendor prefix for Videostrong Mohammad Rasim
@ 2019-11-20 16:49 ` Mohammad Rasim
  1 sibling, 0 replies; 3+ messages in thread
From: Mohammad Rasim @ 2019-11-20 16:49 UTC (permalink / raw)
  To: linux-amlogic, devicetree, Rob Herring, Mark Rutland
  Cc: Martin Blumenstingl, Kevin Hilman, Mohammad Rasim, Neil Armstrong

This patch adds support for the Videostrong KII Pro tv box which is
based on the gxbb-p201 reference design

The device tree includes a new compatible for bluetooth "brcm,bcm4335a0"
which was sent as a patch and under review

Signed-off-by: Mohammad Rasim <mohammad.rasim96@gmail.com>
---
 arch/arm64/boot/dts/amlogic/Makefile          |  1 +
 .../boot/dts/amlogic/meson-gxbb-kii-pro.dts   | 34 +++++++++++++++++++
 2 files changed, 35 insertions(+)
 create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxbb-kii-pro.dts

diff --git a/arch/arm64/boot/dts/amlogic/Makefile b/arch/arm64/boot/dts/amlogic/Makefile
index 84afecba9ec0..a795a170dcab 100644
--- a/arch/arm64/boot/dts/amlogic/Makefile
+++ b/arch/arm64/boot/dts/amlogic/Makefile
@@ -6,6 +6,7 @@ dtb-$(CONFIG_ARCH_MESON) += meson-g12a-x96-max.dtb
 dtb-$(CONFIG_ARCH_MESON) += meson-g12b-a311d-khadas-vim3.dtb
 dtb-$(CONFIG_ARCH_MESON) += meson-g12b-s922x-khadas-vim3.dtb
 dtb-$(CONFIG_ARCH_MESON) += meson-g12b-odroid-n2.dtb
+dtb-$(CONFIG_ARCH_MESON) += meson-gxbb-kii-pro.dtb
 dtb-$(CONFIG_ARCH_MESON) += meson-gxbb-nanopi-k2.dtb
 dtb-$(CONFIG_ARCH_MESON) += meson-gxbb-nexbox-a95x.dtb
 dtb-$(CONFIG_ARCH_MESON) += meson-gxbb-odroidc2.dtb
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-kii-pro.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-kii-pro.dts
new file mode 100644
index 000000000000..2aa0b01aeb6c
--- /dev/null
+++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-kii-pro.dts
@@ -0,0 +1,34 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Copyright (c) 2019 Mohammad Rasim <mohammad.rasim96@gmail.com>
+ */
+
+/dts-v1/;
+
+#include "meson-gxbb-p20x.dtsi"
+
+/ {
+	compatible = "videostrong,kii-pro", "amlogic,p201", "amlogic,s905", "amlogic,meson-gxbb";
+	model = "Videostrong KII Pro";
+};
+
+&uart_A {
+	status = "okay";
+	pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>;
+	pinctrl-names = "default";
+	uart-has-rtscts;
+
+	bluetooth {
+		compatible = "brcm,bcm4335a0";
+	};
+};
+
+&ethmac {
+	status = "okay";
+	pinctrl-0 = <&eth_rmii_pins>;
+	pinctrl-names = "default";
+	phy-mode = "rmii";
+	snps,reset-gpio = <&gpio GPIOZ_14 0>;
+	snps,reset-delays-us = <0>, <10000>, <1000000>;
+	snps,reset-active-low;
+};
-- 
2.24.0


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

end of thread, other threads:[~2019-11-20 16:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-20 16:49 [PATCH 0/2] add support for videostrong KII Pro Mohammad Rasim
2019-11-20 16:49 ` [PATCH 1/2] dt-bindings: Add vendor prefix for Videostrong Mohammad Rasim
2019-11-20 16:49 ` [PATCH 2/2] arm64: dts: meson-gxbb: add support for Videostrong KII Pro Mohammad Rasim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).