Commit graph

22 commits

Author SHA1 Message Date
Arne Jonsson
2412a29226 treewide: change name of package dependency from bcmkernel to bcm963xx-bsp 2024-06-03 15:58:49 +02:00
Andreas Gnau
953c01f40f kernel: gpio-button-hotplug: Support BCM SDK kernel
Move hacks to support compiling against the kernel built using the BCM SDK and
toolchain into a separate Makefile in the broadcom feed.

Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>
2023-05-03 15:47:57 +00:00
Markus Gothe
cdcc69a881 gryphon-led-module: Improve error handling.
For errors to propagte correctly we cannot set
the pointer to NULL.

Change-Id: Ie220f3dbe75b7eeefe2e0080279826c6b99144ef
2023-02-20 15:46:49 +00:00
Lukasz Kotasa
545a54eb9f TARGET rename: iopsys-brcm63xx-arm -> brcmbca 2022-11-15 12:04:23 +00:00
Andreas Gnau
e4acdd529b gryphon-led-module: Do not hardcode BCM SDK kernel version
Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>
2022-09-16 11:05:10 +00:00
Piotr Kubik
f0407b8a37 gryphon-led-module: Update toolchains for new arch 'armsfp' 2022-05-19 12:20:15 +02:00
Jani Juvan
473c387777 gryphon-led-module: use new toolchain variables 2022-01-31 12:50:45 +01:00
Erik Karlsson
b7e010be3b gryphon-led-module: use the right toolchain on Broadcom targets
Userspace toolchain was being used to build the kernel module which
although not correct happened to work on 32-bit kernel but obviously
does not work on 64-bit kernel with 32-bit userspace.

Ideally, it should but enough to set KERNEL_CROSS if Build/Compile is
updated to use KERNEL_CROSS instead of TARGET_CROSS, but not changing
TARGET_CROSS breaks scripts/strip-kmod.sh which for some reason uses
TARGET_CROSS rather than KERNEL_CROSS.
2021-11-19 16:16:19 +01:00
Andreas Gnau
90fa843074 gryphon-led-module: Build against bcmkernel on Broadcom platforms
Due to the complexity of the Broadcom build system which amongst others
puts dynamically generated symlinks into the kernel dir, we have a fake
kernel "bcmlinux" to please the OpenWrt build system. This kernel is not
used for anything but building the OpenWrt toolchain. To compile against
the right kernel that is running on the target, we need to compile the
kernel module against the kernel inside bcmkernel which is the one
compiled by the BCM SDK.
2021-11-12 12:11:08 +00:00
Markus Gothe
924b54d8d3 grpyhon-led-module: Add ability to read back color
To aid remote debugging we want to be able to
read back the set color on the RGB LED. This commit
implements this functionality.
2021-10-01 16:16:32 +00:00
Markus Gothe
cb5c1979e6 gryphon-led-module: add get/set brightness
To be able to dim the LED from user-space
we need to export an API. This is done
like we currently do for setting the color,
a file which handles hexadecimal numbers.

Change-Id: I4636d16e24cdae38ccd6b501e41f71ce7012dbad
2021-01-28 17:05:53 +00:00
Markus Gothe
64da6686af Fix gryphon LED module crash.
Update gryphon LED module to work with Linux 4.1
and not to crash when 'gpiod_get_index()' fails.

Change-Id: I27fcbe3ad9dbc755eabdd3f2120544b171b07885
2020-09-14 16:18:01 +02:00
Strhuan Blomquist
6f6d09ac3d gryphon-led:changed licenses tag so that it reflects the package real licences 2019-09-05 10:43:31 +02:00
Oussama Ghorbel
3e52019dea gryphon-led-module: set brightness level to 15
This is requested by Genexis
2019-07-23 14:18:41 +02:00
Oussama Ghorbel
47d2fb3113 gryphon-led-module: reduce global brightness 2019-05-22 15:30:08 +02:00
Oussama Ghorbel
9cfe56a4dd gryphon-led-module: avoid turn off the led in module probe 2019-04-26 17:36:34 +02:00
Oussama Ghorbel
3af26d6f84 gryphon-led-module: reduce verbosity 2019-04-08 17:37:08 +02:00
Oussama Ghorbel
aecd02af65 gryphon-led-module: reduce maximum brightness 2019-04-08 17:37:08 +02:00
Oussama Ghorbel
ab558792a0 gryphon-led-module: modify transmission routine according to SK9822 spec 2019-04-08 17:37:08 +02:00
Oussama Ghorbel
7b0e391f98 gryphon-led-module: fix memory allocation issue 2019-04-05 14:07:43 +02:00
Oussama Ghorbel
7d202f64b0 gryphon-led-module: move the driver to LED modules section 2019-04-04 10:30:04 +02:00
Oussama Ghorbel
b7b48d7815 gryphon-led-module: added driver for RGB led 2019-04-04 08:38:28 +02:00