Re: [PATCH V3] arm64: dts: r8a77990: ebisu: Add and enable SDHI device nodes

2018-11-08 Thread Geert Uytterhoeven
On Tue, Nov 6, 2018 at 9:46 PM Marek Vasut wrote: > Subject: [PATCH V3] arm64: dts: r8a77990: ebisu: Add and enable SDHI device > nodes arm64: dts: renesas: r8a77990: ebisu: Add and enable SDHI device nodes Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- T

Re: [PATCH] arm64: dts: r8a77990: ebisu: Add serial console pins

2018-11-08 Thread Geert Uytterhoeven
On Mon, Nov 5, 2018 at 10:39 PM Marek Vasut wrote: > Subject: [PATCH] arm64: dts: r8a77990: ebisu: Add serial console pins arm64: dts: renesas: r8a77990: ebisu: Add serial console pins Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond i

Re: [PATCH v4 1/4] pinctrl: sh-pfc: Add optional arg to VIN_DATA_PIN_GROUP

2018-11-08 Thread Geert Uytterhoeven
Hi Jacopo, On Thu, Nov 8, 2018 at 11:58 AM Geert Uytterhoeven wrote: > On Tue, Nov 6, 2018 at 11:35 AM Jacopo Mondi > wrote: > > VIN data groups may appear on different sets of pins, usually named > > "vinX_data_[a|b]". The existing VIN_DATA_PIN_GROUP() does not s

Re: [PATCH v4 2/4] pinctrl: sh-pfc: Fix VIN versioned groups name

2018-11-08 Thread Geert Uytterhoeven
("pinctrl: sh-pfc: r8a7795: Deduplicate VIN4 pin Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a hacker. Bu

Re: [PATCH v4 1/4] pinctrl: sh-pfc: Add optional arg to VIN_DATA_PIN_GROUP

2018-11-08 Thread Geert Uytterhoeven
ch accepts an optional 'version' argument. > > Signed-off-by: Jacopo Mondi Reviewed-by: Geert Uytterhoeven > --- a/drivers/pinctrl/sh-pfc/sh_pfc.h > +++ b/drivers/pinctrl/sh-pfc/sh_pfc.h > @@ -54,15 +54,16 @@ struct sh_pfc_pin_group { > > /* > * Using union vin_data sav

Re: [GIT PULL] Renesas ARM Based SoC Fixes for v4.20

2018-11-08 Thread Geert Uytterhoeven
ed commit ID in the HDL source repository ;-) Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to jour

Re: [PATCH 3/4] ARM: dts: r8a77470: Add QSPI support

2018-11-08 Thread Geert Uytterhoeven
drop the aliases. Thanks! > > Will do, will send a new version without the additional aliases. Thanks! > My understanding is that your personal preference is to only leave debug > console and ethernet, Labeled serial ports and primary Ethernet, so U-Boot knows which MAC address

Re: [PATCH/RFT] arm64: dts: renesas: r8a77990: Add I2C-DVFS device node

2018-11-08 Thread Geert Uytterhoeven
Hi Simon, On Thu, Nov 8, 2018 at 11:22 AM Simon Horman wrote: > On Wed, Nov 07, 2018 at 01:30:10PM +0100, Simon Horman wrote: > > On Mon, Nov 05, 2018 at 09:52:48AM +0100, Geert Uytterhoeven wrote: > > > On Sat, Oct 20, 2018 at 11:35 PM Yoshihiro Kaneko > > > w

Re: [PATCH 3/4] ARM: dts: r8a77470: Add QSPI support

2018-11-08 Thread Geert Uytterhoeven
hunk was dropped > > from this patch. > > > > https://patchwork.kernel.org/patch/10644159/ > > Geert, what do you want me to do here? Please drop the aliases. Thanks! Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds

[PATCH] [trivial] mfd: tmio: Typo s/use use/use/

2018-11-07 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven --- include/linux/mfd/tmio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/mfd/tmio.h b/include/linux/mfd/tmio.h index 1e70060c92ce0a11..aa696bcb1d12e750 100644 --- a/include/linux/mfd/tmio.h +++ b/include/linux/mfd/tmio.h

[PATCH] serial: sh-sci: Improve type-safety calling sci_receive_chars()

2018-11-07 Thread Geert Uytterhoeven
While ptr and port both point to the uart_port structure, the former is the untyped pointer cookie passed to interrupt handlers. Use the correctly typed port variable instead, to improve type-safety. Signed-off-by: Geert Uytterhoeven --- drivers/tty/serial/sh-sci.c | 4 ++-- 1 file changed, 2

[PATCH] dt-bindings: thermal: rcar-gen3-thermal: All variants use 3 interrupts

2018-11-07 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven --- .../devicetree/bindings/thermal/rcar-gen3-thermal.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.txt b/Documentation/devicetree/bindings/thermal/rcar-gen3-thermal

[PATCH] iommu/ipmmu-vmsa: Fix crash on early domain free

2018-11-07 Thread Geert Uytterhoeven
kobject_put+0x60/0xe8 iommu_group_get_for_dev+0xa8/0x1f0 ipmmu_add_device+0x1c/0x40 of_iommu_configure+0x118/0x190 Fix this by checking if the domain's context already exists, before trying to destroy it. Signed-off-by: Geert Uytterhoeven --- drivers/iommu/ipmmu-vmsa.c | 3

[PATCH LOCAL 2/2] arm64: renesas_defconfig: Enable CONFIG_PHY_RCAR_GEN3_PCIE

2018-11-07 Thread Geert Uytterhoeven
Enable R-Car Gen3 PCIe PHY support, which is needed for PCIe to function on the Renesas Condor board. Signed-off-by: Geert Uytterhoeven --- Not intended for upstream merge. --- arch/arm64/configs/renesas_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs

[PATCH LOCAL 0/2] arm64: renesas_defconfig: Updates for v4.20-rc1

2018-11-07 Thread Geert Uytterhoeven
Hi Simon, Magnus, This patch series updates renesas_defconfig for dropped and new support in v4.20-rc1. Note that this is not intended for upstream merge. Thanks! Geert Uytterhoeven (2): [LOCAL] arm64: renesas_defconfig: Drop CONFIG_ARM_BIG_LITTLE_CPUFREQ=y [LOCAL] arm64

[PATCH LOCAL 1/2] arm64: renesas_defconfig: Drop CONFIG_ARM_BIG_LITTLE_CPUFREQ=y

2018-11-07 Thread Geert Uytterhoeven
CONFIG_ARM_BIG_LITTLE_CPUFREQ was removed on arm64 in commit a7314405d83c8f95 ("cpufreq: drop ARM_BIG_LITTLE_CPUFREQ support for ARM64"). Signed-off-by: Geert Uytterhoeven --- Not intended for upstream merge. --- arch/arm64/configs/renesas_defconfig | 1 - 1 file changed, 1 deletio

Re: [renesas-drivers:topic/pinctrl-rza2-v2 1/2] drivers//pinctrl/pinctrl-rza2.c:25:43: error: 'RZA2_NPORTS' undeclared here (not in a function); did you mean 'RZA2_NPINS'?

2018-11-07 Thread Geert Uytterhoeven
On Wed, Nov 7, 2018 at 10:22 AM Geert Uytterhoeven wrote: > On Wed, Nov 7, 2018 at 10:12 AM kbuild test robot wrote: > > tree: > > https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git > > topic/pinctrl-rza2-v2 > > head: bb0f488fb2907

Re: [renesas-drivers:topic/pinctrl-rza2-v2 1/2] drivers//pinctrl/pinctrl-rza2.c:25:43: error: 'RZA2_NPORTS' undeclared here (not in a function); did you mean 'RZA2_NPINS'?

2018-11-07 Thread Geert Uytterhoeven
e way. However, it looks like doesn't really need . Will send a patch to try that... Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical peop

renesas-drivers-2018-11-06-v4.20-rc1

2018-11-06 Thread Geert Uytterhoeven
#next - git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git#for-mfd-next - git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git#for-next Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge

Re: [PATCH 1/2] arm64: dts: r8a77990: Add SDHI device nodes

2018-11-06 Thread Geert Uytterhoeven
ds SDHI{0,1,3} device nodes for the r8a77990 SoC. > >> > >> Signed-off-by: Takeshi Kihara > >> Signed-off-by: Marek Vasut > >> Cc: Geert Uytterhoeven > >> Cc: Simon Horman > >> Cc: Wolfram Sang > >> Cc: Yoshihiro Shimoda > >> Cc:

Re: [PATCH 1/2] ARM: dts: r8a77470: Add watchdog support to SoC dtsi

2018-11-06 Thread Geert Uytterhoeven
; > + resets = < 402>; > + status = "disabled"; > + }; > + > sysc: system-controller@e618 { > compatible = "renesas,r8a77470-sysc"; >

Re: [RFC][PATCH] PCI: Avoid PCI device removing/rescanning through sysfs triggers a deadlock

2018-11-06 Thread Geert Uytterhoeven
f-by: Tho Vu You forgot to append your own SoB? > --- a/drivers/pci/pci-sysfs.c > +++ b/drivers/pci/pci-sysfs.c > @@ -470,12 +470,22 @@ static ssize_t remove_store(struct device *dev, struct > device_attribute *attr, > const char *buf, size_t count) > { > unsig

Re: [PATCH 0/2] renesas: rcar-gen3: add HS400 quirk for SD clock

2018-11-05 Thread Geert Uytterhoeven
is way for now, so we can spend our (limited) manpower > on evaluating the tuning next. OK. Thanks! Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself

Re: [PATCH 2/2] clk: renesas: rcar-gen3: add HS400 quirk for SD clock

2018-11-05 Thread Geert Uytterhoeven
Hi Niklas, On Mon, Nov 5, 2018 at 4:07 PM Niklas Söderlund wrote: > On 2018-11-05 11:43:24 +0100, Geert Uytterhoeven wrote: > > On Thu, Nov 1, 2018 at 12:26 AM Niklas Söderlund > > wrote: > > > From: Niklas Söderlund > > > > > > On H3 (ES1.0,ES2.0

Re: [PATCH/RFT] pinctrl: sh-pfc: r8a77990: Add HSCIF pins, groups, and functions

2018-11-05 Thread Geert Uytterhoeven
SH_PFC_FUNCTION(i2c2), > SH_PFC_FUNCTION(i2c4), The above doesn't compile, as you forgot to update the size of the pinmux_functions.common[] array. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's

Re: [PATCH 2/2] pinctrl: sh-pfc: r8a77990: Add Audio SSI pins, groups and functions

2018-11-05 Thread Geert Uytterhoeven
On Mon, Oct 15, 2018 at 11:58 AM Simon Horman wrote: > From: Takeshi Kihara > > This patch adds Audio SSI{0,1,2,3,4,5,6,7,8,9} pins, groups > and functions to the R8A77990 SoC. > > Signed-off-by: Takeshi Kihara > [simon: rebase] > Signed-off-by: Simon Horman Reviewe

Re: [PATCH 1/2] pinctrl: sh-pfc: r8a77990: Add Audio clock pins, groups and functions

2018-11-05 Thread Geert Uytterhoeven
Simon Horman Reviewed-by: Geert Uytterhoeven i.e. will queue in sh-pfc-for-v4.21. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a hack

Re: [PATCH] clk: renesas: r8a77970: add RPC clock

2018-11-05 Thread Geert Uytterhoeven
On Fri, Nov 2, 2018 at 8:25 PM Sergei Shtylyov wrote: > On R-Car V3M (R8A77970), the RPC/RPCD2 clocks are output by the common > divider. Describe them, as well as the RPC-IF module clock. > > Signed-off-by: Sergei Shtylyov Reviewed-by: Geert Uytterhoeven i.e. will queue in

Re: [PATCH] arm64: dts: renesas: r8a77990: Fix VIN endpoint numbering

2018-11-05 Thread Geert Uytterhoeven
Hi Jacopo, On Mon, Nov 5, 2018 at 1:46 PM jacopo mondi wrote: > On Mon, Nov 05, 2018 at 01:07:58PM +0100, Geert Uytterhoeven wrote: > > On Mon, Nov 5, 2018 at 12:49 PM Jacopo Mondi > > wrote: > > > The VIN driver bindings dictates fixed numbering for VIN endpoints >

Re: [PATCH v2 3/3] mmc: renesas_sdhi: disable HS400 on H3 ES1.x and M3-W ES1.x

2018-11-05 Thread Geert Uytterhoeven
gt; + { .soc_id = "r8a7796", .revision = "ES1.0", .data = > _quirks_h3_m3w_es1 }, > + { .soc_id = "r8a7796", .revision = "ES1.1", .data = > _quirks_h3_m3w_es1 }, > { /* Sentinel. */ }, > };

Re: [PATCH v2 1/3] mmc: renesas_sdhi: handle 4tap hs400 mode quirk based on SoC revision

2018-11-05 Thread Geert Uytterhoeven
d = "r8a7796", .revision = "ES1.0", .data = > _quirks_h3_m3w }, > + { .soc_id = "r8a7796", .revision = "ES1.1", .data = > _quirks_h3_m3w }, > + { /* Sentinel. */ }, > +}; Gr{oetje,eeting}s, Geert -- Geert Uytterhoeve

Re: [PATCH] arm64: dts: renesas: r8a77990: Fix VIN endpoint numbering

2018-11-05 Thread Geert Uytterhoeven
ils to probe. > > Fixes: ec70407ae7d7 ("arm64: dts: renesas: r8a77990: Add VIN and CSI-2 device > nodes") > Signed-off-by: Koji Matsuoka Was this patch authored by you or by Matsuoka-san? > Signed-off-by: Takeshi Kihara > Signed-off-by: Jacopo Mondi Gr{oetje,eeting}s,

Re: [PATCH 2/2] clk: renesas: rcar-gen3: add HS400 quirk for SD clock

2018-11-05 Thread Geert Uytterhoeven
uot;, .revision = "ES1.1", > + .data = (void *)SD_SKIP_FIRST, > }, > { /* sentinel */ } > }; > @@ -504,7 +519,8 @@ struct clk * __init rcar_gen3_cpg_clk_register(struct > device *dev, > > case CLK_TYPE_GEN3_SD: > return cpg_sd_cl

Re: [PATCH 1/2] clk: renesas: rcar-gen3: add documentation for SD clocks

2018-11-05 Thread Geert Uytterhoeven
-by appropriate for a comment-only patch? Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talk

Re: [PATCH] gpio: rcar: Request GPIO while enabling interrupt

2018-11-05 Thread Geert Uytterhoeven
gc->label); > + return err; > + } > return 0; > } Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds

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

2018-11-05 Thread Geert Uytterhoeven
m him about this, in the meantime > I went through a bunch of manuals, and moving the gpio request to the > bottom of gpio_rcar_irq_set_type seems to be okay for RCar devices in > general, but Geert knows definitely better. Moving it down, after all other checks, is indeed better. Gr{oetje,eeting}s,

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

2018-11-05 Thread Geert Uytterhoeven
an external device, and where the bootloader configured the line to deassert the reset. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call mys

Re: [PATCH] watchdog: renesas_wdt: Fix typos

2018-11-05 Thread Geert Uytterhoeven
->wdev.info = _ident, > > - priv->wdev.ops = _ops, > > + priv->wdev.info = _ident; > > + priv->wdev.ops = _ops; > > priv->wdev.parent = >dev; > > priv->wdev.min_timeout = 1; > > priv->wdev.max_timeout =

Re: [PATCH/RFT] arm64: dts: renesas: r8a77990: Add I2C-DVFS device node

2018-11-05 Thread Geert Uytterhoeven
= < R8A77990_PD_ALWAYS_ON>; > + resets = < 926>; > + dmas = < 0x11>, < 0x10>; > + dma-names = "tx", "rx"; > + status = "disabled"; > +

