Re: [git pull] pinctrl: sh-pfc: Updates for v4.21 (take two)

2018-12-07 Thread Linus Walleij
e two" version into my devel branch! Thanks! Linus Walleij

Re: [PATCH] gpio: rcar: reference device instead of platform device

2018-12-05 Thread Linus Walleij
y: Vladimir Zapolskiy Patch applied with Geert's review tag. Yours, Linus Walleij

Re: [RFC v3 1/2] pinctrl: core: Add pinctrl_mux_gpio_request_enable

2018-12-05 Thread Linus Walleij
what the function is doing. Yours, Linus Walleij

Re: [git pull] pinctrl: sh-pfc: Updates for v4.21

2018-11-25 Thread Linus Walleij
nel/git/geert/renesas-drivers.git > tags/sh-pfc-for-v4.21-tag1 > > for you to fetch changes up to b59d0e782706785b7042539e820e95df3be4d04c: > > pinctrl: Add RZ/A2 pin and gpio controller (2018-11-23 09:30:27 +0100) Pulled into my devel branch! Excellent work as always, thanks a lot Geert! Yours, Linus Walleij

Re: [PATCH] MAINTAINERS: Add Renesas RZ/A and RZ/N files to Renesas pinctrl section

2018-10-30 Thread Linus Walleij
Acked-by: Linus Walleij Yours, Linus Walleij

Re: [RFC] gpio: rcar: Request GPIO before enabling interrupt

2018-10-28 Thread Linus Walleij
here is sometimes more than one way to do things around here :/ Geert will know what is best. Yours, Linus Walleij

Re: [git pull] pinctrl: sh-pfc: Updates for v4.20 (take three)

2018-10-10 Thread Linus Walleij
tory at: > > git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git > tags/sh-pfc-for-v4.20-tag3 > > for you to fetch changes up to ef26d96023a4c34b1bcc4294f570df2b63a1b952: Pulled into the pinctrl "devel" branch, thanks! Yours, Linus Walleij

Re: [git pull] pinctrl: sh-pfc: Updates for v4.20 (take two)

2018-10-01 Thread Linus Walleij
-28 09:49:15 +0200) Pulled into my "devel" branch now, thanks! Yours, Linus Walleij

Re: [PATCH] gpiolib: use better errno if get_direction is not available

2018-09-14 Thread Linus Walleij
On Tue, Sep 11, 2018 at 2:04 PM Geert Uytterhoeven wrote: > On Sun, Jul 29, 2018 at 11:33 PM Linus Walleij > wrote:> > On Wed, Jul 25, 2018 at 10:20 PM Wolfram Sang > wrote: > > > > That all being said, I think this patch is still useful as is. > > > >

Re: [PATCH V2 RESEND] gpio: of: make example syntactically correct

2018-09-10 Thread Linus Walleij
On Sun, Jan 21, 2018 at 1:12 PM Wolfram Sang wrote: > The ';' was missing. And cosmetic: there was a space too much. > > Signed-off-by: Wolfram Sang > Reviewed-by: Niklas Söderlund > --- > > No changes since V2, only Niklas' tag added. Patch applied with Geert's ACK. Yours, Linus Walleij

Re: [git pull] pinctrl: sh-pfc: Updates for v4.20

2018-08-31 Thread Linus Walleij
nel/git/geert/renesas-drivers.git > tags/sh-pfc-for-v4.20-tag1 > > for you to fetch changes up to 2ed03c835d6f4dbe9f0d093187825d1c0e2e9b39: > > pinctrl: sh-pfc: r8a77990: Add DU pins, groups and function (2018-08-30 > 14:17:20 +0200) Pulled into pinctrl "devel" branch, thanks! Yours, Linus Walleij

Re: [PATCH v3 2/5] dt-bindings: gpio: rcar: Add gpio-reserved-ranges support

2018-08-29 Thread Linus Walleij
On Tue, Aug 7, 2018 at 10:03 AM Biju Das wrote: > Update the DT bindings documentation with the optional gpio-reserved-ranges > properties. > > Signed-off-by: Biju Das > Reviewed-by: Fabrizio Castro Patch applied with the ACKs. Yours, Linus Walleij

Re: [PATCH v3 1/5] gpio: rcar: Add GPIO hole support

2018-08-29 Thread Linus Walleij
iju Das Patch applied with Geert's review tag. Yours, Linus Walleij

Re: [PATCH 0/2] Add R8A774A1 PFC support

2018-08-14 Thread Linus Walleij
On Mon, Aug 13, 2018 at 3:58 PM Biju Das wrote: > This patch series aims to add PFC support for RZ/G2M SoC. Looks good to me, Geert will queue the patches when he's happy. Yours, Linus Walleij

