<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/drivers/leds/blink, branch v6.1.168</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=v6.1.168</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=v6.1.168'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2022-07-17T12:55:40+00:00</updated>
<entry>
<title>leds: leds-bcm63138: get rid of LED_OFF</title>
<updated>2022-07-17T12:55:40+00:00</updated>
<author>
<name>Rafał Miłecki</name>
<email>rafal@milecki.pl</email>
</author>
<published>2022-07-17T12:42:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=92cfc71ee2ddfb499ed53e21b28bdf8739bc70bc'/>
<id>urn:sha1:92cfc71ee2ddfb499ed53e21b28bdf8739bc70bc</id>
<content type='text'>
The whole "enum led_brightness" is marked as obsolete. Replace it with a
(non-)zero check.

Reported-by: Pavel Machek &lt;pavel@ucw.cz&gt;
Signed-off-by: Rafał Miłecki &lt;rafal@milecki.pl&gt;
Signed-off-by: Pavel Machek &lt;pavel@ucw.cz&gt;
</content>
</entry>
<entry>
<title>leds: add help info about BCM63138 module name</title>
<updated>2022-07-17T12:55:40+00:00</updated>
<author>
<name>Rafał Miłecki</name>
<email>rafal@milecki.pl</email>
</author>
<published>2022-07-17T12:42:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=bcc607cdbb1f931111196699426f0cb83bfb296a'/>
<id>urn:sha1:bcc607cdbb1f931111196699426f0cb83bfb296a</id>
<content type='text'>
It's what we do for all other LEDs drivers.

Reported-by: Pavel Machek &lt;pavel@ucw.cz&gt;
Signed-off-by: Rafał Miłecki &lt;rafal@milecki.pl&gt;
Signed-off-by: Pavel Machek &lt;pavel@ucw.cz&gt;
</content>
</entry>
<entry>
<title>leds: bcm63138: add support for BCM63138 controller</title>
<updated>2022-07-17T11:35:46+00:00</updated>
<author>
<name>Rafał Miłecki</name>
<email>rafal@milecki.pl</email>
</author>
<published>2021-12-27T14:59:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=a0ba692072d89075d0a75c7ad9df31f2c1ee9a1c'/>
<id>urn:sha1:a0ba692072d89075d0a75c7ad9df31f2c1ee9a1c</id>
<content type='text'>
It's a new controller first introduced in BCM63138 SoC. Later it was
also used in BCM4908, some BCM68xx and some BCM63xxx SoCs.

Signed-off-by: Rafał Miłecki &lt;rafal@milecki.pl&gt;
Reviewed-by: Florian Fainelli &lt;f.fainelli@gmail.com&gt;
Signed-off-by: Pavel Machek &lt;pavel@ucw.cz&gt;
</content>
</entry>
<entry>
<title>leds: lgm-sso: Get rid of duplicate of_node assignment</title>
<updated>2022-01-12T18:43:15+00:00</updated>
<author>
<name>Andy Shevchenko</name>
<email>andriy.shevchenko@linux.intel.com</email>
</author>
<published>2021-12-14T14:27:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=2702c9be20acf61c5c4cdee273792c3a4c92db12'/>
<id>urn:sha1:2702c9be20acf61c5c4cdee273792c3a4c92db12</id>
<content type='text'>
GPIO library does copy the of_node from the parent device of
the GPIO chip, there is no need to repeat this in the individual
drivers. Remove assignment here.

For the details one may look into the of_gpio_dev_init() implementation.

Call graph:
   --&gt; sso_gpio_gc_init()
     --&gt; devm_gpiochip_add_data
       --&gt; devm_gpiochip_add_data_with_key
         --&gt; gpiochip_add_data_with_key()
           --&gt; of_gpio_dev_init()

Signed-off-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Signed-off-by: Pavel Machek &lt;pavel@ucw.cz&gt;
</content>
</entry>
<entry>
<title>leds: lgm-sso: Propagate error codes from callee to caller</title>
<updated>2021-08-07T07:12:45+00:00</updated>
<author>
<name>Andy Shevchenko</name>
<email>andriy.shevchenko@linux.intel.com</email>
</author>
<published>2021-08-05T11:26:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=9cbc861095375793a69858f91f3ac4e817f320f0'/>
<id>urn:sha1:9cbc861095375793a69858f91f3ac4e817f320f0</id>
<content type='text'>
The one of the latest change to the driver reveals the problem that
the error codes from callee aren't propagated to the caller of
__sso_led_dt_parse(). Fix this accordingly.