Re: [PATCH] thermal: rcar_gen3_thermal: Fix does not have interrupts counting

2018-10-30 Thread Geert Uytterhoeven
CC actual maintainer, developer, and subsystem On Tue, Oct 30, 2018 at 10:10 AM Nguyen An Hoan wrote: > From: Hoan Nguyen An > > This patch fixes thermal interrupts that did not happen when temprature > changed. > Add the function rcar_gen3_thermal_update_threshold(), this function is used >

Re: [PATCH/RFC] iommu/ipmmu-vmsa: R-Car M3-N/V3H/E3 AVB whitelist prototype

2018-10-28 Thread Geert Uytterhoeven
work that way: with the above check, it will be enabled on all R-Car Gen3 SoCs. > + > /* By default, do not allow use of IPMMU */ > return false; > } Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge

Re: renesas-drivers-2018-10-23-v4.19

2018-10-28 Thread Geert Uytterhoeven
On Tue, Oct 23, 2018 at 3:43 PM Geert Uytterhoeven wrote: > I have pushed renesas-drivers-2018-10-23-v4.19 to > https://git.kernel.org/cgit/linux/kernel/git/geert/renesas-drivers.git > > This tree is meant to ease development of platform support and drivers > for Renesas ARM SoCs

Re: [PATCH v4 0/3] mmc: tmio_mmc: Add support for RZ/A2

2018-10-24 Thread Geert Uytterhoeven
hanged, 36 insertions(+), 5 deletions(-) > > > > -- > > 2.16.1 > > This looks good to me. So unless someone objects I intend to queue > this up for 4.21, once 4.20 rc1 is out. Or perhaps the clock patch > should go via the clock tree? Correct. Please do not take the cloc

renesas-drivers-2018-10-23-v4.19

2018-10-23 Thread Geert Uytterhoeven
-- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or some

Re: [PATCH v2 5/8] pinctrl: sh-pfc: r8a77990: Add VIN pins, groups and functions

2018-10-20 Thread Geert Uytterhoeven
Hi Jacopo, On Fri, Oct 19, 2018 at 6:55 PM jacopo mondi wrote: >sorry to resurect this one, but while upporting VIN pin definition > for R8A77965 I have noticed something in this patch. > > Please see below. > > On Tue, Oct 02, 2018 at 11:25:31AM +0200, Geert Uytterho

Re: Delay between stop condition and start condition

2018-10-17 Thread Geert Uytterhoeven
iagram in https://www.semiconductorstore.com/pdf/newsite/siliconimage/SiI9022a_pb.pdf, it has "Registers & Config Logic", and a separate internal "I²C Master". Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@li

Re: [PATCH/RFC v2] serial: sh-sci: Fix fallback to PIO on DMA failure

2018-10-17 Thread Geert Uytterhoeven
On Tue, Oct 16, 2018 at 3:24 PM Geert Uytterhoeven wrote: > When submitting a DMA request fails, the driver is supposed to fall back > to PIO. However, this never really worked due to various reasons > (sh-sci driver issues and dmaengine framework limitations). > > There are thr

Re: [PATCH 1/2] [RFC] arm64: renesas: Move SoC Kconfig symbols to drivers/soc/renesas/

2018-10-17 Thread Geert Uytterhoeven
Hi Simon, On Mon, Oct 15, 2018 at 5:40 PM Simon Horman wrote: > On Thu, Oct 11, 2018 at 03:54:55PM +0200, Simon Horman wrote: > > On Thu, Oct 11, 2018 at 10:55:07AM +0200, Geert Uytterhoeven wrote: > > > For consistency with other vendors, which have a single Kconfig symbol &

Re: [PATCH] arm64: dts: renesas: revise hsusb's reg size

2018-10-17 Thread Geert Uytterhoeven
man > > > Also, could you let me know if this has any run-time effect? > If so perhaps it should be treated as a fix for v4.20 rather than > a patch for v4.21. Probably not, as mapping granularity is PAGE_SIZE (> 0x200) anyway. Gr{oetje,eeting}s, Geert --

Re: [PATCH v2 3/3] thermal: da9062/61: Prevent hardware access during system suspend

2018-10-17 Thread Geert Uytterhoeven
Hi Steve, On Wed, Oct 17, 2018 at 10:57 AM Steve Twiss wrote: > On 12 October 2018 08:20 Geert Uytterhoeven wrote: > > Subject: [PATCH v2 3/3] thermal: da9062/61: Prevent hardware access during > > system suspend > > > > The workqueue used for monitoring the hardwa

Re: [PATCH] arm64: dts: renesas: r8a779{7|8}0: add MSIOF support

2018-10-17 Thread Geert Uytterhoeven
pi4 = > > Geert, could you comment on these aliases and the similar ones below? > I'm not seeing them for any other ARM64-based Renesas SoCs. I2c and spi aliases are "used, but not recommended", cfr. https://lore.kernel.org/lkml/20181015180046.GA18294@bogus/ Personally (but I'm biased, ref

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

2018-10-16 Thread Geert Uytterhoeven
Add paths for the Renesas RZ/A and RZ/N series pin controller drivers, as they are not under sh-pfc/, but still maintained with the other Renesas pin controller drivers. Signed-off-by: Geert Uytterhoeven --- To be queued in sh-pfc-for-v4.21. MAINTAINERS | 1 + 1 file changed, 1 insertion

