<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-dev/drivers/leds/simple, branch master</title>
<subtitle>Linux kernel development work - see feature branches</subtitle>
<id>https://git.zx2c4.com/linux-dev/atom/drivers/leds/simple?h=master</id>
<link rel='self' href='https://git.zx2c4.com/linux-dev/atom/drivers/leds/simple?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/'/>
<updated>2022-10-24T09:32:10Z</updated>
<entry>
<title>leds: simatic-ipc-leds-gpio: fix incorrect LED to GPIO mapping</title>
<updated>2022-10-24T09:32:10Z</updated>
<author>
<name>Henning Schild</name>
<email>henning.schild@siemens.com</email>
</author>
<published>2022-10-24T09:20:27Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=ee24395f91b9cddccae5f6c11c37ee4ed78ff354'/>
<id>urn:sha1:ee24395f91b9cddccae5f6c11c37ee4ed78ff354</id>
<content type='text'>
For apollolake the mapping between LEDs and GPIO pins was off because of
a refactoring when we introduced a new device model.
In addition to the reordering the indices in the lookup table need to be
updated as well.

Fixes: a97126265dfe ("leds: simatic-ipc-leds-gpio: add new model 227G")
Signed-off-by: Henning Schild &lt;henning.schild@siemens.com&gt;
Link: https://lore.kernel.org/r/20221024092027.4529-1-henning.schild@siemens.com
Reviewed-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
</content>
</entry>
<entry>
<title>leds: simatic-ipc-leds-gpio: Make simatic_ipc_led_gpio_table static</title>
<updated>2022-09-10T12:16:16Z</updated>
<author>
<name>Hans de Goede</name>
<email>hdegoede@redhat.com</email>
</author>
<published>2022-09-10T08:58:36Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=8902437ce3e748cb4f6f036dcd45d7030fd5badb'/>
<id>urn:sha1:8902437ce3e748cb4f6f036dcd45d7030fd5badb</id>
<content type='text'>
simatic_ipc_led_gpio_table is only used inside simatic-ipc-leds-gpio.c,
make it static.

Reported-by: kernel test robot &lt;lkp@intel.com&gt;
Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
Link: https://lore.kernel.org/r/20220910085836.84962-1-hdegoede@redhat.com
</content>
</entry>
<entry>
<title>leds: simatic-ipc-leds-gpio: add new model 227G</title>
<updated>2022-09-01T14:14:49Z</updated>
<author>
<name>Henning Schild</name>
<email>henning.schild@siemens.com</email>
</author>
<published>2022-08-25T10:44:20Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=a97126265dfe10d3321c0fde4708a6cea49b19ed'/>
<id>urn:sha1:a97126265dfe10d3321c0fde4708a6cea49b19ed</id>
<content type='text'>
This adds support of the Siemens Simatic IPC227G. Its LEDs are connected
to GPIO pins provided by the gpio-f7188x module. We make sure that
gets loaded, if not enabled in the kernel config no LED support will be
available.

Reviewed-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Reviewed-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
Signed-off-by: Henning Schild &lt;henning.schild@siemens.com&gt;
Link: https://lore.kernel.org/r/20220825104422.14156-6-henning.schild@siemens.com
Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
</content>
</entry>
<entry>
<title>leds: simatic-ipc-leds-gpio: Add GPIO version of Siemens driver</title>
<updated>2022-07-14T09:50:43Z</updated>
<author>
<name>Henning Schild</name>
<email>henning.schild@siemens.com</email>
</author>
<published>2022-06-06T16:41:38Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=a6c80bec3c9357506e2bfdae82623ef34f8cab40'/>
<id>urn:sha1:a6c80bec3c9357506e2bfdae82623ef34f8cab40</id>
<content type='text'>
On Apollo Lake the pinctrl drivers will now come up without ACPI. Use
that instead of open coding it.
Create a new driver for that which can later be filled with more GPIO
based models, and which has different dependencies.

