Re: [PATCH v2 2/5] arm64: dts: rockchip: Add bluetooth rfkill to Khadas Edge2
From: Jacobe Zang
Date: Mon Jun 17 2024 - 06:05:58 EST
> You refer to wlan in the commit message, but there is nothing wlan
> related in the patch itself. Update the commit message perhaps?
At that time, I want to describe that wlan and bluetooth were from the module named BCM43438. But, it's true that wlan do not be metioned in the code. I will update it in next version.
> I thought you'd need to also reference the respective GPIO to be able to trigger its
> state, not just switch the pinctrl configuration to GPIO.
You means the shutdown-gpios? I configure it in the bluetooth node, it can't be configure in rfkill node at the same time.
> I'm also wondering if bt_reset_pin is the right one to use here. On my
> Rock 5B I had to trigger bt_wake_pin to get Bluetooth up and running.
Yes, I try to configure bt_reset_pin, bt_wake_host_irq and bt_wake_pin in pinctrl separately. Each of them works well. After I connected a BT device to Edge2, I input rfkill block 1, bluetooth function failed. Then I input rfkill unblock 1, it can rework. So at last I only configure the bt_reset_pin.
---
Best Regards
Jacobe