[PATCH/RFC v2] serial: sh-sci: Fix fallback to PIO on DMA failure

2018-10-16 Thread Geert Uytterhoeven
in rx_timer_fn() later. F. On (H)SCIF, sci_submit_rx() is called in the receive interrupt handler. Hence if DMA submission fails, the interrupt handler should handle reception using PIO. Signed-off-by: Geert Uytterhoeven --- Against tty/next + "serial: sh-sci: Fix receive on SCIFA/SCIFB var

[PATCH] pinctrl: sh-pfc: Reduce kernel size for narrow VIN channels

2018-10-16 Thread Geert Uytterhoeven
bytes for R-Car V2H, and by 96 bytes for R-Car E2. Signed-off-by: Geert Uytterhoeven --- To be queued in sh-pfc-for-v4.21. drivers/pinctrl/sh-pfc/pfc-r8a7792.c | 16 drivers/pinctrl/sh-pfc/pfc-r8a7794.c | 4 ++-- drivers/pinctrl/sh-pfc/sh_pfc.h | 17 +++-- 3

Re: [PATCH] MAINTAINERS: Remove Laurent Pinchart as Renesas pinctrl maintainer

2018-10-16 Thread Geert Uytterhoeven
CC pinctrl On Tue, Oct 16, 2018 at 12:33 PM Laurent Pinchart wrote: > Geert Uytterhoeven has long taken over and I'm not involved anymore with > the Renesas pinctrl driver. Remove myself from the maintainers list. > > Signed-off-by: Laurent Pinchart Thank you, will queue in sh-p

Re: [PATCH v2 0/3] mmc: tmio: Fix reset operation

2018-10-16 Thread Geert Uytterhoeven
iB > mmcblk0: p1 p2 Nice! Can you please check if this fixes the similar issue on Magnus' ALT? My (old, latest is v4.15) logs show the same timeout, but with errors 84 (EILSEQ) or 110 (ETIMEDOUT) instead of 5 (EIO). Thanks! Gr{oetje,eeting}s, Geert -- Geert Uytterh

[PATCH/RFC/WIP] serial: sh-sci: Fixes for DMA fallback to PIO

2018-10-12 Thread Geert Uytterhoeven
on r8a7791/koelsch using SCIF1 on debug serial 1, and SCIFA3 on EXIO-B, by introducing random failures in DMA submission code. Not-Yet-Signed-off-by: Geert Uytterhoeven --- Against tty/next + "serial: sh-sci: Fix receive on SCIFA/SCIFB variants with DMA". drivers/tty/serial/sh-

[PATCH 1/2] [RFC] arm64: renesas: Move SoC Kconfig symbols to drivers/soc/renesas/

2018-10-11 Thread Geert Uytterhoeven
For consistency with other vendors, which have a single Kconfig symbol in arch/arm64/Kconfig.platforms. Signed-off-by: Geert Uytterhoeven --- Note that drivers/clk/ is included before drivers/soc/. Hence when COMPILE_TEST=y, questions will be asked about clock drivers before they can be auto

[PATCH 2/2] [RFC] ARM: shmobile: Move SoC Kconfig symbols to drivers/soc/renesas/

2018-10-11 Thread Geert Uytterhoeven
For consistency with arm64, where vendors have a single Kconfig symbol in arch/arm64/Kconfig.platforms. Signed-off-by: Geert Uytterhoeven --- Note that drivers/clk/ is included before drivers/soc/. Hence when COMPILE_TEST=y, questions will be asked about clock drivers before they can be auto

[PATCH/RFC 0/2] arm: renesas: Move SoC Kconfig symbols to drivers/soc/renesas/

2018-10-11 Thread Geert Uytterhoeven
/lists/arm-kernel/msg679390.html Geert Uytterhoeven (2): [RFC] arm64: renesas: Move SoC Kconfig symbols to drivers/soc/renesas/ [RFC] ARM: shmobile: Move SoC Kconfig symbols to drivers/soc/renesas/ arch/arm/mach-shmobile/Kconfig | 101 - arch/arm64/Kconfig.platforms | 54

Re: [PATCH v2] arm64: dts: renesas: r8a77980: add thermal support

2018-10-11 Thread Geert Uytterhoeven
status property is missing but as you told me in v1 it should not > matter. I will leave it for Simon to decide if he wants it to keep it > consistent with other SoC or if we should remove it from the other dtsi > files. In any case with or without the status property. Forgot to review comm

Re: [PATCH] arm64: dts: renesas: r8a77990: Add DMA properties to MSIOF nodes

2018-10-10 Thread Geert Uytterhoeven
On Tue, Oct 9, 2018 at 9:39 AM Yoshihiro Kaneko wrote: > This patch adds DMA properties to the MSIOF device nodes of R8A77990 SoC. > > Signed-off-by: Yoshihiro Kaneko Reviewed-by: Geert Uytterhoeven Tested-by: Geert Uytterhoeven on Ebisu using a 25LC040 EEPROM https://git.kernel.or

Re: [PATCH] clocksource/drivers/sh_cmt: wait for CMCNT on init

2018-10-10 Thread Geert Uytterhoeven
ocksource_switch test in "selftests "uses 2 threads, > In 1 thread it executes inconsistency-check test followed by nano sleep test > and on the second thread it keep changing clock source one after the another. > > This test always fails on R-Car M3-W which is based on arm64. S

