From: Bartosz Golaszewski
On Thu, 24 Jul 2025 16:36:52 +0200, Harald Mommer wrote:
> Fix for Virtio GPIO Linux driver
>
> The Virtio GPIO Linux driver reads the configuration space in a way not
> conformant with the virtio specification. The hypervisor we are using is
> st
On Thu, Jul 17, 2025 at 4:10 PM Harald Mommer
wrote:
>
> Quote from the virtio specification chapter 4.2.2.2:
>
> "For the device-specific configuration space, the driver MUST use 8 bit
> wide accesses for 8 bit wide fields, 16 bit wide and aligned accesses
> for 16 bit wide fields and 32 bit wide
From: Bartosz Golaszewski
On Mon, 07 Jul 2025 09:50:13 +0200, Bartosz Golaszewski wrote:
> Commit 98ce1eb1fd87e ("gpiolib: introduce gpio_chip setters that return
> values") added new line setter callbacks to struct gpio_chip. They allow
> to indicate failures to callers. W
From: Bartosz Golaszewski
struct gpio_chip now has callbacks for setting line values that return
an integer, allowing to indicate failures. Convert the driver to using
them.
Signed-off-by: Bartosz Golaszewski
---
drivers/gpio/gpio-uniphier.c | 16 ++--
1 file changed, 10
From: Bartosz Golaszewski
struct gpio_chip now has callbacks for setting line values that return
an integer, allowing to indicate failures. Convert the driver to using
them.
Signed-off-by: Bartosz Golaszewski
---
drivers/gpio/gpio-virtio.c | 7 ---
1 file changed, 4 insertions(+), 3
From: Bartosz Golaszewski
struct gpio_chip now has callbacks for setting line values that return
an integer, allowing to indicate failures. Convert the driver to using
them.
Signed-off-by: Bartosz Golaszewski
---
drivers/gpio/gpio-viperboard.c | 116
From: Bartosz Golaszewski
It's ok for a GPIO controller to be output-only but the .direction_out()
callback must also set the requested line value.
Signed-off-by: Bartosz Golaszewski
---
drivers/gpio/gpio-twl6040.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
From: Bartosz Golaszewski
struct gpio_chip now has callbacks for setting line values that return
an integer, allowing to indicate failures. Convert the driver to using
them.
Signed-off-by: Bartosz Golaszewski
---
drivers/gpio/gpio-twl6040.c | 9 +
1 file changed, 5 insertions(+), 4
From: Bartosz Golaszewski
struct gpio_chip now has callbacks for setting line values that return
an integer, allowing to indicate failures. Convert the driver to using
them.
Signed-off-by: Bartosz Golaszewski
---
drivers/gpio/gpio-twl4030.c | 23 ---
1 file changed, 12
From: Bartosz Golaszewski
struct gpio_chip now has callbacks for setting line values that return
an integer, allowing to indicate failures. Convert the driver to using
them.
Signed-off-by: Bartosz Golaszewski
---
drivers/gpio/gpio-ts4900.c | 14 +++---
1 file changed, 7 insertions
From: Bartosz Golaszewski
struct gpio_chip now has callbacks for setting line values that return
an integer, allowing to indicate failures. Convert the driver to using
them.
Signed-off-by: Bartosz Golaszewski
---
drivers/gpio/gpio-tqmx86.c | 8 +---
1 file changed, 5 insertions(+), 3
From: Bartosz Golaszewski
struct gpio_chip now has callbacks for setting line values that return
an integer, allowing to indicate failures. Convert the driver to using
them.
Signed-off-by: Bartosz Golaszewski
---
drivers/gpio/gpio-tps68470.c | 14 +-
1 file changed, 9 insertions
From: Bartosz Golaszewski
struct gpio_chip now has callbacks for setting line values that return
an integer, allowing to indicate failures. Convert the driver to using
them.
Signed-off-by: Bartosz Golaszewski
---
drivers/gpio/gpio-tps65912.c | 10 +-
1 file changed, 5 insertions(+), 5
From: Bartosz Golaszewski
struct gpio_chip now has callbacks for setting line values that return
an integer, allowing to indicate failures. Convert the driver to using
them.
Signed-off-by: Bartosz Golaszewski
---
drivers/gpio/gpio-tps65910.c | 21 -
1 file changed, 12
series
converts another round of GPIO drivers.
To:
Signed-off-by: Bartosz Golaszewski
---
Bartosz Golaszewski (12):
gpio: tps65910: use new GPIO line value setter callbacks
gpio: tps65912: check the return value of regmap_update_bits()
gpio: tps65912: use new GPIO line value s
From: Bartosz Golaszewski
regmap_update_bits() can fail, check its return value like we do
elsewhere in the driver.
Signed-off-by: Bartosz Golaszewski
---
drivers/gpio/gpio-tps65912.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/drivers/gpio/gpio-tps65912.c b
From: Bartosz Golaszewski
On Wed, 22 Jan 2025 13:33:09 +0900, Koichiro Den wrote:
> Since upstream commit 8bd76b3d3f3a ("gpio: sim: lock up configfs that an
> instantiated device depends on"), rmdir for an active virtual devices
> been prohibited.
>
> Update gpio-sim s
On Thu, Jan 23, 2025 at 2:26 PM Koichiro Den wrote:
>
> On Wed, Jan 22, 2025 at 10:26:27AM GMT, Bartosz Golaszewski wrote:
> >
> > Hi! Thanks for addressing it.
> >
> > Is there any place in this file where we'd call remove_chip() without
> > callin
On Wed, Jan 22, 2025 at 5:33 AM Koichiro Den wrote:
>
> Since upstream commit 8bd76b3d3f3a ("gpio: sim: lock up configfs that an
> instantiated device depends on"), rmdir for an active virtual devices
> been prohibited.
>
> Update gpio-sim selftest to align with the change.
>
> Reported-by: kernel
From: Bartosz Golaszewski
On Fri, 03 Jan 2025 12:11:56 +0100, Luca Weiss wrote:
> While out-of-tree already two of the three camera sensors are working on
> this smartphone, getting those upstream-ready will still take a while.
>
> Until then already enable the EEPROMs found on
min, max);
> ip_vs_conn_tab_bits = clamp_val(ip_vs_conn_tab_bits, min, max);
> ip_vs_conn_tab_size = 1 << ip_vs_conn_tab_bits;
> ip_vs_conn_tab_mask = ip_vs_conn_tab_size - 1;
> --
> 2.45.2
>
Tested-by: Bartosz Golaszewski
Reviewed-by: Bartosz Golaszewski
From: Bartosz Golaszewski
Enable all remoteproc nodes on the sa8775p-ride board and point to the
appropriate firmware files.
Reviewed-by: Dmitry Baryshkov
Signed-off-by: Bartosz Golaszewski
---
arch/arm64/boot/dts/qcom/sa8775p-ride.dts | 25 +
1 file changed, 25
From: Tengfei Fan
Add nodes for remoteprocs: ADSP, CDSP0, CDSP1, GPDSP0 and GPDSP1 for
SA8775p SoCs.
Reviewed-by: Dmitry Baryshkov
Signed-off-by: Tengfei Fan
Co-developed-by: Bartosz Golaszewski
Signed-off-by: Bartosz Golaszewski
---
arch/arm64/boot/dts/qcom/sa8775p.dtsi | 332
From: Tengfei Fan
Add support for PIL loading on ADSP, CDSP0, CDSP1, GPDSP0 and GPDSP1 on
SA8775p SoCs.
Signed-off-by: Tengfei Fan
Co-developed-by: Bartosz Golaszewski
Signed-off-by: Bartosz Golaszewski
---
drivers/remoteproc/qcom_q6v5_pas.c | 92 ++
1
From: Tengfei Fan
Add GPDSP0 and GPDSP1 clients for SA8775p platform.
Signed-off-by: Tengfei Fan
Acked-by: Krzysztof Kozlowski
Signed-off-by: Bartosz Golaszewski
---
include/dt-bindings/mailbox/qcom-ipcc.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/dt-bindings/mailbox
-...@vger.kernel.org
Cc: linux-remotep...@vger.kernel.org
Cc: devicet...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Bartosz Golaszewski
Changes in v3:
- Unify the nsp power domain names across both CDSPs
- Sort out SoB tags
- Fix firmware names in the PAS driver
- Fix cdsp0 name in
From: Bartosz Golaszewski
Document the components used to boot the ADSP, CDSP0, CDSP1, GPDSP0 and
GPDSP1 on the SA8775p SoC.
Signed-off-by: Bartosz Golaszewski
---
.../bindings/remoteproc/qcom,sa8775p-pas.yaml | 160 +
1 file changed, 160 insertions(+)
diff --git a
On Mon, May 27, 2024 at 10:56 AM Krzysztof Kozlowski wrote:
>
> On 27/05/2024 10:43, Bartosz Golaszewski wrote:
> > From: Bartosz Golaszewski
> >
> > Document the components used to boot the ADSP, CDSP0, CDSP1, GPDSP0 and
> > GPDSP1 on the SA8775p SoC.
> &
From: Bartosz Golaszewski
Enable all remoteproc nodes on the sa8775p-ride board and point to the
appropriate firmware files.
Signed-off-by: Bartosz Golaszewski
---
arch/arm64/boot/dts/qcom/sa8775p-ride.dts | 25 +
1 file changed, 25 insertions(+)
diff --git a/arch
From: Tengfei Fan
Add nodes for remoteprocs: ADSP, CDSP0, CDSP1, GPDSP0 and GPDSP1 for
SA8775p SoCs.
Signed-off-by: Tengfei Fan
Co-developed-by: Bartosz Golaszewski
Signed-off-by: Bartosz Golaszewski
---
arch/arm64/boot/dts/qcom/sa8775p.dtsi | 332 ++
1 file
From: Tengfei Fan
Add support for PIL loading on ADSP, CDSP0, CDSP1, GPDSP0 and GPDSP1 on
SA8775p SoCs.
Signed-off-by: Tengfei Fan
Co-developed-by: Bartosz Golaszewski
Signed-off-by: Bartosz Golaszewski
---
drivers/remoteproc/qcom_q6v5_pas.c | 92 ++
1
From: Tengfei Fan
Add GPDSP0 and GPDSP1 clients for SA8775p platform.
Signed-off-by: Tengfei Fan
Acked-by: Krzysztof Kozlowski
Signed-off-by: Bartosz Golaszewski
---
include/dt-bindings/mailbox/qcom-ipcc.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/dt-bindings/mailbox
From: Bartosz Golaszewski
Document the components used to boot the ADSP, CDSP0, CDSP1, GPDSP0 and
GPDSP1 on the SA8775p SoC.
Co-developed-by: Tengfei Fan
Signed-off-by: Bartosz Golaszewski
---
.../bindings/remoteproc/qcom,sa8775p-pas.yaml | 177 +
1 file changed, 177
Add DT bindings, relevant DT defines, DTS nodes and driver changes
required to enable the remoteprocs on sa8775p.
Signed-off-by: Bartosz Golaszewski
---
Changes in v2:
- Move the DT bindings for sa8775p-pas into a separate file
- Link to v1:
https://lore.kernel.org/r/20240522-topic-lemans-iot
On Wed, May 22, 2024 at 3:06 PM wrote:
>
> On 22/05/2024 15:04, Bartosz Golaszewski wrote:
> > On Wed, May 22, 2024 at 2:42 PM wrote:
> >>
> >> On 22/05/2024 14:08, Bartosz Golaszewski wrote:
> >>> From: Tengfei Fan
> >>>
> >>>
On Wed, May 22, 2024 at 2:42 PM wrote:
>
> On 22/05/2024 14:08, Bartosz Golaszewski wrote:
> > From: Tengfei Fan
> >
> > Document the compatibles for the components used to boot the ADSP, CDSP0,
> > CDSP1, GPDSP0 and GPDSP1 on the SA8775p SoC.
> >
> > Si
From: Tengfei Fan
Add nodes for remoteprocs: ADSP, CDSP0, CDSP1, GPDSP0 and GPDSP1 for
SA8775p SoCs.
Signed-off-by: Tengfei Fan
Co-developed-by: Bartosz Golaszewski
Signed-off-by: Bartosz Golaszewski
---
arch/arm64/boot/dts/qcom/sa8775p.dtsi | 332 ++
1 file
From: Bartosz Golaszewski
Enable all remoteproc nodes on the sa8775p-ride board and point to the
appropriate firmware files.
Signed-off-by: Bartosz Golaszewski
---
arch/arm64/boot/dts/qcom/sa8775p-ride.dts | 25 +
1 file changed, 25 insertions(+)
diff --git a/arch
From: Tengfei Fan
Add support for PIL loading on ADSP, CDSP0, CDSP1, GPDSP0 and GPDSP1 on
SA8775p SoCs.
Signed-off-by: Tengfei Fan
Co-developed-by: Bartosz Golaszewski
Signed-off-by: Bartosz Golaszewski
---
drivers/remoteproc/qcom_q6v5_pas.c | 92 ++
1
From: Tengfei Fan
Add GPDSP0 and GPDSP1 clients for SA8775p platform.
Signed-off-by: Tengfei Fan
Signed-off-by: Bartosz Golaszewski
---
include/dt-bindings/mailbox/qcom-ipcc.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/dt-bindings/mailbox/qcom-ipcc.h
b/include/dt-bindings
From: Tengfei Fan
Document the compatibles for the components used to boot the ADSP, CDSP0,
CDSP1, GPDSP0 and GPDSP1 on the SA8775p SoC.
Signed-off-by: Tengfei Fan
Co-developed-by: Bartosz Golaszewski
Signed-off-by: Bartosz Golaszewski
---
.../bindings/remoteproc/qcom,sm8550-pas.yaml
Add DT bindings, relevant DT defines, DTS nodes and driver changes
required to enable the remoteprocs on sa8775p.
Signed-off-by: Bartosz Golaszewski
---
Bartosz Golaszewski (1):
arm64: dts: qcom: sa8775p-ride: enable remoteprocs
Tengfei Fan (4):
dt-bindings: remoteproc: qcom,sm8550
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,
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:
> >>
> >>
regulator_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 6cb59afe9e5b45a035bd6b97da6593743fe
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 c
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/dts/s
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 Gr
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: 3f
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 the
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 be
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) S
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 8a68e
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 IC
&g
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
>
0e2589f ("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: sep
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.kernel.o
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
>
> S
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.
>
> F
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.
>
> Signe
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
onflicts with 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 pin-contro
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
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
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(+
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 modu
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
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
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 fals
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/
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
1 - 100 of 1213 matches
Mail list logo