<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/git/stable/linux.git/drivers/leds/leds-pca9633.c, branch master</title>
<subtitle>Linux kernel stable tree</subtitle>
<id>https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/atom?h=master</id>
<link rel='self' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/'/>
<updated>2013-08-27T00:22:14+00:00</updated>
<entry>
<title>leds-pca9633: Rename to leds-pca963x</title>
<updated>2013-08-27T00:22:14+00:00</updated>
<author>
<name>Ricardo Ribalda Delgado</name>
<email>ricardo.ribalda@gmail.com</email>
</author>
<published>2013-08-14T21:23:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=56a1740c21e4396164265c3ec80e29990ddcdc36'/>
<id>urn:sha1:56a1740c21e4396164265c3ec80e29990ddcdc36</id>
<content type='text'>
The driver now supports the chips pca9633 and pca9634, therefore we
rename the files to more generic and meaningul names

Signed-off-by: Ricardo Ribalda Delgado &lt;ricardo.ribalda@gmail.com&gt;
Signed-off-by: Bryan Wu &lt;cooloney@gmail.com&gt;
</content>
</entry>
<entry>
<title>leds-pca9633: Add mutex to the ledout register</title>
<updated>2013-08-27T00:22:14+00:00</updated>
<author>
<name>Ricardo Ribalda Delgado</name>
<email>ricardo.ribalda@gmail.com</email>
</author>
<published>2013-08-14T21:23:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=a7d0e9884fd7594d4de5066add5135ac6bb55bd4'/>
<id>urn:sha1:a7d0e9884fd7594d4de5066add5135ac6bb55bd4</id>
<content type='text'>
To update an LED a register has to be read, updated and writen. If
another LED whas been updated at the same time, this could lead into
wrong updates.

This patch adds a common mutex to all the leds of the same chip to
protect the ledout register.

Signed-off-by: Ricardo Ribalda Delgado &lt;ricardo.ribalda@gmail.com&gt;
Signed-off-by: Bryan Wu &lt;cooloney@gmail.com&gt;
</content>
</entry>
<entry>
<title>leds-pca9633: Unique naming of the LEDs</title>
<updated>2013-08-27T00:22:14+00:00</updated>
<author>
<name>Ricardo Ribalda Delgado</name>
<email>ricardo.ribalda@gmail.com</email>
</author>
<published>2013-08-14T21:23:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=a5cd98b796b6891edc324415034a7f89531c754f'/>
<id>urn:sha1:a5cd98b796b6891edc324415034a7f89531c754f</id>
<content type='text'>
If there is more than one pca963x chips on the system and there are
some LEDs without platform_data names, the driver wont be able to
provide unique naming to them.

This will cause led_class_dev_register to fail, unregistering all the
LEDs of the chip.

This patch adds the i2c address to the name of the unnamed LEDs, making
them unique.

