2019-05-27 13:23:32

by Neil Armstrong

[permalink] [raw]
Subject: [PATCH 00/10] arm64: meson-gx: misc fixes

This patchset :
- Fixes GPIO key DT on Khadas VIM2 board
- Fixes regulator naming on Vega S95 board
- Enable SARADC on Wetek and Vega S95 boards
- Enable/Fix Bluetooth on VIM2, Wetek and Vega S95 boards
- Enable CEC & HDMI on Vega S95 board
- Adds ethernet PHY interrupt on Vega S95 board

Christian Hewitt (4):
arm64: dts: meson-gxm-khadas-vim2: fix gpio-keys-polled node
arm64: dts: meson-gxm-khadas-vim2: fix Bluetooth support
arm64: dts: meson-gxbb-wetek: enable SARADC
arm64: dts: meson-gxbb-wetek: enable bluetooth

Neil Armstrong (6):
arm64: dts: meson-gxbb-vega-s95: fix regulators
arm64: dts: meson-gxbb-vega-s95: add HDMI nodes
arm64: dts: meson-gxbb-vega-s95: enable CEC
arm64: dts: meson-gxbb-vega-s95: enable SARADC
arm64: dts: meson-gxbb-vega-s95: fix WiFi/BT module support
arm64: dts: meson-gxbb-vega-s95: add ethernet PHY interrupt

.../boot/dts/amlogic/meson-gxbb-vega-s95.dtsi | 93 ++++++++++++++++---
.../boot/dts/amlogic/meson-gxbb-wetek.dtsi | 25 +++++
.../dts/amlogic/meson-gxm-khadas-vim2.dts | 13 ++-
3 files changed, 112 insertions(+), 19 deletions(-)

--
2.21.0


2019-05-27 13:23:36

by Neil Armstrong

[permalink] [raw]
Subject: [PATCH 06/10] arm64: dts: meson-gxbb-vega-s95: add HDMI nodes

Add HDMI nodes to support graphics on Vega S95

Suggested-by: Christian Hewitt <[email protected]>
Signed-off-by: Neil Armstrong <[email protected]>
---
.../boot/dts/amlogic/meson-gxbb-vega-s95.dtsi | 23 +++++++++++++++++++
1 file changed, 23 insertions(+)

diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi
index 760730d4e87b..6738b2aac9a0 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi
@@ -73,6 +73,17 @@
pwms = <&pwm_ef 0 30518 0>; /* PWM_E at 32.768KHz */
};

+ hdmi-connector {
+ compatible = "hdmi-connector";
+ type = "a";
+
+ port {
+ hdmi_connector_in: endpoint {
+ remote-endpoint = <&hdmi_tx_tmds_out>;
+ };
+ };
+ };
+
sdio_pwrseq: sdio-pwrseq {
compatible = "mmc-pwrseq-simple";
reset-gpios = <&gpio GPIOX_6 GPIO_ACTIVE_LOW>,
@@ -108,6 +119,18 @@
};
};

+&hdmi_tx {
+ status = "okay";
+ pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>;
+ pinctrl-names = "default";
+};
+
+&hdmi_tx_tmds_port {
+ hdmi_tx_tmds_out: endpoint {
+ remote-endpoint = <&hdmi_connector_in>;
+ };
+};
+
&ir {
status = "okay";
pinctrl-0 = <&remote_input_ao_pins>;
--
2.21.0

2019-05-27 13:23:48

by Neil Armstrong

[permalink] [raw]
Subject: [PATCH 10/10] arm64: dts: meson-gxbb-vega-s95: add ethernet PHY interrupt

Add the external ethernet PHY interrupt on the Vega S95 board.

Suggested-by: Christian Hewitt <[email protected]>
Signed-off-by: Neil Armstrong <[email protected]>
---
arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi | 3 +++
1 file changed, 3 insertions(+)

diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi
index 9b52f3dcdd49..18856f28fd60 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi
@@ -128,6 +128,9 @@
eth_phy0: ethernet-phy@0 {
/* Realtek RTL8211F (0x001cc916) */
reg = <0>;
+ interrupt-parent = <&gpio_intc>;
+ /* MAC_INTR on GPIOZ_15 */
+ interrupts = <29 IRQ_TYPE_LEVEL_LOW>;
};
};
};
--
2.21.0

