From: José Expósito <hidden> Date: 2021-05-11 18:20:46
Unlike the Apple Magic Mouse 1 and the Apple Magic Trackpad 1, the
second generation of the devices don't report their battery status
automatically.
This patchset adds support for reporting the battery capacity and
charging status for the Apple Magic Mouse 2 and Apple Magic Trackpad
2 both over bluetooth and USB.
This patch:
Register the required power supply structs for the Apple Magic Mouse 2
and the Apple Magic Trackpad 2 to be able to report battery capacity
and status in future patches.
Signed-off-by: José Expósito <redacted>
---
drivers/hid/hid-magicmouse.c | 90 ++++++++++++++++++++++++++++++++++++
1 file changed, 90 insertions(+)
From: José Expósito <hidden> Date: 2021-05-11 18:20:50
Report the battery capacity percentage for the Apple Magic Trackpad 2
when it is connected over USB.
Signed-off-by: José Expósito <redacted>
---
drivers/hid/hid-magicmouse.c | 136 +++++++++++++++++++++++++++++++++++
1 file changed, 136 insertions(+)
@@ -58,6 +59,7 @@ MODULE_PARM_DESC(report_undeciphered, "Report undeciphered multi-touch state fie#define MOUSE2_REPORT_ID 0x12#define DOUBLE_REPORT_ID 0xf7#define BT_BATTERY_REPORT_ID 0x90+#define USB_BATTERY_EP_ADDR 0x81/* These definitions are not precise, but they're close enough. (Bits*0x03seemtoindicatetheaspectratioofthetouch,bits0x70seem
@@ -231,6 +237,112 @@ static int magicmouse_battery_get_property(struct power_supply *psy,returnret;}+staticvoidmagicmouse_battery_usb_urb_complete(structurb*urb)+{+structmagicmouse_sc*msc=urb->context;+intret;++switch(urb->status){+case0:+msc->battery.capacity=msc->battery.urb_buf[2];+break;+case-EOVERFLOW:+hid_err(msc->hdev,"URB overflow\n");+fallthrough;+case-ECONNRESET:+case-ENOENT:+case-ESHUTDOWN:+return;+default:+break;+}++ret=usb_submit_urb(msc->battery.urb,GFP_ATOMIC);+if(ret)+hid_err(msc->hdev,"unable to submit URB, %d\n",ret);+}++staticintmagicmouse_battery_usb_probe(structmagicmouse_sc*msc)+{+structusb_interface*iface=to_usb_interface(msc->hdev->dev.parent);+structusb_device*usbdev=interface_to_usbdev(iface);+structusb_host_endpoint*endpoint=NULL;+u8ep_address;+unsignedintpipe=0;+inti,ret;++if(!magicmouse_can_report_battery_vendor(msc,USB_VENDOR_ID_APPLE))+return-EINVAL;++for(i=0;i<sizeof(usbdev->ep_in);i++){+endpoint=usbdev->ep_in[i];+if(endpoint){+ep_address=endpoint->desc.bEndpointAddress;+if(ep_address==USB_BATTERY_EP_ADDR)+break;+}+}++if(!endpoint){+hid_err(msc->hdev,"endpoint with address %d not found\n",+USB_BATTERY_EP_ADDR);+ret=-EIO;+gotoexit;+}++msc->battery.urb=usb_alloc_urb(0,GFP_ATOMIC);+if(!msc->battery.urb){+hid_err(msc->hdev,"unable to alloc URB, ENOMEM\n");+ret=-ENOMEM;+gotoexit;+}++pipe=usb_rcvintpipe(usbdev,endpoint->desc.bEndpointAddress);+if(pipe==0){+hid_err(msc->hdev,"unable to create USB rcvintpipe\n");+ret=-EIO;+gotoerr_free_urb;+}++msc->battery.urb_buf_size=endpoint->desc.wMaxPacketSize;+msc->battery.urb_buf_dma=msc->battery.urb->transfer_dma;+msc->battery.urb_buf=usb_alloc_coherent(usbdev,+msc->battery.urb_buf_size,GFP_ATOMIC,+&msc->battery.urb_buf_dma);+if(!msc->battery.urb_buf){+hid_err(msc->hdev,"unable to alloc URB buffer, ENOMEM\n");+ret=-ENOMEM;+gotoerr_free_urb;+}++usb_fill_int_urb(msc->battery.urb,usbdev,pipe,msc->battery.urb_buf,+msc->battery.urb_buf_size,+magicmouse_battery_usb_urb_complete,msc,+endpoint->desc.bInterval);++ret=usb_submit_urb(msc->battery.urb,GFP_ATOMIC);+if(ret){+hid_err(msc->hdev,"unable to submit URB, %d\n",ret);+gotoerr_free_urb_buf;+}++return0;++err_free_urb_buf:+usb_free_coherent(usbdev,msc->battery.urb_buf_size,+msc->battery.urb_buf,msc->battery.urb_buf_dma);++err_free_urb:+usb_free_urb(msc->battery.urb);++exit:+msc->battery.urb=NULL;+msc->battery.urb_buf=NULL;+msc->battery.urb_buf_size=0;++returnret;+}+staticintmagicmouse_battery_probe(structhid_device*hdev){structmagicmouse_sc*msc=hid_get_drvdata(hdev);
@@ -269,6 +381,12 @@ static int magicmouse_battery_probe(struct hid_device *hdev)returnret;}+if(msc->input->id.vendor==USB_VENDOR_ID_APPLE){+ret=magicmouse_battery_usb_probe(msc);+if(ret)+returnret;+}+return0;}
@@ -923,7 +1041,25 @@ static int magicmouse_probe(struct hid_device *hdev,staticvoidmagicmouse_remove(structhid_device*hdev){structmagicmouse_sc*msc=hid_get_drvdata(hdev);+structusb_interface*iface;+structusb_device*usbdev;cancel_delayed_work_sync(&msc->work);++if(msc&&+magicmouse_can_report_battery_vendor(msc,USB_VENDOR_ID_APPLE)&&+msc->battery.urb&&msc->battery.urb_buf){+iface=to_usb_interface(hdev->dev.parent);+usbdev=interface_to_usbdev(iface);++usb_kill_urb(msc->battery.urb);++usb_free_coherent(usbdev,msc->battery.urb_buf_size,+msc->battery.urb_buf,+msc->battery.urb_buf_dma);++usb_free_urb(msc->battery.urb);+}+hid_hw_stop(hdev);}
From: José Expósito <hidden> Date: 2021-05-11 18:20:55
Report the battery capacity percentage for the Apple Magic Mouse 2
and the Apple Magic Trackpad 2 when they are connected over bluetooth.
Signed-off-by: José Expósito <redacted>
---
drivers/hid/hid-magicmouse.c | 54 ++++++++++++++++++++++++++++++++++++
1 file changed, 54 insertions(+)
@@ -57,6 +57,8 @@ MODULE_PARM_DESC(report_undeciphered, "Report undeciphered multi-touch state fie#define MOUSE_REPORT_ID 0x29#define MOUSE2_REPORT_ID 0x12#define DOUBLE_REPORT_ID 0xf7+#define BT_BATTERY_REPORT_ID 0x90+/* These definitions are not precise, but they're close enough. (Bits*0x03seemtoindicatetheaspectratioofthetouch,bits0x70seem*tobesomekindofbitmask--0x20maybeanear-fieldreading,
@@ -153,6 +157,49 @@ static bool magicmouse_can_report_battery(struct magicmouse_sc *msc)(msc->input->id.product==USB_DEVICE_ID_APPLE_MAGICMOUSE2);}+staticboolmagicmouse_can_report_battery_vendor(structmagicmouse_sc*msc,+unsignedshortvendor)+{+returnmagicmouse_can_report_battery(msc)&&+(msc->input->id.vendor==vendor);+}++staticintmagicmouse_battery_bt_get_capacity(structmagicmouse_sc*msc)+{+structhid_report_enumreport_enum;+structhid_report*report;+intret;++if(!magicmouse_can_report_battery_vendor(msc,BT_VENDOR_ID_APPLE))+return-EINVAL;++report_enum=msc->hdev->report_enum[HID_INPUT_REPORT];+report=report_enum.report_id_hash[BT_BATTERY_REPORT_ID];++if(!report||report->maxfield<1){+hid_err(msc->hdev,"failed to retrieve report with ID %d\n",+BT_BATTERY_REPORT_ID);+return-EINVAL;+}++hid_hw_request(msc->hdev,report,HID_REQ_GET_REPORT);++if(!report||report->maxfield<2){+hid_err(msc->hdev,"invalid report->maxfield: %d\n",+report->maxfield);+return-EINVAL;+}++ret=report->field[0]->value[0];+if(ret<0){+hid_err(msc->hdev,"invalid report status %d\n",ret);+returnret;+}++msc->battery.capacity=report->field[1]->value[0];+return0;+}+staticintmagicmouse_battery_get_property(structpower_supply*psy,enumpower_supply_propertypsp,unionpower_supply_propval*val)
@@ -170,6 +217,12 @@ static int magicmouse_battery_get_property(struct power_supply *psy,casePOWER_SUPPLY_PROP_SCOPE:val->intval=POWER_SUPPLY_SCOPE_DEVICE;break;+casePOWER_SUPPLY_PROP_CAPACITY:+if(msc->input->id.vendor==BT_VENDOR_ID_APPLE)+magicmouse_battery_bt_get_capacity(msc);++val->intval=msc->battery.capacity;+break;default:ret=-EINVAL;break;
@@ -188,6 +241,7 @@ static int magicmouse_battery_probe(struct hid_device *hdev)if(!magicmouse_can_report_battery(msc))return0;+msc->battery.capacity=100;msc->battery.ps_desc.type=POWER_SUPPLY_TYPE_BATTERY;msc->battery.ps_desc.properties=magicmouse_ps_props;msc->battery.ps_desc.num_properties=ARRAY_SIZE(magicmouse_ps_props);
From: José Expósito <hidden> Date: 2021-05-11 18:20:58
Report the battery capacity percentage for the Apple Magic Mouse 2
when it is connected over USB.
Signed-off-by: José Expósito <redacted>
---
drivers/hid/hid-magicmouse.c | 18 +++++++++++++++---
1 file changed, 15 insertions(+), 3 deletions(-)
From: José Expósito <hidden> Date: 2021-05-11 18:21:01
Report the battery charging status for the Apple Magic Mouse 2
and the Apple Magic Trackpad 2.
Signed-off-by: José Expósito <redacted>
---
drivers/hid/hid-magicmouse.c | 10 ++++++++++
1 file changed, 10 insertions(+)
From: kernel test robot <hidden> Date: 2021-05-12 09:40:48
Hi "José,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on hid/for-next]
[also build test ERROR on v5.13-rc1 next-20210511]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Jos-Exp-sito/HID-magicmouse-register-power-supply/20210512-022327
base: https://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-next
config: s390-randconfig-r002-20210512 (attached as .config)
compiler: s390-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/0day-ci/linux/commit/701f395a5566b6d2fd3a78389983237668902998
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Jos-Exp-sito/HID-magicmouse-register-power-supply/20210512-022327
git checkout 701f395a5566b6d2fd3a78389983237668902998
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross W=1 ARCH=s390
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <redacted>
All errors (new ones prefixed by >>):
s390-linux-ld: drivers/pcmcia/cistpl.o: in function `set_cis_map':
cistpl.c:(.text+0x3a2): undefined reference to `ioremap'
s390-linux-ld: cistpl.c:(.text+0x3dc): undefined reference to `iounmap'
s390-linux-ld: cistpl.c:(.text+0x404): undefined reference to `iounmap'
s390-linux-ld: cistpl.c:(.text+0x416): undefined reference to `ioremap'
s390-linux-ld: drivers/pcmcia/cistpl.o: in function `release_cis_mem':
cistpl.c:(.text+0xe16): undefined reference to `iounmap'
s390-linux-ld: drivers/hid/hid-magicmouse.o: in function `magicmouse_remove':
hid-magicmouse.c:(.text+0xd2c): undefined reference to `usb_kill_urb'
quoted
s390-linux-ld: hid-magicmouse.c:(.text+0xd48): undefined reference to `usb_free_coherent'
s390-linux-ld: hid-magicmouse.c:(.text+0xd54): undefined reference to `usb_free_urb'
s390-linux-ld: drivers/hid/hid-magicmouse.o: in function `magicmouse_battery_usb_urb_complete':
hid-magicmouse.c:(.text+0xe12): undefined reference to `usb_submit_urb'
s390-linux-ld: drivers/hid/hid-magicmouse.o: in function `magicmouse_probe':
hid-magicmouse.c:(.text+0x1194): undefined reference to `usb_alloc_urb'
quoted
s390-linux-ld: hid-magicmouse.c:(.text+0x121a): undefined reference to `usb_alloc_coherent'
s390-linux-ld: hid-magicmouse.c:(.text+0x1422): undefined reference to `usb_free_coherent'
s390-linux-ld: hid-magicmouse.c:(.text+0x142e): undefined reference to `usb_free_urb'
quoted
s390-linux-ld: hid-magicmouse.c:(.text+0x1462): undefined reference to `usb_submit_urb'
From: José Expósito <hidden> Date: 2021-05-15 18:50:35
On Wed, May 12, 2021 at 05:39:31PM +0800, kernel test robot wrote:
Hi "José,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on hid/for-next]
[also build test ERROR on v5.13-rc1 next-20210511]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Jos-Exp-sito/HID-magicmouse-register-power-supply/20210512-022327
base: https://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-next
config: s390-randconfig-r002-20210512 (attached as .config)
compiler: s390-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/0day-ci/linux/commit/701f395a5566b6d2fd3a78389983237668902998
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Jos-Exp-sito/HID-magicmouse-register-power-supply/20210512-022327
git checkout 701f395a5566b6d2fd3a78389983237668902998
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross W=1 ARCH=s390
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <redacted>
All errors (new ones prefixed by >>):
s390-linux-ld: drivers/pcmcia/cistpl.o: in function `set_cis_map':
cistpl.c:(.text+0x3a2): undefined reference to `ioremap'
s390-linux-ld: cistpl.c:(.text+0x3dc): undefined reference to `iounmap'
s390-linux-ld: cistpl.c:(.text+0x404): undefined reference to `iounmap'
s390-linux-ld: cistpl.c:(.text+0x416): undefined reference to `ioremap'
s390-linux-ld: drivers/pcmcia/cistpl.o: in function `release_cis_mem':
cistpl.c:(.text+0xe16): undefined reference to `iounmap'
s390-linux-ld: drivers/hid/hid-magicmouse.o: in function `magicmouse_remove':
hid-magicmouse.c:(.text+0xd2c): undefined reference to `usb_kill_urb'
quoted
quoted
s390-linux-ld: hid-magicmouse.c:(.text+0xd48): undefined reference to `usb_free_coherent'
s390-linux-ld: hid-magicmouse.c:(.text+0xd54): undefined reference to `usb_free_urb'
s390-linux-ld: drivers/hid/hid-magicmouse.o: in function `magicmouse_battery_usb_urb_complete':
hid-magicmouse.c:(.text+0xe12): undefined reference to `usb_submit_urb'
s390-linux-ld: drivers/hid/hid-magicmouse.o: in function `magicmouse_probe':
hid-magicmouse.c:(.text+0x1194): undefined reference to `usb_alloc_urb'
quoted
quoted
s390-linux-ld: hid-magicmouse.c:(.text+0x121a): undefined reference to `usb_alloc_coherent'
s390-linux-ld: hid-magicmouse.c:(.text+0x1422): undefined reference to `usb_free_coherent'
s390-linux-ld: hid-magicmouse.c:(.text+0x142e): undefined reference to `usb_free_urb'
quoted
quoted
s390-linux-ld: hid-magicmouse.c:(.text+0x1462): undefined reference to `usb_submit_urb'
Hi all,
I'm a little bit confused about the build errors reported by Intel's test bot and I'd really appreciate human input.
This is the first patch I submit, so apologies in advance if I missed a basic step.
I compiled and tested every patch before submission and they all compiled and worked on this tree:
git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git
After receiving this email, I followed the instructions attached to build it and indeed it failed.
However, I reverted my changes and the kernel still didn't compile.
Is this something I need to fix?
Thank you very much in advance,
José Expósito
From: Rong Chen <hidden> Date: 2021-05-20 09:20:12
On 5/16/21 2:50 AM, José Expósito wrote:
On Wed, May 12, 2021 at 05:39:31PM +0800, kernel test robot wrote:
quoted
Hi "José,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on hid/for-next]
[also build test ERROR on v5.13-rc1 next-20210511]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Jos-Exp-sito/HID-magicmouse-register-power-supply/20210512-022327
base: https://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-next
config: s390-randconfig-r002-20210512 (attached as .config)
compiler: s390-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/0day-ci/linux/commit/701f395a5566b6d2fd3a78389983237668902998
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Jos-Exp-sito/HID-magicmouse-register-power-supply/20210512-022327
git checkout 701f395a5566b6d2fd3a78389983237668902998
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross W=1 ARCH=s390
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <redacted>
All errors (new ones prefixed by >>):
s390-linux-ld: drivers/pcmcia/cistpl.o: in function `set_cis_map':
cistpl.c:(.text+0x3a2): undefined reference to `ioremap'
s390-linux-ld: cistpl.c:(.text+0x3dc): undefined reference to `iounmap'
s390-linux-ld: cistpl.c:(.text+0x404): undefined reference to `iounmap'
s390-linux-ld: cistpl.c:(.text+0x416): undefined reference to `ioremap'
s390-linux-ld: drivers/pcmcia/cistpl.o: in function `release_cis_mem':
cistpl.c:(.text+0xe16): undefined reference to `iounmap'
s390-linux-ld: drivers/hid/hid-magicmouse.o: in function `magicmouse_remove':
hid-magicmouse.c:(.text+0xd2c): undefined reference to `usb_kill_urb'
quoted
quoted
s390-linux-ld: hid-magicmouse.c:(.text+0xd48): undefined reference to `usb_free_coherent'
s390-linux-ld: hid-magicmouse.c:(.text+0xd54): undefined reference to `usb_free_urb'
s390-linux-ld: drivers/hid/hid-magicmouse.o: in function `magicmouse_battery_usb_urb_complete':
hid-magicmouse.c:(.text+0xe12): undefined reference to `usb_submit_urb'
s390-linux-ld: drivers/hid/hid-magicmouse.o: in function `magicmouse_probe':
hid-magicmouse.c:(.text+0x1194): undefined reference to `usb_alloc_urb'
quoted
quoted
s390-linux-ld: hid-magicmouse.c:(.text+0x121a): undefined reference to `usb_alloc_coherent'
s390-linux-ld: hid-magicmouse.c:(.text+0x1422): undefined reference to `usb_free_coherent'
s390-linux-ld: hid-magicmouse.c:(.text+0x142e): undefined reference to `usb_free_urb'
quoted
quoted
s390-linux-ld: hid-magicmouse.c:(.text+0x1462): undefined reference to `usb_submit_urb'
Hi all,
I'm a little bit confused about the build errors reported by Intel's test bot and I'd really appreciate human input.
This is the first patch I submit, so apologies in advance if I missed a basic step.
I compiled and tested every patch before submission and they all compiled and worked on this tree:
git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git
After receiving this email, I followed the instructions attached to build it and indeed it failed.
However, I reverted my changes and the kernel still didn't compile.
Is this something I need to fix?
Hi José Expósito,
I think it's related to HAS_IOMEM in drivers/usb/Kconfig:
menuconfig USB_SUPPORT
bool "USB support"
depends on HAS_IOMEM
default y
help
This option adds core support for Universal Serial Bus (USB).
You will also need drivers from the following menu to make
use of it.
and I found a similar issue fixed by the below commit:
commit 1f685e6adbbe3c7b1bd9053be771b898d9efa655
Author: Randy Dunlap [off-list ref]
Date: Tue Jan 5 20:25:31 2021 -0800
ptp: ptp_ines: prevent build when HAS_IOMEM is not set
ptp_ines.c uses devm_platform_ioremap_resource(), which is only
built/available when CONFIG_HAS_IOMEM is enabled.
CONFIG_HAS_IOMEM is not enabled for arch/s390/, so builds on S390
have a build error:
s390-linux-ld: drivers/ptp/ptp_ines.o: in function
`ines_ptp_ctrl_probe':
ptp_ines.c:(.text+0x17e6): undefined reference to
`devm_platform_ioremap_resource'
Prevent builds of ptp_ines.c when HAS_IOMEM is not set.
Fixes: bad1eaa6ac31 ("ptp: Add a driver for InES time stamping IP
core.")
Signed-off-by: Randy Dunlap [off-list ref]
Reported-by: kernel test robot [off-list ref]
Link: lore.kernel.org/r/202101031125.ZEFCUiKi-lkp@intel.com
Acked-by: Richard Cochran [off-list ref]
Link:
https://lore.kernel.org/r/20210106042531.1351-1-rdunlap@infradead.org
Signed-off-by: Jakub Kicinski [off-list ref]
@@ -79,6 +79,7 @@ config DP83640_PHYconfigPTP_1588_CLOCK_INEStristate"ZHAW InES PTP time stamping IP core"depends onNETWORK_PHY_TIMESTAMPING+depends onHAS_IOMEMdepends onPHYLIBdepends onPTP_1588_CLOCKhelp
Best Regards,
Rong Chen
Thank you very much in advance,
José Expósito
_______________________________________________
kbuild-all mailing list -- kbuild-all@lists.01.org
To unsubscribe send an email to kbuild-all-leave@lists.01.org
From: José Expósito <hidden> Date: 2021-05-22 17:41:55
On Thu, May 20, 2021 at 05:18:51PM +0800, Rong Chen wrote:
Hi José Expósito,
I think it's related to HAS_IOMEM in drivers/usb/Kconfig:
menuconfig USB_SUPPORT
bool "USB support"
depends on HAS_IOMEM
default y
help
This option adds core support for Universal Serial Bus (USB).
You will also need drivers from the following menu to make use of
it.
and I found a similar issue fixed by the below commit:
[...]
Best Regards,
Rong Chen
Hi Rong,
Thank you very much for taking the time to help me out with this issue, I really appreciate it.
As you mentioned, the issue was related with depends on in Kconfig, I'll email a new version of the patches.
Best regards,
Jose