[  555.346827] ------------[ cut here ]------------
[  555.346844] WARNING: at /build/linux-voe0Su/linux-3.9.8/fs/sysfs/dir.c:536 sysfs_add_one+0x8b/0x9d()
[  555.346847] Hardware name: QT5022
[  555.346850] sysfs: cannot create duplicate filename '/class/leds/pca9633:6'
[  555.346853] Modules linked in: qt5038_platform(O+) leds_pca9633(O) hid_generic ledtrig_default_on rfcomm bnep bluetooth binfmt_misc nfsd auth_rpcgss nfs_acl nfs lockd dns_resolver fscache sunrpc nls_utf8 nls_cp437 vfat fat loop fuse joydev hid_multitouch usbhid hid acpi_cpufreq mperf kvm_amd kvm evdev pn533 nfc arc4 microcode pcspkr efivars k10temp ath9k ath9k_common ath9k_hw ath fglrx(PO) mac80211 cfg80211 video rfkill processor thermal_sys sp5100_tco button i2c_piix4 ext4 crc16 jbd2 mbcache sg sd_mod crc_t10dif ahci libahci igb i2c_algo_bit i2c_core dca ptp pps_core ehci_pci ohci_hcd ehci_hcd libata usbcore usb_common scsi_mod [last unloaded: leds_pca963x]
[  555.346940] Pid: 4766, comm: insmod Tainted: P        W  O 3.9-1-amd64 #1 Debian 3.9.8-1
[  555.346943] Call Trace:
[  555.346956]  [&lt;ffffffff8103d153&gt;] ? warn_slowpath_common+0x76/0x8c
[  555.346962]  [&lt;ffffffff8103d202&gt;] ? warn_slowpath_fmt+0x47/0x49
[  555.346968]  [&lt;ffffffff8116005d&gt;] ? sysfs_pathname+0x3b/0x41
[  555.346973]  [&lt;ffffffff81160767&gt;] ? sysfs_add_one+0x8b/0x9d
[  555.346978]  [&lt;ffffffff811610a4&gt;] ? sysfs_do_create_link_sd+0xe8/0x174
[  555.346985]  [&lt;ffffffff81279250&gt;] ? device_add+0x243/0x5ab
[  555.346991]  [&lt;ffffffff81060a16&gt;] ? complete_all+0x31/0x40
[  555.346998]  [&lt;ffffffff8104991a&gt;] ? init_timer_key+0xc/0x56
[  555.347004]  [&lt;ffffffff8127964c&gt;] ? device_create_vargs+0x82/0xb6
[  555.347009]  [&lt;ffffffff812796af&gt;] ? device_create+0x2f/0x31
[  555.347014]  [&lt;ffffffff81060add&gt;] ? should_resched+0x5/0x23
[  555.347021]  [&lt;ffffffff812a3a92&gt;] ? led_classdev_register+0x24/0x103
[  555.347028]  [&lt;ffffffffa09d01c0&gt;] ? pca9633_probe+0x173/0x239 [leds_pca9633]
[  555.347035]  [&lt;ffffffff8127b504&gt;] ? __driver_attach+0x73/0x73
[  555.347049]  [&lt;ffffffffa009dfc9&gt;] ? i2c_device_probe+0x63/0x88 [i2c_core]
[  555.347057]  [&lt;ffffffff8127b373&gt;] ? driver_probe_device+0x92/0x1b0
[  555.347064]  [&lt;ffffffff81279c5c&gt;] ? bus_for_each_drv+0x43/0x7d
[  555.347070]  [&lt;ffffffff8127b2af&gt;] ? device_attach+0x68/0x83
[  555.347078]  [&lt;ffffffff8127a990&gt;] ? bus_probe_device+0x25/0x8d
[  555.347083]  [&lt;ffffffff812793f7&gt;] ? device_add+0x3ea/0x5ab
[  555.347088]  [&lt;ffffffff81060a16&gt;] ? complete_all+0x31/0x40
[  555.347094]  [&lt;ffffffff8104991a&gt;] ? init_timer_key+0xc/0x56
[  555.347104]  [&lt;ffffffffa009d3a1&gt;] ? i2c_new_device+0x10d/0x179 [i2c_core]
[  555.347112]  [&lt;ffffffffa008f036&gt;] ? qt5038_init+0x36/0x1000 [qt5038_platform]
[  555.347119]  [&lt;ffffffffa008f000&gt;] ? 0xffffffffa008efff
[  555.347125]  [&lt;ffffffff8100209e&gt;] ? do_one_initcall+0x74/0x128
[  555.347131]  [&lt;ffffffffa008f000&gt;] ? 0xffffffffa008efff
[  555.347137]  [&lt;ffffffff810836f5&gt;] ? load_module+0x1af7/0x1dfc
[  555.347144]  [&lt;ffffffff810801c5&gt;] ? free_notes_attrs+0x3c/0x3c
[  555.347150]  [&lt;ffffffff81083a98&gt;] ? sys_init_module+0x9e/0xab
[  555.347157]  [&lt;ffffffff8138be29&gt;] ? system_call_fastpath+0x16/0x1b
[  555.347161] ---[ end trace ad00b85794e0de4d ]---
[  555.347448] leds-pca9633: probe of 0-006b failed with error -17

Signed-off-by: Ricardo Ribalda Delgado &lt;ricardo.ribalda@gmail.com&gt;
Signed-off-by: Bryan Wu &lt;cooloney@gmail.com&gt;
</content>
</entry>
<entry>
<title>leds-pca9633: Add support for PCA9634</title>
<updated>2013-08-27T00:22:14+00:00</updated>
<author>
<name>Ricardo Ribalda Delgado</name>
<email>ricardo.ribalda@gmail.com</email>
</author>
<published>2013-08-14T21:23:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=af67384f011e81ea86aef8aec51e62e775432ea8'/>
<id>urn:sha1:af67384f011e81ea86aef8aec51e62e775432ea8</id>
<content type='text'>
Add support for PCA9634 chip, which belongs to the same family as the
9633 but with support for 8 outputs instead of 4.

Signed-off-by: Ricardo Ribalda Delgado &lt;ricardo.ribalda@gmail.com&gt;
Signed-off-by: Bryan Wu &lt;cooloney@gmail.com&gt;
</content>
</entry>
<entry>
<title>leds: use dev_get_platdata()</title>
<updated>2013-08-27T00:22:11+00:00</updated>
<author>
<name>Jingoo Han</name>
<email>jg1.han@samsung.com</email>
</author>
<published>2013-07-30T08:07:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=87aae1ea82f93f0f00cb955044ea1db3501cf233'/>
<id>urn:sha1:87aae1ea82f93f0f00cb955044ea1db3501cf233</id>
<content type='text'>
Use the wrapper function for retrieving the platform data instead of
accessing dev-&gt;platform_data directly.