Re: [PATCH] gpiolib: Avoid calling chip->request() for unused gpios

2018-08-10 Thread Linus Walleij
On Tue, Aug 7, 2018 at 9:21 AM Biju Das wrote: > Add a check for unused gpios to avoid chip->request() call to client > driver for unused gpios. > > Signed-off-by: Biju Das > Reviewed-by: Fabrizio Castro Patch applied with Geert's ACK. Yours, Linus Walleij

Re: [PATCH] gpiolib: Fix of_node inconsistency

2018-08-06 Thread Linus Walleij
uires every driver in the kernel to pass in a valid parent device representing the OF node. And there are so many hairy corner cases where they don't. Yours, Linus Walleij

Re: [PATCH v2 2/5] dt-bindings: gpio: rcar: Add gpio-reserved-ranges support

2018-08-06 Thread Linus Walleij
erved-ranges: See gpio.txt Maybe you could add an extra example using the reserved ranges? Yours, Linus Walleij

Re: [PATCH] gpiolib: use better errno if get_direction is not available

2018-07-29 Thread Linus Walleij
On Wed, Jul 25, 2018 at 10:20 PM Wolfram Sang wrote: > > That all being said, I think this patch is still useful as is. > > Linus, do you have time to comment on this? This looks like a good solution to me. Reviewed-by: Linus Walleij Yours, Linus Walleij

Re: [PATCH 07/12] i2c: stu300: use core to detect 'no zero length' quirk

2018-07-25 Thread Linus Walleij
On Mon, Jul 23, 2018 at 10:26 PM Wolfram Sang wrote: > And don't reimplement in the driver. > > Signed-off-by: Wolfram Sang Reviewed-by: Linus Walleij Yours, Linus Walleij

Re: [PATCH] gpio: rcar: Implement .get_direction() callback

2018-07-13 Thread Linus Walleij
On Thu, Jul 12, 2018 at 11:31 AM Geert Uytterhoeven wrote: > Allow gpiolib to read back the current I/O direction configuration by > implementing the .get_direction() callback. > > Signed-off-by: Geert Uytterhoeven Patch applied with the tags! Yours, Linus Walleij

Re: [git pull] pinctrl: sh-pfc: Updates for v4.19

2018-07-09 Thread Linus Walleij
ranch, thanks for excellent work as usual! Yours, Linus Walleij

Re: [PATCH v2] pinctrl: sh-pfc: r8a77970: remove SH_PFC_PIN_CFG_DRIVE_STRENGTH flag

2018-07-09 Thread Linus Walleij
ENGTH from all pins. > > Fixes: b92ac66a1819602b ("pinctrl: sh-pfc: Add R8A77970 PFC support") > Signed-off-by: Niklas Söderlund > Reviewed-by: Simon Horman > Reviewed-by: Sergei Shtylyov > Reviewed-by: Geert Uytterhoeven Patch applied directly for fixes per Geert's suggestion. Yours, Linus Walleij

Re: [RFC PATCH] i2c: gpio: initialize SCL to HIGH again

2018-06-26 Thread Linus Walleij
ate power throught the pull-up resistor), so please queue this as a fix and also tag for stable. Reviewed-by: Linus Walleij Yours, Linus Walleij

Re: [PATCH] pci: fix I/O space page leak

2018-06-26 Thread Linus Walleij
78170efd4 ("PCI: versatile: Add DT-based ARM Versatile PB PCIe host > driver") > Fixes: 5f6b6ccdbe1c ("PCI: xgene: Add APM X-Gene PCIe driver") > Fixes: 637cfacae96f ("PCI: mediatek: Add MediaTek PCIe host controller > support") > Signed-off-by: Sergei Shtylyov > Cc: sta...@vger.kernel.org Nice, clean and thorough fix! Reviewed-by: Linus Walleij Yours, Linus Walleij

Re: [PATCH] gpio: dwapb: Fix rework support for 1 interrupt per port A GPIO

2018-05-28 Thread Linus Walleij
> Signed-off-by: Phil Edworthy <phil.edwor...@renesas.com> Patch applied! Yours, Linus Walleij

Re: [git pull] pinctrl: sh-pfc: Updates for v4.18 (take two)

2018-05-24 Thread Linus Walleij
tatic pin comments (2018-05-23 > 14:43:49 +0200) Pulled into my "devel" branch for v4.18, thanks! Yours, Linus Walleij

Re: [PATCH] gpio: dwapb: Rework support for 1 interrupt per port A GPIO

