* [PATCH v2 00/10] ARM64: rockchip: Initial GeekBox enablement
@ 2016-02-08 2:17 ` Andreas Färber
0 siblings, 0 replies; 57+ messages in thread
From: Andreas Färber @ 2016-02-08 2:17 UTC (permalink / raw)
To: linux-rockchip
Cc: Heiko Stuebner, linux-arm-kernel, linux-kernel,
Andreas Färber, devicetree
Hello,
This series adds initial support for the RK3368 based GeekBox.
v2 drops the .dtsi for the module, adds some nodes and a Landingship config.
This is pretty much the state demo'ed at FOSDEM 2016.
Regards,
Andreas
Cc: devicetree@vger.kernel.org
Andreas Färber (10):
Documentation: devicetree: Add vendor prefix for GeekBuying.com
Documentation: devicetree: rockchip: Document GeekBox
ARM64: dts: rockchip: Add GeekBox config
ARM64: dts: rockchip: Add GMAC to GeekBox
ARM64: dts: rockchip: Add eMMC to GeekBox
ARM64: dts: rockchip: Add IR receiver to GeekBox
ARM64: dts: rockchip: Add power key to GeekBox
ARM64: dts: rockchip: Add tsadc for GeekBox
Documentation: devicetree: rockchip: Document Landingship
ARM64: dts: rockchip: Add Landingship config
Documentation/devicetree/bindings/arm/rockchip.txt | 9 +
.../devicetree/bindings/vendor-prefixes.txt | 1 +
arch/arm64/boot/dts/rockchip/Makefile | 2 +
.../dts/rockchip/rk3368-geekbox-landingship.dts | 56 ++++
arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts | 321 +++++++++++++++++++++
5 files changed, 389 insertions(+)
create mode 100644 arch/arm64/boot/dts/rockchip/rk3368-geekbox-landingship.dts
create mode 100644 arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
--
2.6.2
^ permalink raw reply [flat|nested] 57+ messages in thread
* [PATCH v2 00/10] ARM64: rockchip: Initial GeekBox enablement
@ 2016-02-08 2:17 ` Andreas Färber
0 siblings, 0 replies; 57+ messages in thread
From: Andreas Färber @ 2016-02-08 2:17 UTC (permalink / raw)
To: linux-arm-kernel
Hello,
This series adds initial support for the RK3368 based GeekBox.
v2 drops the .dtsi for the module, adds some nodes and a Landingship config.
This is pretty much the state demo'ed at FOSDEM 2016.
Regards,
Andreas
Cc: devicetree at vger.kernel.org
Andreas F?rber (10):
Documentation: devicetree: Add vendor prefix for GeekBuying.com
Documentation: devicetree: rockchip: Document GeekBox
ARM64: dts: rockchip: Add GeekBox config
ARM64: dts: rockchip: Add GMAC to GeekBox
ARM64: dts: rockchip: Add eMMC to GeekBox
ARM64: dts: rockchip: Add IR receiver to GeekBox
ARM64: dts: rockchip: Add power key to GeekBox
ARM64: dts: rockchip: Add tsadc for GeekBox
Documentation: devicetree: rockchip: Document Landingship
ARM64: dts: rockchip: Add Landingship config
Documentation/devicetree/bindings/arm/rockchip.txt | 9 +
.../devicetree/bindings/vendor-prefixes.txt | 1 +
arch/arm64/boot/dts/rockchip/Makefile | 2 +
.../dts/rockchip/rk3368-geekbox-landingship.dts | 56 ++++
arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts | 321 +++++++++++++++++++++
5 files changed, 389 insertions(+)
create mode 100644 arch/arm64/boot/dts/rockchip/rk3368-geekbox-landingship.dts
create mode 100644 arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
--
2.6.2
^ permalink raw reply [flat|nested] 57+ messages in thread
* [PATCH v2 01/10] Documentation: devicetree: Add vendor prefix for GeekBuying.com
2016-02-08 2:17 ` Andreas Färber
(?)
@ 2016-02-08 2:17 ` Andreas Färber
-1 siblings, 0 replies; 57+ messages in thread
From: Andreas Färber @ 2016-02-08 2:17 UTC (permalink / raw)
To: linux-rockchip
Cc: Heiko Stuebner, linux-arm-kernel, linux-kernel,
Andreas Färber, Rob Herring, Pawel Moll, Mark Rutland,
Ian Campbell, Kumar Gala,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS
Use "geekbuying".
Signed-off-by: Andreas Färber <afaerber@suse.de>
---
v2: New (Heiko)
Documentation/devicetree/bindings/vendor-prefixes.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt
index 72e2c5a2b327..5e6f97b7af3e 100644
--- a/Documentation/devicetree/bindings/vendor-prefixes.txt
+++ b/Documentation/devicetree/bindings/vendor-prefixes.txt
@@ -87,6 +87,7 @@ fcs Fairchild Semiconductor
firefly Firefly
focaltech FocalTech Systems Co.,Ltd
fsl Freescale Semiconductor
+geekbuying GeekBuying
GEFanuc GE Fanuc Intelligent Platforms Embedded Systems, Inc.
gef GE Fanuc Intelligent Platforms Embedded Systems, Inc.
geniatech Geniatech, Inc.
--
2.6.2
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [PATCH v2 01/10] Documentation: devicetree: Add vendor prefix for GeekBuying.com
@ 2016-02-08 2:17 ` Andreas Färber
0 siblings, 0 replies; 57+ messages in thread
From: Andreas Färber @ 2016-02-08 2:17 UTC (permalink / raw)
To: linux-rockchip
Cc: Heiko Stuebner, linux-arm-kernel, linux-kernel,
Andreas Färber, Rob Herring, Pawel Moll, Mark Rutland,
Ian Campbell, Kumar Gala,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS
Use "geekbuying".
Signed-off-by: Andreas Färber <afaerber@suse.de>
---
v2: New (Heiko)
Documentation/devicetree/bindings/vendor-prefixes.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt
index 72e2c5a2b327..5e6f97b7af3e 100644
--- a/Documentation/devicetree/bindings/vendor-prefixes.txt
+++ b/Documentation/devicetree/bindings/vendor-prefixes.txt
@@ -87,6 +87,7 @@ fcs Fairchild Semiconductor
firefly Firefly
focaltech FocalTech Systems Co.,Ltd
fsl Freescale Semiconductor
+geekbuying GeekBuying
GEFanuc GE Fanuc Intelligent Platforms Embedded Systems, Inc.
gef GE Fanuc Intelligent Platforms Embedded Systems, Inc.
geniatech Geniatech, Inc.
--
2.6.2
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [PATCH v2 01/10] Documentation: devicetree: Add vendor prefix for GeekBuying.com
@ 2016-02-08 2:17 ` Andreas Färber
0 siblings, 0 replies; 57+ messages in thread
From: Andreas Färber @ 2016-02-08 2:17 UTC (permalink / raw)
To: linux-arm-kernel
Use "geekbuying".
Signed-off-by: Andreas F?rber <afaerber@suse.de>
---
v2: New (Heiko)
Documentation/devicetree/bindings/vendor-prefixes.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt
index 72e2c5a2b327..5e6f97b7af3e 100644
--- a/Documentation/devicetree/bindings/vendor-prefixes.txt
+++ b/Documentation/devicetree/bindings/vendor-prefixes.txt
@@ -87,6 +87,7 @@ fcs Fairchild Semiconductor
firefly Firefly
focaltech FocalTech Systems Co.,Ltd
fsl Freescale Semiconductor
+geekbuying GeekBuying
GEFanuc GE Fanuc Intelligent Platforms Embedded Systems, Inc.
gef GE Fanuc Intelligent Platforms Embedded Systems, Inc.
geniatech Geniatech, Inc.
--
2.6.2
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [PATCH v2 02/10] Documentation: devicetree: rockchip: Document GeekBox
@ 2016-02-08 2:17 ` Andreas Färber
0 siblings, 0 replies; 57+ messages in thread
From: Andreas Färber @ 2016-02-08 2:17 UTC (permalink / raw)
To: linux-rockchip
Cc: Heiko Stuebner, linux-arm-kernel, linux-kernel,
Andreas Färber, Rob Herring, Pawel Moll, Mark Rutland,
Ian Campbell, Kumar Gala,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS
Use "geekbuying,geekbox" compatible string.
Signed-off-by: Andreas Färber <afaerber@suse.de>
---
v2: New (Heiko)
Documentation/devicetree/bindings/arm/rockchip.txt | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/rockchip.txt b/Documentation/devicetree/bindings/arm/rockchip.txt
index 078c14fcdaaa..f633595b196c 100644
--- a/Documentation/devicetree/bindings/arm/rockchip.txt
+++ b/Documentation/devicetree/bindings/arm/rockchip.txt
@@ -87,6 +87,10 @@ Rockchip platforms device tree bindings
"google,veyron-speedy-rev3", "google,veyron-speedy-rev2",
"google,veyron-speedy", "google,veyron", "rockchip,rk3288";
+- GeekBuying GeekBox:
+ Required root node properties:
+ - compatible = "geekbuying,geekbox", "rockchip,rk3368";
+
- Rockchip RK3368 evb:
Required root node properties:
- compatible = "rockchip,rk3368-evb-act8846", "rockchip,rk3368";
--
2.6.2
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [PATCH v2 02/10] Documentation: devicetree: rockchip: Document GeekBox
@ 2016-02-08 2:17 ` Andreas Färber
0 siblings, 0 replies; 57+ messages in thread
From: Andreas Färber @ 2016-02-08 2:17 UTC (permalink / raw)
To: linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
Cc: Mark Rutland,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
Heiko Stuebner, Pawel Moll, Ian Campbell,
linux-kernel-u79uwXL29TY76Z2rM5mHXA, Rob Herring, Kumar Gala,
Andreas Färber,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
Use "geekbuying,geekbox" compatible string.
Signed-off-by: Andreas Färber <afaerber@suse.de>
---
v2: New (Heiko)
Documentation/devicetree/bindings/arm/rockchip.txt | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/rockchip.txt b/Documentation/devicetree/bindings/arm/rockchip.txt
index 078c14fcdaaa..f633595b196c 100644
--- a/Documentation/devicetree/bindings/arm/rockchip.txt
+++ b/Documentation/devicetree/bindings/arm/rockchip.txt
@@ -87,6 +87,10 @@ Rockchip platforms device tree bindings
"google,veyron-speedy-rev3", "google,veyron-speedy-rev2",
"google,veyron-speedy", "google,veyron", "rockchip,rk3288";
+- GeekBuying GeekBox:
+ Required root node properties:
+ - compatible = "geekbuying,geekbox", "rockchip,rk3368";
+
- Rockchip RK3368 evb:
Required root node properties:
- compatible = "rockchip,rk3368-evb-act8846", "rockchip,rk3368";
--
2.6.2
_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [PATCH v2 02/10] Documentation: devicetree: rockchip: Document GeekBox
@ 2016-02-08 2:17 ` Andreas Färber
0 siblings, 0 replies; 57+ messages in thread
From: Andreas Färber @ 2016-02-08 2:17 UTC (permalink / raw)
To: linux-arm-kernel
Use "geekbuying,geekbox" compatible string.
Signed-off-by: Andreas F?rber <afaerber@suse.de>
---
v2: New (Heiko)
Documentation/devicetree/bindings/arm/rockchip.txt | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/rockchip.txt b/Documentation/devicetree/bindings/arm/rockchip.txt
index 078c14fcdaaa..f633595b196c 100644
--- a/Documentation/devicetree/bindings/arm/rockchip.txt
+++ b/Documentation/devicetree/bindings/arm/rockchip.txt
@@ -87,6 +87,10 @@ Rockchip platforms device tree bindings
"google,veyron-speedy-rev3", "google,veyron-speedy-rev2",
"google,veyron-speedy", "google,veyron", "rockchip,rk3288";
+- GeekBuying GeekBox:
+ Required root node properties:
+ - compatible = "geekbuying,geekbox", "rockchip,rk3368";
+
- Rockchip RK3368 evb:
Required root node properties:
- compatible = "rockchip,rk3368-evb-act8846", "rockchip,rk3368";
--
2.6.2
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [PATCH v2 03/10] ARM64: dts: rockchip: Add GeekBox config
@ 2016-02-08 2:17 ` Andreas Färber
0 siblings, 0 replies; 57+ messages in thread
From: Andreas Färber @ 2016-02-08 2:17 UTC (permalink / raw)
To: linux-rockchip
Cc: Heiko Stuebner, linux-arm-kernel, linux-kernel,
Andreas Färber, Rob Herring, Pawel Moll, Mark Rutland,
Ian Campbell, Kumar Gala, Catalin Marinas, Will Deacon,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS
The GeekBox contains an MXM3 module with a Rockchip RK3368 SoC.
Some connectors are available directly on the module.
This adds initial support, namely serial and USB.
Signed-off-by: Andreas Färber <afaerber@suse.de>
---
v1 -> v2:
* Dropped rk3368-geekbox.dtsi. rk3368-geekbox-landingship.dts can
#include "rk3368-geekbox.dts" just fine, when leaving out /dts-v1/;.
* Revisited always-on / boot-on for PMIC regulator nodes. (Heiko)
* Switched pmic-sleep from RK_FUNC_GPIO to RK_FUNC_2. (schematics)
arch/arm64/boot/dts/rockchip/Makefile | 1 +
arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts | 245 ++++++++++++++++++++++++
2 files changed, 246 insertions(+)
create mode 100644 arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
diff --git a/arch/arm64/boot/dts/rockchip/Makefile b/arch/arm64/boot/dts/rockchip/Makefile
index e3f0b5f4ba4e..df37865e8ced 100644
--- a/arch/arm64/boot/dts/rockchip/Makefile
+++ b/arch/arm64/boot/dts/rockchip/Makefile
@@ -1,4 +1,5 @@
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3368-evb-act8846.dtb
+dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3368-geekbox.dtb
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3368-r88.dtb
always := $(dtb-y)
diff --git a/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts b/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
new file mode 100644
index 000000000000..bc91d39758ab
--- /dev/null
+++ b/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
@@ -0,0 +1,245 @@
+/*
+ * Copyright (c) 2016 Andreas Färber
+ *
+ * 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"
+
+/ {
+ model = "GeekBox";
+ compatible = "geekbuying,geekbox", "rockchip,rk3368";
+
+ chosen {
+ stdout-path = "serial2:115200n8";
+ };
+
+ memory {
+ device_type = "memory";
+ reg = <0x0 0x0 0x0 0x80000000>;
+ };
+
+ leds: gpio-leds {
+ compatible = "gpio-leds";
+
+ blue {
+ gpios = <&gpio2 2 GPIO_ACTIVE_HIGH>;
+ label = "geekbox:blue:led";
+ default-state = "on";
+ };
+
+ red {
+ gpios = <&gpio2 3 GPIO_ACTIVE_HIGH>;
+ label = "geekbox:red:led";
+ default-state = "off";
+ };
+ };
+
+ vcc_sys: vcc-sys-regulator {
+ compatible = "regulator-fixed";
+ regulator-name = "vcc_sys";
+ regulator-min-microvolt = <5000000>;
+ regulator-max-microvolt = <5000000>;
+ regulator-always-on;
+ regulator-boot-on;
+ };
+};
+
+&i2c0 {
+ status = "okay";
+
+ rk808: pmic@1b {
+ compatible = "rockchip,rk808";
+ reg = <0x1b>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&pmic_int>, <&pmic_sleep>;
+ interrupt-parent = <&gpio0>;
+ interrupts = <5 IRQ_TYPE_LEVEL_LOW>;
+ rockchip,system-power-controller;
+ vcc1-supply = <&vcc_sys>;
+ vcc2-supply = <&vcc_sys>;
+ vcc3-supply = <&vcc_sys>;
+ vcc4-supply = <&vcc_sys>;
+ vcc6-supply = <&vcc_sys>;
+ vcc7-supply = <&vcc_sys>;
+ vcc8-supply = <&vcc_io>;
+ vcc9-supply = <&vcc_sys>;
+ vcc10-supply = <&vcc_sys>;
+ vcc11-supply = <&vcc_sys>;
+ vcc12-supply = <&vcc_io>;
+ clock-output-names = "xin32k", "rk808-clkout2";
+ #clock-cells = <1>;
+
+ regulators {
+ vdd_cpu: DCDC_REG1 {
+ regulator-always-on;
+ regulator-boot-on;
+ regulator-min-microvolt = <700000>;
+ regulator-max-microvolt = <1500000>;
+ regulator-name = "vdd_cpu";
+ };
+
+ vdd_log: DCDC_REG2 {
+ regulator-always-on;
+ regulator-boot-on;
+ regulator-min-microvolt = <700000>;
+ regulator-max-microvolt = <1500000>;
+ regulator-name = "vdd_log";
+ };
+
+ vcc_ddr: DCDC_REG3 {
+ regulator-always-on;
+ regulator-boot-on;
+ regulator-name = "vcc_ddr";
+ };
+
+ vcc_io: DCDC_REG4 {
+ regulator-always-on;
+ regulator-boot-on;
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ regulator-name = "vcc_io";
+ };
+
+ vcc18_flash: LDO_REG1 {
+ regulator-always-on;
+ regulator-boot-on;
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ regulator-name = "vcc18_flash";
+ };
+
+ vcc33_lcd: LDO_REG2 {
+ regulator-always-on;
+ regulator-boot-on;
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ regulator-name = "vcc33_lcd";
+ };
+
+ vdd_10: LDO_REG3 {
+ regulator-always-on;
+ regulator-boot-on;
+ regulator-min-microvolt = <1000000>;
+ regulator-max-microvolt = <1000000>;
+ regulator-name = "vdd_10";
+ };
+
+ vcca_18: LDO_REG4 {
+ regulator-boot-on;
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ regulator-name = "vcca_18";
+ };
+
+ vccio_sd: LDO_REG5 {
+ regulator-always-on;
+ regulator-boot-on;
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <3300000>;
+ regulator-name = "vccio_sd";
+ };
+
+ vdd10_lcd: LDO_REG6 {
+ regulator-always-on;
+ regulator-boot-on;
+ regulator-min-microvolt = <1000000>;
+ regulator-max-microvolt = <1000000>;
+ regulator-name = "vdd10_lcd";
+ };
+
+ vcc_18: LDO_REG7 {
+ regulator-always-on;
+ regulator-boot-on;
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ regulator-name = "vcc_18";
+ };
+
+ vcc18_lcd: LDO_REG8 {
+ regulator-always-on;
+ regulator-boot-on;
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ regulator-name = "vcc18_lcd";
+ };
+
+ vcc_sd: SWITCH_REG1 {
+ regulator-always-on;
+ regulator-boot-on;
+ regulator-name = "vcc_sd";
+ };
+
+ vcc_lan: SWITCH_REG2 {
+ regulator-always-on;
+ regulator-boot-on;
+ regulator-name = "vcc_lan";
+ };
+ };
+ };
+};
+
+&pinctrl {
+ pmic {
+ pmic_sleep: pmic-sleep {
+ rockchip,pins = <0 0 RK_FUNC_2 &pcfg_pull_none>;
+ };
+
+ pmic_int: pmic-int {
+ rockchip,pins = <0 5 RK_FUNC_GPIO &pcfg_pull_up>;
+ };
+ };
+};
+
+&uart2 {
+ status = "okay";
+};
+
+&usb_host0_ehci {
+ status = "okay";
+};
+
+&usb_otg {
+ status = "okay";
+};
+
+&wdt {
+ status = "okay";
+};
--
2.6.2
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [PATCH v2 03/10] ARM64: dts: rockchip: Add GeekBox config
@ 2016-02-08 2:17 ` Andreas Färber
0 siblings, 0 replies; 57+ messages in thread
From: Andreas Färber @ 2016-02-08 2:17 UTC (permalink / raw)
To: linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
Cc: Mark Rutland,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
Heiko Stuebner, Pawel Moll, Ian Campbell, Catalin Marinas,
Will Deacon, linux-kernel-u79uwXL29TY76Z2rM5mHXA, Rob Herring,
Kumar Gala, Andreas Färber,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
The GeekBox contains an MXM3 module with a Rockchip RK3368 SoC.
Some connectors are available directly on the module.
This adds initial support, namely serial and USB.
Signed-off-by: Andreas Färber <afaerber@suse.de>
---
v1 -> v2:
* Dropped rk3368-geekbox.dtsi. rk3368-geekbox-landingship.dts can
#include "rk3368-geekbox.dts" just fine, when leaving out /dts-v1/;.
* Revisited always-on / boot-on for PMIC regulator nodes. (Heiko)
* Switched pmic-sleep from RK_FUNC_GPIO to RK_FUNC_2. (schematics)
arch/arm64/boot/dts/rockchip/Makefile | 1 +
arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts | 245 ++++++++++++++++++++++++
2 files changed, 246 insertions(+)
create mode 100644 arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
diff --git a/arch/arm64/boot/dts/rockchip/Makefile b/arch/arm64/boot/dts/rockchip/Makefile
index e3f0b5f4ba4e..df37865e8ced 100644
--- a/arch/arm64/boot/dts/rockchip/Makefile
+++ b/arch/arm64/boot/dts/rockchip/Makefile
@@ -1,4 +1,5 @@
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3368-evb-act8846.dtb
+dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3368-geekbox.dtb
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3368-r88.dtb
always := $(dtb-y)
diff --git a/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts b/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
new file mode 100644
index 000000000000..bc91d39758ab
--- /dev/null
+++ b/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
@@ -0,0 +1,245 @@
+/*
+ * Copyright (c) 2016 Andreas Färber
+ *
+ * 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"
+
+/ {
+ model = "GeekBox";
+ compatible = "geekbuying,geekbox", "rockchip,rk3368";
+
+ chosen {
+ stdout-path = "serial2:115200n8";
+ };
+
+ memory {
+ device_type = "memory";
+ reg = <0x0 0x0 0x0 0x80000000>;
+ };
+
+ leds: gpio-leds {
+ compatible = "gpio-leds";
+
+ blue {
+ gpios = <&gpio2 2 GPIO_ACTIVE_HIGH>;
+ label = "geekbox:blue:led";
+ default-state = "on";
+ };
+
+ red {
+ gpios = <&gpio2 3 GPIO_ACTIVE_HIGH>;
+ label = "geekbox:red:led";
+ default-state = "off";
+ };
+ };
+
+ vcc_sys: vcc-sys-regulator {
+ compatible = "regulator-fixed";
+ regulator-name = "vcc_sys";
+ regulator-min-microvolt = <5000000>;
+ regulator-max-microvolt = <5000000>;
+ regulator-always-on;
+ regulator-boot-on;
+ };
+};
+
+&i2c0 {
+ status = "okay";
+
+ rk808: pmic@1b {
+ compatible = "rockchip,rk808";
+ reg = <0x1b>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&pmic_int>, <&pmic_sleep>;
+ interrupt-parent = <&gpio0>;
+ interrupts = <5 IRQ_TYPE_LEVEL_LOW>;
+ rockchip,system-power-controller;
+ vcc1-supply = <&vcc_sys>;
+ vcc2-supply = <&vcc_sys>;
+ vcc3-supply = <&vcc_sys>;
+ vcc4-supply = <&vcc_sys>;
+ vcc6-supply = <&vcc_sys>;
+ vcc7-supply = <&vcc_sys>;
+ vcc8-supply = <&vcc_io>;
+ vcc9-supply = <&vcc_sys>;
+ vcc10-supply = <&vcc_sys>;
+ vcc11-supply = <&vcc_sys>;
+ vcc12-supply = <&vcc_io>;
+ clock-output-names = "xin32k", "rk808-clkout2";
+ #clock-cells = <1>;
+
+ regulators {
+ vdd_cpu: DCDC_REG1 {
+ regulator-always-on;
+ regulator-boot-on;
+ regulator-min-microvolt = <700000>;
+ regulator-max-microvolt = <1500000>;
+ regulator-name = "vdd_cpu";
+ };
+
+ vdd_log: DCDC_REG2 {
+ regulator-always-on;
+ regulator-boot-on;
+ regulator-min-microvolt = <700000>;
+ regulator-max-microvolt = <1500000>;
+ regulator-name = "vdd_log";
+ };
+
+ vcc_ddr: DCDC_REG3 {
+ regulator-always-on;
+ regulator-boot-on;
+ regulator-name = "vcc_ddr";
+ };
+
+ vcc_io: DCDC_REG4 {
+ regulator-always-on;
+ regulator-boot-on;
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ regulator-name = "vcc_io";
+ };
+
+ vcc18_flash: LDO_REG1 {
+ regulator-always-on;
+ regulator-boot-on;
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ regulator-name = "vcc18_flash";
+ };
+
+ vcc33_lcd: LDO_REG2 {
+ regulator-always-on;
+ regulator-boot-on;
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ regulator-name = "vcc33_lcd";
+ };
+
+ vdd_10: LDO_REG3 {
+ regulator-always-on;
+ regulator-boot-on;
+ regulator-min-microvolt = <1000000>;
+ regulator-max-microvolt = <1000000>;
+ regulator-name = "vdd_10";
+ };
+
+ vcca_18: LDO_REG4 {
+ regulator-boot-on;
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ regulator-name = "vcca_18";
+ };
+
+ vccio_sd: LDO_REG5 {
+ regulator-always-on;
+ regulator-boot-on;
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <3300000>;
+ regulator-name = "vccio_sd";
+ };
+
+ vdd10_lcd: LDO_REG6 {
+ regulator-always-on;
+ regulator-boot-on;
+ regulator-min-microvolt = <1000000>;
+ regulator-max-microvolt = <1000000>;
+ regulator-name = "vdd10_lcd";
+ };
+
+ vcc_18: LDO_REG7 {
+ regulator-always-on;
+ regulator-boot-on;
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ regulator-name = "vcc_18";
+ };
+
+ vcc18_lcd: LDO_REG8 {
+ regulator-always-on;
+ regulator-boot-on;
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ regulator-name = "vcc18_lcd";
+ };
+
+ vcc_sd: SWITCH_REG1 {
+ regulator-always-on;
+ regulator-boot-on;
+ regulator-name = "vcc_sd";
+ };
+
+ vcc_lan: SWITCH_REG2 {
+ regulator-always-on;
+ regulator-boot-on;
+ regulator-name = "vcc_lan";
+ };
+ };
+ };
+};
+
+&pinctrl {
+ pmic {
+ pmic_sleep: pmic-sleep {
+ rockchip,pins = <0 0 RK_FUNC_2 &pcfg_pull_none>;
+ };
+
+ pmic_int: pmic-int {
+ rockchip,pins = <0 5 RK_FUNC_GPIO &pcfg_pull_up>;
+ };
+ };
+};
+
+&uart2 {
+ status = "okay";
+};
+
+&usb_host0_ehci {
+ status = "okay";
+};
+
+&usb_otg {
+ status = "okay";
+};
+
+&wdt {
+ status = "okay";
+};
--
2.6.2
_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [PATCH v2 03/10] ARM64: dts: rockchip: Add GeekBox config
@ 2016-02-08 2:17 ` Andreas Färber
0 siblings, 0 replies; 57+ messages in thread
From: Andreas Färber @ 2016-02-08 2:17 UTC (permalink / raw)
To: linux-arm-kernel
The GeekBox contains an MXM3 module with a Rockchip RK3368 SoC.
Some connectors are available directly on the module.
This adds initial support, namely serial and USB.
Signed-off-by: Andreas F?rber <afaerber@suse.de>
---
v1 -> v2:
* Dropped rk3368-geekbox.dtsi. rk3368-geekbox-landingship.dts can
#include "rk3368-geekbox.dts" just fine, when leaving out /dts-v1/;.
* Revisited always-on / boot-on for PMIC regulator nodes. (Heiko)
* Switched pmic-sleep from RK_FUNC_GPIO to RK_FUNC_2. (schematics)
arch/arm64/boot/dts/rockchip/Makefile | 1 +
arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts | 245 ++++++++++++++++++++++++
2 files changed, 246 insertions(+)
create mode 100644 arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
diff --git a/arch/arm64/boot/dts/rockchip/Makefile b/arch/arm64/boot/dts/rockchip/Makefile
index e3f0b5f4ba4e..df37865e8ced 100644
--- a/arch/arm64/boot/dts/rockchip/Makefile
+++ b/arch/arm64/boot/dts/rockchip/Makefile
@@ -1,4 +1,5 @@
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3368-evb-act8846.dtb
+dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3368-geekbox.dtb
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3368-r88.dtb
always := $(dtb-y)
diff --git a/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts b/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
new file mode 100644
index 000000000000..bc91d39758ab
--- /dev/null
+++ b/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
@@ -0,0 +1,245 @@
+/*
+ * Copyright (c) 2016 Andreas F?rber
+ *
+ * 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"
+
+/ {
+ model = "GeekBox";
+ compatible = "geekbuying,geekbox", "rockchip,rk3368";
+
+ chosen {
+ stdout-path = "serial2:115200n8";
+ };
+
+ memory {
+ device_type = "memory";
+ reg = <0x0 0x0 0x0 0x80000000>;
+ };
+
+ leds: gpio-leds {
+ compatible = "gpio-leds";
+
+ blue {
+ gpios = <&gpio2 2 GPIO_ACTIVE_HIGH>;
+ label = "geekbox:blue:led";
+ default-state = "on";
+ };
+
+ red {
+ gpios = <&gpio2 3 GPIO_ACTIVE_HIGH>;
+ label = "geekbox:red:led";
+ default-state = "off";
+ };
+ };
+
+ vcc_sys: vcc-sys-regulator {
+ compatible = "regulator-fixed";
+ regulator-name = "vcc_sys";
+ regulator-min-microvolt = <5000000>;
+ regulator-max-microvolt = <5000000>;
+ regulator-always-on;
+ regulator-boot-on;
+ };
+};
+
+&i2c0 {
+ status = "okay";
+
+ rk808: pmic at 1b {
+ compatible = "rockchip,rk808";
+ reg = <0x1b>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&pmic_int>, <&pmic_sleep>;
+ interrupt-parent = <&gpio0>;
+ interrupts = <5 IRQ_TYPE_LEVEL_LOW>;
+ rockchip,system-power-controller;
+ vcc1-supply = <&vcc_sys>;
+ vcc2-supply = <&vcc_sys>;
+ vcc3-supply = <&vcc_sys>;
+ vcc4-supply = <&vcc_sys>;
+ vcc6-supply = <&vcc_sys>;
+ vcc7-supply = <&vcc_sys>;
+ vcc8-supply = <&vcc_io>;
+ vcc9-supply = <&vcc_sys>;
+ vcc10-supply = <&vcc_sys>;
+ vcc11-supply = <&vcc_sys>;
+ vcc12-supply = <&vcc_io>;
+ clock-output-names = "xin32k", "rk808-clkout2";
+ #clock-cells = <1>;
+
+ regulators {
+ vdd_cpu: DCDC_REG1 {
+ regulator-always-on;
+ regulator-boot-on;
+ regulator-min-microvolt = <700000>;
+ regulator-max-microvolt = <1500000>;
+ regulator-name = "vdd_cpu";
+ };
+
+ vdd_log: DCDC_REG2 {
+ regulator-always-on;
+ regulator-boot-on;
+ regulator-min-microvolt = <700000>;
+ regulator-max-microvolt = <1500000>;
+ regulator-name = "vdd_log";
+ };
+
+ vcc_ddr: DCDC_REG3 {
+ regulator-always-on;
+ regulator-boot-on;
+ regulator-name = "vcc_ddr";
+ };
+
+ vcc_io: DCDC_REG4 {
+ regulator-always-on;
+ regulator-boot-on;
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ regulator-name = "vcc_io";
+ };
+
+ vcc18_flash: LDO_REG1 {
+ regulator-always-on;
+ regulator-boot-on;
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ regulator-name = "vcc18_flash";
+ };
+
+ vcc33_lcd: LDO_REG2 {
+ regulator-always-on;
+ regulator-boot-on;
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ regulator-name = "vcc33_lcd";
+ };
+
+ vdd_10: LDO_REG3 {
+ regulator-always-on;
+ regulator-boot-on;
+ regulator-min-microvolt = <1000000>;
+ regulator-max-microvolt = <1000000>;
+ regulator-name = "vdd_10";
+ };
+
+ vcca_18: LDO_REG4 {
+ regulator-boot-on;
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ regulator-name = "vcca_18";
+ };
+
+ vccio_sd: LDO_REG5 {
+ regulator-always-on;
+ regulator-boot-on;
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <3300000>;
+ regulator-name = "vccio_sd";
+ };
+
+ vdd10_lcd: LDO_REG6 {
+ regulator-always-on;
+ regulator-boot-on;
+ regulator-min-microvolt = <1000000>;
+ regulator-max-microvolt = <1000000>;
+ regulator-name = "vdd10_lcd";
+ };
+
+ vcc_18: LDO_REG7 {
+ regulator-always-on;
+ regulator-boot-on;
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ regulator-name = "vcc_18";
+ };
+
+ vcc18_lcd: LDO_REG8 {
+ regulator-always-on;
+ regulator-boot-on;
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ regulator-name = "vcc18_lcd";
+ };
+
+ vcc_sd: SWITCH_REG1 {
+ regulator-always-on;
+ regulator-boot-on;
+ regulator-name = "vcc_sd";
+ };
+
+ vcc_lan: SWITCH_REG2 {
+ regulator-always-on;
+ regulator-boot-on;
+ regulator-name = "vcc_lan";
+ };
+ };
+ };
+};
+
+&pinctrl {
+ pmic {
+ pmic_sleep: pmic-sleep {
+ rockchip,pins = <0 0 RK_FUNC_2 &pcfg_pull_none>;
+ };
+
+ pmic_int: pmic-int {
+ rockchip,pins = <0 5 RK_FUNC_GPIO &pcfg_pull_up>;
+ };
+ };
+};
+
+&uart2 {
+ status = "okay";
+};
+
+&usb_host0_ehci {
+ status = "okay";
+};
+
+&usb_otg {
+ status = "okay";
+};
+
+&wdt {
+ status = "okay";
+};
--
2.6.2
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [PATCH v2 04/10] ARM64: dts: rockchip: Add GMAC to GeekBox
@ 2016-02-08 2:17 ` Andreas Färber
0 siblings, 0 replies; 57+ messages in thread
From: Andreas Färber @ 2016-02-08 2:17 UTC (permalink / raw)
To: linux-rockchip
Cc: Heiko Stuebner, linux-arm-kernel, linux-kernel,
Andreas Färber, Rob Herring, Pawel Moll, Mark Rutland,
Ian Campbell, Kumar Gala, Catalin Marinas, Will Deacon,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS
Signed-off-by: Andreas Färber <afaerber@suse.de>
---
v2: New
arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts b/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
index bc91d39758ab..a8dcf3c2b0c1 100644
--- a/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
@@ -56,6 +56,13 @@
reg = <0x0 0x0 0x0 0x80000000>;
};
+ ext_gmac: gmac-clk {
+ compatible = "fixed-clock";
+ clock-frequency = <125000000>;
+ clock-output-names = "ext_gmac";
+ #clock-cells = <0>;
+ };
+
leds: gpio-leds {
compatible = "gpio-leds";
@@ -82,6 +89,19 @@
};
};
+&gmac {
+ status = "okay";
+ phy-supply = <&vcc_lan>;
+ phy-mode = "rgmii";
+ clock_in_out = "input";
+ assigned-clocks = <&cru SCLK_MAC>;
+ assigned-clock-parents = <&ext_gmac>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&rgmii_pins>;
+ tx_delay = <0x30>;
+ rx_delay = <0x10>;
+};
+
&i2c0 {
status = "okay";
--
2.6.2
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [PATCH v2 04/10] ARM64: dts: rockchip: Add GMAC to GeekBox
@ 2016-02-08 2:17 ` Andreas Färber
0 siblings, 0 replies; 57+ messages in thread
From: Andreas Färber @ 2016-02-08 2:17 UTC (permalink / raw)
To: linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
Cc: Heiko Stuebner,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
linux-kernel-u79uwXL29TY76Z2rM5mHXA, Andreas Färber,
Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
Catalin Marinas, Will Deacon,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS
Signed-off-by: Andreas Färber <afaerber-l3A5Bk7waGM@public.gmane.org>
---
v2: New
arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts b/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
index bc91d39758ab..a8dcf3c2b0c1 100644
--- a/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
@@ -56,6 +56,13 @@
reg = <0x0 0x0 0x0 0x80000000>;
};
+ ext_gmac: gmac-clk {
+ compatible = "fixed-clock";
+ clock-frequency = <125000000>;
+ clock-output-names = "ext_gmac";
+ #clock-cells = <0>;
+ };
+
leds: gpio-leds {
compatible = "gpio-leds";
@@ -82,6 +89,19 @@
};
};
+&gmac {
+ status = "okay";
+ phy-supply = <&vcc_lan>;
+ phy-mode = "rgmii";
+ clock_in_out = "input";
+ assigned-clocks = <&cru SCLK_MAC>;
+ assigned-clock-parents = <&ext_gmac>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&rgmii_pins>;
+ tx_delay = <0x30>;
+ rx_delay = <0x10>;
+};
+
&i2c0 {
status = "okay";
--
2.6.2
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [PATCH v2 04/10] ARM64: dts: rockchip: Add GMAC to GeekBox
@ 2016-02-08 2:17 ` Andreas Färber
0 siblings, 0 replies; 57+ messages in thread
From: Andreas Färber @ 2016-02-08 2:17 UTC (permalink / raw)
To: linux-arm-kernel
Signed-off-by: Andreas F?rber <afaerber@suse.de>
---
v2: New
arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts b/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
index bc91d39758ab..a8dcf3c2b0c1 100644
--- a/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
@@ -56,6 +56,13 @@
reg = <0x0 0x0 0x0 0x80000000>;
};
+ ext_gmac: gmac-clk {
+ compatible = "fixed-clock";
+ clock-frequency = <125000000>;
+ clock-output-names = "ext_gmac";
+ #clock-cells = <0>;
+ };
+
leds: gpio-leds {
compatible = "gpio-leds";
@@ -82,6 +89,19 @@
};
};
+&gmac {
+ status = "okay";
+ phy-supply = <&vcc_lan>;
+ phy-mode = "rgmii";
+ clock_in_out = "input";
+ assigned-clocks = <&cru SCLK_MAC>;
+ assigned-clock-parents = <&ext_gmac>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&rgmii_pins>;
+ tx_delay = <0x30>;
+ rx_delay = <0x10>;
+};
+
&i2c0 {
status = "okay";
--
2.6.2
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [PATCH v2 05/10] ARM64: dts: rockchip: Add eMMC to GeekBox
2016-02-08 2:17 ` Andreas Färber
(?)
@ 2016-02-08 2:17 ` Andreas Färber
-1 siblings, 0 replies; 57+ messages in thread
From: Andreas Färber @ 2016-02-08 2:17 UTC (permalink / raw)
To: linux-rockchip
Cc: Heiko Stuebner, linux-arm-kernel, linux-kernel,
Andreas Färber, Rob Herring, Pawel Moll, Mark Rutland,
Ian Campbell, Kumar Gala, Catalin Marinas, Will Deacon,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS
Signed-off-by: Andreas Färber <afaerber@suse.de>
---
v2: New
arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts b/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
index a8dcf3c2b0c1..e4523a74050f 100644
--- a/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
@@ -89,6 +89,21 @@
};
};
+&emmc {
+ status = "okay";
+ bus-width = <8>;
+ cap-mmc-highspeed;
+ clock-frequency = <150000000>;
+ disable-wp;
+ keep-power-in-suspend;
+ non-removable;
+ num-slots = <1>;
+ vmmc-supply = <&vcc_io>;
+ vqmmc-supply = <&vcc18_flash>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&emmc_clk>, <&emmc_cmd>, <&emmc_bus8>;
+};
+
&gmac {
status = "okay";
phy-supply = <&vcc_lan>;
--
2.6.2
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [PATCH v2 05/10] ARM64: dts: rockchip: Add eMMC to GeekBox
@ 2016-02-08 2:17 ` Andreas Färber
0 siblings, 0 replies; 57+ messages in thread
From: Andreas Färber @ 2016-02-08 2:17 UTC (permalink / raw)
To: linux-rockchip
Cc: Heiko Stuebner, linux-arm-kernel, linux-kernel,
Andreas Färber, Rob Herring, Pawel Moll, Mark Rutland,
Ian Campbell, Kumar Gala, Catalin Marinas, Will Deacon,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS
Signed-off-by: Andreas Färber <afaerber@suse.de>
---
v2: New
arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts b/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
index a8dcf3c2b0c1..e4523a74050f 100644
--- a/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
@@ -89,6 +89,21 @@
};
};
+&emmc {
+ status = "okay";
+ bus-width = <8>;
+ cap-mmc-highspeed;
+ clock-frequency = <150000000>;
+ disable-wp;
+ keep-power-in-suspend;
+ non-removable;
+ num-slots = <1>;
+ vmmc-supply = <&vcc_io>;
+ vqmmc-supply = <&vcc18_flash>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&emmc_clk>, <&emmc_cmd>, <&emmc_bus8>;
+};
+
&gmac {
status = "okay";
phy-supply = <&vcc_lan>;
--
2.6.2
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [PATCH v2 05/10] ARM64: dts: rockchip: Add eMMC to GeekBox
@ 2016-02-08 2:17 ` Andreas Färber
0 siblings, 0 replies; 57+ messages in thread
From: Andreas Färber @ 2016-02-08 2:17 UTC (permalink / raw)
To: linux-arm-kernel
Signed-off-by: Andreas F?rber <afaerber@suse.de>
---
v2: New
arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts b/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
index a8dcf3c2b0c1..e4523a74050f 100644
--- a/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
@@ -89,6 +89,21 @@
};
};
+&emmc {
+ status = "okay";
+ bus-width = <8>;
+ cap-mmc-highspeed;
+ clock-frequency = <150000000>;
+ disable-wp;
+ keep-power-in-suspend;
+ non-removable;
+ num-slots = <1>;
+ vmmc-supply = <&vcc_io>;
+ vqmmc-supply = <&vcc18_flash>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&emmc_clk>, <&emmc_cmd>, <&emmc_bus8>;
+};
+
&gmac {
status = "okay";
phy-supply = <&vcc_lan>;
--
2.6.2
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [PATCH v2 06/10] ARM64: dts: rockchip: Add IR receiver to GeekBox
@ 2016-02-08 2:17 ` Andreas Färber
0 siblings, 0 replies; 57+ messages in thread
From: Andreas Färber @ 2016-02-08 2:17 UTC (permalink / raw)
To: linux-rockchip
Cc: Heiko Stuebner, linux-arm-kernel, linux-kernel,
Andreas Färber, Rob Herring, Pawel Moll, Mark Rutland,
Ian Campbell, Kumar Gala, Catalin Marinas, Will Deacon,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS
Signed-off-by: Andreas Färber <afaerber@suse.de>
---
v2: New
arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts b/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
index e4523a74050f..e84383fd6f10 100644
--- a/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
@@ -63,6 +63,13 @@
#clock-cells = <0>;
};
+ ir: ir-receiver {
+ compatible = "gpio-ir-receiver";
+ gpios = <&gpio3 30 GPIO_ACTIVE_LOW>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&ir_int>;
+ };
+
leds: gpio-leds {
compatible = "gpio-leds";
@@ -252,6 +259,12 @@
};
&pinctrl {
+ ir {
+ ir_int: ir-int {
+ rockchip,pins = <3 30 RK_FUNC_GPIO &pcfg_pull_up>;
+ };
+ };
+
pmic {
pmic_sleep: pmic-sleep {
rockchip,pins = <0 0 RK_FUNC_2 &pcfg_pull_none>;
--
2.6.2
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [PATCH v2 06/10] ARM64: dts: rockchip: Add IR receiver to GeekBox
@ 2016-02-08 2:17 ` Andreas Färber
0 siblings, 0 replies; 57+ messages in thread
From: Andreas Färber @ 2016-02-08 2:17 UTC (permalink / raw)
To: linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
Cc: Heiko Stuebner,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
linux-kernel-u79uwXL29TY76Z2rM5mHXA, Andreas Färber,
Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
Catalin Marinas, Will Deacon,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS
Signed-off-by: Andreas Färber <afaerber-l3A5Bk7waGM@public.gmane.org>
---
v2: New
arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts b/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
index e4523a74050f..e84383fd6f10 100644
--- a/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
@@ -63,6 +63,13 @@
#clock-cells = <0>;
};
+ ir: ir-receiver {
+ compatible = "gpio-ir-receiver";
+ gpios = <&gpio3 30 GPIO_ACTIVE_LOW>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&ir_int>;
+ };
+
leds: gpio-leds {
compatible = "gpio-leds";
@@ -252,6 +259,12 @@
};
&pinctrl {
+ ir {
+ ir_int: ir-int {
+ rockchip,pins = <3 30 RK_FUNC_GPIO &pcfg_pull_up>;
+ };
+ };
+
pmic {
pmic_sleep: pmic-sleep {
rockchip,pins = <0 0 RK_FUNC_2 &pcfg_pull_none>;
--
2.6.2
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [PATCH v2 06/10] ARM64: dts: rockchip: Add IR receiver to GeekBox
@ 2016-02-08 2:17 ` Andreas Färber
0 siblings, 0 replies; 57+ messages in thread
From: Andreas Färber @ 2016-02-08 2:17 UTC (permalink / raw)
To: linux-arm-kernel
Signed-off-by: Andreas F?rber <afaerber@suse.de>
---
v2: New
arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts b/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
index e4523a74050f..e84383fd6f10 100644
--- a/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
@@ -63,6 +63,13 @@
#clock-cells = <0>;
};
+ ir: ir-receiver {
+ compatible = "gpio-ir-receiver";
+ gpios = <&gpio3 30 GPIO_ACTIVE_LOW>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&ir_int>;
+ };
+
leds: gpio-leds {
compatible = "gpio-leds";
@@ -252,6 +259,12 @@
};
&pinctrl {
+ ir {
+ ir_int: ir-int {
+ rockchip,pins = <3 30 RK_FUNC_GPIO &pcfg_pull_up>;
+ };
+ };
+
pmic {
pmic_sleep: pmic-sleep {
rockchip,pins = <0 0 RK_FUNC_2 &pcfg_pull_none>;
--
2.6.2
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [PATCH v2 07/10] ARM64: dts: rockchip: Add power key to GeekBox
2016-02-08 2:17 ` Andreas Färber
(?)
@ 2016-02-08 2:17 ` Andreas Färber
-1 siblings, 0 replies; 57+ messages in thread
From: Andreas Färber @ 2016-02-08 2:17 UTC (permalink / raw)
To: linux-rockchip
Cc: Heiko Stuebner, linux-arm-kernel, linux-kernel,
Andreas Färber, Rob Herring, Pawel Moll, Mark Rutland,
Ian Campbell, Kumar Gala, Catalin Marinas, Will Deacon,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS
Signed-off-by: Andreas Färber <afaerber@suse.de>
---
v2: New
arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts b/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
index e84383fd6f10..fe5aa785cfda 100644
--- a/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
@@ -70,6 +70,22 @@
pinctrl-0 = <&ir_int>;
};
+ keys: gpio-keys {
+ compatible = "gpio-keys";
+ pinctrl-names = "default";
+ pinctrl-0 = <&pwr_key>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ button@0 {
+ reg = <0>;
+ gpio-key,wakeup = <1>;
+ gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
+ label = "GPIO Power";
+ linux,code = <116>;
+ };
+ };
+
leds: gpio-leds {
compatible = "gpio-leds";
@@ -265,6 +281,12 @@
};
};
+ keys {
+ pwr_key: pwr-key {
+ rockchip,pins = <0 2 RK_FUNC_GPIO &pcfg_pull_up>;
+ };
+ };
+
pmic {
pmic_sleep: pmic-sleep {
rockchip,pins = <0 0 RK_FUNC_2 &pcfg_pull_none>;
--
2.6.2
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [PATCH v2 07/10] ARM64: dts: rockchip: Add power key to GeekBox
@ 2016-02-08 2:17 ` Andreas Färber
0 siblings, 0 replies; 57+ messages in thread
From: Andreas Färber @ 2016-02-08 2:17 UTC (permalink / raw)
To: linux-rockchip
Cc: Heiko Stuebner, linux-arm-kernel, linux-kernel,
Andreas Färber, Rob Herring, Pawel Moll, Mark Rutland,
Ian Campbell, Kumar Gala, Catalin Marinas, Will Deacon,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS
Signed-off-by: Andreas Färber <afaerber@suse.de>
---
v2: New
arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts b/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
index e84383fd6f10..fe5aa785cfda 100644
--- a/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
@@ -70,6 +70,22 @@
pinctrl-0 = <&ir_int>;
};
+ keys: gpio-keys {
+ compatible = "gpio-keys";
+ pinctrl-names = "default";
+ pinctrl-0 = <&pwr_key>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ button@0 {
+ reg = <0>;
+ gpio-key,wakeup = <1>;
+ gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
+ label = "GPIO Power";
+ linux,code = <116>;
+ };
+ };
+
leds: gpio-leds {
compatible = "gpio-leds";
@@ -265,6 +281,12 @@
};
};
+ keys {
+ pwr_key: pwr-key {
+ rockchip,pins = <0 2 RK_FUNC_GPIO &pcfg_pull_up>;
+ };
+ };
+
pmic {
pmic_sleep: pmic-sleep {
rockchip,pins = <0 0 RK_FUNC_2 &pcfg_pull_none>;
--
2.6.2
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [PATCH v2 07/10] ARM64: dts: rockchip: Add power key to GeekBox
@ 2016-02-08 2:17 ` Andreas Färber
0 siblings, 0 replies; 57+ messages in thread
From: Andreas Färber @ 2016-02-08 2:17 UTC (permalink / raw)
To: linux-arm-kernel
Signed-off-by: Andreas F?rber <afaerber@suse.de>
---
v2: New
arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts b/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
index e84383fd6f10..fe5aa785cfda 100644
--- a/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
@@ -70,6 +70,22 @@
pinctrl-0 = <&ir_int>;
};
+ keys: gpio-keys {
+ compatible = "gpio-keys";
+ pinctrl-names = "default";
+ pinctrl-0 = <&pwr_key>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ button at 0 {
+ reg = <0>;
+ gpio-key,wakeup = <1>;
+ gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
+ label = "GPIO Power";
+ linux,code = <116>;
+ };
+ };
+
leds: gpio-leds {
compatible = "gpio-leds";
@@ -265,6 +281,12 @@
};
};
+ keys {
+ pwr_key: pwr-key {
+ rockchip,pins = <0 2 RK_FUNC_GPIO &pcfg_pull_up>;
+ };
+ };
+
pmic {
pmic_sleep: pmic-sleep {
rockchip,pins = <0 0 RK_FUNC_2 &pcfg_pull_none>;
--
2.6.2
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [PATCH v2 08/10] ARM64: dts: rockchip: Add tsadc for GeekBox
@ 2016-02-08 2:17 ` Andreas Färber
0 siblings, 0 replies; 57+ messages in thread
From: Andreas Färber @ 2016-02-08 2:17 UTC (permalink / raw)
To: linux-rockchip
Cc: Heiko Stuebner, linux-arm-kernel, linux-kernel,
Andreas Färber, Rob Herring, Pawel Moll, Mark Rutland,
Ian Campbell, Kumar Gala, Catalin Marinas, Will Deacon,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS
Signed-off-by: Andreas Färber <afaerber@suse.de>
---
v2: New
arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts b/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
index fe5aa785cfda..7e518768f8b0 100644
--- a/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
@@ -298,6 +298,12 @@
};
};
+&tsadc {
+ status = "okay";
+ rockchip,hw-tshut-mode = <0>; /* CRU */
+ rockchip,hw-tshut-polarity = <0>; /* low */
+};
+
&uart2 {
status = "okay";
};
--
2.6.2
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [PATCH v2 08/10] ARM64: dts: rockchip: Add tsadc for GeekBox
@ 2016-02-08 2:17 ` Andreas Färber
0 siblings, 0 replies; 57+ messages in thread
From: Andreas Färber @ 2016-02-08 2:17 UTC (permalink / raw)
To: linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
Cc: Heiko Stuebner,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
linux-kernel-u79uwXL29TY76Z2rM5mHXA, Andreas Färber,
Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
Catalin Marinas, Will Deacon,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS
Signed-off-by: Andreas Färber <afaerber-l3A5Bk7waGM@public.gmane.org>
---
v2: New
arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts b/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
index fe5aa785cfda..7e518768f8b0 100644
--- a/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
@@ -298,6 +298,12 @@
};
};
+&tsadc {
+ status = "okay";
+ rockchip,hw-tshut-mode = <0>; /* CRU */
+ rockchip,hw-tshut-polarity = <0>; /* low */
+};
+
&uart2 {
status = "okay";
};
--
2.6.2
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [PATCH v2 08/10] ARM64: dts: rockchip: Add tsadc for GeekBox
@ 2016-02-08 2:17 ` Andreas Färber
0 siblings, 0 replies; 57+ messages in thread
From: Andreas Färber @ 2016-02-08 2:17 UTC (permalink / raw)
To: linux-arm-kernel
Signed-off-by: Andreas F?rber <afaerber@suse.de>
---
v2: New
arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts b/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
index fe5aa785cfda..7e518768f8b0 100644
--- a/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
@@ -298,6 +298,12 @@
};
};
+&tsadc {
+ status = "okay";
+ rockchip,hw-tshut-mode = <0>; /* CRU */
+ rockchip,hw-tshut-polarity = <0>; /* low */
+};
+
&uart2 {
status = "okay";
};
--
2.6.2
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [PATCH v2 09/10] Documentation: devicetree: rockchip: Document Landingship
2016-02-08 2:17 ` Andreas Färber
(?)
@ 2016-02-08 2:17 ` Andreas Färber
-1 siblings, 0 replies; 57+ messages in thread
From: Andreas Färber @ 2016-02-08 2:17 UTC (permalink / raw)
To: linux-rockchip
Cc: Heiko Stuebner, linux-arm-kernel, linux-kernel,
Andreas Färber, Rob Herring, Pawel Moll, Mark Rutland,
Ian Campbell, Kumar Gala,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS
Use "geekbuying,landingship" compatible string, plus those of GeekBox.
Signed-off-by: Andreas Färber <afaerber@suse.de>
---
v2: New
Documentation/devicetree/bindings/arm/rockchip.txt | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/rockchip.txt b/Documentation/devicetree/bindings/arm/rockchip.txt
index f633595b196c..c6d95f202591 100644
--- a/Documentation/devicetree/bindings/arm/rockchip.txt
+++ b/Documentation/devicetree/bindings/arm/rockchip.txt
@@ -91,6 +91,11 @@ Rockchip platforms device tree bindings
Required root node properties:
- compatible = "geekbuying,geekbox", "rockchip,rk3368";
+- GeekBuying Landingship:
+ Required root node properties:
+ - compatible = "geekbuying,landingship",
+ "geekbuying,geekbox", "rockchip,rk3368";
+
- Rockchip RK3368 evb:
Required root node properties:
- compatible = "rockchip,rk3368-evb-act8846", "rockchip,rk3368";
--
2.6.2
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [PATCH v2 09/10] Documentation: devicetree: rockchip: Document Landingship
@ 2016-02-08 2:17 ` Andreas Färber
0 siblings, 0 replies; 57+ messages in thread
From: Andreas Färber @ 2016-02-08 2:17 UTC (permalink / raw)
To: linux-rockchip
Cc: Heiko Stuebner, linux-arm-kernel, linux-kernel,
Andreas Färber, Rob Herring, Pawel Moll, Mark Rutland,
Ian Campbell, Kumar Gala,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS
Use "geekbuying,landingship" compatible string, plus those of GeekBox.
Signed-off-by: Andreas Färber <afaerber@suse.de>
---
v2: New
Documentation/devicetree/bindings/arm/rockchip.txt | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/rockchip.txt b/Documentation/devicetree/bindings/arm/rockchip.txt
index f633595b196c..c6d95f202591 100644
--- a/Documentation/devicetree/bindings/arm/rockchip.txt
+++ b/Documentation/devicetree/bindings/arm/rockchip.txt
@@ -91,6 +91,11 @@ Rockchip platforms device tree bindings
Required root node properties:
- compatible = "geekbuying,geekbox", "rockchip,rk3368";
+- GeekBuying Landingship:
+ Required root node properties:
+ - compatible = "geekbuying,landingship",
+ "geekbuying,geekbox", "rockchip,rk3368";
+
- Rockchip RK3368 evb:
Required root node properties:
- compatible = "rockchip,rk3368-evb-act8846", "rockchip,rk3368";
--
2.6.2
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [PATCH v2 09/10] Documentation: devicetree: rockchip: Document Landingship
@ 2016-02-08 2:17 ` Andreas Färber
0 siblings, 0 replies; 57+ messages in thread
From: Andreas Färber @ 2016-02-08 2:17 UTC (permalink / raw)
To: linux-arm-kernel
Use "geekbuying,landingship" compatible string, plus those of GeekBox.
Signed-off-by: Andreas F?rber <afaerber@suse.de>
---
v2: New
Documentation/devicetree/bindings/arm/rockchip.txt | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/rockchip.txt b/Documentation/devicetree/bindings/arm/rockchip.txt
index f633595b196c..c6d95f202591 100644
--- a/Documentation/devicetree/bindings/arm/rockchip.txt
+++ b/Documentation/devicetree/bindings/arm/rockchip.txt
@@ -91,6 +91,11 @@ Rockchip platforms device tree bindings
Required root node properties:
- compatible = "geekbuying,geekbox", "rockchip,rk3368";
+- GeekBuying Landingship:
+ Required root node properties:
+ - compatible = "geekbuying,landingship",
+ "geekbuying,geekbox", "rockchip,rk3368";
+
- Rockchip RK3368 evb:
Required root node properties:
- compatible = "rockchip,rk3368-evb-act8846", "rockchip,rk3368";
--
2.6.2
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [PATCH v2 10/10] ARM64: dts: rockchip: Add Landingship config
2016-02-08 2:17 ` Andreas Färber
(?)
@ 2016-02-08 2:17 ` Andreas Färber
-1 siblings, 0 replies; 57+ messages in thread
From: Andreas Färber @ 2016-02-08 2:17 UTC (permalink / raw)
To: linux-rockchip
Cc: Heiko Stuebner, linux-arm-kernel, linux-kernel,
Andreas Färber, Rob Herring, Pawel Moll, Mark Rutland,
Ian Campbell, Kumar Gala, Catalin Marinas, Will Deacon,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS
Signed-off-by: Andreas Färber <afaerber@suse.de>
---
v2: New - showcases inclusion of GeekBox module config
arch/arm64/boot/dts/rockchip/Makefile | 1 +
.../dts/rockchip/rk3368-geekbox-landingship.dts | 56 ++++++++++++++++++++++
2 files changed, 57 insertions(+)
create mode 100644 arch/arm64/boot/dts/rockchip/rk3368-geekbox-landingship.dts
diff --git a/arch/arm64/boot/dts/rockchip/Makefile b/arch/arm64/boot/dts/rockchip/Makefile
index df37865e8ced..201bcd9863ce 100644
--- a/arch/arm64/boot/dts/rockchip/Makefile
+++ b/arch/arm64/boot/dts/rockchip/Makefile
@@ -1,5 +1,6 @@
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3368-evb-act8846.dtb
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3368-geekbox.dtb
+dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3368-geekbox-landingship.dtb
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3368-r88.dtb
always := $(dtb-y)
diff --git a/arch/arm64/boot/dts/rockchip/rk3368-geekbox-landingship.dts b/arch/arm64/boot/dts/rockchip/rk3368-geekbox-landingship.dts
new file mode 100644
index 000000000000..e4a117597a0c
--- /dev/null
+++ b/arch/arm64/boot/dts/rockchip/rk3368-geekbox-landingship.dts
@@ -0,0 +1,56 @@
+/*
+ * Copyright (c) 2016 Andreas Färber
+ *
+ * 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.
+ */
+
+#include "rk3368-geekbox.dts"
+
+/ {
+ model = "GeekBox on Landingship";
+ compatible = "geekbuying,landingship", "geekbuying,geekbox", "rockchip,rk3368";
+};
+
+&i2c1 {
+ status = "okay";
+};
+
+&i2c2 {
+ status = "okay";
+};
--
2.6.2
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [PATCH v2 10/10] ARM64: dts: rockchip: Add Landingship config
@ 2016-02-08 2:17 ` Andreas Färber
0 siblings, 0 replies; 57+ messages in thread
From: Andreas Färber @ 2016-02-08 2:17 UTC (permalink / raw)
To: linux-rockchip
Cc: Heiko Stuebner, linux-arm-kernel, linux-kernel,
Andreas Färber, Rob Herring, Pawel Moll, Mark Rutland,
Ian Campbell, Kumar Gala, Catalin Marinas, Will Deacon,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS
Signed-off-by: Andreas Färber <afaerber@suse.de>
---
v2: New - showcases inclusion of GeekBox module config
arch/arm64/boot/dts/rockchip/Makefile | 1 +
.../dts/rockchip/rk3368-geekbox-landingship.dts | 56 ++++++++++++++++++++++
2 files changed, 57 insertions(+)
create mode 100644 arch/arm64/boot/dts/rockchip/rk3368-geekbox-landingship.dts
diff --git a/arch/arm64/boot/dts/rockchip/Makefile b/arch/arm64/boot/dts/rockchip/Makefile
index df37865e8ced..201bcd9863ce 100644
--- a/arch/arm64/boot/dts/rockchip/Makefile
+++ b/arch/arm64/boot/dts/rockchip/Makefile
@@ -1,5 +1,6 @@
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3368-evb-act8846.dtb
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3368-geekbox.dtb
+dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3368-geekbox-landingship.dtb
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3368-r88.dtb
always := $(dtb-y)
diff --git a/arch/arm64/boot/dts/rockchip/rk3368-geekbox-landingship.dts b/arch/arm64/boot/dts/rockchip/rk3368-geekbox-landingship.dts
new file mode 100644
index 000000000000..e4a117597a0c
--- /dev/null
+++ b/arch/arm64/boot/dts/rockchip/rk3368-geekbox-landingship.dts
@@ -0,0 +1,56 @@
+/*
+ * Copyright (c) 2016 Andreas Färber
+ *
+ * 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.
+ */
+
+#include "rk3368-geekbox.dts"
+
+/ {
+ model = "GeekBox on Landingship";
+ compatible = "geekbuying,landingship", "geekbuying,geekbox", "rockchip,rk3368";
+};
+
+&i2c1 {
+ status = "okay";
+};
+
+&i2c2 {
+ status = "okay";
+};
--
2.6.2
^ permalink raw reply related [flat|nested] 57+ messages in thread
* [PATCH v2 10/10] ARM64: dts: rockchip: Add Landingship config
@ 2016-02-08 2:17 ` Andreas Färber
0 siblings, 0 replies; 57+ messages in thread
From: Andreas Färber @ 2016-02-08 2:17 UTC (permalink / raw)
To: linux-arm-kernel
Signed-off-by: Andreas F?rber <afaerber@suse.de>
---
v2: New - showcases inclusion of GeekBox module config
arch/arm64/boot/dts/rockchip/Makefile | 1 +
.../dts/rockchip/rk3368-geekbox-landingship.dts | 56 ++++++++++++++++++++++
2 files changed, 57 insertions(+)
create mode 100644 arch/arm64/boot/dts/rockchip/rk3368-geekbox-landingship.dts
diff --git a/arch/arm64/boot/dts/rockchip/Makefile b/arch/arm64/boot/dts/rockchip/Makefile
index df37865e8ced..201bcd9863ce 100644
--- a/arch/arm64/boot/dts/rockchip/Makefile
+++ b/arch/arm64/boot/dts/rockchip/Makefile
@@ -1,5 +1,6 @@
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3368-evb-act8846.dtb
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3368-geekbox.dtb
+dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3368-geekbox-landingship.dtb
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3368-r88.dtb
always := $(dtb-y)
diff --git a/arch/arm64/boot/dts/rockchip/rk3368-geekbox-landingship.dts b/arch/arm64/boot/dts/rockchip/rk3368-geekbox-landingship.dts
new file mode 100644
index 000000000000..e4a117597a0c
--- /dev/null
+++ b/arch/arm64/boot/dts/rockchip/rk3368-geekbox-landingship.dts
@@ -0,0 +1,56 @@
+/*
+ * Copyright (c) 2016 Andreas F?rber
+ *
+ * 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.
+ */
+
+#include "rk3368-geekbox.dts"
+
+/ {
+ model = "GeekBox on Landingship";
+ compatible = "geekbuying,landingship", "geekbuying,geekbox", "rockchip,rk3368";
+};
+
+&i2c1 {
+ status = "okay";
+};
+
+&i2c2 {
+ status = "okay";
+};
--
2.6.2
^ permalink raw reply related [flat|nested] 57+ messages in thread
* Re: [PATCH v2 04/10] ARM64: dts: rockchip: Add GMAC to GeekBox
2016-02-08 2:17 ` Andreas Färber
(?)
@ 2016-02-08 10:28 ` Heiko Stuebner
-1 siblings, 0 replies; 57+ messages in thread
From: Heiko Stuebner @ 2016-02-08 10:28 UTC (permalink / raw)
To: Andreas Färber
Cc: linux-rockchip, linux-arm-kernel, linux-kernel, Rob Herring,
Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
Catalin Marinas, Will Deacon,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS
Hi Andreas,
Am Montag, 8. Februar 2016, 03:17:33 schrieb Andreas Färber:
> Signed-off-by: Andreas Färber <afaerber@suse.de>
is there some special reason that gmac, emmc, ir, etc are in separate
patches? I guess I'll just fold them into the core patch otherwise.
Heiko
> ---
> v2: New
>
> arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts | 20 ++++++++++++++++++++
> 1 file changed, 20 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
> b/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts index
> bc91d39758ab..a8dcf3c2b0c1 100644
> --- a/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
> +++ b/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
> @@ -56,6 +56,13 @@
> reg = <0x0 0x0 0x0 0x80000000>;
> };
>
> + ext_gmac: gmac-clk {
> + compatible = "fixed-clock";
> + clock-frequency = <125000000>;
> + clock-output-names = "ext_gmac";
> + #clock-cells = <0>;
> + };
> +
> leds: gpio-leds {
> compatible = "gpio-leds";
>
> @@ -82,6 +89,19 @@
> };
> };
>
> +&gmac {
> + status = "okay";
> + phy-supply = <&vcc_lan>;
> + phy-mode = "rgmii";
> + clock_in_out = "input";
> + assigned-clocks = <&cru SCLK_MAC>;
> + assigned-clock-parents = <&ext_gmac>;
> + pinctrl-names = "default";
> + pinctrl-0 = <&rgmii_pins>;
> + tx_delay = <0x30>;
> + rx_delay = <0x10>;
> +};
> +
> &i2c0 {
> status = "okay";
^ permalink raw reply [flat|nested] 57+ messages in thread
* Re: [PATCH v2 04/10] ARM64: dts: rockchip: Add GMAC to GeekBox
@ 2016-02-08 10:28 ` Heiko Stuebner
0 siblings, 0 replies; 57+ messages in thread
From: Heiko Stuebner @ 2016-02-08 10:28 UTC (permalink / raw)
To: Andreas Färber
Cc: linux-rockchip, linux-arm-kernel, linux-kernel, Rob Herring,
Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
Catalin Marinas, Will Deacon,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS
Hi Andreas,
Am Montag, 8. Februar 2016, 03:17:33 schrieb Andreas Färber:
> Signed-off-by: Andreas Färber <afaerber@suse.de>
is there some special reason that gmac, emmc, ir, etc are in separate
patches? I guess I'll just fold them into the core patch otherwise.
Heiko
> ---
> v2: New
>
> arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts | 20 ++++++++++++++++++++
> 1 file changed, 20 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
> b/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts index
> bc91d39758ab..a8dcf3c2b0c1 100644
> --- a/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
> +++ b/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
> @@ -56,6 +56,13 @@
> reg = <0x0 0x0 0x0 0x80000000>;
> };
>
> + ext_gmac: gmac-clk {
> + compatible = "fixed-clock";
> + clock-frequency = <125000000>;
> + clock-output-names = "ext_gmac";
> + #clock-cells = <0>;
> + };
> +
> leds: gpio-leds {
> compatible = "gpio-leds";
>
> @@ -82,6 +89,19 @@
> };
> };
>
> +&gmac {
> + status = "okay";
> + phy-supply = <&vcc_lan>;
> + phy-mode = "rgmii";
> + clock_in_out = "input";
> + assigned-clocks = <&cru SCLK_MAC>;
> + assigned-clock-parents = <&ext_gmac>;
> + pinctrl-names = "default";
> + pinctrl-0 = <&rgmii_pins>;
> + tx_delay = <0x30>;
> + rx_delay = <0x10>;
> +};
> +
> &i2c0 {
> status = "okay";
^ permalink raw reply [flat|nested] 57+ messages in thread
* [PATCH v2 04/10] ARM64: dts: rockchip: Add GMAC to GeekBox
@ 2016-02-08 10:28 ` Heiko Stuebner
0 siblings, 0 replies; 57+ messages in thread
From: Heiko Stuebner @ 2016-02-08 10:28 UTC (permalink / raw)
To: linux-arm-kernel
Hi Andreas,
Am Montag, 8. Februar 2016, 03:17:33 schrieb Andreas F?rber:
> Signed-off-by: Andreas F?rber <afaerber@suse.de>
is there some special reason that gmac, emmc, ir, etc are in separate
patches? I guess I'll just fold them into the core patch otherwise.
Heiko
> ---
> v2: New
>
> arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts | 20 ++++++++++++++++++++
> 1 file changed, 20 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
> b/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts index
> bc91d39758ab..a8dcf3c2b0c1 100644
> --- a/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
> +++ b/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
> @@ -56,6 +56,13 @@
> reg = <0x0 0x0 0x0 0x80000000>;
> };
>
> + ext_gmac: gmac-clk {
> + compatible = "fixed-clock";
> + clock-frequency = <125000000>;
> + clock-output-names = "ext_gmac";
> + #clock-cells = <0>;
> + };
> +
> leds: gpio-leds {
> compatible = "gpio-leds";
>
> @@ -82,6 +89,19 @@
> };
> };
>
> +&gmac {
> + status = "okay";
> + phy-supply = <&vcc_lan>;
> + phy-mode = "rgmii";
> + clock_in_out = "input";
> + assigned-clocks = <&cru SCLK_MAC>;
> + assigned-clock-parents = <&ext_gmac>;
> + pinctrl-names = "default";
> + pinctrl-0 = <&rgmii_pins>;
> + tx_delay = <0x30>;
> + rx_delay = <0x10>;
> +};
> +
> &i2c0 {
> status = "okay";
^ permalink raw reply [flat|nested] 57+ messages in thread
* Re: [PATCH v2 09/10] Documentation: devicetree: rockchip: Document Landingship
2016-02-08 2:17 ` Andreas Färber
(?)
@ 2016-02-08 10:29 ` Heiko Stuebner
-1 siblings, 0 replies; 57+ messages in thread
From: Heiko Stuebner @ 2016-02-08 10:29 UTC (permalink / raw)
To: Andreas Färber
Cc: linux-rockchip, linux-arm-kernel, linux-kernel, Rob Herring,
Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS
Am Montag, 8. Februar 2016, 03:17:38 schrieb Andreas Färber:
> Use "geekbuying,landingship" compatible string, plus those of GeekBox.
I do believe this would be better as geekbuying,geekbox-landingship . They
might reuse the landingship naming for future baseboards as well ;-)
>
> Signed-off-by: Andreas Färber <afaerber@suse.de>
> ---
> v2: New
>
> Documentation/devicetree/bindings/arm/rockchip.txt | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/arm/rockchip.txt
> b/Documentation/devicetree/bindings/arm/rockchip.txt index
> f633595b196c..c6d95f202591 100644
> --- a/Documentation/devicetree/bindings/arm/rockchip.txt
> +++ b/Documentation/devicetree/bindings/arm/rockchip.txt
> @@ -91,6 +91,11 @@ Rockchip platforms device tree bindings
> Required root node properties:
> - compatible = "geekbuying,geekbox", "rockchip,rk3368";
>
> +- GeekBuying Landingship:
> + Required root node properties:
> + - compatible = "geekbuying,landingship",
> + "geekbuying,geekbox", "rockchip,rk3368";
> +
> - Rockchip RK3368 evb:
> Required root node properties:
> - compatible = "rockchip,rk3368-evb-act8846", "rockchip,rk3368";
^ permalink raw reply [flat|nested] 57+ messages in thread
* Re: [PATCH v2 09/10] Documentation: devicetree: rockchip: Document Landingship
@ 2016-02-08 10:29 ` Heiko Stuebner
0 siblings, 0 replies; 57+ messages in thread
From: Heiko Stuebner @ 2016-02-08 10:29 UTC (permalink / raw)
To: Andreas Färber
Cc: linux-rockchip, linux-arm-kernel, linux-kernel, Rob Herring,
Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS
Am Montag, 8. Februar 2016, 03:17:38 schrieb Andreas Färber:
> Use "geekbuying,landingship" compatible string, plus those of GeekBox.
I do believe this would be better as geekbuying,geekbox-landingship . They
might reuse the landingship naming for future baseboards as well ;-)
>
> Signed-off-by: Andreas Färber <afaerber@suse.de>
> ---
> v2: New
>
> Documentation/devicetree/bindings/arm/rockchip.txt | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/arm/rockchip.txt
> b/Documentation/devicetree/bindings/arm/rockchip.txt index
> f633595b196c..c6d95f202591 100644
> --- a/Documentation/devicetree/bindings/arm/rockchip.txt
> +++ b/Documentation/devicetree/bindings/arm/rockchip.txt
> @@ -91,6 +91,11 @@ Rockchip platforms device tree bindings
> Required root node properties:
> - compatible = "geekbuying,geekbox", "rockchip,rk3368";
>
> +- GeekBuying Landingship:
> + Required root node properties:
> + - compatible = "geekbuying,landingship",
> + "geekbuying,geekbox", "rockchip,rk3368";
> +
> - Rockchip RK3368 evb:
> Required root node properties:
> - compatible = "rockchip,rk3368-evb-act8846", "rockchip,rk3368";
^ permalink raw reply [flat|nested] 57+ messages in thread
* [PATCH v2 09/10] Documentation: devicetree: rockchip: Document Landingship
@ 2016-02-08 10:29 ` Heiko Stuebner
0 siblings, 0 replies; 57+ messages in thread
From: Heiko Stuebner @ 2016-02-08 10:29 UTC (permalink / raw)
To: linux-arm-kernel
Am Montag, 8. Februar 2016, 03:17:38 schrieb Andreas F?rber:
> Use "geekbuying,landingship" compatible string, plus those of GeekBox.
I do believe this would be better as geekbuying,geekbox-landingship . They
might reuse the landingship naming for future baseboards as well ;-)
>
> Signed-off-by: Andreas F?rber <afaerber@suse.de>
> ---
> v2: New
>
> Documentation/devicetree/bindings/arm/rockchip.txt | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/arm/rockchip.txt
> b/Documentation/devicetree/bindings/arm/rockchip.txt index
> f633595b196c..c6d95f202591 100644
> --- a/Documentation/devicetree/bindings/arm/rockchip.txt
> +++ b/Documentation/devicetree/bindings/arm/rockchip.txt
> @@ -91,6 +91,11 @@ Rockchip platforms device tree bindings
> Required root node properties:
> - compatible = "geekbuying,geekbox", "rockchip,rk3368";
>
> +- GeekBuying Landingship:
> + Required root node properties:
> + - compatible = "geekbuying,landingship",
> + "geekbuying,geekbox", "rockchip,rk3368";
> +
> - Rockchip RK3368 evb:
> Required root node properties:
> - compatible = "rockchip,rk3368-evb-act8846", "rockchip,rk3368";
^ permalink raw reply [flat|nested] 57+ messages in thread
* Re: [PATCH v2 04/10] ARM64: dts: rockchip: Add GMAC to GeekBox
2016-02-08 10:28 ` Heiko Stuebner
@ 2016-02-08 10:40 ` Andreas Färber
-1 siblings, 0 replies; 57+ messages in thread
From: Andreas Färber @ 2016-02-08 10:40 UTC (permalink / raw)
To: Heiko Stuebner
Cc: linux-rockchip, linux-arm-kernel, linux-kernel, Rob Herring,
Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
Catalin Marinas, Will Deacon, devicetree
Hi Heiko,
Am 08.02.2016 um 11:28 schrieb Heiko Stuebner:
> Am Montag, 8. Februar 2016, 03:17:33 schrieb Andreas Färber:
>> Signed-off-by: Andreas Färber <afaerber@suse.de>
>
> is there some special reason that gmac, emmc, ir, etc are in separate
> patches? I guess I'll just fold them into the core patch otherwise.
Yes, feel free to squash. They are separate because they were not in v1,
it makes them easier to review and I didn't want errors in them to hold
up the base .dts. :) For example, SDIO I am still fighting with.
Cheers,
Andreas
--
SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Graham Norton; HRB 21284 (AG Nürnberg)
^ permalink raw reply [flat|nested] 57+ messages in thread
* [PATCH v2 04/10] ARM64: dts: rockchip: Add GMAC to GeekBox
@ 2016-02-08 10:40 ` Andreas Färber
0 siblings, 0 replies; 57+ messages in thread
From: Andreas Färber @ 2016-02-08 10:40 UTC (permalink / raw)
To: linux-arm-kernel
Hi Heiko,
Am 08.02.2016 um 11:28 schrieb Heiko Stuebner:
> Am Montag, 8. Februar 2016, 03:17:33 schrieb Andreas F?rber:
>> Signed-off-by: Andreas F?rber <afaerber@suse.de>
>
> is there some special reason that gmac, emmc, ir, etc are in separate
> patches? I guess I'll just fold them into the core patch otherwise.
Yes, feel free to squash. They are separate because they were not in v1,
it makes them easier to review and I didn't want errors in them to hold
up the base .dts. :) For example, SDIO I am still fighting with.
Cheers,
Andreas
--
SUSE Linux GmbH, Maxfeldstr. 5, 90409 N?rnberg, Germany
GF: Felix Imend?rffer, Jane Smithard, Graham Norton; HRB 21284 (AG N?rnberg)
^ permalink raw reply [flat|nested] 57+ messages in thread
* Re: [PATCH v2 09/10] Documentation: devicetree: rockchip: Document Landingship
2016-02-08 10:29 ` Heiko Stuebner
@ 2016-02-08 10:51 ` Andreas Färber
-1 siblings, 0 replies; 57+ messages in thread
From: Andreas Färber @ 2016-02-08 10:51 UTC (permalink / raw)
To: Heiko Stuebner
Cc: linux-rockchip, linux-arm-kernel, linux-kernel, Rob Herring,
Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala, devicetree
Am 08.02.2016 um 11:29 schrieb Heiko Stuebner:
> Am Montag, 8. Februar 2016, 03:17:38 schrieb Andreas Färber:
>> Use "geekbuying,landingship" compatible string, plus those of GeekBox.
>
> I do believe this would be better as geekbuying,geekbox-landingship . They
> might reuse the landingship naming for future baseboards as well ;-)
Well, the question is: Is this MXM3 interface as generic as Qseven so
that it could be used as is for other modules (and baseboards from other
manufacturers could be used for the module)? Then my thought was
landingship as identifier for the baseboard and geekbox as identifier
for the contained module.
I agree that if this Landingship is specific to the GeekBox then
geekbox-landingship would be more appropriate. We could also do both.
Can you tell? Unfortunately I spot no real documentation of the MXM3
connector pins in the schematics we could compare, only an on-board
documentation of the three-row pins.
Regards,
Andreas
--
SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Graham Norton; HRB 21284 (AG Nürnberg)
^ permalink raw reply [flat|nested] 57+ messages in thread
* [PATCH v2 09/10] Documentation: devicetree: rockchip: Document Landingship
@ 2016-02-08 10:51 ` Andreas Färber
0 siblings, 0 replies; 57+ messages in thread
From: Andreas Färber @ 2016-02-08 10:51 UTC (permalink / raw)
To: linux-arm-kernel
Am 08.02.2016 um 11:29 schrieb Heiko Stuebner:
> Am Montag, 8. Februar 2016, 03:17:38 schrieb Andreas F?rber:
>> Use "geekbuying,landingship" compatible string, plus those of GeekBox.
>
> I do believe this would be better as geekbuying,geekbox-landingship . They
> might reuse the landingship naming for future baseboards as well ;-)
Well, the question is: Is this MXM3 interface as generic as Qseven so
that it could be used as is for other modules (and baseboards from other
manufacturers could be used for the module)? Then my thought was
landingship as identifier for the baseboard and geekbox as identifier
for the contained module.
I agree that if this Landingship is specific to the GeekBox then
geekbox-landingship would be more appropriate. We could also do both.
Can you tell? Unfortunately I spot no real documentation of the MXM3
connector pins in the schematics we could compare, only an on-board
documentation of the three-row pins.
Regards,
Andreas
--
SUSE Linux GmbH, Maxfeldstr. 5, 90409 N?rnberg, Germany
GF: Felix Imend?rffer, Jane Smithard, Graham Norton; HRB 21284 (AG N?rnberg)
^ permalink raw reply [flat|nested] 57+ messages in thread
* Re: [PATCH v2 07/10] ARM64: dts: rockchip: Add power key to GeekBox
2016-02-08 2:17 ` Andreas Färber
(?)
@ 2016-02-08 16:26 ` Julien Chauveau
-1 siblings, 0 replies; 57+ messages in thread
From: Julien Chauveau @ 2016-02-08 16:26 UTC (permalink / raw)
To: Andreas Färber
Cc: linux-rockchip, Heiko Stuebner, linux-arm-kernel, linux-kernel,
Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
Catalin Marinas, Will Deacon,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS
Hello Andreas,
> Le 8 févr. 2016 à 03:17, Andreas Färber <afaerber@suse.de> a écrit :
>
> Signed-off-by: Andreas Färber <afaerber@suse.de>
> ---
> v2: New
>
> arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts | 22 ++++++++++++++++++++++
> 1 file changed, 22 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts b/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
> index e84383fd6f10..fe5aa785cfda 100644
> --- a/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
> +++ b/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
> @@ -70,6 +70,22 @@
> pinctrl-0 = <&ir_int>;
> };
>
> + keys: gpio-keys {
> + compatible = "gpio-keys";
> + pinctrl-names = "default";
> + pinctrl-0 = <&pwr_key>;
> + #address-cells = <1>;
> + #size-cells = <0>;
I think #address-cells and #size-cells are not necessary.
> +
> + button@0 {
> + reg = <0>;
reg can be removed too.
> + gpio-key,wakeup = <1>;
You should use the new "wakeup-source » property.
> + gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
> + label = "GPIO Power";
> + linux,code = <116>;
#include <dt-bindings/input/input.h>
and use KEY_POWER instead of 116
> + };
> + };
> +
> leds: gpio-leds {
> compatible = "gpio-leds";
>
> @@ -265,6 +281,12 @@
> };
> };
>
> + keys {
> + pwr_key: pwr-key {
> + rockchip,pins = <0 2 RK_FUNC_GPIO &pcfg_pull_up>;
Is there a reason you want to enable the internal pull-up resistor on this pin?
The schematic shows there's already an external pull-up resistor so the internal one should not be needed.
> + };
> + };
> +
> pmic {
> pmic_sleep: pmic-sleep {
> rockchip,pins = <0 0 RK_FUNC_2 &pcfg_pull_none>;
^ permalink raw reply [flat|nested] 57+ messages in thread
* Re: [PATCH v2 07/10] ARM64: dts: rockchip: Add power key to GeekBox
@ 2016-02-08 16:26 ` Julien Chauveau
0 siblings, 0 replies; 57+ messages in thread
From: Julien Chauveau @ 2016-02-08 16:26 UTC (permalink / raw)
To: Andreas Färber
Cc: linux-rockchip, Heiko Stuebner, linux-arm-kernel, linux-kernel,
Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
Catalin Marinas, Will Deacon,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS
Hello Andreas,
> Le 8 févr. 2016 à 03:17, Andreas Färber <afaerber@suse.de> a écrit :
>
> Signed-off-by: Andreas Färber <afaerber@suse.de>
> ---
> v2: New
>
> arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts | 22 ++++++++++++++++++++++
> 1 file changed, 22 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts b/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
> index e84383fd6f10..fe5aa785cfda 100644
> --- a/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
> +++ b/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
> @@ -70,6 +70,22 @@
> pinctrl-0 = <&ir_int>;
> };
>
> + keys: gpio-keys {
> + compatible = "gpio-keys";
> + pinctrl-names = "default";
> + pinctrl-0 = <&pwr_key>;
> + #address-cells = <1>;
> + #size-cells = <0>;
I think #address-cells and #size-cells are not necessary.
> +
> + button@0 {
> + reg = <0>;
reg can be removed too.
> + gpio-key,wakeup = <1>;
You should use the new "wakeup-source » property.
> + gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
> + label = "GPIO Power";
> + linux,code = <116>;
#include <dt-bindings/input/input.h>
and use KEY_POWER instead of 116
> + };
> + };
> +
> leds: gpio-leds {
> compatible = "gpio-leds";
>
> @@ -265,6 +281,12 @@
> };
> };
>
> + keys {
> + pwr_key: pwr-key {
> + rockchip,pins = <0 2 RK_FUNC_GPIO &pcfg_pull_up>;
Is there a reason you want to enable the internal pull-up resistor on this pin?
The schematic shows there's already an external pull-up resistor so the internal one should not be needed.
> + };
> + };
> +
> pmic {
> pmic_sleep: pmic-sleep {
> rockchip,pins = <0 0 RK_FUNC_2 &pcfg_pull_none>;
^ permalink raw reply [flat|nested] 57+ messages in thread
* [PATCH v2 07/10] ARM64: dts: rockchip: Add power key to GeekBox
@ 2016-02-08 16:26 ` Julien Chauveau
0 siblings, 0 replies; 57+ messages in thread
From: Julien Chauveau @ 2016-02-08 16:26 UTC (permalink / raw)
To: linux-arm-kernel
Hello Andreas,
> Le 8 f?vr. 2016 ? 03:17, Andreas F?rber <afaerber@suse.de> a ?crit :
>
> Signed-off-by: Andreas F?rber <afaerber@suse.de>
> ---
> v2: New
>
> arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts | 22 ++++++++++++++++++++++
> 1 file changed, 22 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts b/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
> index e84383fd6f10..fe5aa785cfda 100644
> --- a/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
> +++ b/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
> @@ -70,6 +70,22 @@
> pinctrl-0 = <&ir_int>;
> };
>
> + keys: gpio-keys {
> + compatible = "gpio-keys";
> + pinctrl-names = "default";
> + pinctrl-0 = <&pwr_key>;
> + #address-cells = <1>;
> + #size-cells = <0>;
I think #address-cells and #size-cells are not necessary.
> +
> + button at 0 {
> + reg = <0>;
reg can be removed too.
> + gpio-key,wakeup = <1>;
You should use the new "wakeup-source ? property.
> + gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
> + label = "GPIO Power";
> + linux,code = <116>;
#include <dt-bindings/input/input.h>
and use KEY_POWER instead of 116
> + };
> + };
> +
> leds: gpio-leds {
> compatible = "gpio-leds";
>
> @@ -265,6 +281,12 @@
> };
> };
>
> + keys {
> + pwr_key: pwr-key {
> + rockchip,pins = <0 2 RK_FUNC_GPIO &pcfg_pull_up>;
Is there a reason you want to enable the internal pull-up resistor on this pin?
The schematic shows there's already an external pull-up resistor so the internal one should not be needed.
> + };
> + };
> +
> pmic {
> pmic_sleep: pmic-sleep {
> rockchip,pins = <0 0 RK_FUNC_2 &pcfg_pull_none>;
^ permalink raw reply [flat|nested] 57+ messages in thread
* Re: [PATCH v2 01/10] Documentation: devicetree: Add vendor prefix for GeekBuying.com
@ 2016-02-08 21:27 ` Rob Herring
0 siblings, 0 replies; 57+ messages in thread
From: Rob Herring @ 2016-02-08 21:27 UTC (permalink / raw)
To: Andreas Färber
Cc: linux-rockchip, Heiko Stuebner, linux-arm-kernel, linux-kernel,
Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS
On Mon, Feb 08, 2016 at 03:17:30AM +0100, Andreas Färber wrote:
> Use "geekbuying".
>
> Signed-off-by: Andreas Färber <afaerber@suse.de>
Acked-by: Rob Herring <robh@kernel.org>
^ permalink raw reply [flat|nested] 57+ messages in thread
* Re: [PATCH v2 01/10] Documentation: devicetree: Add vendor prefix for GeekBuying.com
@ 2016-02-08 21:27 ` Rob Herring
0 siblings, 0 replies; 57+ messages in thread
From: Rob Herring @ 2016-02-08 21:27 UTC (permalink / raw)
To: Andreas Färber
Cc: linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Heiko Stuebner,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
linux-kernel-u79uwXL29TY76Z2rM5mHXA, Pawel Moll, Mark Rutland,
Ian Campbell, Kumar Gala,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS
On Mon, Feb 08, 2016 at 03:17:30AM +0100, Andreas Färber wrote:
> Use "geekbuying".
>
> Signed-off-by: Andreas Färber <afaerber-l3A5Bk7waGM@public.gmane.org>
Acked-by: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 57+ messages in thread
* [PATCH v2 01/10] Documentation: devicetree: Add vendor prefix for GeekBuying.com
@ 2016-02-08 21:27 ` Rob Herring
0 siblings, 0 replies; 57+ messages in thread
From: Rob Herring @ 2016-02-08 21:27 UTC (permalink / raw)
To: linux-arm-kernel
On Mon, Feb 08, 2016 at 03:17:30AM +0100, Andreas F?rber wrote:
> Use "geekbuying".
>
> Signed-off-by: Andreas F?rber <afaerber@suse.de>
Acked-by: Rob Herring <robh@kernel.org>
^ permalink raw reply [flat|nested] 57+ messages in thread
* Re: [PATCH v2 02/10] Documentation: devicetree: rockchip: Document GeekBox
@ 2016-02-08 21:28 ` Rob Herring
0 siblings, 0 replies; 57+ messages in thread
From: Rob Herring @ 2016-02-08 21:28 UTC (permalink / raw)
To: Andreas Färber
Cc: linux-rockchip, Heiko Stuebner, linux-arm-kernel, linux-kernel,
Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS
On Mon, Feb 08, 2016 at 03:17:31AM +0100, Andreas Färber wrote:
> Use "geekbuying,geekbox" compatible string.
>
> Signed-off-by: Andreas Färber <afaerber@suse.de>
> ---
> v2: New (Heiko)
>
> Documentation/devicetree/bindings/arm/rockchip.txt | 4 ++++
> 1 file changed, 4 insertions(+)
Acked-by: Rob Herring <robh@kernel.org>
^ permalink raw reply [flat|nested] 57+ messages in thread
* Re: [PATCH v2 02/10] Documentation: devicetree: rockchip: Document GeekBox
@ 2016-02-08 21:28 ` Rob Herring
0 siblings, 0 replies; 57+ messages in thread
From: Rob Herring @ 2016-02-08 21:28 UTC (permalink / raw)
To: Andreas Färber
Cc: Mark Rutland,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
Heiko Stuebner, Pawel Moll, Ian Campbell,
linux-kernel-u79uwXL29TY76Z2rM5mHXA,
linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Kumar Gala,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
On Mon, Feb 08, 2016 at 03:17:31AM +0100, Andreas Färber wrote:
> Use "geekbuying,geekbox" compatible string.
>
> Signed-off-by: Andreas Färber <afaerber-l3A5Bk7waGM@public.gmane.org>
> ---
> v2: New (Heiko)
>
> Documentation/devicetree/bindings/arm/rockchip.txt | 4 ++++
> 1 file changed, 4 insertions(+)
Acked-by: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
^ permalink raw reply [flat|nested] 57+ messages in thread
* [PATCH v2 02/10] Documentation: devicetree: rockchip: Document GeekBox
@ 2016-02-08 21:28 ` Rob Herring
0 siblings, 0 replies; 57+ messages in thread
From: Rob Herring @ 2016-02-08 21:28 UTC (permalink / raw)
To: linux-arm-kernel
On Mon, Feb 08, 2016 at 03:17:31AM +0100, Andreas F?rber wrote:
> Use "geekbuying,geekbox" compatible string.
>
> Signed-off-by: Andreas F?rber <afaerber@suse.de>
> ---
> v2: New (Heiko)
>
> Documentation/devicetree/bindings/arm/rockchip.txt | 4 ++++
> 1 file changed, 4 insertions(+)
Acked-by: Rob Herring <robh@kernel.org>
^ permalink raw reply [flat|nested] 57+ messages in thread
* Re: [PATCH v2 06/10] ARM64: dts: rockchip: Add IR receiver to GeekBox
@ 2016-02-09 3:08 ` Andreas Färber
0 siblings, 0 replies; 57+ messages in thread
From: Andreas Färber @ 2016-02-09 3:08 UTC (permalink / raw)
To: linux-rockchip, Heiko Stuebner
Cc: Mark Rutland, DT, Pawel Moll, Ian Campbell, Catalin Marinas,
Will Deacon, linux-kernel, Rob Herring, Kumar Gala,
linux-arm-kernel
Am 08.02.2016 um 03:17 schrieb Andreas Färber:
> Signed-off-by: Andreas Färber <afaerber@suse.de>
> ---
> v2: New
>
> arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts | 13 +++++++++++++
> 1 file changed, 13 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts b/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
> index e4523a74050f..e84383fd6f10 100644
> --- a/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
> +++ b/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
> @@ -63,6 +63,13 @@
> #clock-cells = <0>;
> };
>
> + ir: ir-receiver {
> + compatible = "gpio-ir-receiver";
> + gpios = <&gpio3 30 GPIO_ACTIVE_LOW>;
> + pinctrl-names = "default";
> + pinctrl-0 = <&ir_int>;
status = "disabled";
Should only be enabled in the new Landingship config. Will fix.
Andreas
P.S. See Heiko, two bugs in the new nodes already, glad I have them
separate. :)
> + };
> +
> leds: gpio-leds {
> compatible = "gpio-leds";
>
[snip]
--
SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Graham Norton; HRB 21284 (AG Nürnberg)
^ permalink raw reply [flat|nested] 57+ messages in thread
* Re: [PATCH v2 06/10] ARM64: dts: rockchip: Add IR receiver to GeekBox
@ 2016-02-09 3:08 ` Andreas Färber
0 siblings, 0 replies; 57+ messages in thread
From: Andreas Färber @ 2016-02-09 3:08 UTC (permalink / raw)
To: linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Heiko Stuebner
Cc: Mark Rutland, DT, Pawel Moll, Ian Campbell, Catalin Marinas,
Will Deacon, linux-kernel-u79uwXL29TY76Z2rM5mHXA, Rob Herring,
Kumar Gala, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
Am 08.02.2016 um 03:17 schrieb Andreas Färber:
> Signed-off-by: Andreas Färber <afaerber-l3A5Bk7waGM@public.gmane.org>
> ---
> v2: New
>
> arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts | 13 +++++++++++++
> 1 file changed, 13 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts b/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
> index e4523a74050f..e84383fd6f10 100644
> --- a/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
> +++ b/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
> @@ -63,6 +63,13 @@
> #clock-cells = <0>;
> };
>
> + ir: ir-receiver {
> + compatible = "gpio-ir-receiver";
> + gpios = <&gpio3 30 GPIO_ACTIVE_LOW>;
> + pinctrl-names = "default";
> + pinctrl-0 = <&ir_int>;
status = "disabled";
Should only be enabled in the new Landingship config. Will fix.
Andreas
P.S. See Heiko, two bugs in the new nodes already, glad I have them
separate. :)
> + };
> +
> leds: gpio-leds {
> compatible = "gpio-leds";
>
[snip]
--
SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Graham Norton; HRB 21284 (AG Nürnberg)
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 57+ messages in thread
* [PATCH v2 06/10] ARM64: dts: rockchip: Add IR receiver to GeekBox
@ 2016-02-09 3:08 ` Andreas Färber
0 siblings, 0 replies; 57+ messages in thread
From: Andreas Färber @ 2016-02-09 3:08 UTC (permalink / raw)
To: linux-arm-kernel
Am 08.02.2016 um 03:17 schrieb Andreas F?rber:
> Signed-off-by: Andreas F?rber <afaerber@suse.de>
> ---
> v2: New
>
> arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts | 13 +++++++++++++
> 1 file changed, 13 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts b/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
> index e4523a74050f..e84383fd6f10 100644
> --- a/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
> +++ b/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
> @@ -63,6 +63,13 @@
> #clock-cells = <0>;
> };
>
> + ir: ir-receiver {
> + compatible = "gpio-ir-receiver";
> + gpios = <&gpio3 30 GPIO_ACTIVE_LOW>;
> + pinctrl-names = "default";
> + pinctrl-0 = <&ir_int>;
status = "disabled";
Should only be enabled in the new Landingship config. Will fix.
Andreas
P.S. See Heiko, two bugs in the new nodes already, glad I have them
separate. :)
> + };
> +
> leds: gpio-leds {
> compatible = "gpio-leds";
>
[snip]
--
SUSE Linux GmbH, Maxfeldstr. 5, 90409 N?rnberg, Germany
GF: Felix Imend?rffer, Jane Smithard, Graham Norton; HRB 21284 (AG N?rnberg)
^ permalink raw reply [flat|nested] 57+ messages in thread
* Re: Re: [PATCH v2 06/10] ARM64: dts: rockchip: Add IR receiver to GeekBox
@ 2016-02-09 10:45 ` Julien Chauveau
0 siblings, 0 replies; 57+ messages in thread
From: Julien Chauveau @ 2016-02-09 10:45 UTC (permalink / raw)
To: Andreas Färber, linux-rockchip, Heiko Stuebner
Cc: Mark Rutland, DT, Pawel Moll, Ian Campbell, Catalin Marinas,
Will Deacon, linux-kernel, Rob Herring, Kumar Gala,
linux-arm-kernel
Le 09/02/2016 04:08, Andreas Färber a écrit :
> Am 08.02.2016 um 03:17 schrieb Andreas Färber:
>> Signed-off-by: Andreas Färber <afaerber@suse.de>
>> ---
>> v2: New
>>
>> arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts | 13 +++++++++++++
>> 1 file changed, 13 insertions(+)
>>
>> diff --git a/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts b/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
>> index e4523a74050f..e84383fd6f10 100644
>> --- a/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
>> +++ b/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
>> @@ -63,6 +63,13 @@
>> #clock-cells = <0>;
>> };
>>
>> + ir: ir-receiver {
>> + compatible = "gpio-ir-receiver";
>> + gpios = <&gpio3 30 GPIO_ACTIVE_LOW>;
>> + pinctrl-names = "default";
>> + pinctrl-0 = <&ir_int>;
> status = "disabled";
>
> Should only be enabled in the new Landingship config. Will fix.
>
> Andreas
Actually there's two IR receivers:
- one on the geekbox module (on the bottom side)
- and another one on the landingship.
Both are connected to the same GPIO pin, so you can keep it enabled in
the main geekbox dts.
About the pinctrl, same remark as for gpio-keys: there's already
external pull-up resistors on this pin, so it should be better to use
pcfg_pull_none instead of pcfg_pull_up.
Julien
>
> P.S. See Heiko, two bugs in the new nodes already, glad I have them
> separate. :)
>
>> + };
>> +
>> leds: gpio-leds {
>> compatible = "gpio-leds";
>>
> [snip]
>
^ permalink raw reply [flat|nested] 57+ messages in thread
* Re: Re: [PATCH v2 06/10] ARM64: dts: rockchip: Add IR receiver to GeekBox
@ 2016-02-09 10:45 ` Julien Chauveau
0 siblings, 0 replies; 57+ messages in thread
From: Julien Chauveau @ 2016-02-09 10:45 UTC (permalink / raw)
To: Andreas Färber,
linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Heiko Stuebner
Cc: Mark Rutland, DT, Pawel Moll, Ian Campbell, Catalin Marinas,
Will Deacon, linux-kernel-u79uwXL29TY76Z2rM5mHXA, Rob Herring,
Kumar Gala, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
Le 09/02/2016 04:08, Andreas Färber a écrit :
> Am 08.02.2016 um 03:17 schrieb Andreas Färber:
>> Signed-off-by: Andreas Färber <afaerber-l3A5Bk7waGM@public.gmane.org>
>> ---
>> v2: New
>>
>> arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts | 13 +++++++++++++
>> 1 file changed, 13 insertions(+)
>>
>> diff --git a/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts b/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
>> index e4523a74050f..e84383fd6f10 100644
>> --- a/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
>> +++ b/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
>> @@ -63,6 +63,13 @@
>> #clock-cells = <0>;
>> };
>>
>> + ir: ir-receiver {
>> + compatible = "gpio-ir-receiver";
>> + gpios = <&gpio3 30 GPIO_ACTIVE_LOW>;
>> + pinctrl-names = "default";
>> + pinctrl-0 = <&ir_int>;
> status = "disabled";
>
> Should only be enabled in the new Landingship config. Will fix.
>
> Andreas
Actually there's two IR receivers:
- one on the geekbox module (on the bottom side)
- and another one on the landingship.
Both are connected to the same GPIO pin, so you can keep it enabled in
the main geekbox dts.
About the pinctrl, same remark as for gpio-keys: there's already
external pull-up resistors on this pin, so it should be better to use
pcfg_pull_none instead of pcfg_pull_up.
Julien
>
> P.S. See Heiko, two bugs in the new nodes already, glad I have them
> separate. :)
>
>> + };
>> +
>> leds: gpio-leds {
>> compatible = "gpio-leds";
>>
> [snip]
>
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 57+ messages in thread
* [PATCH v2 06/10] ARM64: dts: rockchip: Add IR receiver to GeekBox
@ 2016-02-09 10:45 ` Julien Chauveau
0 siblings, 0 replies; 57+ messages in thread
From: Julien Chauveau @ 2016-02-09 10:45 UTC (permalink / raw)
To: linux-arm-kernel
Le 09/02/2016 04:08, Andreas F?rber a ?crit :
> Am 08.02.2016 um 03:17 schrieb Andreas F?rber:
>> Signed-off-by: Andreas F?rber <afaerber@suse.de>
>> ---
>> v2: New
>>
>> arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts | 13 +++++++++++++
>> 1 file changed, 13 insertions(+)
>>
>> diff --git a/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts b/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
>> index e4523a74050f..e84383fd6f10 100644
>> --- a/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
>> +++ b/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
>> @@ -63,6 +63,13 @@
>> #clock-cells = <0>;
>> };
>>
>> + ir: ir-receiver {
>> + compatible = "gpio-ir-receiver";
>> + gpios = <&gpio3 30 GPIO_ACTIVE_LOW>;
>> + pinctrl-names = "default";
>> + pinctrl-0 = <&ir_int>;
> status = "disabled";
>
> Should only be enabled in the new Landingship config. Will fix.
>
> Andreas
Actually there's two IR receivers:
- one on the geekbox module (on the bottom side)
- and another one on the landingship.
Both are connected to the same GPIO pin, so you can keep it enabled in
the main geekbox dts.
About the pinctrl, same remark as for gpio-keys: there's already
external pull-up resistors on this pin, so it should be better to use
pcfg_pull_none instead of pcfg_pull_up.
Julien
>
> P.S. See Heiko, two bugs in the new nodes already, glad I have them
> separate. :)
>
>> + };
>> +
>> leds: gpio-leds {
>> compatible = "gpio-leds";
>>
> [snip]
>
^ permalink raw reply [flat|nested] 57+ messages in thread
end of thread, other threads:[~2016-02-09 10:45 UTC | newest]
Thread overview: 57+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-08 2:17 [PATCH v2 00/10] ARM64: rockchip: Initial GeekBox enablement Andreas Färber
2016-02-08 2:17 ` Andreas Färber
2016-02-08 2:17 ` [PATCH v2 01/10] Documentation: devicetree: Add vendor prefix for GeekBuying.com Andreas Färber
2016-02-08 2:17 ` Andreas Färber
2016-02-08 2:17 ` Andreas Färber
2016-02-08 21:27 ` Rob Herring
2016-02-08 21:27 ` Rob Herring
2016-02-08 21:27 ` Rob Herring
2016-02-08 2:17 ` [PATCH v2 02/10] Documentation: devicetree: rockchip: Document GeekBox Andreas Färber
2016-02-08 2:17 ` Andreas Färber
2016-02-08 2:17 ` Andreas Färber
2016-02-08 21:28 ` Rob Herring
2016-02-08 21:28 ` Rob Herring
2016-02-08 21:28 ` Rob Herring
2016-02-08 2:17 ` [PATCH v2 03/10] ARM64: dts: rockchip: Add GeekBox config Andreas Färber
2016-02-08 2:17 ` Andreas Färber
2016-02-08 2:17 ` Andreas Färber
2016-02-08 2:17 ` [PATCH v2 04/10] ARM64: dts: rockchip: Add GMAC to GeekBox Andreas Färber
2016-02-08 2:17 ` Andreas Färber
2016-02-08 2:17 ` Andreas Färber
2016-02-08 10:28 ` Heiko Stuebner
2016-02-08 10:28 ` Heiko Stuebner
2016-02-08 10:28 ` Heiko Stuebner
2016-02-08 10:40 ` Andreas Färber
2016-02-08 10:40 ` Andreas Färber
2016-02-08 2:17 ` [PATCH v2 05/10] ARM64: dts: rockchip: Add eMMC " Andreas Färber
2016-02-08 2:17 ` Andreas Färber
2016-02-08 2:17 ` Andreas Färber
2016-02-08 2:17 ` [PATCH v2 06/10] ARM64: dts: rockchip: Add IR receiver " Andreas Färber
2016-02-08 2:17 ` Andreas Färber
2016-02-08 2:17 ` Andreas Färber
2016-02-09 3:08 ` Andreas Färber
2016-02-09 3:08 ` Andreas Färber
2016-02-09 3:08 ` Andreas Färber
2016-02-09 10:45 ` Julien Chauveau
2016-02-09 10:45 ` Julien Chauveau
2016-02-09 10:45 ` Julien Chauveau
2016-02-08 2:17 ` [PATCH v2 07/10] ARM64: dts: rockchip: Add power key " Andreas Färber
2016-02-08 2:17 ` Andreas Färber
2016-02-08 2:17 ` Andreas Färber
2016-02-08 16:26 ` Julien Chauveau
2016-02-08 16:26 ` Julien Chauveau
2016-02-08 16:26 ` Julien Chauveau
2016-02-08 2:17 ` [PATCH v2 08/10] ARM64: dts: rockchip: Add tsadc for GeekBox Andreas Färber
2016-02-08 2:17 ` Andreas Färber
2016-02-08 2:17 ` Andreas Färber
2016-02-08 2:17 ` [PATCH v2 09/10] Documentation: devicetree: rockchip: Document Landingship Andreas Färber
2016-02-08 2:17 ` Andreas Färber
2016-02-08 2:17 ` Andreas Färber
2016-02-08 10:29 ` Heiko Stuebner
2016-02-08 10:29 ` Heiko Stuebner
2016-02-08 10:29 ` Heiko Stuebner
2016-02-08 10:51 ` Andreas Färber
2016-02-08 10:51 ` Andreas Färber
2016-02-08 2:17 ` [PATCH v2 10/10] ARM64: dts: rockchip: Add Landingship config Andreas Färber
2016-02-08 2:17 ` Andreas Färber
2016-02-08 2:17 ` Andreas Färber
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.