On Thu, Apr 26, 2018 at 6:42 PM, Bartosz Golaszewski <b...@bgdev.pl> wrote:
> 2018-04-26 14:07 GMT+02:00 Linus Walleij <linus.wall...@linaro.org>:
>> On Tue, Apr 10, 2018 at 10:30 PM, Bartosz Golaszewski <b...@bgdev.pl> wrote:
>>
>>> Board files
g: unable to hog GPIO line $LABEL $GPIONR -517" error
> for every single gpio-hog and wonder why :(.
Hm maybe we can simply improbe the error messages so
people realize they have to go and fix their pin control driver(s)?
OK maybe a bit whimsical comment from me here... :/
Yours,
Linus Walle
t I bet you intend to follow up with some machine patches
and then it is immediately worth it.
Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-doc" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
you to get this code into the kernel, so:
Acked-by: Linus Walleij <linus.wall...@linaro.org>
The following is an observation for future improvement:
> +static int cdns_i3c_gpio_read_reg(struct cdns_i3c_gpio *gpioc, u8 reg,
> + u8 *val)
> +{
If some specific domain knowledge is needed to read and
understand the document, you need to state these prerequisites
at the beginning of the document.
Something like: "if you don't know a lot about virtualization already,
then don't even bother trying to read this document".
Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-doc" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
> Documentation: gpio: Move drivers-on-gpio.txt to driver-api
I applied all 8 patches to devel for v4.17.
Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-doc" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
to take these through the docs tree or see them go via
> GPIO; Linus, what's your preference?
I might have some doc patches that could collide so I can take them.
I take it there will be a v2?
Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-doc
the user likely has an idea about the
whole system that is comprehensive. They use the random
raspberry Pi (etc) development board for this. OK.
When we are talking about adding GPIO in mass-market goods
such as phones and tablets and laptops userspace GPIO
access become more and more dubious.
Yours,
Lin
On Fri, Oct 20, 2017 at 9:17 AM, Linus Walleij <linus.wall...@linaro.org> wrote:
> On Fri, Oct 20, 2017 at 5:37 AM, Andrew Jeffery <and...@aj.id.au> wrote:
>
>> GPIO state reset tolerance is implemented in gpiolib through the
>> addition of a new pinconf param
cumentation/ABI/obsolete/sysfs-gpio
that's why. This is being phased out and should not be extended.
Everyone should use the character device, especially for new
functionality.
Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-doc" in
the body of a message
o assume persistance for
userspace use cases, don't you think? Whether the system goes to sleep
or the gpiochip resets should not make a door suddenly close or the
lights in the christmas tree go out, right? I think if the gpiochip supports
persistance of any kind, we should try to use it and not
Now you're mixing up decimal and hex.
Anyways, I do not think this is necessary.
Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-doc" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
ster bits (or similar) where you can select to preserve across
sleep, reset, one or the other, AND there is also a usecase such that
a user wants to preserve the value across reset but not suspend or
vice versa.
I suspect that will not happen.
Yours,
Linus Walleij
--
To unsubscribe from thi
On Thu, Oct 12, 2017 at 10:24 PM, Tom Saeger <tom.sae...@oracle.com> wrote:
> Signed-off-by: Tom Saeger <tom.sae...@oracle.com>
Patch applied.
Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-doc" in
the body of a message to major
than Cameron <jonathan.came...@huawei.com>
> Reviewed-by: Linus Walleij <linus.wall...@linaro.org>
I applied this to the GPIO tree after pulling the infrastructure
from Thomas branch.
Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscrib
it/tip/tip.git irq/for-gpio
Awesome, thanks Thomas. I pulled this into the GPIO devel branch.
Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-doc" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
do
otherwise is complain "it is broken" and then they start to hack
around it instead of helping out with the core. (I think you're
well aware of that phenomenon.)
Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-doc" in
the body of a message t
On Tue, Aug 1, 2017 at 4:50 PM, Bartosz Golaszewski <b...@bgdev.pl> wrote:
> Shrink the driver by removing the code dealing with dummy interrupts
> and replacing it with calls to the irq_sim API.
>
> Signed-off-by: Bartosz Golaszewski <b...@bgdev.pl>
Reviewed-by: L
.@o2linux.fr>
> Fixes: 5a9b73832e9e ("pinctrl.txt: move it to the driver-api book")
Patch applied for fixes.
Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-doc" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
On Wed, Jul 19, 2017 at 2:20 PM, Bartosz Golaszewski <b...@bgdev.pl> wrote:
> Shrink the driver by removing the code dealing with dummy interrupts
> and replacing it with calls to the irq_sim API.
>
> Signed-off-by: Bartosz Golaszewski <b...@bgdev.pl>
Reviewed-by: L
ally GPIO(-ish) lines are armed and the system put to sleep, and
when it comes up, the information of what line woke it up is there in a
special register, but the actual (synchronous) interrupt line is no longer
asserted or edge triggered, so an interrupt need to be inserted.
Yours,
Linus Walleij
-
On Sat, Jun 17, 2017 at 5:03 PM, Mauro Carvalho Chehab
<mche...@s-opensource.com> wrote:
> Linus Walleij <linus.wall...@linaro.org> escreveu:
>> Should the file be renamed pinctrl.rst now?
>
> If you just rename it, Sphinx will complain because it doesn't
>
at I need to apply and what I can ignore.
Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-doc" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
> Signed-off-by: Icenowy Zheng <icen...@aosc.io>
> Acked-by: Rob Herring <r...@kernel.org>
> ---
> Changes in v3:
> - Added Rob's ACK.
Patch applied with Chen-Yu's review tag.
Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-doc&quo
Changes in v3:
> - Only remove the A20 driver(A10 driver for A20 is enabled in
> the previous commit now).
Patch applied with Chen-Yu's review tag, and I also fixed
up the Makefile by removing the rule for this file.
Yours,
Linus Walleij
--
To unsubscribe from this list: send the line
y Zheng <icen...@aosc.io>
> ---
> Changes in v3:
> - Enable A10 driver for A20 and disable A20 driver in this commit, in
> order to prevent A10 driver from conflicting with A20 driver.
Patch applied with Chen-Yu's review tag.
Yours,
Linus Walleij
--
To unsubscribe from this list: send th
-by: Icenowy Zheng <icen...@aosc.io>
> ---
> Changes in v3:
> - Commit message change.
Patch applied with Chen-Yu's review tag.
Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-doc" in
the body of a message to majord...@vger.kernel.o
@s-opensource.com>
I applied the patch fixing some of the indentation mistakes pointed
out by Geert.
Should the file be renamed pinctrl.rst now?
Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-doc" in
the body of a message to majord...@vger.ker
fore
> R40 support is added into the A10 driver.
I'd be happy to merge the pinctrl parts as soon as you fixed the
things pointed out during review. Include Rob's ACKs on the
DT binding patches please.
Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-doc
es on this board
like in the other rpi boards, should be something like:
{
gpio-line-names = "...", "...";
};
This is very helpful for users.
Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-doc" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
ht to me but I'm waiting for Maxime's review on these
patches.
Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-doc" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
On Tue, Jan 3, 2017 at 4:16 PM, Icenowy Zheng <icen...@aosc.xyz> wrote:
> V3s SoC features only a pin controller (for the lack of CPUs part).
>
> Add a driver for this controller.
>
> Signed-off-by: Icenowy Zheng <icen...@aosc.xyz>
Patch applied with Maxime's
On Sat, Oct 29, 2016 at 12:10 PM, Mauro Carvalho Chehab
<mche...@s-opensource.com> wrote:
> The "What:" field at the ABI should describe the location of
> the ABI, e. g. the position under a mounted sysfs.
>
> Fix it.
>
> Cc: Mark Godfrey <mark.godf..
On Mon, Oct 3, 2016 at 10:45 AM, Pavel Machek <pa...@ucw.cz> wrote:
> Using "->" to indicate range is not too common, switch to ".."
>
> Signed-off-by: Pavel Machek <pa...@ucw.cz>
You sent this patch to me... resend it to the regulator maintainer.
On Mon, Oct 3, 2016 at 10:43 AM, Pavel Machek <pa...@ucw.cz> wrote:
> gpiod_set_value() is preffered interface these days, so add a
> pointer. Also fix a missing ).
>
> Signed-off-by: Pavel Machek <pa...@ucw.cz>
Patch applied with some tweaking.
Yours,
Linus Wallei
On Fri, Jun 10, 2016 at 9:16 AM, Andrew Jeffery <and...@aj.id.au> wrote:
> Signed-off-by: Andrew Jeffery <and...@aj.id.au>
Patch applied.
Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-doc" in
the body of a message to major
On Fri, Jun 10, 2016 at 9:16 AM, Andrew Jeffery <and...@aj.id.au> wrote:
> Signed-off-by: Andrew Jeffery <and...@aj.id.au>
Patch applied.
Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-doc" in
the body of a message to major
<ldewan...@nvidia.com>
> CC: Linus Walleij <linus.wall...@linaro.org>
Acked-by: Linus Walleij <linus.wall...@linaro.org>
Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-doc" in
the body of a message to majord...@vger.kerne
Ks on your branch and ask me to pull it after v4.6-rc1.
No need to resend the patches.
Unfortunately it arrived too late for the merge window, but hey: we got the
devm gpiochip in for v4.6.
Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-doc" in
th
t;
> Signed-off-by: Gabor Juhos <juh...@openwrt.org>
Patch applied.
Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-doc" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
ly guess I like this too, so wait a while, collect ACKs
and send me a branch to pull for this too.
Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-doc" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
ochip
I've pulled this branch into my tree on a separate branch for
testing. I pushed the tree to kernel.org so that the zeroday
autobuilders can have a go at it.
If everything goes well I plan to merge this for v4.6, then we
can merge the changes in pin control and other subsystems
for v4.7.
Yo
gpio: Add devm_ apis for gpio_chip_add and remove
Awesome!
Do you have a git I can just pull these off so I don't have to apply
then all one-by-one?
Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-doc" in
the body of a message to majord...@vger
Jens Axboe <ax...@kernel.dk>
Signed-off-by: Linus Walleij <linus.wall...@linaro.org>
---
Greg I guess this can go through the drivercore tree?
---
CREDITS | 1 +
Documentation/devices.txt | 80 +++
2 files changed, 26 insertions
44 matches
Mail list logo