Re: [PATCH] ARM: dts: r8a77470: Add I2C[0123] support

2018-10-10 Thread Geert Uytterhoeven
On Mon, Oct 8, 2018 at 11:53 AM Fabrizio Castro wrote: > Add device tree nodes for the I2C[0123] controllers. Also, add > the aliases node. > > Signed-off-by: Fabrizio Castro > Reviewed-by: Biju Das Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, G

Re: [PATCH] clocksource/drivers/sh_cmt: wait for CMCNT on init

2018-10-10 Thread Geert Uytterhoeven
imers. Sorry, being no timer expert, I don't understand the impact of the above paragraph. > > Subject: RE: [PATCH] clocksource/drivers/sh_cmt: wait for CMCNT on init > > > -Original Message- > > > From: Geert Uytterhoeven [mailto:ge...@linux-m68k.org] > >

Re: [PATCH 3/3] dt-bindings: mmc: tmio_mmc: Document Renesas R7S9210

2018-10-10 Thread Geert Uytterhoeven
Devices which have more than 1 clock are listed below: - 2: R7S72100 + 2: R7S72100, R7S9210 Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conv

Re: [PATCH 2/3] mmc: renesas_sdhi_internal_dmac: Add R7S9210 support

2018-10-10 Thread Geert Uytterhoeven
> +#define SDHI_INTERNAL_DMAC_ADRR_MODE_FIXED 2 > + > /* Definitions for sampling clocks */ > static struct renesas_sdhi_scc rcar_gen3_scc_taps[] = { > { Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...

Re: [PATCH 1/3] clk: renesas: r7s9210: Add SDHI clocks

2018-10-10 Thread Geert Uytterhoeven
On Mon, Oct 8, 2018 at 6:24 PM Chris Brandt wrote: > Add SDHI clocks for RZ/A2 > > Signed-off-by: Chris Brandt Reviewed-by: Geert Uytterhoeven i.e. will queue in clk-renesas-for-v4.21. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Lin

Re: [PATCH 4/4] pinctrl: sh-pfc: r8a77470: Add QSPI1 pin groups

2018-10-10 Thread Geert Uytterhoeven
On Mon, Oct 8, 2018 at 11:30 AM Fabrizio Castro wrote: > Add QSPI1 pin groups and function to the RZ/G1C (a.k.a. R8A77470) > pinctrl driver. > > Signed-off-by: Fabrizio Castro > Reviewed-by: Fabrizio Castro Reviewed-by: Geert Uytterhoeven i.e. will queue in sh-pfc-for-v4.21.

Re: [PATCH 3/4] pinctrl: sh-pfc: r8a77470: Add VIN pin groups

2018-10-10 Thread Geert Uytterhoeven
On Mon, Oct 8, 2018 at 11:30 AM Fabrizio Castro wrote: > Add VIN[01] pin groups and functions to the RZ/G1C (a.k.a. > R8A77470) pinctrl driver. > > Signed-off-by: Fabrizio Castro > Reviewed-by: Biju Das Reviewed-by: Geert Uytterhoeven i.e. will queue in sh-pfc-for-v4.21. Gr

Re: [PATCH 2/4] pinctrl: sh-pfc: r8a77470: Add DU1 pin groups

2018-10-10 Thread Geert Uytterhoeven
On Mon, Oct 8, 2018 at 11:30 AM Fabrizio Castro wrote: > Add DU1 pin groups and function to the RZ/G1C (a.k.a. R8A77470) > pinctrl driver. Reviewed-by: Geert Uytterhoeven i.e. will queue in sh-pfc-for-v4.21. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- T

Re: [PATCH 1/4] pinctrl: sh-pfc: r8a77470: Add remaining I2C pin groups

2018-10-10 Thread Geert Uytterhoeven
On Mon, Oct 8, 2018 at 11:30 AM Fabrizio Castro wrote: > This patch adds I2C[0123] groups and functions to the RZ/G1C > (a.k.a. R8A77470) pinctrl driver. > > Signed-off-by: Fabrizio Castro > Reviewed-by: Biju Das Reviewed-by: Geert Uytterhoeven i.e. will queue in sh-pfc-for-v

Re: [PATCH v3 2/6] pinctrl: sh-pfc: r8a77470: Add SDHI support

2018-10-10 Thread Geert Uytterhoeven
C_PIN_CFG_IO_VOLTAGE), \ > + PORT_GP_CFG_1(0, 11, fn, sfx, SH_PFC_PIN_CFG_IO_VOLTAGE), \ > + PORT_GP_CFG_1(0, 12, fn, sfx, SH_PFC_PIN_CFG_IO_VOLTAGE), \ GP0_11 and GP0_12 do not have I/O voltage controls. Hence they're also not handled by r8a77470_pin_to_pocctrl() below. With the a

Re: [PATCH v2] arm64: dts: renesas: r8a77970: add thermal support

2018-10-10 Thread Geert Uytterhoeven
against the 'renesas-devel-20181004-v4.19-rc6' tag of Simon > Horman's 'renesas.git' repo. > > Changed in version 2: > - fix the "reg" prop in the thermal device node; > - fixed wrong plural in the patch description. Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s,

Re: [PATCH] arm64: dts: renesas: r8a77970: add thermal support