2018-05-23 Thread Linus Walleij
platform device. > > This also fixes a problem introduced with error checking when calling > platform_get_irq(). > > Signed-off-by: Phil Edworthy <phil.edwor...@renesas.com> OK this patch applied! Yours, Linus Walleij

Re: [PATCH v6] gpio: dwapb: Add support for 1 interrupt per port A GPIO

2018-05-23 Thread Linus Walleij
hat is in my devel branch and send incremental patches on top if something needs changing? https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git/commit/?h=devel=e6ca26abd37606ba4864f20c85d3fe4a2173b93f Sorry for not knowing by heart what was applied or when, it's just too much for me sometimes. Yours, Linus Walleij

Re: [PATCH] dt-bindings: gpio: rcar: Add support for r8a77990

2018-05-23 Thread Linus Walleij
h Simon's ACK. Yours, Linus Walleij

Re: [PATCH v5] gpio: dwapb: Add support for 1 interrupt per port A GPIO

2018-05-02 Thread Linus Walleij
<lee.jo...@linaro.org> Patch applied for v4.18 with Hoan's ACK. Yours, Linus Walleij

Re: [PATCH 10/61] gpio: simplify getting .drvdata

2018-04-30 Thread Linus Walleij
ot the actual patch, I guess I will find it sooner or later. Wolfram: if I don't find it, poke me with something sharp so I get to apply it. Yours, Linus Walleij

Re: [PATCH] i2c: busses: remove superfluous ignoring of children for RPM

2018-04-30 Thread Linus Walleij
eed for drivers to > repeat that again. > > Signed-off-by: Wolfram Sang <wsa+rene...@sang-engineering.com> Reviewed-by: Linus Walleij <linus.wall...@linaro.org> Yours, Linus Walleij

Re: [PATCH 03/61] auxdisplay: simplify getting .drvdata

2018-04-27 Thread Linus Walleij
On Thu, Apr 19, 2018 at 4:05 PM, Wolfram Sang <wsa+rene...@sang-engineering.com> wrote: > We should get drvdata from struct device directly. Going via > platform_device is an unneeded step back and forth. > > Signed-off-by: Wolfram Sang <wsa+rene...@sang-engineering.com>

Re: [PATCH v2] dt-bindings: gpio: Add support for r8a77965

2018-04-26 Thread Linus Walleij
t; > Reviewed-by: Simon Horman <horms+rene...@verge.net.au> > Reviewed-by: Rob Herring <r...@kernel.org> > --- > > Renesas R-Car M3-N support has been merged for v4.17. > Document the missing device tree bindings. > > v1 -> v2: > - Add Simon and Rob Reviewed-by tags Patch applied. Yours, Linus Walleij

Re: [PATCH v3] gpio: dwapb: Add support for 1 interrupt per port A GPIO

2018-04-26 Thread Linus Walleij
- Add the reviewed-by and ACKs - Fold in Hoan's fix - Resend We are always a bit fuzzy around the edges with carrying ACKs etc forward for new revisions. Surely that is fine with this minor revision for ACPI. Yours, Linus Walleij

Re: [PATCH] dt-bindings: gpio: rcar: Add r8a77470 (RZ/G1C) support

2018-04-26 Thread Linus Walleij
hris Paterson <chris.paters...@renesas.com> Patch applied to the GPIO tree with all the review tags. Yours, Linus Walleij

Re: [git pull] pinctrl: sh-pfc: Updates for v4.17 (take two)

2018-03-22 Thread Linus Walleij
Deduplicate VIN4 pin definitions (2018-03-21 > 18:25:48 +0100) Pulled to the pin control "devel" branch, good work! Yours, Linus Walleij

Re: [git pull] pinctrl: sh-pfc: Updates for v4.17

2018-03-02 Thread Linus Walleij
> 09:17:54 +0100) Pulled into the pinctrl devel branch for v4.17! Excellent job as usual! And I'm amazed that Renesas manage to churn out so many ASICs. Yours, Linus Walleij

Re: [PATCH v3 3/3] gpio: rcar: Use wakeup_path i.s.o. explicit clock handling

2018-03-02 Thread Linus Walleij
On Fri, Mar 2, 2018 at 9:20 AM, Geert Uytterhoeven <ge...@linux-m68k.org> wrote: > > On Thu, Mar 1, 2018 at 5:06 PM, Linus Walleij <linus.wall...@linaro.org> > wrote: >> On Mon, Feb 12, 2018 at 2:55 PM, Geert Uytterhoeven >> <geert+rene...@glider.be> wrot

Re: [RFC][PATCH 04/11] drm: Split the display info into static and dynamic parts