Signed-off-by: Jingoo Han &lt;jg1.han@samsung.com&gt;
Signed-off-by: Bryan Wu &lt;cooloney@gmail.com&gt;
</content>
</entry>
<entry>
<title>leds: pca9633: Add hardware blink support</title>
<updated>2013-08-27T00:22:10+00:00</updated>
<author>
<name>Mark A. Greer</name>
<email>mgreer@animalcreek.com</email>
</author>
<published>2013-07-25T17:16:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=8465b01827b7a1e0e2464b0a300618bf7add25d8'/>
<id>urn:sha1:8465b01827b7a1e0e2464b0a300618bf7add25d8</id>
<content type='text'>
Add hardware blinking support to the pca9633 driver.

NOTE: Hardware blinking violates the leds infrastructure
driver interface since the hardware only supports
blinking all LEDs with the same delay_on/delay_off
rates.  That is, only the LEDs that are set to blink
will actually blink but all LEDs that are set to blink
will blink in identical fashion.  The delay_on/delay_off
values of the last LED that is set to blink will be used
for all of the blinking LEDs.  If the hardware doesn't
support the requested blinking pattern, a default of
500ms on and off will be used.

Hardware blinking is disabled by default but can be enabled
by setting the 'blink_type' member in the platform_data
struct to 'PCA9633_HW_BLINK' or by adding the 'nxp,hw-blink'
property to the DTS.

(fengguang.wu@intel.com: Removes unneeded semicolon.)

Signed-off-by: Mark A. Greer &lt;mgreer@animalcreek.com&gt;
Reported-by: Fengguang Wu &lt;fengguang.wu@intel.com&gt;
Signed-off-by: Bryan Wu &lt;cooloney@gmail.com&gt;
</content>
</entry>
<entry>
<title>leds: Add device tree binding for pca9633</title>
<updated>2013-08-27T00:22:10+00:00</updated>
<author>
<name>Tony Lindgren</name>
<email>tmlind@panda</email>
</author>
<published>2013-06-26T12:52:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=81d22878092feab779f3efaab404036d31dc06f8'/>
<id>urn:sha1:81d22878092feab779f3efaab404036d31dc06f8</id>
<content type='text'>
Similar to tca6507, we can just parse the standard LED
properties for pca9633.

Tested on a pca9632, which is compatible with pca9633.

Signed-off-by: Tony Lindgren &lt;tony@atomide.com&gt;
Signed-off-by: Bryan Wu &lt;cooloney@gmail.com&gt;
</content>
</entry>
<entry>
<title>leds: remove use of __devexit</title>
<updated>2012-11-28T20:35:06+00:00</updated>
<author>
<name>Bill Pemberton</name>
<email>wfp5p@virginia.edu</email>
</author>
<published>2012-11-19T18:26:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=678e8a6be911dd8684b894687ae88ff3b0ae4659'/>
<id>urn:sha1:678e8a6be911dd8684b894687ae88ff3b0ae4659</id>
<content type='text'>
CONFIG_HOTPLUG is going away as an option so __devexit is no
longer needed.

Signed-off-by: Bill Pemberton &lt;wfp5p@virginia.edu&gt;
Cc: Richard Purdie &lt;rpurdie@rpsys.net&gt;
Cc: Jan-Simon Moeller &lt;jansimon.moeller@gmx.de&gt;
Acked-by: Bryan Wu &lt;cooloney@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>leds: remove use of __devinit</title>
<updated>2012-11-28T20:34:57+00:00</updated>
<author>
<name>Bill Pemberton</name>
<email>wfp5p@virginia.edu</email>
</author>
<published>2012-11-19T18:23:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=98ea1ea20cb7090d5ae2003c23fc8a7f14fca4c7'/>
<id>urn:sha1:98ea1ea20cb7090d5ae2003c23fc8a7f14fca4c7</id>
<content type='text'>
CONFIG_HOTPLUG is going away as an option so __devinit is no longer
needed.

Signed-off-by: Bill Pemberton &lt;wfp5p@virginia.edu&gt;
Cc: Richard Purdie &lt;rpurdie@rpsys.net&gt;
Cc: Jan-Simon Moeller &lt;jansimon.moeller@gmx.de&gt;
Acked-by: Bryan Wu &lt;cooloney@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>leds: remove use of __devexit_p</title>
<updated>2012-11-28T20:33:20+00:00</updated>
<author>
<name>Bill Pemberton</name>
<email>wfp5p@virginia.edu</email>
</author>
<published>2012-11-19T18:20:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=df07cf81268192e42c4cdf91f5f4bf9aaac1b2f0'/>
<id>urn:sha1:df07cf81268192e42c4cdf91f5f4bf9aaac1b2f0</id>
<content type='text'>
CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer
needed.

Signed-off-by: Bill Pemberton &lt;wfp5p@virginia.edu&gt;
Cc: Richard Purdie &lt;rpurdie@rpsys.net&gt;
Cc: Jan-Simon Moeller &lt;jansimon.moeller@gmx.de&gt;
Acked-by: Bryan Wu &lt;cooloney@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
</feed>