2019-05-27 13:23:50

by Neil Armstrong

[permalink] [raw]
Subject: [PATCH 09/10] arm64: dts: meson-gxbb-vega-s95: fix WiFi/BT module support

Fix the SDIO WiFi support and add proper Bluetooth support on the
Vega S95 board.

Suggested-by: Christian Hewitt <[email protected]>
Signed-off-by: Neil Armstrong <[email protected]>
---
.../boot/dts/amlogic/meson-gxbb-vega-s95.dtsi | 18 +++++++++++++++---
1 file changed, 15 insertions(+), 3 deletions(-)

diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi
index 4d2aa4dc59e7..9b52f3dcdd49 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi
@@ -93,8 +93,7 @@

sdio_pwrseq: sdio-pwrseq {
compatible = "mmc-pwrseq-simple";
- reset-gpios = <&gpio GPIOX_6 GPIO_ACTIVE_LOW>,
- <&gpio GPIOX_20 GPIO_ACTIVE_LOW>;
+ reset-gpios = <&gpio GPIOX_6 GPIO_ACTIVE_LOW>;
clocks = <&wifi32k>;
clock-names = "ext_clock";
};
@@ -167,7 +166,7 @@
/* Wireless SDIO Module */
&sd_emmc_a {
status = "okay";
- pinctrl-0 = <&sdio_pins &sdio_irq_pins>;
+ pinctrl-0 = <&sdio_pins>;
pinctrl-1 = <&sdio_clk_gate_pins>;
pinctrl-names = "default", "clk-gate";
#address-cells = <1>;
@@ -229,6 +228,19 @@
vqmmc-supply = <&vddio_boot>;
};

+/* This is connected to the Bluetooth module: */
+&uart_A {
+ status = "okay";
+ pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>;
+ pinctrl-names = "default";
+
+ bluetooth {
+ compatible = "brcm,bcm43438-bt";
+ shutdown-gpios = <&gpio GPIOX_20 GPIO_ACTIVE_HIGH>;
+ };
+};
+
+/* This UART is brought out to the DB9 connector */
&uart_AO {
status = "okay";
pinctrl-0 = <&uart_ao_a_pins>;
--
2.21.0

2019-05-27 13:23:55

by Neil Armstrong

[permalink] [raw]
Subject: [PATCH 07/10] arm64: dts: meson-gxbb-vega-s95: enable CEC

Add CEC nodes to support CEC communication on Vega S95

Suggested-by: Christian Hewitt <[email protected]>
Signed-off-by: Neil Armstrong <[email protected]>
---
arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi | 7 +++++++
1 file changed, 7 insertions(+)

diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi
index 6738b2aac9a0..be8799653ad7 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi
@@ -93,6 +93,13 @@
};
};

+&cec_AO {
+ status = "okay";
+ pinctrl-0 = <&ao_cec_pins>;
+ pinctrl-names = "default";
+ hdmi-phandle = <&hdmi_tx>;
+};
+
&ethmac {
status = "okay";
pinctrl-0 = <&eth_rgmii_pins>;
--
2.21.0

2019-05-27 13:24:02

by Neil Armstrong

[permalink] [raw]
Subject: [PATCH 08/10] arm64: dts: meson-gxbb-vega-s95: enable SARADC

Add SARARC node and associated regulator to support reading the
ADC inputs on the Vega S95

Suggested-by: Christian Hewitt <[email protected]>
Signed-off-by: Neil Armstrong <[email protected]>
---
arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi | 12 ++++++++++++
1 file changed, 12 insertions(+)

diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi
index be8799653ad7..4d2aa4dc59e7 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi
@@ -54,6 +54,13 @@
regulator-max-microvolt = <3300000>;
};

+ vddio_ao18: regulator-vddio_ao18 {
+ compatible = "regulator-fixed";
+ regulator-name = "VDDIO_AO18";
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ };
+
vcc_3v3: regulator-vcc_3v3 {
compatible = "regulator-fixed";
regulator-name = "VCC_3V3";
@@ -152,6 +159,11 @@
clock-names = "clkin0";
};