Signed-off-by: Henning Schild &lt;henning.schild@siemens.com&gt;
Signed-off-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Signed-off-by: Lee Jones &lt;lee@kernel.org&gt;
</content>
</entry>
<entry>
<title>leds: simatic-ipc-leds: Convert to use P2SB accessor</title>
<updated>2022-07-14T09:50:36Z</updated>
<author>
<name>Henning Schild</name>
<email>henning.schild@siemens.com</email>
</author>
<published>2022-06-06T16:41:36Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=759273c3c429ffbd8f24655fd0480cd408a1804c'/>
<id>urn:sha1:759273c3c429ffbd8f24655fd0480cd408a1804c</id>
<content type='text'>
Since we have a common P2SB accessor in tree we may use it instead of
open coded variants.

Replace custom code by p2sb_bar() call.

Signed-off-by: Henning Schild &lt;henning.schild@siemens.com&gt;
Signed-off-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Signed-off-by: Lee Jones &lt;lee@kernel.org&gt;
</content>
</entry>
<entry>
<title>leds: simatic-ipc-leds: Don't directly deref ioremap_resource() returned ptr</title>
<updated>2022-02-17T11:25:30Z</updated>
<author>
<name>Hans de Goede</name>
<email>hdegoede@redhat.com</email>
</author>
<published>2022-01-17T11:21:09Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=8b43ef06ff893f733a0b66e9875518c0230f2715'/>
<id>urn:sha1:8b43ef06ff893f733a0b66e9875518c0230f2715</id>
<content type='text'>
Sparse (rightly) currently gives the following warning:

drivers/leds/simple/simatic-ipc-leds.c:155:40:
 sparse: sparse: incorrect type in assignment (different address spaces)
 expected void *static [toplevel] simatic_ipc_led_memory
 got void [noderef] __iomem *

Fix this by changing the type of simatic_ipc_led_memory to void __iomem *
and use readl()/writel() to access it.

Cc: Henning Schild &lt;henning.schild@siemens.com&gt;
Reported-by: kernel test robot &lt;lkp@intel.com&gt;
Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
Tested-by: Gerd Haeussler &lt;gerd.haeussler.ext@siemens.com&gt;
Signed-off-by: Pavel Machek &lt;pavel@ucw.cz&gt;
</content>
</entry>
<entry>
<title>leds: simatic-ipc-leds: Make simatic_ipc_led_mem_res static</title>
<updated>2022-02-17T11:25:09Z</updated>
<author>
<name>Hans de Goede</name>
<email>hdegoede@redhat.com</email>
</author>
<published>2022-01-17T11:21:08Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=a8f59497a430e8a93aa9a5b0fb0feefe061195ee'/>
<id>urn:sha1:a8f59497a430e8a93aa9a5b0fb0feefe061195ee</id>
<content type='text'>
simatic_ipc_led_mem_res is not used outside of the driver, make it static.

Cc: Henning Schild &lt;henning.schild@siemens.com&gt;
Reported-by: kernel test robot &lt;lkp@intel.com&gt;
Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
Signed-off-by: Pavel Machek &lt;pavel@ucw.cz&gt;
</content>
</entry>
<entry>
<title>leds: simatic-ipc-leds: add new driver for Siemens Industial PCs</title>
<updated>2021-12-23T17:09:13Z</updated>
<author>
<name>Henning Schild</name>
<email>henning.schild@siemens.com</email>
</author>
<published>2021-12-13T12:05:00Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=8c78e0614edc628b13313afd28856720b85d86a3'/>
<id>urn:sha1:8c78e0614edc628b13313afd28856720b85d86a3</id>
<content type='text'>
This driver adds initial support for several devices from Siemens. It is
based on a platform driver introduced in an earlier commit.

One of the supported machines has GPIO connected LEDs, here we poke GPIO
memory directly because pinctrl does not come up.

Signed-off-by: Henning Schild &lt;henning.schild@siemens.com&gt;
Acked-by: Pavel Machek &lt;pavel@ucw.cz&gt;
Link: https://lore.kernel.org/r/20211213120502.20661-3-henning.schild@siemens.com
Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
</content>
</entry>
</feed>