2018-03-02 Thread Linus Walleij
onboard.com> > Cc: Manfred Schlaegl <manfred.schla...@gmx.at> > Cc: Marek Vasut <ma...@denx.de> > Cc: Archit Taneja <arch...@codeaurora.org> > Cc: Andrzej Hajda <a.ha...@samsung.com> > Cc: Alison Wang <alison.w...@freescale.com> > Cc: Eric Anholt

Re: [PATCH v3 3/3] gpio: rcar: Use wakeup_path i.s.o. explicit clock handling

2018-03-01 Thread Linus Walleij
ndling code from the > driver. > > Signed-off-by: Geert Uytterhoeven <geert+rene...@glider.be> > --- > v3: Patch applied for v4.16 fixes. Yours, Linus Walleij

Re: [PATCH] pinctrl: sh-pfc: r8a7795: remove duplicate of CLKOUT pin in pinmux_pins[]

2018-03-01 Thread Linus Walleij
patch is only in v4.16-rc1 and later, can you please > take it directly as a fix for v4.16? > > https://patchwork.kernel.org/patch/10234351/ OK I pulled this out of patchwork and applied for fixes. Yours, Linus Walleij

Re: [PATCH/RFT v4] gpio: gpio-rcar: Support S2RAM

2018-02-22 Thread Linus Walleij
d-off-by: Hien Dang <hien.dang...@renesas.com> > Signed-off-by: Takeshi Kihara <takeshi.kihara...@renesas.com> > [Modify structure of the bank info to simplify a saving registers] > [Remove DEV_PM_OPS macro] > Signed-off-by: Yoshihiro Kaneko <ykaneko0...@gmail.com> This v4 version applied with Tested- and reviewed tags. Yours, Linus Walleij

Re: [PATCH v3 3/3] gpio: rcar: Use wakeup_path i.s.o. explicit clock handling

2018-02-22 Thread Linus Walleij
ndling code from the > driver. > > Signed-off-by: Geert Uytterhoeven <geert+rene...@glider.be> Acked-by: Linus Walleij <linus.wall...@linaro.org> Can I apply this and only this patch to GPIO? Should it be applied for fixes, next? Else please funnel this through the irqchip tree with my ACK. Yours, Linus Walleij

Re: [PATCH v2 3/6] i2c: add 'set_sda' to bus_recovery_info

2018-01-10 Thread Linus Walleij
ase if the GPIO > is set to output. > > Tested-by: Phil Reid <pr...@electromag.com.au> > Signed-off-by: Wolfram Sang <wsa+rene...@sang-engineering.com> Reviewed-by: Linus Walleij <linus.wall...@linaro.org> Geert pointed out a bug in *_cansleep() so I have m

Re: [PATCH] gpio: Add missing open drain/source handling to gpiod_set_value_cansleep()

2018-01-10 Thread Linus Walleij
value_nocheck(desc, value); + gpiod_set_value_nocheck(desc, value); } EXPORT_SYMBOL_GPL(gpiod_set_value); @@ -3247,7 +3256,7 @@ void gpiod_set_value_cansleep(struct gpio_desc *desc, int value) { might_sleep_if(extra_checks); VALIDATE_DESC_VOID(desc); - __gpiod_set_value_nocheck(desc, value); + gpiod_set_value_nocheck(desc, value); } EXPORT_SYMBOL_GPL(gpiod_set_value_cansleep); Yours, Linus Walleij

Re: [PATCH 2/2] Documentation: gpio: correct return value of gpiod_get_direction

2018-01-09 Thread Linus Walleij
t; solution. > > Signed-off-by: Wolfram Sang <wsa+rene...@sang-engineering.com> Patch applied. Yours, Linus Walleij

Re: [PATCH 1/2] gpio: correct docs about return value of gpiod_get_direction

2018-01-09 Thread Linus Walleij
t; solution. > > Signed-off-by: Wolfram Sang <wsa+rene...@sang-engineering.com> Patch applied. Yours, Linus Walleij

Re: [PATCH] pinctrl: sh-pfc: Use seq_puts() in sh_pfc_pin_dbg_show()

2018-01-09 Thread Linus Walleij
; into a sequence. Thus use the corresponding function "seq_puts". > > This issue was detected by using the Coccinelle software. > > Signed-off-by: Markus Elfring <elfr...@users.sourceforge.net> Leaving to Geert to pick this up. (Looks good.) Yours, Linus Walleij

Re: [git pull] pinctrl: sh-pfc: Updates for v4.16 (take two)

2018-01-07 Thread Linus Walleij
ups, and functions (2017-12-21 > 10:08:23 +0100) Pulled to my devel branch for v4.16, thanks! Yours, Linus Walleij

Re: [PATCH v2 3/3] gpio: rcar: Use WAKEUP_PATH driver PM flag