2018-10-10 Thread Geert Uytterhoeven
Hi Sergei, On Mon, Oct 8, 2018 at 8:04 PM Sergei Shtylyov wrote: > On 10/08/2018 07:40 PM, Geert Uytterhoeven wrote: > >>>> Describe THS/CIVM in the R8A77970 device trees. > >>>> Based on the original (and large) patches by Vladimir Barinov. > >>>>

Re: [PATCH] arm64: mm: Use #ifdef for the __PAGETABLE_P?D_FOLDED defines

2018-10-09 Thread Geert Uytterhoeven
Hi James, On Tue, Oct 9, 2018 at 3:25 PM James Morse wrote: > On 09/10/2018 13:37, Geert Uytterhoeven wrote: > > On Fri, Oct 5, 2018 at 3:55 PM James Morse wrote: > >> __is_defined(__PAGETABLE_P?D_FOLDED) doesn't quite work as intended > >> as these symbols

renesas-drivers-2018-10-09-v4.19-rc7

2018-10-09 Thread Geert Uytterhoeven
://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git#for-next Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a hacker

Re: [PATCH] arm64: mm: Use #ifdef for the __PAGETABLE_P?D_FOLDED defines

2018-10-09 Thread Geert Uytterhoeven
1b4 bootmem_init+0x80/0x1a4 setup_arch+0x1ec/0x52c start_kernel+0x78/0x45c Reverting this commit fixes the symptoms, but I doubt it fixes the real underlying issue. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux

Re: [GIT PULL FOR renesas-drivers] D3 and E3 HDMI output support

2018-10-09 Thread Geert Uytterhoeven
| 110 +++ > 16 files changed, 1187 insertions(+), 148 deletions(-) Dropped, as all (or a newer version) of this seems to have found its way to\ maintainers' for-next branches. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond

Re: [PATCH] arm64: dts: renesas: r8a77970: add thermal support

2018-10-08 Thread Geert Uytterhoeven
Hi Sergei, On Mon, Oct 8, 2018 at 6:35 PM Sergei Shtylyov wrote: > On 10/08/2018 11:12 AM, Geert Uytterhoeven wrote: > >> Describe THS/CIVM in the R8A77970 device trees. > >> Based on the original (and large) patches by Vladimir Barinov. > >> > >> Signed-of

Re: [PATCH] arm64: dts: renesas: r8a77970: add thermal support