Fixes: 9999908ca1ab ("leds: lgm-sso: Put fwnode in any case during -&gt;probe()")
Fixes: c3987cd2bca3 ("leds: lgm: Add LED controller driver for LGM SoC")
Reported-by: kernel test robot &lt;lkp@intel.com&gt;
Signed-off-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Signed-off-by: Pavel Machek &lt;pavel@ucw.cz&gt;
</content>
</entry>
<entry>
<title>leds: lgm-sso: Convert to use list_for_each_entry*() API</title>
<updated>2021-08-03T21:46:12+00:00</updated>
<author>
<name>Andy Shevchenko</name>
<email>andy.shevchenko@gmail.com</email>
</author>
<published>2021-05-29T11:19:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=3dd34dfb09ae814922dd833cad11b215b238a1ba'/>
<id>urn:sha1:3dd34dfb09ae814922dd833cad11b215b238a1ba</id>
<content type='text'>
Convert to use list_for_each_entry*() API insted of open coded variants.
It saves few lines of code and makes iteasier to read and maintain.

Signed-off-by: Andy Shevchenko &lt;andy.shevchenko@gmail.com&gt;
Signed-off-by: Pavel Machek &lt;pavel@ucw.cz&gt;
</content>
</entry>
<entry>
<title>leds: lgm-sso: Remove explicit managed GPIO resource cleanup</title>
<updated>2021-08-03T21:46:12+00:00</updated>
<author>
<name>Andy Shevchenko</name>
<email>andy.shevchenko@gmail.com</email>
</author>
<published>2021-05-29T11:19:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=c31ef7004ee1fd417dd9448ba4a43f42090d27fe'/>
<id>urn:sha1:c31ef7004ee1fd417dd9448ba4a43f42090d27fe</id>
<content type='text'>
The idea of managed resources is that they will be cleaned up automatically
and in the proper order. Remove explicit GPIO cleanup.

Signed-off-by: Andy Shevchenko &lt;andy.shevchenko@gmail.com&gt;
Signed-off-by: Pavel Machek &lt;pavel@ucw.cz&gt;
</content>
</entry>
<entry>
<title>leds: lgm-sso: Don't spam logs when probe is deferred</title>
<updated>2021-08-03T21:46:11+00:00</updated>
<author>
<name>Andy Shevchenko</name>
<email>andy.shevchenko@gmail.com</email>
</author>
<published>2021-05-29T11:19:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=1ed4d05e0a0b23ba15e0affcff4008dd537ae3ee'/>
<id>urn:sha1:1ed4d05e0a0b23ba15e0affcff4008dd537ae3ee</id>
<content type='text'>
When requesting GPIO line the probe can be deferred.
In such case don't spam logs with an error message.
This can be achieved by switching to dev_err_probe().

Fixes: c3987cd2bca3 ("leds: lgm: Add LED controller driver for LGM SoC")
Cc: Amireddy Mallikarjuna reddy &lt;mallikarjunax.reddy@linux.intel.com&gt;
Signed-off-by: Andy Shevchenko &lt;andy.shevchenko@gmail.com&gt;
Signed-off-by: Pavel Machek &lt;pavel@ucw.cz&gt;
</content>
</entry>
<entry>
<title>leds: lgm-sso: Put fwnode in any case during -&gt;probe()</title>
<updated>2021-08-03T21:46:10+00:00</updated>
<author>
<name>Andy Shevchenko</name>
<email>andy.shevchenko@gmail.com</email>
</author>
<published>2021-05-29T11:19:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=9999908ca1abee7aa518a4f6a3739517c137acbf'/>
<id>urn:sha1:9999908ca1abee7aa518a4f6a3739517c137acbf</id>
<content type='text'>
fwnode_get_next_child_node() bumps a reference counting of a returned variable.
We have to balance it whenever we return to the caller.

All the same in fwnode_for_each_child_node() case.

Fixes: c3987cd2bca3 ("leds: lgm: Add LED controller driver for LGM SoC")
Cc: Amireddy Mallikarjuna reddy &lt;mallikarjunax.reddy@linux.intel.com&gt;
Signed-off-by: Andy Shevchenko &lt;andy.shevchenko@gmail.com&gt;
Signed-off-by: Pavel Machek &lt;pavel@ucw.cz&gt;
</content>
</entry>
<entry>
<title>leds: lgm: Fix up includes</title>
<updated>2021-06-23T22:55:41+00:00</updated>
<author>
<name>Linus Walleij</name>
<email>linus.walleij@linaro.org</email>
</author>
<published>2021-06-13T23:16:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=7b97174cc93fadb055258f4f8f3b964e9968e59f'/>
<id>urn:sha1:7b97174cc93fadb055258f4f8f3b964e9968e59f</id>
<content type='text'>
This driver is including the legacy GPIO header &lt;linux/gpio.h&gt;
but the only thing it is using from that header is the wrong
define for GPIOF_DIR_OUT.

Fix it up by using GPIO_LINE_DIRECTION_OUT and including the
correct consumer and driver headers.

Cc: Amireddy Mallikarjuna reddy &lt;mallikarjunax.reddy@linux.intel.com&gt;
Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Signed-off-by: Pavel Machek &lt;pavel@ucw.cz&gt;
</content>
</entry>
</feed>