2018-01-02 Thread Linus Walleij
Converted to use the WAKEUP_PATH driver PM flag] > Signed-off-by: Ulf Hansson <ulf.hans...@linaro.org> Acked-by: Linus Walleij <linus.wall...@linaro.org> I guess it is dependent on the other patches? If you want me to just apply it to the GPIO tree, tell me. Yours, Linus Walleij

Re: [PATCH] dt-bindings: gpio: rcar: Correct SoC family name for R8A7778

2017-12-21 Thread Linus Walleij
On Tue, Dec 19, 2017 at 5:03 PM, Geert Uytterhoeven <geert+rene...@glider.be> wrote: > R8A7778 is R-Car (not R-Mobile) M1. > > Signed-off-by: Geert Uytterhoeven <geert+rene...@glider.be> Patch applied with the ACKs. Yours, Linus Walleij

Re: [git pull] pinctrl: sh-pfc: Updates for v4.16

2017-12-20 Thread Linus Walleij
Pulled into my devel branch for v4.16. Thanks for your efforts! Great work as usual. Yours, Linus Walleij

Re: [PATCH] gpio: Add helpers to determin direction of gpiods

2017-12-13 Thread Linus Walleij
I would have to add yet more APIs to do that. Hm. Together with Geert's comments I start to lean towards actually just creating two new #defines in . It has the upside that we can also check the return value for errors. Yours, Linus Walleij

Re: [PATCH 3/6] i2c: add 'set_sda' to bus_recovery_info

2017-12-09 Thread Linus Walleij
ll's API hierarchy. >> >> Yes, sounds good! >> >> > Interested in fixing it, or should I? >> >> Please do. I don't want to add magic numbers to the kernel ;) > > OK? Just slow, sorry. Sent a patch now! Yours, Linus Walleij

Re: [PATCH 3/6] i2c: add 'set_sda' to bus_recovery_info

2017-12-05 Thread Linus Walleij
hierarchy. Interested in fixing it, or should I? I can almost ACK it before you write the patch. Yours, Linus Walleij

Re: [PATCH 3/6] i2c: add 'set_sda' to bus_recovery_info

2017-12-05 Thread Linus Walleij
On Tue, Dec 5, 2017 at 10:57 AM, Phil Reid <pr...@electromag.com.au> wrote: > On 5/12/2017 16:39, Linus Walleij wrote: >> Just compare it to zero. if (!gpiod_get_direction()) >> >> This flag is only for requesting GPIOs in the old API. >> We didn't add a

Re: [PATCH 3/6] i2c: add 'set_sda' to bus_recovery_info

2017-12-05 Thread Linus Walleij
!gpiod_get_direction()) This flag is only for requesting GPIOs in the old API. We didn't add a define in the new API, it seemed overengineered. Yours, Linus Walleij

Re: [PATCH v2 3/4] ARM: dts: koelsch: Convert to named i2c-gpio bindings

2017-12-02 Thread Linus Walleij
troduced named i2c-gpio DT bindings, and deprecated the > more error-prone unnamed variant. > > Switch to the new bindings, and add the missing GPIO_OPEN_DRAIN I/O > flags, which were implicitly assumed before. > > Signed-off-by: Geert Uytterhoeven <geert+rene...@glider.be> Reviewed

Re: [PATCH v2 1/4] ARM: dts: armadillo800eva: Convert to named i2c-gpio bindings

2017-12-02 Thread Linus Walleij
drain please flag it properly in DT/ACPI > DSDT/board file > gpio-91 (?): enforced open drain please flag it properly in DT/ACPI > DSDT/board file > > Signed-off-by: Geert Uytterhoeven <geert+rene...@glider.be> Reviewed-by: Linus Walleij <linus.wall...@linaro.org> Yours, Linus Walleij

Re: [PATCH v2 4/4] ARM: dts: alt: Convert to named i2c-gpio bindings

2017-12-02 Thread Linus Walleij
troduced named i2c-gpio DT bindings, and deprecated the > more error-prone unnamed variant. > > Switch to the new bindings, and add the missing GPIO_OPEN_DRAIN I/O > flags, which were implicitly assumed before. > > Signed-off-by: Geert Uytterhoeven <geert+rene...@glider.be> Reviewed

Re: [PATCH v2 2/4] ARM: dts: lager: Convert to named i2c-gpio bindings

2017-12-02 Thread Linus Walleij
troduced named i2c-gpio DT bindings, and deprecated the > more error-prone unnamed variant. > > Switch to the new bindings, and add the missing GPIO_OPEN_DRAIN I/O > flags, which were implicitly assumed before. > > Signed-off-by: Geert Uytterhoeven <geert+rene...@glider.be> Reviewed

Re: [PATCH] gpio: pca953x: fix vendor prefix for PCA9654

2017-11-30 Thread Linus Walleij
pca953x: add onsemi,pca9654 id") > Signed-off-by: Sergei Shtylyov <sergei.shtyl...@cogentembedded.com> Patch applied with Rob's ACK. Thanks for spotting this in time. Yours, Linus Walleij

Re: [PATCH v2] gpio: rcar: Add r8a77995 (R-Car D3) support

2017-11-09 Thread Linus Walleij
lt;geert+rene...@glider.be> > --- > Linus: it seems this one fell through the cracks, as the later > f76a2d9d7f9524c5 ("gpio-rcar: document R8A77970 bindings") did get > applied. > > Thx! > > v2: > - Add Acked-by, rebased. Oopsie. Maybe my oversight. Patch applied! Yours, Linus Walleij

Re: [PATCH 1/1] gpio-rcar: use devm_ioremap_resource()

2017-10-31 Thread Linus Walleij
ff-by: Sergei Shtylyov <sergei.shtyl...@cogentembedded.com> Patch applied with Geert's review tag. Sorry for delay, too busy as always. Yours, Linus Walleij

Re: [git pull] pinctrl: sh-pfc: Updates for v4.15 (take two)

2017-10-20 Thread Linus Walleij
+0200) > > are available in the git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git > tags/sh-pfc-for-v4.15-tag2 Pulled into the pinctrl devel branch. Thanks to all @Renesas, excellent work as usual. Yours, Linus Walleij

Re: mainline 4.14-rc4: renesas_sdhi_internal_dmac ee100000.sd: swiotlb buffer is full?

2017-10-16 Thread Linus Walleij
On Mon, Oct 16, 2017 at 2:07 PM, Geert Uytterhoeven <ge...@linux-m68k.org> wrote: > On Mon, Oct 16, 2017 at 1:41 PM, Linus Walleij <linus.wall...@linaro.org> > wrote: >> On Mon, Oct 16, 2017 at 11:02 AM, Geert Uytterhoeven >> <ge...@linux-m68k.org> wrote: &g

Re: mainline 4.14-rc4: renesas_sdhi_internal_dmac ee100000.sd: swiotlb buffer is full?

2017-10-16 Thread Linus Walleij
t anyone anymore. Can you check that you have this patch in your tree? Yours, Linus Walleij

Re: [PATCH] gpio: rcar: Use of_device_get_match_data() helper

2017-10-07 Thread Linus Walleij
terhoeven <geert+rene...@glider.be> Patch applied with Simon's tag. Yours, Linus Walleij

Re: [PATCH] MAINTAINERS: Add git repository to Renesas pinctrl driver section

2017-10-07 Thread Linus Walleij
On Wed, Oct 4, 2017 at 1:35 PM, Geert Uytterhoeven <geert+rene...@glider.be> wrote: > Signed-off-by: Geert Uytterhoeven <geert+rene...@glider.be> Patch applied with Simon's tag. Yours, Linus Walleij

Re: [PATCH v3 1/2] pinctrl: rza1: add support for RZ/A1L

2017-10-07 Thread Linus Walleij
; Reviewed-by: Jacopo Mondi <jacopo+rene...@jmondi.org> > --- > v2: > * added Reviewed-by Looks good, I expect Geert to queue this for me with a pull request like with other Renesas stuff. Yours, Linus Walleij

Re: [git pull] pinctrl: sh-pfc: Updates for v4.15

2017-10-07 Thread Linus Walleij
+0200) Pulled into my devel branch, thanks! Yours, Linus Walleij

Re: [PATCH v2 resend 0/4] sh: sh7722/sh7757i/sh7264/sh7269: Fix pinctrl registration

2017-09-19 Thread Linus Walleij
o the pinctrl tree if need be. It is pinctrl related so it makes sense to carry it there if SH maintainers are not responding. Just send a separate pull request and indicate if it needs to go in for fixes or devel. Yours, Linus Walleij

Re: [PATCH/RFC 1/3] dt-bindings: i2c: i2c-gpio: Add support for named gpios

2017-09-18 Thread Linus Walleij
why the GPIO binding is a bit .. esoteric at times. I guess I should fix that. Yours, Linus Walleij

Re: [PATCH] pinctrl: rza1: Remove suffix from gpiochip label

2017-08-31 Thread Linus Walleij
;pinctrl-rza1 fcfe3000.pin-controller: Parsed gpiochip gpio-0-0 with 6 > pins" > > Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> Patch applied. Yours, Linus Walleij

Re: [PATCH ] gpio: rcar: Add r8a7745 (RZ/G1E) support

