Re: Developing Linux Kernel Driver for LED Driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Raul,

On 06/14/2016 05:22 AM, Raul Piper wrote:
Hi,
I am developing a Linux kernel driver(software) for a 16 channel LED
driver(this driverhere refers to the hardware of LED ) .Below are few
of its characteristics

DC input voltage range : 10 V to 28 V
Integrated boost converter with adaptive output voltage
16 channels  and independent PWM brightness control
Up to 15 white LEDs per channel
On-board microcontroller for total device control through 4-wire
serial interface
LED short-circuit faults management

I have done some brute force work by creating a user space application
to do some portion of the LED glowing, I know its not a full fledged
work.

I want to know on the below points :
1. How can I convert it into a GPIO driver and the standard ramework
with which I can integrate it.

Please get acquainted with the LED subsystem documentation:
Documentation/leds/leds-class.txt.

You should also refer to the existing LED class drivers in drivers/leds
to find out how LED class devices are being registered.

2.The architecture of the user space application to test this driver

LED class devices expose sysfs interface at /sys/class/leds, i.e.
the LEDs can be controlled from bash.

3.The requirement for the Device Tree configuration for this.

Please refer to Documentation/devicetree/bindings/leds/common.txt
and driver bindings in Documentation/devicetree/bindings/leds.

4.The name of the LED class driver maintainer in the kernel linux, to
whom I have to send the patch?

./scripts/get_maintainer.pl -f drivers/leds/ will give you the answer.

5.Any other mandatory requirement to which I have to adhere to for
pushing the device driver to the main line.

Please read the following documents:

- Documentation/SubmittingPatches
- Documentation/SubmittingDrivers
- Documentation/SubmitChecklist

--
Best regards,
Jacek Anaszewski
--
To unsubscribe from this list: send the line "unsubscribe linux-leds" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux