On Wed, Apr 14, 2021 at 4:45 PM Srinivas Neeli wrote:
>
> HI baratosz and Andy,
>
It's Bartosz. You literally just need to copy & paste the name from my email...
> > -Original Message-
> > From: Bartosz Golaszewski
> > Sent: Tuesday, April 13, 2021
On Tue, Apr 13, 2021 at 1:03 PM wrote:
>
> On 12.04.2021 21:29, Bartosz Golaszewski wrote:
> > EXTERNAL EMAIL: Do not click links or open attachments unless you know the
> > content is safe
> >
> > On Mon, Apr 12, 2021 at 9:42 AM wrote:
> >>
> >>
lator_disable(at24->vcc_reg);
> return -ENODEV;
> }
>
> --
> 2.31.1.295.g9ea45b61b8-goog
>
Acked-by: Bartosz Golaszewski
Linus,
I waited until late with this non-urgent one hoping we'd get more fixes for this
release cycle to go with it but nothing's coming up so please pull this single
fix for an older problem with the sysfs interface.
Bartosz
The following changes since commit
On Sat, Apr 10, 2021 at 12:08 AM Andy Shevchenko
wrote:
>
>
>
> On Friday, April 9, 2021, Srinivas Neeli wrote:
>>
>> module_platform_driver() makes the code simpler by eliminating
>> boilerplate code.
>>
>> Signed-off-by: Srinivas Neeli
>> ---
>> drivers/gpio/gpio-zynq.c | 17
On Mon, Apr 12, 2021 at 4:16 AM Jiapeng Chong
wrote:
>
> Fix the following gcc warning:
>
> drivers/gpio/gpio-mxs.c:63:19: warning: kernel/sys_ni.cunused function
> 'is_imx28_gpio'.
>
> Reported-by: Abaci Robot
> Signed-off-by: Jiapeng Chong
> ---
> drivers/gpio/gpio-mxs.c | 5 -
> 1 file
On Sun, Apr 11, 2021 at 5:21 AM Dmitry Torokhov
wrote:
>
> Hi Bartosz,
>
> On Mon, Jun 29, 2020 at 1:56 PM Bartosz Golaszewski wrote:
> >
> > From: Bartosz Golaszewski
> >
> > Make devm_kmalloc() behave similarly to non-managed kmalloc(): return
> &
On Mon, Apr 12, 2021 at 9:42 AM wrote:
>
> On 07.04.2021 21:37, Bartosz Golaszewski wrote:
> > EXTERNAL EMAIL: Do not click links or open attachments unless you know the
> > content is safe
> >
> > On Fri, Apr 2, 2021 at 3:24 PM Claudiu Beznea
> > wrote:
On Sat, Apr 10, 2021 at 2:07 PM Greg Kroah-Hartman
wrote:
>
> On Sat, Apr 10, 2021 at 11:09:19AM +0200, Bartosz Golaszewski wrote:
> > From: Andy Shevchenko
> >
> > On STM32MP1, the GPIO banks are subnodes of pin-controller@50002000,
> > see arch/arm/boot/d
piolib: generalize devprop_gpiochip_set_names() for
device properties")
Cc: sta...@vger.kernel.org
Reported-by: Marek Vasut
Reported-by: Roman Guskov
Signed-off-by: Andy Shevchenko
Tested-by: Marek Vasut
Reviewed-by: Marek Vasut
Signed-off-by: Bartosz Golaszewski
---
Hi Greg,
This patch somehow got lost
On Sat, Apr 10, 2021 at 2:46 AM Marek Vasut wrote:
>
> On 3/15/21 6:04 PM, Andy Shevchenko wrote:
> > On Mon, Mar 15, 2021 at 6:49 PM Bartosz Golaszewski
> > wrote:
> >>
> >> On Mon, Mar 15, 2021 at 3:34 PM Andy Shevchenko
> >> wrote:
> &g
On Tue, Apr 6, 2021 at 10:35 AM Simon Guinot wrote:
>
> On Tue, Apr 06, 2021 at 03:20:39PM +0800, Jiapeng Chong wrote:
> > Fix the following clang warning:
> >
> > drivers/gpio/gpio-it87.c:128:20: warning: unused function 'superio_outw'
> > [-Wunused-function].
> >
> > Reported-by: Abaci Robot
>
On Thu, Apr 8, 2021 at 5:54 PM Barney Goette wrote:
>
> Fixed multiple bare uses of 'unsigned' without 'int'.
> Fixed space around "*" operator.
> Fixed function parameter alignment to opening parenthesis.
> Reported by checkpatch.
>
> Signed-off-by: Barney Goette
> Acked-by: William Breathitt
On Thu, Apr 8, 2021 at 9:20 AM Linus Walleij wrote:
>
> On Tue, Apr 6, 2021 at 3:49 AM Ran Wang wrote:
>
> > Could this version be accepted, or any comment/suggestion?
>
> Andy says yes, then it is a yes :)
> FWIW
> Acked-by: Linus Walleij
>
> Yours,
> Linus Walleij
Applied, thanks!
Bartosz
On Thu, Apr 8, 2021 at 6:24 PM Andy Shevchenko
wrote:
>
> The attributes on the heap must be initialized before use.
> Neglecting that will produce an Oops in some configurations:
>
> BUG: key 000800eba398 has not been registered!
>
> Initialize attribute allocated on the heap.
>
> Fixes:
On Fri, Apr 2, 2021 at 3:24 PM Claudiu Beznea
wrote:
>
> Some EEPROMs could be used only for MAC storage. In this case the
> EEPROM areas where MACs resides could be modeled as NVMEM cells
> (directly via DT bindings) such that the already available networking
> infrastructure to read properly
ode can also be constant.
> >
> > Signed-off-by: Heikki Krogerus
> > Cc: Sekhar Nori
> > Cc: Bartosz Golaszewski
>
> I like to apply it soon. Can we get an ack, please?
>
Looks good to me.
Acked-by: Bartosz Golaszewski
On Thu, Apr 1, 2021 at 1:16 PM Syed Nayyar Waris wrote:
>
> On Wed, Mar 31, 2021 at 8:56 PM Srinivas Neeli wrote:
> >
> > Hi,
> >
> > > -Original Message-
> > > From: Bartosz Golaszewski
> > > Sent: Friday, March 26, 2021 10:58 PM
On Thu, Apr 1, 2021 at 3:08 PM Linus Walleij wrote:
>
> On Tue, Mar 30, 2021 at 10:58 AM Wolfram Sang
> wrote:
>
> > This is a simple logic analyzer using GPIO polling. It comes with a
> > script to isolate a CPU for polling. While this is definately not a
> > production level analyzer, it can
On Wed, Mar 31, 2021 at 2:53 PM Alexander Dahl wrote:
>
> Hello Andy,
>
> Am Wed, Mar 31, 2021 at 03:27:05PM +0300 schrieb Andy Shevchenko:
> > On Mon, Mar 29, 2021 at 2:18 PM Alexander Dahl wrote:
> > >
> > > Module probing with the parameter documented yielded this in kernel log:
> > >
> > >
On Wed, Mar 31, 2021 at 2:25 PM Andy Shevchenko
wrote:
>
> On Wed, Mar 31, 2021 at 10:58 AM Bartosz Golaszewski
> wrote:
> >
> > On Mon, Mar 29, 2021 at 1:41 PM Matti Vaittinen
> > wrote:
> > >
> > > Do not allow exporting GPIOs which are
On Tue, Mar 30, 2021 at 6:32 AM Matti Vaittinen
wrote:
>
> Morning Folks,
>
> On Mon, 2021-03-29 at 16:30 +0300, Andy Shevchenko wrote:
> > On Mon, Mar 29, 2021 at 03:20:07PM +0300, Matti Vaittinen wrote:
> > > On Mon, 2021-03-29 at 14:59 +0300, Andy Shevchenko wrote:
> > > > On Mon, Mar 29, 2021
On Mon, Mar 29, 2021 at 1:41 PM Matti Vaittinen
wrote:
>
> Do not allow exporting GPIOs which are set invalid
> by the driver's valid mask.
>
> Fixes: 726cb3ba49692bdae6caff457755e7cdb432efa4
>
> Signed-off-by: Matti Vaittinen
> ---
Applied, thanks!
Bart
On Tue, Mar 30, 2021 at 7:48 PM Sander Vanheule wrote:
>
> Add support for the GPIO controller employed by Realtek in multiple series of
> MIPS SoCs. These include the supported RTL838x and RTL839x. The register
> layout
> also matches the one found in the GPIO controller of other (Lexra-based)
On Mon, Mar 29, 2021 at 1:17 PM Alexander Dahl wrote:
>
> Missing since introduced in the driver.
>
> Fixes: commit 8a68ea00a62e ("gpio: mockup: implement naming the lines")
> Signed-off-by: Alexander Dahl
> ---
Applied, thanks!
Bartosz
On Mon, Mar 29, 2021 at 1:17 PM Alexander Dahl wrote:
>
> Fixes: commit 0f98dd1b27d2 ("gpio/mockup: add virtual gpio device")
> Signed-off-by: Alexander Dahl
> ---
Applied, thanks!
Bartosz
On Mon, Mar 29, 2021 at 1:17 PM Alexander Dahl wrote:
>
> Module probing with the parameter documented yielded this in kernel log:
>
> gpio_mockup: unknown parameter 'gpio_named_lines' ignored
>
> The parameter documented did not match the parameter actually
> implemented with commit
The following commit has been merged into the irq/core branch of tip:
Commit-ID: 883ccef355b910398b99dfaf96d40557479a7e9b
Gitweb:
https://git.kernel.org/tip/883ccef355b910398b99dfaf96d40557479a7e9b
Author:Bartosz Golaszewski
AuthorDate:Mon, 01 Mar 2021 15:26:59 +01:00
The following commit has been merged into the irq/core branch of tip:
Commit-ID: e6d46eded43dacf6370a7ae70f927ef4692cfcab
Gitweb:
https://git.kernel.org/tip/e6d46eded43dacf6370a7ae70f927ef4692cfcab
Author:Bartosz Golaszewski
AuthorDate:Mon, 01 Mar 2021 15:26:59 +01:00
p_set_value(). The code is now simpler
> > to read and understand. Moreover, instead of looping for each bit
> > in xgpio_set_multiple() function, now we can check each channel at
> > a time and save cycles.
> >
> > Cc: Bartosz Golaszewski
> > Cc: Michal Simek
>
On Tue, Mar 23, 2021 at 10:57 AM Vaittinen, Matti
wrote:
>
>
> On Tue, 2021-01-19 at 12:07 +0100, Bartosz Golaszewski wrote:
> > On Tue, Jan 19, 2021 at 8:23 AM Matti Vaittinen
> > wrote:
> > > Support GPO(s) found from ROHM BD71815 power management IC. The I
On Thu, Mar 25, 2021 at 10:29 AM Linus Walleij wrote:
>
> On Mon, Mar 22, 2021 at 3:32 PM Bartosz Golaszewski wrote:
>
> > FYI The configfs patches from this series have been on the mailing
> > list for months (long before the GPIO part) and have been re-sent
> > seve
On Wed, Mar 24, 2021 at 9:19 AM Álvaro Fernández Rojas
wrote:
>
> This is needed for properly registering GPIO regmap as a child of a regmap
> pin controller.
>
> Signed-off-by: Álvaro Fernández Rojas
> Reviewed-by: Michael Walle
> Reviewed-by: Andy Shevchenko
>
quot;gpiolib: Introduce gpiochip_irqchip_add_domain()")
> Suggested-by: Michael Walle
> Signed-off-by: Álvaro Fernández Rojas
> Reviewed-by: Linus Walleij
> Reviewed-by: Michael Walle
> ---
Acked-by: Bartosz Golaszewski
I suppose this will go through the pinctrl tree.
Bartosz
On Wed, Mar 24, 2021 at 7:50 AM jay...@rock-chips.com
wrote:
>
> I'm forget to send-to include Bartosz, I'll remember in next version
>
> --
> jay...@rock-chips.com
> >Separate gpio driver from pinctrl driver, and support v2 controller.
> >
> >Jianqun Xu (7):
> > pinctrl/rockchip:
On Tue, Mar 23, 2021 at 11:19 PM Randy Dunlap wrote:
>
> Fix a few typos and some punctuation.
> Also, change CONFIG_OF to CONFIG_OF_GPIO in one comment.
>
> Signed-off-by: Randy Dunlap
> Cc: Linus Walleij
> Cc: Bartosz Golaszewski
> Cc: linux-g...@vger.k
xpecting prototype for doc(). Prototype was for
> gpiotools_request_line() instead
> gpio-utils.c:265: warning: Excess function parameter 'value' description in
> 'gpiotools_sets'
> gpio-utils.c:1: warning: 'gpiotools_request_lines' not found
>
> Signed-off-by: Randy Dunlap
&g
On Mon, Mar 15, 2021 at 10:14 AM Bartosz Golaszewski wrote:
>
> From: Bartosz Golaszewski
>
> This series adds a new GPIO testing module based on configfs committable items
> and sysfs. The goal is to provide a testing driver that will be configurable
> at runtime (won't
Linus,
Please pull the following two fixes for the GPIO subsystem. Both address issues
in the core GPIO code.
Best Regards,
Bartosz Golaszewski
The following changes since commit b41ba2ec54a70908067034f139aa23d0dd2985ce:
gpiolib: Read "gpio-line-names" from a firmware node (2021-0
On Mon, Mar 15, 2021 at 5:59 PM Andy Shevchenko
wrote:
>
> First of all one of the parameter missed 'mockup' in its name,
> Second, the semantics of the integer pairs depends on the sign
> of the base (the first value in the pair).
>
> Update documentation to reflect the real code behaviour.
>
>
On Mon, Mar 1, 2021 at 3:27 PM Bartosz Golaszewski wrote:
>
> From: Bartosz Golaszewski
>
> We don't have to use a custom devres structure if all we manage is a
> single pointer - we can use devm_add_action_or_reset() for that and
> shrink the code a bit.
>
> Signed-off
On Mon, Mar 15, 2021 at 7:51 PM Andy Shevchenko
wrote:
>
> Since platform_device_unregister() is NULL-aware, we don't need to duplicate
> this check. Remove it and fold the rest of the code.
>
> Signed-off-by: Andy Shevchenko
> ---
> drivers/gpio/gpio-mockup.c | 9 ++---
> 1 file changed, 2
ith the future
> (for-next) code once it will be in upstream (v5.12-rcX).
>
> --
> With Best Regards,
> Andy Shevchenko
>
>
Tested-by: Bartosz Golaszewski
Thanks for debugging this! Applied!
Bartosz
On Mon, Mar 15, 2021 at 3:34 PM Andy Shevchenko
wrote:
>
> On Mon, Mar 15, 2021 at 03:04:37PM +0100, Bartosz Golaszewski wrote:
> > On Mon, Mar 15, 2021 at 1:50 PM Andy Shevchenko
> > wrote:
> > >
> > > On Mon, Mar 15, 2021 at 12:16:26PM +0200, Andy Shevchenko
On Mon, Mar 15, 2021 at 4:01 PM Marek Vasut wrote:
>
> On 3/15/21 2:52 PM, gre...@linuxfoundation.org wrote:
> > From: Greg Kroah-Hartman
> >
> > From: Andy Shevchenko
> >
> > commit b41ba2ec54a70908067034f139aa23d0dd2985ce upstream.
> >
> > On STM32MP1, the GPIO banks are subnodes of
On Mon, Mar 15, 2021 at 1:50 PM Andy Shevchenko
wrote:
>
> On Mon, Mar 15, 2021 at 12:16:26PM +0200, Andy Shevchenko wrote:
> > On Mon, Mar 15, 2021 at 10:01:47AM +0100, Bartosz Golaszewski wrote:
> > > On Fri, Mar 5, 2021 at 1:03 PM Andy Shevchenko
> > > wrote:
From: Bartosz Golaszewski
Add a simple program that allows to read GPIO line names from the
character device. This will be used in gpio-sim selftests.
Signed-off-by: Bartosz Golaszewski
---
tools/testing/selftests/gpio/.gitignore | 1 +
tools/testing/selftests/gpio/Makefile
From: Bartosz Golaszewski
Add a set of tests for the new gpio-sim module. This is a pure shell
test-suite and uses the helper programs available in the gpio selftests
directory. These test-cases only test the functionalities exposed by the
gpio-sim driver, not those handled by core gpiolib code
From: Bartosz Golaszewski
The 'extern' keyword doesn't have any benefits in header files. Remove it.
Signed-off-by: Bartosz Golaszewski
Reviewed-by: Andy Shevchenko
---
include/linux/bitmap.h | 115 -
1 file changed, 57 insertions(+), 58 deletions
From: Bartosz Golaszewski
Implement a new, modern GPIO testing module controlled by configfs
attributes instead of module parameters. The goal of this driver is
to provide a replacement for gpio-mockup that will be easily extensible
with new features and doesn't require reloading the module
From: Bartosz Golaszewski
For better readability and maintenance: order the includes in bitmap
source files alphabetically.
Signed-off-by: Bartosz Golaszewski
Reviewed-by: Andy Shevchenko
---
include/linux/bitmap.h | 4 ++--
lib/bitmap.c | 9 +
2 files changed, 7 insertions
From: Bartosz Golaszewski
Add a simple program that allows to retrieve chip properties from the
GPIO character device. This will be used in gpio-sim selftests.
Signed-off-by: Bartosz Golaszewski
---
tools/testing/selftests/gpio/.gitignore | 1 +
tools/testing/selftests/gpio/Makefile
From: Bartosz Golaszewski
Provide managed variants of bitmap_alloc() and bitmap_zalloc().
Signed-off-by: Bartosz Golaszewski
Reviewed-by: Andy Shevchenko
---
include/linux/bitmap.h | 8
lib/bitmap.c | 33 +
2 files changed, 41 insertions
From: Bartosz Golaszewski
For better readability and maintenance: use the (1UL << bit) for flag
definitions.
Signed-off-by: Bartosz Golaszewski
Acked-by: Linus Walleij
---
fs/configfs/configfs_internal.h | 20 ++--
1 file changed, 10 insertions(+), 10 deletions(-)
diff
From: Bartosz Golaszewski
20 characters limit for item name is relatively small. Let's increase it
to 32 to fit '04-committable-children' - a name we'll use in the sample
code for committable items.
Signed-off-by: Bartosz Golaszewski
Acked-by: Linus Walleij
---
include/linux/configfs.h | 2
From: Bartosz Golaszewski
This series adds a new GPIO testing module based on configfs committable items
and sysfs. The goal is to provide a testing driver that will be configurable
at runtime (won't need module reload) and easily extensible. The control over
the attributes is also much more
From: Bartosz Golaszewski
Add an example of using committable items to configfs samples. Each
config item has two attributes: read-write 'storeme' which works
similarly to other examples in this file and a read-only 'committed'
attribute which changes its value between false and true depending
From: Bartosz Golaszewski
This implements configfs committable items. We mostly follow the
documentation except that we extend config_group_ops with uncommit_item()
callback for reverting the changes made by commit_item().
Each committable group has two sub-directories: pending and live. New
On Fri, Mar 5, 2021 at 1:03 PM Andy Shevchenko
wrote:
>
> On STM32MP1, the GPIO banks are subnodes of pin-controller@50002000,
> see arch/arm/boot/dts/stm32mp151.dtsi. The driver for
> pin-controller@50002000 is in drivers/pinctrl/stm32/pinctrl-stm32.c
> and iterates over all of its DT subnodes
On Tue, Mar 9, 2021 at 10:37 AM Andy Shevchenko
wrote:
>
> GPIO library uses of_node and fwnode in the core in non-unified way.
> The series cleans this up and improves IRQ domain creation for non-OF cases
> where currently the names of the domain are 'unknown'.
>
> This has been tested on Intel
On Fri, Mar 12, 2021 at 12:40 PM Andy Shevchenko
wrote:
>
> On Fri, Mar 12, 2021 at 10:56:56AM +0100, Bartosz Golaszewski wrote:
> > From: Bartosz Golaszewski
> >
> > Provide managed variants of bitmap_alloc() and bitmap_zalloc().
>
> Perhaps I missed your answer t
On Fri, Mar 12, 2021 at 7:51 AM Ran Wang wrote:
>
> Current implementation only supports DT, now add ACPI support.
>
> Note that compared to device of 'fsl,qoriq-gpio', LS1028A and
> LS1088A's GPIO have no extra programming, so simplify related checking.
>
> Signed-off-by: Ran Wang
> ---
>
From: Bartosz Golaszewski
Add a set of tests for the new gpio-sim module. This is a pure shell
test-suite and uses the helper programs available in the gpio selftests
directory. These test-cases only test the functionalities exposed by the
gpio-sim driver, not those handled by core gpiolib code
From: Bartosz Golaszewski
Add a simple program that allows to read GPIO line names from the
character device. This will be used in gpio-sim selftests.
Signed-off-by: Bartosz Golaszewski
---
tools/testing/selftests/gpio/.gitignore | 1 +
tools/testing/selftests/gpio/Makefile
From: Bartosz Golaszewski
Add a simple program that allows to retrieve chip properties from the
GPIO character device. This will be used in gpio-sim selftests.
Signed-off-by: Bartosz Golaszewski
---
tools/testing/selftests/gpio/.gitignore | 1 +
tools/testing/selftests/gpio/Makefile
From: Bartosz Golaszewski
For better readability and maintenance: order the includes in bitmap
source files alphabetically.
Signed-off-by: Bartosz Golaszewski
Reviewed-by: Andy Shevchenko
---
include/linux/bitmap.h | 4 ++--
lib/bitmap.c | 9 +
2 files changed, 7 insertions
From: Bartosz Golaszewski
Implement a new, modern GPIO testing module controlled by configfs
attributes instead of module parameters. The goal of this driver is
to provide a replacement for gpio-mockup that will be easily extensible
with new features and doesn't require reloading the module
From: Bartosz Golaszewski
Provide managed variants of bitmap_alloc() and bitmap_zalloc().
Signed-off-by: Bartosz Golaszewski
Reviewed-by: Andy Shevchenko
---
include/linux/bitmap.h | 8
lib/bitmap.c | 33 +
2 files changed, 41 insertions
From: Bartosz Golaszewski
Add an example of using committable items to configfs samples. Each
config item has two attributes: read-write 'storeme' which works
similarly to other examples in this file and a read-only 'committed'
attribute which changes its value between false and true depending
From: Bartosz Golaszewski
This implements configfs committable items. We mostly follow the
documentation except that we extend config_group_ops with uncommit_item()
callback for reverting the changes made by commit_item().
Each committable group has two sub-directories: pending and live. New
From: Bartosz Golaszewski
The 'extern' keyword doesn't have any benefits in header files. Remove it.
Signed-off-by: Bartosz Golaszewski
Reviewed-by: Andy Shevchenko
---
include/linux/bitmap.h | 115 -
1 file changed, 57 insertions(+), 58 deletions
From: Bartosz Golaszewski
For better readability and maintenance: use the (1UL << bit) for flag
definitions.
Signed-off-by: Bartosz Golaszewski
Acked-by: Linus Walleij
---
fs/configfs/configfs_internal.h | 20 ++--
1 file changed, 10 insertions(+), 10 deletions(-)
diff
From: Bartosz Golaszewski
20 characters limit for item name is relatively small. Let's increase it
to 32 to fit '04-committable-children' - a name we'll use in the sample
code for committable items.
Signed-off-by: Bartosz Golaszewski
Acked-by: Linus Walleij
---
include/linux/configfs.h | 2
From: Bartosz Golaszewski
This series adds a new GPIO testing module based on configfs committable items
and sysfs. The goal is to provide a testing driver that will be configurable
at runtime (won't need module reload) and easily extensible. The control over
the attributes is also much more
On Wed, Mar 10, 2021 at 1:28 PM Andy Shevchenko
wrote:
>
[snip]
> > +
> > +static ssize_t gpio_sim_sysfs_line_show(struct device *dev,
> > + struct device_attribute *attr,
> > + char *buf)
> > +{
> > + struct
From: Bartosz Golaszewski
Add a set of tests for the new gpio-sim module. This is a pure shell
test-suite and uses the helper programs available in the gpio selftests
directory. These test-cases only test the functionalities exposed by the
gpio-sim driver, not those handled by core gpiolib code
From: Bartosz Golaszewski
Add a simple program that allows to read GPIO line names from the
character device. This will be used in gpio-sim selftests.
Signed-off-by: Bartosz Golaszewski
---
tools/testing/selftests/gpio/.gitignore | 1 +
tools/testing/selftests/gpio/Makefile
From: Bartosz Golaszewski
Add a simple program that allows to retrieve chip properties from the
GPIO character device. This will be used in gpio-sim selftests.
Signed-off-by: Bartosz Golaszewski
---
tools/testing/selftests/gpio/.gitignore | 1 +
tools/testing/selftests/gpio/Makefile
From: Bartosz Golaszewski
Implement a new, modern GPIO testing module controlled by configfs
attributes instead of module parameters. The goal of this driver is
to provide a replacement for gpio-mockup that will be easily extensible
with new features and doesn't require reloading the module
From: Bartosz Golaszewski
Provide managed variants of bitmap_alloc() and bitmap_zalloc().
Signed-off-by: Bartosz Golaszewski
Reviewed-by: Andy Shevchenko
---
include/linux/bitmap.h | 8
lib/bitmap.c | 33 +
2 files changed, 41 insertions
From: Bartosz Golaszewski
For better readability and maintenance: order the includes in bitmap
source files alphabetically.
Signed-off-by: Bartosz Golaszewski
Reviewed-by: Andy Shevchenko
---
include/linux/bitmap.h | 4 ++--
lib/bitmap.c | 9 +
2 files changed, 7 insertions
From: Bartosz Golaszewski
The 'extern' keyword doesn't have any benefits in header files. Remove it.
Signed-off-by: Bartosz Golaszewski
Reviewed-by: Andy Shevchenko
---
include/linux/bitmap.h | 115 -
1 file changed, 57 insertions(+), 58 deletions
From: Bartosz Golaszewski
20 characters limit for item name is relatively small. Let's increase it
to 32 to fit '04-committable-children' - a name we'll use in the sample
code for committable items.
Signed-off-by: Bartosz Golaszewski
Acked-by: Linus Walleij
---
include/linux/configfs.h | 2
From: Bartosz Golaszewski
Add an example of using committable items to configfs samples. Each
config item has two attributes: read-write 'storeme' which works
similarly to other examples in this file and a read-only 'committed'
attribute which changes its value between false and true depending
From: Bartosz Golaszewski
For better readability and maintenance: use the (1UL << bit) for flag
definitions.
Signed-off-by: Bartosz Golaszewski
Acked-by: Linus Walleij
---
fs/configfs/configfs_internal.h | 20 ++--
1 file changed, 10 insertions(+), 10 deletions(-)
diff
From: Bartosz Golaszewski
This implements configfs committable items. We mostly follow the
documentation except that we extend config_group_ops with uncommit_item()
callback for reverting the changes made by commit_item().
Each committable group has two sub-directories: pending and live. New
From: Bartosz Golaszewski
This series adds a new GPIO testing module based on configfs committable items
and sysfs. The goal is to provide a testing driver that will be configurable
at runtime (won't need module reload) and easily extensible. The control over
the attributes is also much more
On Tue, Mar 9, 2021 at 4:34 PM Bartosz Golaszewski wrote:
>
> Linus,
>
> Here's a bunch of fixes for the GPIO subsystem. We have two regressions in the
> core code spotted right after the merge window, a series of fixes for ACPI
> GPIO
> and a subsequent fix for a relat
-line-names to remedy a
regression in stm32mp151.
Please pull!
Best Regards,
Bartosz Golaszewski
The following changes since commit a38fd8748464831584a19438cbb3082b5a2dab15:
Linux 5.12-rc2 (2021-03-05 17:33:41 -0800)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux
On Thu, Mar 4, 2021 at 1:59 PM Andy Shevchenko
wrote:
>
> On Thu, Mar 04, 2021 at 11:24:45AM +0100, Bartosz Golaszewski wrote:
> > From: Bartosz Golaszewski
> >
> > The 'extern' keyword doesn't have any benefits in header files. Remove it.
>
> Reviewed-by: Andy Shev
On Mon, Mar 8, 2021 at 8:52 PM Andy Shevchenko
wrote:
>
> On Mon, Mar 08, 2021 at 09:36:52PM +0200, Andy Shevchenko wrote:
> > On Mon, Mar 08, 2021 at 08:29:27PM +0100, Bartosz Golaszewski wrote:
> > > On Mon, Mar 8, 2021 at 8:26 PM Rafael J. Wysocki
> > > wrot
On Mon, Mar 8, 2021 at 8:26 PM Rafael J. Wysocki wrote:
>
> On Mon, Mar 8, 2021 at 8:23 PM Bartosz Golaszewski
> wrote:
> >
> > On Mon, Mar 8, 2021 at 7:22 PM Rafael J. Wysocki wrote:
> > >
> > > On Thu, Mar 4, 2021 at 9:13 PM Andy Shevchenko
> >
On Mon, Mar 8, 2021 at 7:22 PM Rafael J. Wysocki wrote:
>
> On Thu, Mar 4, 2021 at 9:13 PM Andy Shevchenko
> wrote:
> >
> > GPIO library uses of_node and fwnode in the core in non-unified way.
> > The series cleans this up and improves IRQ domain creation for non-OF cases
> > where currently the
On Thu, Mar 4, 2021 at 12:01 PM Andy Shevchenko
wrote:
>
> On Thu, Mar 04, 2021 at 09:53:28AM +0100, Geert Uytterhoeven wrote:
> > On Mon, Mar 1, 2021 at 6:00 PM Andy Shevchenko
> > wrote:
> > > At least one module will benefit from using next_arg() helper.
> > > Let's export it for that module
On Mon, Mar 8, 2021 at 4:32 PM Andy Shevchenko
wrote:
>
> On Mon, Mar 08, 2021 at 04:13:33PM +0100, Bartosz Golaszewski wrote:
> > On Mon, Mar 8, 2021 at 4:05 PM Andy Shevchenko
> > wrote:
> > > On Mon, Mar 08, 2021 at 03:23:31PM +0100, Bartosz Golaszewski wrote:
&g
On Wed, Mar 3, 2021 at 9:43 PM Jonathan Neuschäfer
wrote:
>
> Make it so that this #include line is rendered in monospace, like other
> code blocks.
>
> Signed-off-by: Jonathan Neuschäfer
> ---
> Documentation/driver-api/gpio/consumer.rst | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
On Mon, Mar 8, 2021 at 4:05 PM Andy Shevchenko
wrote:
>
> On Mon, Mar 08, 2021 at 03:23:31PM +0100, Bartosz Golaszewski wrote:
> > On Fri, Mar 5, 2021 at 11:15 AM Andy Shevchenko
> > wrote:
> > > On Thu, Mar 04, 2021 at 09:15:29PM +0100, Bartosz Golaszewski wrote:
On Fri, Feb 19, 2021 at 11:39 PM Luca Ceresoli wrote:
>
> "GOIO" should be "GPIO" here.
>
> Signed-off-by: Luca Ceresoli
> ---
For GPIO part:
Acked-by: Bartosz Golaszewski
On Fri, Mar 5, 2021 at 11:15 AM Andy Shevchenko
wrote:
>
> On Thu, Mar 04, 2021 at 09:15:29PM +0100, Bartosz Golaszewski wrote:
> > On Thu, Mar 4, 2021 at 2:15 PM Andy Shevchenko
> > wrote:
> > > On Thu, Mar 04, 2021 at 11:24:49AM +0100, Bartosz Golaszewski w
On Mon, Mar 8, 2021 at 12:45 PM Andy Shevchenko
wrote:
>
> On Sun, Mar 07, 2021 at 06:14:49PM +0200, Andy Shevchenko wrote:
> > On Sun, Mar 7, 2021 at 4:22 PM Bartosz Golaszewski
> > wrote:
> > > On Fri, Mar 5, 2021 at 1:02 PM Andy Shevchenko
> > > wrote:
&
1 - 100 of 5653 matches
Mail list logo