2017-08-22 Thread Linus Walleij
On Wed, Aug 16, 2017 at 1:12 PM, Biju Das <biju@bp.renesas.com> wrote: > Renesas RZ/G1E (R8A7745) SoC GPIO blocks are identical to the R-Car Gen2 > family. Add support for its GPIO controllers. > > Signed-off-by: Biju Das <biju@bp.renesas.com> Patch applied wit

Re: [git pull] pinctrl: sh-pfc: Updates for v4.14

2017-08-22 Thread Linus Walleij
-08-16 14:26:32 +0200) Pulled into my devel branch for v4.14, excellent work as usual! Yours, Linus Walleij

Re: [PATCH 2/2] gpio: make regmap_irq_chip const

2017-08-14 Thread Linus Walleij
umi...@gmail.com> Patch applied. Yours, Linus Walleij

Re: [PATCH] gpio: rcar: reinstate generic compat string

2017-08-14 Thread Linus Walleij
>> >> Fixes: d10bbd156926 ("gpio: rcar: add gen[123] fallback compatibility >> strings") >> Signed-off-by: Simon Horman <horms+rene...@verge.net.au> > > Hi Linus, > > I believe Geert is on holidays at the moment (maybe you are to‽). Nah neither of us are as it seems :) I wait for the two of you to figure this out before applying anything. Yours, Linus Walleij

Re: [PATCH] pinctrl: Convert to using %pOF instead of full_name

2017-08-02 Thread Linus Walleij
ff-by: Rob Herring <r...@kernel.org> > Cc: Linus Walleij <linus.wall...@linaro.org> > Cc: Lee Jones <l...@kernel.org> > Cc: Eric Anholt <e...@anholt.net> > Cc: Stefan Wahren <stefan.wah...@i2se.com> > Cc: Florian Fainelli <f.faine...@gmail.com> > Cc: Ray Ju

Re: [PATCH 00/14] pinctrl: sh-pfc: r8a7796: Fix pin assignment definitions

2017-08-01 Thread Linus Walleij
forward them to me when he's happy with them. Yours, Linus Walleij

Re: [PATCH 0/5] pinctrl: sh-pfc: r8a7795/r8a7796: MSIOF updates

2017-08-01 Thread Linus Walleij
I plan to queue these up in sh-pfc-for-v4.14. All look good to me. Yours, Linus Walleij

Re: [PATCH/RFC] gpio: rcar: add gen[123] fallback compatibility strings

2017-08-01 Thread Linus Walleij
rivers for Renesas SoCs. > > Also deprecate renesas,gpio-rcar as its name is more generic than its > implementation. > > Signed-off-by: Simon Horman <horms+rene...@verge.net.au> Totally uncontroversial DT binding changes so patch applied for next with Geert's review tag. Yours, Linus Walleij

Re: [PATCH] pinctrl: rza1: Remove unneeded wrong check for wrong variable

2017-06-30 Thread Linus Walleij
ixes: 5a49b644b3075f88 ("pinctrl: Renesas RZ/A1 pin and gpio controller") > Signed-off-by: Geert Uytterhoeven <geert+rene...@glider.be> Patch applied. Yours, Linus Walleij

Re: [git pull] pinctrl: sh-pfc: Updates for v4.13 (take two)

2017-06-29 Thread Linus Walleij
(2017-06-26 10:21:38 +0200) Pulled in for devel. It's late, but you all worked hard to make this happen so we should be liberal, also it is a new driver. Yours, Linus Walleij

Re: [PATCH v2] pinctrl: generic: Add output-enable property

2017-06-29 Thread Linus Walleij
buffers irrespective of the mode of the line as a whole. We might need even more documentation because this is really confusing. But for now it lets drivers work, which is nice. Rough consensus and running code should be our guide. Yours, Linus Walleij

Re: [PATCH v2] gpio: rcar: Add R8A7743 (RZ/G1M) support

2017-06-29 Thread Linus Walleij
hris Paterson <chris.paters...@renesas.com> > --- > v1->v2 > * Modified the text "RZ-G1M" to "RZ/G1M" Patch applied with the ACKs. Yours, Linus Walleij

Re: [PATCH v5 01/10] pinctrl: generic: Add bi-directional and output-enable