+&saradc {
+ status = "okay";
+ vref-supply = <&vddio_ao18>;
+};
+
/* Wireless SDIO Module */
&sd_emmc_a {
status = "okay";
--
2.21.0

2019-05-27 13:24:48

by Neil Armstrong

[permalink] [raw]
Subject: [PATCH 03/10] arm64: dts: meson-gxbb-wetek: enable SARADC

From: Christian Hewitt <[email protected]>

Enable SARADC on Wetek Boards.

Signed-off-by: Christian Hewitt <[email protected]>
Signed-off-by: Neil Armstrong <[email protected]>
---
arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi | 12 ++++++++++++
1 file changed, 12 insertions(+)

diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi
index b0d74ab619b0..45e306da2154 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi
@@ -59,6 +59,13 @@
regulator-max-microvolt = <3300000>;
};

+ vddio_ao18: regulator-vddio_ao18 {
+ compatible = "regulator-fixed";
+ regulator-name = "VDDIO_AO18";
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ };
+
vcc_3v3: regulator-vcc_3v3 {
compatible = "regulator-fixed";
regulator-name = "VCC_3V3";
@@ -172,6 +179,11 @@
clock-names = "clkin0";
};

+&saradc {
+ status = "okay";
+ vref-supply = <&vddio_ao18>;
+};
+
/* Wireless SDIO Module */
&sd_emmc_a {
status = "okay";
--
2.21.0

2019-05-27 13:24:49

by Neil Armstrong

[permalink] [raw]
Subject: [PATCH 04/10] arm64: dts: meson-gxbb-wetek: enable bluetooth

From: Christian Hewitt <[email protected]>

This enables Bluetooth support for the following models:

AP6335 in the WeTek Hub rev1 - BCM4335C0.hcd
AP6255 in the WeTek Hub rev2 - BCM4345C0.hcd
AP6330 in the WeTek Play 2 - BCM4330B1.hcd

Signed-off-by: Christian Hewitt <[email protected]>
Signed-off-by: Neil Armstrong <[email protected]>
---
arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi | 13 +++++++++++++
1 file changed, 13 insertions(+)

diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi
index 45e306da2154..9ef6858779c1 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi
@@ -249,6 +249,19 @@
vqmmc-supply = <&vddio_boot>;
};