2018-10-08 Thread Geert Uytterhoeven
}; > + > intc_ex: interrupt-controller@e61c { > compatible = "renesas,intc-ex-r8a77970", > "renesas,irqc"; > #interrupt-cells = <2>; The rest looks good to me, so with the above fixed: Reviewed-by: Geert

Re: [PATCH 29/36] dt-bindings: arm: Convert Renesas board/soc bindings to json-schema

2018-10-08 Thread Geert Uytterhoeven
ve an SPDX header, so it was GPL-2.0, implicitly? > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/bindings/arm/shmobile.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Renesas SH-Mobile, R-Mobile, and R-Car Platform Device Tree Bindings > +

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

2018-10-05 Thread Geert Uytterhoeven
: Updates for v4.20 (take three) - Add support for the new RZ/N1D (R9A06G032) and RZ/N1S (R9A06G033) SoCs, - Add INTC-EX pin groups on R-Car E3. Thanks for pulling! Geert Uytterhoeven (1): pinctrl: sh-pfc: r8a77990: Add INTC

Re: [PATCH 2/2] thermal: rcar_thermal: add R8A77970 support

2018-10-05 Thread Geert Uytterhoeven
iewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programme

Re: [PATCH 1/2] dt-bindings: thermal: rcar-thermal: document R8A77970 bindings

2018-10-05 Thread Geert Uytterhoeven
iewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programme

Re: [GIT PULL] Renesas ARM64 Based SoC SoC Updates for v4.20

2018-10-04 Thread Geert Uytterhoeven
Hi Arnd, On Tue, Oct 2, 2018 at 2:31 PM Geert Uytterhoeven wrote: > On Tue, Oct 2, 2018 at 2:18 PM Arnd Bergmann wrote: > > On Tue, Oct 2, 2018 at 10:31 AM Geert Uytterhoeven > > wrote: > > > On Fri, Sep 28, 2018 at 10:10 PM Arnd Bergmann wrote: > > > > On

Re: [PATCH 1/6] dt-bindings: mmc: renesas_sdhi: Add r8a77470 support

2018-10-04 Thread Geert Uytterhoeven
s > > --- > v1->v2: > * Added "renesas,sdhi-mmc-r8a77470" > * Using generic/fallback compatibilty only for SDHI[02] > * Reworked changelog Thanks for the update! Reviewed-by: Geert Uytterhoeven > --- a/Documentation/devicetree/bindings/mmc/tmio_mmc.txt > +++ b/

Re: [GIT PULL] Renesas ARM64 Based SoC SoC Updates for v4.20

2018-10-04 Thread Geert Uytterhoeven
Hi Arnd, On Tue, Oct 2, 2018 at 2:31 PM Geert Uytterhoeven wrote: > On Tue, Oct 2, 2018 at 2:18 PM Arnd Bergmann wrote: > > On Tue, Oct 2, 2018 at 10:31 AM Geert Uytterhoeven > > wrote: > > > On Fri, Sep 28, 2018 at 10:10 PM Arnd Bergmann wrote: > > > > On

Re: [PATCH] thermal: rcar_thermal: fix duplicate IRQ request

2018-10-04 Thread Geert Uytterhoeven
gt; Signed-off-by: Sergei Shtylyov Nice catch! Reviewed-by: Geert Uytterhoeven > --- linux.orig/drivers/thermal/rcar_thermal.c > +++ linux/drivers/thermal/rcar_thermal.c > @@ -504,7 +504,7 @@ static int rcar_thermal_probe(struct pla > pm_runtime_get_sync(dev); >

Re: [PATCH v2] thermal_hwmon: Fix the 'No sensors found' error after replacing the parameter NULL by the actual device

2018-10-03 Thread Geert Uytterhoeven
>type, > + hwmon->device = hwmon_device_register_with_info(tz->device.parent, > hwmon->type, > hwmon, NULL, NULL); > if (IS_ERR(hwmon->device)) { > result = PTR_ERR(hwmon->device); Gr{oetje,eeting}s,

Re: [GIT PULL] Renesas ARM64 Based SoC SoC Updates for v4.20

2018-10-02 Thread Geert Uytterhoeven
Hi Arnd, On Tue, Oct 2, 2018 at 2:18 PM Arnd Bergmann wrote: > On Tue, Oct 2, 2018 at 10:31 AM Geert Uytterhoeven > wrote: > > On Fri, Sep 28, 2018 at 10:10 PM Arnd Bergmann wrote: > > > On Fri, Sep 28, 2018 at 12:21 PM Simon Horman > > > wrote: > > &g

Re: [PATCH v2 5/8] pinctrl: sh-pfc: r8a77990: Add VIN pins, groups and functions

2018-10-02 Thread Geert Uytterhoeven
> + "vin4_sync", > + "vin4_field", > + "vin4_clkenb", > + "vin4_clk", > +}; > + > +static const char * const vin5_groups[] = { > + "vin5_data8_a", > + "vin5_data8_sft8_a", Lik

Re: [GIT PULL] Renesas ARM64 Based SoC SoC Updates for v4.20

2018-10-02 Thread Geert Uytterhoeven
A53 instead of Cortex-A9 cores). For the DTB files, I believe we can just remove the dependencies, and always build all DTBs. What do you think? Thanks! Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal

Re: [PATCH] arm64: dts: renesas: r8a779{7|8}0: add PWM support

2018-10-02 Thread Geert Uytterhoeven
On Mon, Oct 1, 2018 at 10:26 PM Sergei Shtylyov wrote: > Describe PWMs in the R8A779{7|8}0 device trees. > > Based on the original (and large) patches by Vladimir Barinov. > > Signed-off-by: Vladimir Barinov > Signed-off-by: Sergei Shtylyov Reviewed-by: Geert Uytterhoeven

Re: [PATCH] dt-bindings: pwm: renesas: pwm-rcar: document R8A779{7|8}0 bindings

2018-10-02 Thread Geert Uytterhoeven
lyov Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just

Re: [PATCH V2] iio: adc: Fix Renesas GyroADC MAINTAINERS entry

2018-10-02 Thread Geert Uytterhoeven
On Tue, Oct 2, 2018 at 3:00 AM Marek Vasut wrote: > Fix the F: entry in MAINTAINERS file, point it to the correct file. > While at it, add DT binding doc F: entry too. > > Signed-off-by: Marek Vasut Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geer

Re: [GIT PULL LTSI-4.14] LTSI-v4.14 Backport or I2C R-Car Fix

2018-10-01 Thread Geert Uytterhoeven
Hi Simon, On Mon, Oct 1, 2018 at 3:52 PM Simon Horman wrote: > On Mon, Oct 01, 2018 at 12:08:38PM +0200, Geert Uytterhoeven wrote: > > On Tue, Sep 18, 2018 at 10:51 AM Simon Horman wrote: > > > This is intended as a submission to LTSI-4.14. It is the backport > > &

Re: [PATCH] arm64: dts: renesas: r8a77990: Add INTC-EX device node

2018-10-01 Thread Geert Uytterhoeven
Hi Simon, On Mon, Oct 1, 2018 at 3:36 PM Simon Horman wrote: > On Fri, Sep 28, 2018 at 01:37:56PM +0200, Geert Uytterhoeven wrote: > > From: Takeshi Kihara > > This patch adds a device node for the Interrupt Controller for External > > Devices (INTC-EX) on R-Car E3, whic

[PATCH v4.14-ltsi] eeprom: at24: Add OF device ID table

2018-10-01 Thread Geert Uytterhoeven
compatible matches an entry in the OF device ID table. Suggested-by: Wolfram Sang Signed-off-by: Javier Martinez Canillas Signed-off-by: Wolfram Sang (cherry picked from commit 7f2a2f0d0d66b2d834c793df45af3277bb5f10f4) Signed-off-by: Geert Uytterhoeven --- Without this, EEPROMs using e.g

Re: [GIT PULL LTSI-4.14] LTSI-v4.14 Backport or I2C R-Car Fix

2018-10-01 Thread Geert Uytterhoeven
uirk"), which was not backported. I think the easiest solution is to just drop "i2c: sh_mobile: define start_ch() void as it only returns 0 anyhow", as it was meant not to introduce any behavioral changes, and nothing depends on it. Do you agree? Thanks! > i2c: sh_mobi

<    1   2   3   4   5   6   7   8   9   10   >