2017-06-11 Thread Linus Walleij
a decision. In particular, if somebody tells you "choose (a) or (b), we really need you to decide on this", you're in trouble as a manager. The people you manage had better know the details better than you, so if they come to you for a technical decision, you're screwed. You're clearly not competent to make that decision for them. (It goes on, it's the best part of the entire Documentation/* dir in my opinion, please take the time to read it in full.) So: what do you guys, using this feature, and Andy, who raised serious concerns, think is the right binding? That is what *I* need to know. Yours, Linus Walleij

Re: [git pull] pinctrl: sh-pfc: Updates for v4.13

2017-05-30 Thread Linus Walleij
esome, good work as usual. Pulled to my pinctrl devel branch. Yours, Linus Walleij

Re: [PATCH v5 01/10] pinctrl: generic: Add bi-directional and output-enable

2017-05-29 Thread Linus Walleij
'm just overloaded. I sent that revert to Torvalds today. > I can send another version of that patch with > only 'output-enable' if you wish. That's what we want. > Once we reach consesus, I can then send v6 of our pin controller driver > based on that. OK sounds like a plan. Sorry for the mess, I'm just trying to get this right :/ Yours, Linus Walleij

Re: [PATCH v5 01/10] pinctrl: generic: Add bi-directional and output-enable

2017-05-12 Thread Linus Walleij
these quirky tables to be gone in the next hardware generation, right? Then the right place for it is in the quirky driver for the quirky first-generation hardware. Yours, Linus Walleij

Re: [PATCH v5 01/10] pinctrl: generic: Add bi-directional and output-enable

2017-05-12 Thread Linus Walleij
it is pin configuration and should use a DT property. Yours, Linus Walleij

Re: [PATCH v5 10/10] arm: dts: genmai: Add ethernet pin group

2017-05-11 Thread Linus Walleij
On Fri, May 5, 2017 at 2:45 PM, Chris Brandt <chris.bra...@renesas.com> wrote: > On Friday, May 05, 2017, Linus Walleij wrote: >> > This is the part of the whole "DT is for hardware description only" that >> doesn't really make sense to me. >&g

Re: [PATCH v5 01/10] pinctrl: generic: Add bi-directional and output-enable

2017-05-08 Thread Linus Walleij
r renesas,bi-directional; renesas,output-enable; following the Qualcomm pattern in that case. But let's see if something else comes out of this discussion. Yours, Linus Walleij

Re: [PATCH v5 01/10] pinctrl: generic: Add bi-directional and output-enable

2017-05-07 Thread Linus Walleij
On Fri, Apr 28, 2017 at 4:53 PM, Andy Shevchenko <andy.shevche...@gmail.com> wrote: > Linus, for me it looks like better to revert that change, until we > will have clear picture why existing configuration parameters can't > work. Yeah I'll revert the binding for fixes. Yours, Linus Walleij

Re: [PATCH v5 10/10] arm: dts: genmai: Add ethernet pin group

2017-04-28 Thread Linus Walleij
just means open drain. It is dangerous to merge things we don't understand. Surely someone inside Renesas can answer this question. Yours, Linus Walleij

Re: [PATCH v5 01/10] pinctrl: generic: Add bi-directional and output-enable

2017-04-28 Thread Linus Walleij
hat happens electrically? Isn't this bias-high-impedance / High-Z? Hopefully you can find the answer from Renesas hardware dept. You can certainly call it whatever the datasheet calls it in your driver #defines but for the DT bindings we would ideally have the physical world things. Yours, Linus Walleij

Re: [PATCH v5 02/10] pinctrl: generic: Add macros to unpack properties

2017-04-28 Thread Linus Walleij
_param(unsigned long config) { return (enum pin_config_param) (config & 0xffUL); } static inline u32 pinconf_to_config_argument(unsigned long config) { return (u32) ((config >> 8) & 0xffUL); } Why can't you use this in your code instead of macros? We generally prefer static inlines over macros because they are easier to read. Yours, Linus Walleij

Re: [PATCH v4 2/9] pinctrl: Renesas RZ/A1 pin and gpio controller

2017-04-28 Thread Linus Walleij
arse_dt_config(); >> + * we simply discard pinconf argument here >> + */ >> +#define PIN_CONF_UNPACK(pinconf) ((pinconf) & 0xffUL) > > Perhaps this should be moved to pinconf-generic.h, to make sure it stays > up-to-date? I agree. Use the generic macros. If further processing is needed, make a static inline to discard config flags etc. Yours, Linus Walleij

Re: [RESEND][PATCH V2 3/4] gpio: Add ROHM BD9571MWV-M PMIC GPIO driver

2017-04-28 Thread Linus Walleij
> > Signed-off-by: Marek Vasut <marek.vasut+rene...@gmail.com> > Cc: linux-g...@vger.kernel.org > Cc: Geert Uytterhoeven <geert+rene...@glider.be> > Cc: Linus Walleij <linus.wall...@linaro.org> > Reviewed-by: Linus Walleij <linus.wall...@linaro.org> > --- >

  1   2   >