* [PATCH v2] ARM: dts: rockchip: Add marvell BT irq config
@ 2020-06-12 20:02 ` Abhishek Pandit-Subedi
0 siblings, 0 replies; 5+ messages in thread
From: Abhishek Pandit-Subedi @ 2020-06-12 20:02 UTC (permalink / raw)
To: heiko, linux-rockchip
Cc: linux-bluetooth, chromeos-bluetooth-upstreaming, mka, dianders,
Abhishek Pandit-Subedi, devicetree, linux-kernel, Rob Herring,
linux-arm-kernel
Veyron Jaq and Mighty both use the Marvel 8897 WiFi+BT chip. Add wakeup
and pinctrl block to devicetree so the btmrvl driver can correctly
configure the wakeup interrupt.
Signed-off-by: Abhishek Pandit-Subedi <abhishekpandit@chromium.org>
Reviewed-by: Reviewed-by: Douglas Anderson <dianders@chromium.org>
---
The Veyron Mighty Chromebook (rk3288 based board) is missing the wake
configuration for Bluetooth. Without this change, the wake irq was not
configurable and wake on Bluetooth was broken.
I verified this change with additional changes in the Bluetooth driver
(the series is at https://patchwork.kernel.org/cover/11599101/). The
driver changes are not necessary for this dts change and shouldn't block
it.
Changes in v2:
- Move sdio0 ahead of sdmmc
arch/arm/boot/dts/rk3288-veyron-jaq.dts | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/arch/arm/boot/dts/rk3288-veyron-jaq.dts b/arch/arm/boot/dts/rk3288-veyron-jaq.dts
index 171ba6185b6d39..c15d6865f5a390 100644
--- a/arch/arm/boot/dts/rk3288-veyron-jaq.dts
+++ b/arch/arm/boot/dts/rk3288-veyron-jaq.dts
@@ -44,6 +44,21 @@ regulator-state-mem {
};
};
+&sdio0 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ btmrvl: btmrvl@2 {
+ compatible = "marvell,sd8897-bt";
+ reg = <2>;
+ interrupt-parent = <&gpio4>;
+ interrupts = <RK_PD7 IRQ_TYPE_LEVEL_LOW>;
+ marvell,wakeup-pin = /bits/ 16 <13>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&bt_host_wake_l>;
+ };
+};
+
&sdmmc {
disable-wp;
pinctrl-names = "default";
--
2.27.0.290.gba653c62da-goog
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH v2] ARM: dts: rockchip: Add marvell BT irq config
@ 2020-06-12 20:02 ` Abhishek Pandit-Subedi
0 siblings, 0 replies; 5+ messages in thread
From: Abhishek Pandit-Subedi @ 2020-06-12 20:02 UTC (permalink / raw)
To: heiko-4mtYJXux2i+zQB+pC5nmwQ,
linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
Cc: linux-bluetooth-u79uwXL29TY76Z2rM5mHXA,
chromeos-bluetooth-upstreaming-F7+t8E8rja9g9hUCZPvPmw,
mka-F7+t8E8rja9g9hUCZPvPmw, dianders-F7+t8E8rja9g9hUCZPvPmw,
Abhishek Pandit-Subedi, devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-kernel-u79uwXL29TY76Z2rM5mHXA, Rob Herring,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
Veyron Jaq and Mighty both use the Marvel 8897 WiFi+BT chip. Add wakeup
and pinctrl block to devicetree so the btmrvl driver can correctly
configure the wakeup interrupt.
Signed-off-by: Abhishek Pandit-Subedi <abhishekpandit-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
Reviewed-by: Reviewed-by: Douglas Anderson <dianders-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
---
The Veyron Mighty Chromebook (rk3288 based board) is missing the wake
configuration for Bluetooth. Without this change, the wake irq was not
configurable and wake on Bluetooth was broken.
I verified this change with additional changes in the Bluetooth driver
(the series is at https://patchwork.kernel.org/cover/11599101/). The
driver changes are not necessary for this dts change and shouldn't block
it.
Changes in v2:
- Move sdio0 ahead of sdmmc
arch/arm/boot/dts/rk3288-veyron-jaq.dts | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/arch/arm/boot/dts/rk3288-veyron-jaq.dts b/arch/arm/boot/dts/rk3288-veyron-jaq.dts
index 171ba6185b6d39..c15d6865f5a390 100644
--- a/arch/arm/boot/dts/rk3288-veyron-jaq.dts
+++ b/arch/arm/boot/dts/rk3288-veyron-jaq.dts
@@ -44,6 +44,21 @@ regulator-state-mem {
};
};
+&sdio0 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ btmrvl: btmrvl@2 {
+ compatible = "marvell,sd8897-bt";
+ reg = <2>;
+ interrupt-parent = <&gpio4>;
+ interrupts = <RK_PD7 IRQ_TYPE_LEVEL_LOW>;
+ marvell,wakeup-pin = /bits/ 16 <13>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&bt_host_wake_l>;
+ };
+};
+
&sdmmc {
disable-wp;
pinctrl-names = "default";
--
2.27.0.290.gba653c62da-goog
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH v2] ARM: dts: rockchip: Add marvell BT irq config
@ 2020-06-12 20:02 ` Abhishek Pandit-Subedi
0 siblings, 0 replies; 5+ messages in thread
From: Abhishek Pandit-Subedi @ 2020-06-12 20:02 UTC (permalink / raw)
To: heiko, linux-rockchip
Cc: devicetree, chromeos-bluetooth-upstreaming, dianders,
Rob Herring, linux-kernel, linux-bluetooth, mka,
Abhishek Pandit-Subedi, linux-arm-kernel
Veyron Jaq and Mighty both use the Marvel 8897 WiFi+BT chip. Add wakeup
and pinctrl block to devicetree so the btmrvl driver can correctly
configure the wakeup interrupt.
Signed-off-by: Abhishek Pandit-Subedi <abhishekpandit@chromium.org>
Reviewed-by: Reviewed-by: Douglas Anderson <dianders@chromium.org>
---
The Veyron Mighty Chromebook (rk3288 based board) is missing the wake
configuration for Bluetooth. Without this change, the wake irq was not
configurable and wake on Bluetooth was broken.
I verified this change with additional changes in the Bluetooth driver
(the series is at https://patchwork.kernel.org/cover/11599101/). The
driver changes are not necessary for this dts change and shouldn't block
it.
Changes in v2:
- Move sdio0 ahead of sdmmc
arch/arm/boot/dts/rk3288-veyron-jaq.dts | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/arch/arm/boot/dts/rk3288-veyron-jaq.dts b/arch/arm/boot/dts/rk3288-veyron-jaq.dts
index 171ba6185b6d39..c15d6865f5a390 100644
--- a/arch/arm/boot/dts/rk3288-veyron-jaq.dts
+++ b/arch/arm/boot/dts/rk3288-veyron-jaq.dts
@@ -44,6 +44,21 @@ regulator-state-mem {
};
};
+&sdio0 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ btmrvl: btmrvl@2 {
+ compatible = "marvell,sd8897-bt";
+ reg = <2>;
+ interrupt-parent = <&gpio4>;
+ interrupts = <RK_PD7 IRQ_TYPE_LEVEL_LOW>;
+ marvell,wakeup-pin = /bits/ 16 <13>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&bt_host_wake_l>;
+ };
+};
+
&sdmmc {
disable-wp;
pinctrl-names = "default";
--
2.27.0.290.gba653c62da-goog
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH v2] ARM: dts: rockchip: Add marvell BT irq config
2020-06-12 20:02 ` Abhishek Pandit-Subedi
@ 2020-06-17 8:45 ` Heiko Stuebner
-1 siblings, 0 replies; 5+ messages in thread
From: Heiko Stuebner @ 2020-06-17 8:45 UTC (permalink / raw)
To: Abhishek Pandit-Subedi, linux-rockchip
Cc: Heiko Stuebner, Rob Herring, linux-arm-kernel, linux-kernel,
dianders, chromeos-bluetooth-upstreaming, mka, devicetree,
linux-bluetooth
On Fri, 12 Jun 2020 13:02:48 -0700, Abhishek Pandit-Subedi wrote:
> Veyron Jaq and Mighty both use the Marvel 8897 WiFi+BT chip. Add wakeup
> and pinctrl block to devicetree so the btmrvl driver can correctly
> configure the wakeup interrupt.
Applied, thanks!
[1/1] ARM: dts: rockchip: Add marvell BT irq config
commit: 6c2b99a2e7a073575b4ee91abf7d16470991c1f4
Best regards,
--
Heiko Stuebner <heiko@sntech.de>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v2] ARM: dts: rockchip: Add marvell BT irq config
@ 2020-06-17 8:45 ` Heiko Stuebner
0 siblings, 0 replies; 5+ messages in thread
From: Heiko Stuebner @ 2020-06-17 8:45 UTC (permalink / raw)
To: Abhishek Pandit-Subedi, linux-rockchip
Cc: devicetree, chromeos-bluetooth-upstreaming, Heiko Stuebner,
dianders, linux-kernel, linux-bluetooth, Rob Herring, mka,
linux-arm-kernel
On Fri, 12 Jun 2020 13:02:48 -0700, Abhishek Pandit-Subedi wrote:
> Veyron Jaq and Mighty both use the Marvel 8897 WiFi+BT chip. Add wakeup
> and pinctrl block to devicetree so the btmrvl driver can correctly
> configure the wakeup interrupt.
Applied, thanks!
[1/1] ARM: dts: rockchip: Add marvell BT irq config
commit: 6c2b99a2e7a073575b4ee91abf7d16470991c1f4
Best regards,
--
Heiko Stuebner <heiko@sntech.de>
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-06-17 8:46 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-12 20:02 [PATCH v2] ARM: dts: rockchip: Add marvell BT irq config Abhishek Pandit-Subedi
2020-06-12 20:02 ` Abhishek Pandit-Subedi
2020-06-12 20:02 ` Abhishek Pandit-Subedi
2020-06-17 8:45 ` Heiko Stuebner
2020-06-17 8:45 ` Heiko Stuebner
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.