+/* This is connected to the Bluetooth module: */
+&uart_A {
+ status = "okay";
+ pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>;
+ pinctrl-names = "default";
+ uart-has-rtscts;
+
+ bluetooth {
+ compatible = "brcm,bcm43438-bt";
+ shutdown-gpios = <&gpio GPIOX_20 GPIO_ACTIVE_HIGH>;
+ };
+};
+
/* This UART is brought out to the DB9 connector */
&uart_AO {
status = "okay";
--
2.21.0

2019-05-27 13:25:20

by Neil Armstrong

[permalink] [raw]
Subject: [PATCH 01/10] arm64: dts: meson-gxm-khadas-vim2: fix gpio-keys-polled node

From: Christian Hewitt <[email protected]>

Fix DTC warnings:

meson-gxm-khadas-vim2.dtb: Warning (avoid_unnecessary_addr_size):
/gpio-keys-polled: unnecessary #address-cells/#size-cells
without "ranges" or child "reg" property

Fixes: b8b74dda3908 ("ARM64: dts: meson-gxm: Add support for Khadas VIM2")
Suggested-by: Christian Hewitt <[email protected]>
Signed-off-by: Neil Armstrong <[email protected]>
---
arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts b/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts
index c5f3f90a42ae..25079501f2bb 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts
+++ b/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts
@@ -63,11 +63,9 @@

gpio-keys-polled {
compatible = "gpio-keys-polled";
- #address-cells = <1>;
- #size-cells = <0>;
poll-interval = <100>;

- button@0 {
+ power-button {
label = "power";
linux,code = <KEY_POWER>;
gpios = <&gpio_ao GPIOAO_2 GPIO_ACTIVE_LOW>;
--
2.21.0

2019-05-27 15:28:16

by Neil Armstrong

[permalink] [raw]
Subject: [PATCH 05/10] arm64: dts: meson-gxbb-vega-s95: fix regulators

Align the regulator names with other GXBB SoCS for upcoming
SARADC support and SDIO/SDCard fixes.
Also fix how regulators are passed to MMC controllers & USB.

Suggested-by: Christian Hewitt <[email protected]>
Signed-off-by: Neil Armstrong <[email protected]>
---
.../boot/dts/amlogic/meson-gxbb-vega-s95.dtsi | 34 ++++++++++++-------
1 file changed, 21 insertions(+), 13 deletions(-)

diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi
index 623bcb6594b1..760730d4e87b 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi
@@ -28,10 +28,10 @@
};
};

- usb_vbus: regulator-usb0-vbus {
+ usb_pwr: regulator-usb-pwrs {
compatible = "regulator-fixed";

- regulator-name = "USB0_VBUS";
+ regulator-name = "USB_PWR";

regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
@@ -40,18 +40,25 @@
enable-active-high;
};

- vcc_3v3: regulator-vcc_3v3 {
+ vddio_boot: regulator-vddio_boot {
compatible = "regulator-fixed";
- regulator-name = "VCC_3V3";
+ regulator-name = "VDDIO_BOOT";
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ };
+
+ vddao_3v3: regulator-vddao_3v3 {
+ compatible = "regulator-fixed";
+ regulator-name = "VDDAO_3V3";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
};

- vcc_1v8: regulator-vcc_1v8 {
+ vcc_3v3: regulator-vcc_3v3 {
compatible = "regulator-fixed";
- regulator-name = "VCC_1V8";
- regulator-min-microvolt = <1800000>;
- regulator-max-microvolt = <1800000>;
+ regulator-name = "VCC_3V3";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
};

emmc_pwrseq: emmc-pwrseq {
@@ -133,8 +140,8 @@

mmc-pwrseq = <&sdio_pwrseq>;

- vmmc-supply = <&vcc_3v3>;
- vqmmc-supply = <&vcc_1v8>;
+ vmmc-supply = <&vddao_3v3>;
+ vqmmc-supply = <&vddio_boot>;

brcmf: wifi@1 {
reg = <1>;
@@ -156,7 +163,8 @@

cd-gpios = <&gpio CARD_6 GPIO_ACTIVE_LOW>;

- vmmc-supply = <&vcc_3v3>;
+ vmmc-supply = <&vddao_3v3>;
+ vqmmc-supply = <&vcc_3v3>;
};

/* eMMC */
@@ -176,7 +184,7 @@

mmc-pwrseq = <&emmc_pwrseq>;
vmmc-supply = <&vcc_3v3>;
- vmmcq-sumpply = <&vcc_1v8>;
+ vqmmc-supply = <&vddio_boot>;
};

&uart_AO {
@@ -187,7 +195,7 @@

&usb0_phy {
status = "okay";
- phy-supply = <&usb_vbus>;
+ phy-supply = <&usb_pwr>;
};

&usb1_phy {
--
2.21.0

2019-05-27 18:19:10

by Martin Blumenstingl

[permalink] [raw]
Subject: Re: [PATCH 03/10] arm64: dts: meson-gxbb-wetek: enable SARADC

On Mon, May 27, 2019 at 3:22 PM Neil Armstrong <[email protected]> wrote:
>
> From: Christian Hewitt <[email protected]>
>
> Enable SARADC on Wetek Boards.
as far I as remember there's a story behind this (and it would be nice
to have it documented here):
some of the SCPI firmware revisions don't enable the SAR ADC clock
when reading the SoCs temperature.
if the SAR ADC is disabled in Linux then the common clock framework
will disable the SAR ADC clock.
now, when the SCPI firmware uses the SAR ADC to read the SoC
temperature we only get garbage.

enabling the SAR ADC in Linux "fixes" this issue

> Signed-off-by: Christian Hewitt <[email protected]>
> Signed-off-by: Neil Armstrong <[email protected]>
with that:
Reviewed-by: Martin Blumenstingl <[email protected]>

2019-05-27 18:21:34

by Martin Blumenstingl

[permalink] [raw]
Subject: Re: [PATCH 04/10] arm64: dts: meson-gxbb-wetek: enable bluetooth

On Mon, May 27, 2019 at 3:23 PM Neil Armstrong <[email protected]> wrote:
>
> From: Christian Hewitt <[email protected]>
>
> This enables Bluetooth support for the following models:
>
> AP6335 in the WeTek Hub rev1 - BCM4335C0.hcd
> AP6255 in the WeTek Hub rev2 - BCM4345C0.hcd
> AP6330 in the WeTek Play 2 - BCM4330B1.hcd
>
> Signed-off-by: Christian Hewitt <[email protected]>
> Signed-off-by: Neil Armstrong <[email protected]>
I don't have any of these boards nor the schematics but the
shutdown-gpio matches with the reference board Bluetooth GPIO and the
rest looks fine, so:
Acked-by: Martin Blumenstingl <[email protected]>

2019-05-27 18:25:12

by Martin Blumenstingl

[permalink] [raw]
Subject: Re: [PATCH 05/10] arm64: dts: meson-gxbb-vega-s95: fix regulators

On Mon, May 27, 2019 at 3:23 PM Neil Armstrong <[email protected]> wrote:
>
> Align the regulator names with other GXBB SoCS for upcoming
> SARADC support and SDIO/SDCard fixes.
> Also fix how regulators are passed to MMC controllers & USB.
if I understand this last sentence correctly then the usb_pwr
regulator should be moved to &usb1 and passed as vbus-supply there

> Suggested-by: Christian Hewitt <[email protected]>
> Signed-off-by: Neil Armstrong <[email protected]>
apart from that:
Reviewed-by: Martin Blumenstingl <[email protected]>

2019-05-27 18:25:27

by Martin Blumenstingl

[permalink] [raw]
Subject: Re: [PATCH 07/10] arm64: dts: meson-gxbb-vega-s95: enable CEC

On Mon, May 27, 2019 at 3:23 PM Neil Armstrong <[email protected]> wrote:
>
> Add CEC nodes to support CEC communication on Vega S95
>
> Suggested-by: Christian Hewitt <[email protected]>
> Signed-off-by: Neil Armstrong <[email protected]>
just like on all other boards, so:
Reviewed-by: Martin Blumenstingl <[email protected]>

2019-05-27 18:27:12

by Martin Blumenstingl

[permalink] [raw]
Subject: Re: [PATCH 06/10] arm64: dts: meson-gxbb-vega-s95: add HDMI nodes

On Mon, May 27, 2019 at 3:23 PM Neil Armstrong <[email protected]> wrote:
>
> Add HDMI nodes to support graphics on Vega S95
>
> Suggested-by: Christian Hewitt <[email protected]>
> Signed-off-by: Neil Armstrong <[email protected]>
just like on all other boards, so:
Reviewed-by: Martin Blumenstingl <[email protected]>

2019-05-27 18:27:25

by Martin Blumenstingl

[permalink] [raw]
Subject: Re: [PATCH 08/10] arm64: dts: meson-gxbb-vega-s95: enable SARADC

On Mon, May 27, 2019 at 3:23 PM Neil Armstrong <[email protected]> wrote:
>
> Add SARARC node and associated regulator to support reading the
> ADC inputs on the Vega S95
I'm curious: is this the same problem than on the Wetek boards (where
SCPI hwmon reads garbage if SAR ADC is disabled)?

> Suggested-by: Christian Hewitt <[email protected]>
> Signed-off-by: Neil Armstrong <[email protected]>
in any case:
Reviewed-by: Martin Blumenstingl <[email protected]>

2019-05-27 18:29:02

by Martin Blumenstingl

[permalink] [raw]
Subject: Re: [PATCH 10/10] arm64: dts: meson-gxbb-vega-s95: add ethernet PHY interrupt

On Mon, May 27, 2019 at 3:24 PM Neil Armstrong <[email protected]> wrote:
>
> Add the external ethernet PHY interrupt on the Vega S95 board.
>
> Suggested-by: Christian Hewitt <[email protected]>
> Signed-off-by: Neil Armstrong <[email protected]>
I don't have this board (anymore, mine died) nor the schematics but it
matches other GXBB boards and looks correct so:
Acked-by: Martin Blumenstingl <[email protected]>

2019-05-27 18:30:53

by Martin Blumenstingl

[permalink] [raw]
Subject: Re: [PATCH 09/10] arm64: dts: meson-gxbb-vega-s95: fix WiFi/BT module support

On Mon, May 27, 2019 at 3:24 PM Neil Armstrong <[email protected]> wrote:
>
> Fix the SDIO WiFi support and add proper Bluetooth support on the
> Vega S95 board.
>
> Suggested-by: Christian Hewitt <[email protected]>
> Signed-off-by: Neil Armstrong <[email protected]>
I'm the cause of everything that needed fixing here. thank you for
taking care of this, the result looks much better now:
Reviewed-by: Martin Blumenstingl <[email protected]>

2019-05-27 18:35:46

by Martin Blumenstingl

[permalink] [raw]
Subject: Re: [PATCH 01/10] arm64: dts: meson-gxm-khadas-vim2: fix gpio-keys-polled node

On Mon, May 27, 2019 at 3:22 PM Neil Armstrong <[email protected]> wrote:
>
> From: Christian Hewitt <[email protected]>
>
> Fix DTC warnings:
>
> meson-gxm-khadas-vim2.dtb: Warning (avoid_unnecessary_addr_size):
> /gpio-keys-polled: unnecessary #address-cells/#size-cells
> without "ranges" or child "reg" property
>
> Fixes: b8b74dda3908 ("ARM64: dts: meson-gxm: Add support for Khadas VIM2")
> Suggested-by: Christian Hewitt <[email protected]>
> Signed-off-by: Neil Armstrong <[email protected]>
Reviewed-by: Martin Blumenstingl <[email protected]>
as well as:
Tested-by: Martin Blumenstingl <[email protected]>

> ---
> arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts | 4 +---
there are more boards with the same "problem" out there
we should clean these up at some point as well


Martin

2019-05-29 14:20:34

by Neil Armstrong

[permalink] [raw]
Subject: Re: [PATCH 08/10] arm64: dts: meson-gxbb-vega-s95: enable SARADC

On 27/05/2019 20:24, Martin Blumenstingl wrote:
> On Mon, May 27, 2019 at 3:23 PM Neil Armstrong <[email protected]> wrote:
>>
>> Add SARARC node and associated regulator to support reading the
>> ADC inputs on the Vega S95
> I'm curious: is this the same problem than on the Wetek boards (where
> SCPI hwmon reads garbage if SAR ADC is disabled)?

Yes

>
>> Suggested-by: Christian Hewitt <[email protected]>
>> Signed-off-by: Neil Armstrong <[email protected]>
> in any case:
> Reviewed-by: Martin Blumenstingl <[email protected]>
>

2019-05-29 14:21:02

by Neil Armstrong

[permalink] [raw]
Subject: Re: [PATCH 03/10] arm64: dts: meson-gxbb-wetek: enable SARADC

On 27/05/2019 20:15, Martin Blumenstingl wrote:
> On Mon, May 27, 2019 at 3:22 PM Neil Armstrong <[email protected]> wrote:
>>
>> From: Christian Hewitt <[email protected]>
>>
>> Enable SARADC on Wetek Boards.
> as far I as remember there's a story behind this (and it would be nice
> to have it documented here):
> some of the SCPI firmware revisions don't enable the SAR ADC clock
> when reading the SoCs temperature.
> if the SAR ADC is disabled in Linux then the common clock framework
> will disable the SAR ADC clock.
> now, when the SCPI firmware uses the SAR ADC to read the SoC
> temperature we only get garbage.
>
> enabling the SAR ADC in Linux "fixes" this issue

Yes seems to be this issue solved here

>
>> Signed-off-by: Christian Hewitt <[email protected]>
>> Signed-off-by: Neil Armstrong <[email protected]>
> with that:
> Reviewed-by: Martin Blumenstingl <[email protected]>
>

2019-06-03 22:28:13

by Kevin Hilman

[permalink] [raw]
Subject: Re: [PATCH 00/10] arm64: meson-gx: misc fixes

Neil Armstrong <[email protected]> writes:

> This patchset :
> - Fixes GPIO key DT on Khadas VIM2 board
> - Fixes regulator naming on Vega S95 board
> - Enable SARADC on Wetek and Vega S95 boards
> - Enable/Fix Bluetooth on VIM2, Wetek and Vega S95 boards
> - Enable CEC & HDMI on Vega S95 board
> - Adds ethernet PHY interrupt on Vega S95 board

Series queued for v5.3 with tags from Martin,

Thanks,

Kevin

2019-06-06 20:19:47

by Kevin Hilman

[permalink] [raw]
Subject: Re: [PATCH 01/10] arm64: dts: meson-gxm-khadas-vim2: fix gpio-keys-polled node

Neil Armstrong <[email protected]> writes:

> From: Christian Hewitt <[email protected]>
>
> Fix DTC warnings:
>
> meson-gxm-khadas-vim2.dtb: Warning (avoid_unnecessary_addr_size):
> /gpio-keys-polled: unnecessary #address-cells/#size-cells
> without "ranges" or child "reg" property
>
> Fixes: b8b74dda3908 ("ARM64: dts: meson-gxm: Add support for Khadas VIM2")
> Suggested-by: Christian Hewitt <[email protected]>
> Signed-off-by: Neil Armstrong <[email protected]>

This patch is missing a S-o-B from the author (Christian?)

The From, Suggested-by and Signed-off-by send mixed messages. Please
clarify if if this is missing a signoff from Christian or if the author
is Neil.

Thanks,

Kevin

2019-06-07 13:37:56

by Neil Armstrong

[permalink] [raw]
Subject: Re: [PATCH 01/10] arm64: dts: meson-gxm-khadas-vim2: fix gpio-keys-polled node

On 06/06/2019 22:00, Kevin Hilman wrote:
> Neil Armstrong <[email protected]> writes:
>
>> From: Christian Hewitt <[email protected]>
>>
>> Fix DTC warnings:
>>
>> meson-gxm-khadas-vim2.dtb: Warning (avoid_unnecessary_addr_size):
>> /gpio-keys-polled: unnecessary #address-cells/#size-cells
>> without "ranges" or child "reg" property
>>
>> Fixes: b8b74dda3908 ("ARM64: dts: meson-gxm: Add support for Khadas VIM2")
>> Suggested-by: Christian Hewitt <[email protected]>
>> Signed-off-by: Neil Armstrong <[email protected]>
>
> This patch is missing a S-o-B from the author (Christian?)
>
> The From, Suggested-by and Signed-off-by send mixed messages. Please
> clarify if if this is missing a signoff from Christian or if the author
> is Neil.
>
> Thanks,
>
> Kevin
>


The author is Christian Hewitt <[email protected]>

so s/Suggested-by/Signed-off-by/

Do you need a resend ?

Neil

2019-06-07 19:52:19

by Kevin Hilman

[permalink] [raw]
Subject: Re: [PATCH 01/10] arm64: dts: meson-gxm-khadas-vim2: fix gpio-keys-polled node

Neil Armstrong <[email protected]> writes:

> On 06/06/2019 22:00, Kevin Hilman wrote:
>> Neil Armstrong <[email protected]> writes:
>>
>>> From: Christian Hewitt <[email protected]>
>>>
>>> Fix DTC warnings:
>>>
>>> meson-gxm-khadas-vim2.dtb: Warning (avoid_unnecessary_addr_size):
>>> /gpio-keys-polled: unnecessary #address-cells/#size-cells
>>> without "ranges" or child "reg" property
>>>
>>> Fixes: b8b74dda3908 ("ARM64: dts: meson-gxm: Add support for Khadas VIM2")
>>> Suggested-by: Christian Hewitt <[email protected]>
>>> Signed-off-by: Neil Armstrong <[email protected]>
>>
>> This patch is missing a S-o-B from the author (Christian?)
>>
>> The From, Suggested-by and Signed-off-by send mixed messages. Please
>> clarify if if this is missing a signoff from Christian or if the author
>> is Neil.
>>
>> Thanks,
>>
>> Kevin
>>
>
> The author is Christian Hewitt <[email protected]>
>
> so s/Suggested-by/Signed-off-by/
>
> Do you need a resend ?

No need, I'll fix up locally.

Thanks for clarifying,

Kevin