[PATCH] pinctrl: sh-pfc: r8a77990: Add support for pull-up only pins

2018-12-07 Thread Geert Uytterhoeven
. Reported-by: Yoshihiro Shimoda Fixes: 83f6941a42a5e773 ("pinctrl: sh-pfc: r8a77990: Add bias pinconf support") Signed-off-by: Geert Uytterhoeven --- To be queued in sh-pfc-for-v4.22. drivers/pinctrl/sh-pfc/pfc-r8a77990.c | 23 ++- 1 file changed, 18 insert

[git pull] clk: renesas: Updates for v4.21 (take two)

2018-12-07 Thread Geert Uytterhoeven
! Geert Uytterhoeven (12): dt-bindings: clock: r8a7795: Remove CSIREF clock dt-bindings: clock: r8a7796: Remove CSIREF clock clk: renesas: r8a774a1: Add CPEX clock clk: renesas: r8a7795: Add CPEX clock clk: renesas: r8a7796: Add CPEX clock clk: renesas

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

2018-12-07 Thread Geert Uytterhoeven
insertions(+), 2 deletions(-) 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

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

2018-12-07 Thread Geert Uytterhoeven
insertions(+), 2 deletions(-) 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 v3 2/4] rtc: pcf85363: Add support for NXP pcf85263 rtc

2018-12-07 Thread Geert Uytterhoeven
s == 0) > > > return -EINVAL; > > > > Why not 0? > > Ok. Will merge with above check. > > if ((offset >= nvmem->size) && (bytes == 0)) "||" ;-) > return 0; Gr{oetje,eeting}s, Geert --

Re: [PATCH 2/5] pwm: rcar: Add support "atomic" API

2018-12-07 Thread Geert Uytterhoeven
polarity isn't used here which is a bug I think. > > Is the documentation for this hardware publically available? Please check Section 59 of the "User's Manual: Hardware" at https://www.renesas.com/eu/en/products/microcontrollers-microprocessors/rz/rzg/rzg1m.html 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

Re: [PATCH v3 2/4] rtc: pcf85363: Add support for NXP pcf85263 rtc

2018-12-07 Thread Geert Uytterhoeven
>size) This might overflow, please use check_add_overflow(). > bytes = nvmem->size - offset; > > nvmem_device_write > > /* Stop the user from writing */ > if (offset >= nvmem->size) > return -EFBIG; ENOSPC? + same comments as for read. Oh, and offset is unsigned int instead of

Re: [PATCH 2/3] arm64: defconfig: Enable scu-simple-card driver

2018-12-07 Thread Geert Uytterhoeven
_SND_SOC_RT5645=m > CONFIG_SND_SIMPLE_CARD=m > +CONFIG_SND_SIMPLE_SCU_CARD=y Shouldn't this be "m"? > CONFIG_SND_AUDIO_GRAPH_CARD=m > CONFIG_I2C_HID=m > CONFIG_USB=y Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond

Re: phandles using absolute paths in DT overlays

2018-12-07 Thread Geert Uytterhoeven
Hi David, Thanks for your answer! On Fri, Dec 7, 2018 at 2:44 AM David Gibson wrote: > On Thu, Dec 06, 2018 at 01:56:45PM +0100, Geert Uytterhoeven wrote: > > Some early revisions of SoCs may have hardware bugs that need to be > > fixed up in DT. Currently we are handling this b

Re: [PATCH v3 2/4] rtc: pcf85363: Add support for NXP pcf85263 rtc

2018-12-06 Thread Geert Uytterhoeven
e for writing. > > > > > +} > > > > BTW, while the nvmem_device_{read,write}() public API is documented, the > > nvmem_device.reg_{read,write}() driver API isn't. > > And the behavior might be confusing. > > > > E.g. > > * Return: length of succe

Re: [PATCH v3 4/4] ARM: dts: iwg23s-sbc: Enable RTC

2018-12-06 Thread Geert Uytterhoeven
> > > Signed-off-by: Biju Das > > > > Reviewed-by: Geert Uytterhoeven > > > > > --- a/arch/arm/boot/dts/r8a77470-iwg23s-sbc.dts > > > +++ b/arch/arm/boot/dts/r8a77470-iwg23s-sbc.dts > > > @@ -84,12 +84,30 @@ > > > clock-frequency = &

phandles using absolute paths in DT overlays

2018-12-06 Thread Geert Uytterhoeven
__fixups__ { /path/to/node@deadbeef = "/fragment@0/__overlay__:power-domains:0"; }; When using ftdoverlay, the situation is worse: Failed to apply my.dtb (-1) Are these known issues? Thanks for your comments! Gr{oetje,eeting}s, Geert -- Geert Uytt

Re: [PATCH v3 4/4] ARM: dts: iwg23s-sbc: Enable RTC

2018-12-06 Thread Geert Uytterhoeven
Hi Biju, On Thu, Dec 6, 2018 at 10:04 AM Biju Das wrote: > Enable NXP pcf85263 real time clock for the iWave SBC based on RZ/G1C. > > Signed-off-by: Biju Das Reviewed-by: Geert Uytterhoeven > --- a/arch/arm/boot/dts/r8a77470-iwg23s-sbc.dts > +++ b/arch/arm/boot/dts/r8a77470

Re: [PATCH v3 3/4] ARM: shmobile: Enable NXP pcf85363 rtc in shmobile_defconfig

2018-12-06 Thread Geert Uytterhoeven
On Thu, Dec 6, 2018 at 10:04 AM Biju Das wrote: > > The iWave RZ/G1C SBC supports RTC (NXP pcf85263). To increase hardware > support enable the driver in the shmobile_defconfig multiplatform > configuration. > > Signed-off-by: Biju Das Reviewed-by: Geert Uytterhoeven

Re: [PATCH v3 2/4] rtc: pcf85363: Add support for NXP pcf85263 rtc

2018-12-06 Thread Geert Uytterhoeven
funny. Please use C99 initializers for all struct members. > +}; > + > +static const struct pcf85x63_config pcf_85363_config = { > + { > + .reg_bits = 8, > + .val_bits = 8, > + .max_register = 0x7f, > + }, > + 2 Likewise. The res

Re: [PATCH v3 1/4] dt-bindings: rtc: pcf85363: Document pcf85263 real-time clock

2018-12-06 Thread Geert Uytterhoeven
d-off-by: Biju Das 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 ju

[RFC PATCH 7/7] soc: renesas: r8a77990-sysc: Fix power request conflicts

2018-12-05 Thread Geert Uytterhoeven
Describe the location and contents of the SYSCEXTMASK register on R-Car E3, to prevent conflicts between internal and external power requests. Based on a patch in the BSP by Dien Pham . Signed-off-by: Geert Uytterhoeven --- drivers/soc/renesas/r8a77990-sysc.c | 3 +++ 1 file changed, 3

[RFC PATCH 6/7] soc: renesas: r8a77980-sysc: Fix power request conflicts

2018-12-05 Thread Geert Uytterhoeven
Describe the location and contents of the SYSCEXTMASK register on R-Car V3H, to prevent conflicts between internal and external power requests. Signed-off-by: Geert Uytterhoeven --- drivers/soc/renesas/r8a77980-sysc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/soc/renesas

[RFC PATCH 1/7] soc: renesas: rcar-sysc: Prepare for fixing power request conflicts

2018-12-05 Thread Geert Uytterhoeven
support for making use of this register. Take into account that the register is optional, and that its location and contents are SoC-specific. Inspired by a patch in the BSP by Dien Pham . Signed-off-by: Geert Uytterhoeven --- drivers/soc/renesas/rcar-sysc.c | 16 drivers/soc

[RFC PATCH 0/7] soc: renesas: rcar-gen3-sysc: Fix power request conflicts

2018-12-05 Thread Geert Uytterhoeven
, V3M, and E3 (only the last 3 have this register!), and regression-tested on R-Car Gen2. This has not been tested on R-Car H3 ES3.0, M3-W ES2.0, and V3H. Thanks for your comments! Geert Uytterhoeven (7): soc: renesas: rcar-sysc: Prepare for fixing power request conflicts soc: renesas: r8a7795

[RFC PATCH 3/7] soc: renesas: r8a7796-sysc: Fix power request conflicts

2018-12-05 Thread Geert Uytterhoeven
Describe the location and contents of the SYSCEXTMASK register on R-Car M3-W, to prevent conflicts between internal and external power requests. This register does not exist on R-Car M3-W ES1.x. Based on a patch in the BSP by Dien Pham . Signed-off-by: Geert Uytterhoeven --- drivers/soc

[RFC PATCH 5/7] soc: renesas: r8a77970-sysc: Fix power request conflicts

2018-12-05 Thread Geert Uytterhoeven
Describe the location and contents of the SYSCEXTMASK register on R-Car V3M, to prevent conflicts between internal and external power requests. Based on a patch in the BSP by Dien Pham . Signed-off-by: Geert Uytterhoeven --- drivers/soc/renesas/r8a77970-sysc.c | 3 +++ 1 file changed, 3

[RFC PATCH 4/7] soc: renesas: r8a77965-sysc: Fix power request conflicts

2018-12-05 Thread Geert Uytterhoeven
Describe the location and contents of the SYSCEXTMASK register on R-Car M3-N, to prevent conflicts between internal and external power requests. Based on a patch in the BSP by Dien Pham . Signed-off-by: Geert Uytterhoeven --- drivers/soc/renesas/r8a77965-sysc.c | 3 +++ 1 file changed, 3

[RFC PATCH 2/7] soc: renesas: r8a7795-sysc: Fix power request conflicts

2018-12-05 Thread Geert Uytterhoeven
Describe the location and contents of the SYSCEXTMASK register on R-Car H3, to prevent conflicts between internal and external power requests. This register does not exist on R-Car H3 ES1.x and ES2.x. Based on a patch in the BSP by Dien Pham . Signed-off-by: Geert Uytterhoeven --- drivers/soc

Re: [PATCH 14/14] gpio: pca953x: Restore registers after suspend/resume cycle

2018-12-05 Thread Geert Uytterhoeven
t adding suspend/resume support to the VC5 clock driver, I guess the two sync calls above are not needed here? > + > + regulator_disable(chip->regulator); > + > + return 0; > +} Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lo

Re: [PATCH 2/2] ARM: dts: r7s9210-rza2mevb: Add support for RZ/A2M EVB

2018-12-04 Thread Geert Uytterhoeven
,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"

Re: [PATCH 2/2] ARM: dts: r7s9210-rza2mevb: Add support for RZ/A2M EVB

2018-12-04 Thread Geert Uytterhoeven
lt; RZA2_PIN(PORTC, 1) GPIO_ACTIVE_HIGH>; } > + }; > + }; > + { > + Please drop this blank line. > + /* Serial Console */ > + scif4_pins: serial4 { > + pinmux = ,/* TxD4 */ > +;/* RxD4 */ >

Re: [PATCH 1/2] ARM: dts: r7s9210: Initial SoC device tree

2018-12-04 Thread Geert Uytterhoeven
erty is not documented in the DT bindings. Moreover, using different names for the clock inputs of the different channels is strange. > + scif0: serial@e8007000 { > + compatible = "renesas,scif-r7s9210"; > + reg = &

Re: [PATCH 17/22] ARM: dts: iwg20d-q7-common: Move cmt/rwdt node out of RZ/G1M SOM

2018-12-04 Thread Geert Uytterhoeven
> on both of these boards with less lines of code. > > Signed-off-by: Biju Das 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 peo

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

2018-12-04 Thread Geert Uytterhoeven
boards when setting the clock > rete totally ignore it. This is made possible by another change to the > clock driver posted separately from this series and which this patch > now depends on [1]. > > 1. [PATCH] clk: renesas: rcar-gen3: set state when registering SD clocks Thank

Re: [PATCH] clk: renesas: rcar-gen3: set state when registering SD clocks

2018-12-04 Thread Geert Uytterhoeven
ock is stopped or not for example. > > Fix this by setting a known state and make sure the clock is stopped. > > Signed-off-by: Niklas Söderlund Thanks for your patch! Reviewed-by: Geert Uytterhoeven One minor nit below. > --- a/drivers/clk/renesas/rcar-gen3-cpg.c > +++ b/dri

Re: [RFC] watchdog: renesas_wdt: don't keep timer value during suspend/resume

2018-12-04 Thread Geert Uytterhoeven
work.kernel.org/patch/10252209/ > > Signed-off-by: Wolfram Sang 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 myse

renesas-drivers-2018-12-04-v4.20-rc5

2018-12-04 Thread Geert Uytterhoeven
/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...@linux-m68k.org In personal conversations with technical

Re: [PATCH 14/14] gpio: pca953x: Restore registers after suspend/resume cycle

2018-12-03 Thread Geert Uytterhoeven
ata_rcar driver. 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 "programme

[PATCH 1/2] ARM: dts: stout: Convert to new LVDS DT bindings

2018-12-03 Thread Geert Uytterhoeven
30d8f9bd83 ("ARM: dts: r8a7790: Convert to new LVDS DT bindings") Signed-off-by: Geert Uytterhoeven --- Compile-tested only. --- arch/arm/boot/dts/r8a7790-stout.dts | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/r8a7790-stout.dts

[PATCH 2/2] arm64: dts: renesas: r8a7796: salvator-xs: Convert to new LVDS DT bindings

2018-12-03 Thread Geert Uytterhoeven
-XS boards equipped with an R-Car M3-W SoC were forgotten. Fixes: 58e8ed2ee9abe718 ("arm64: dts: renesas: Convert to new LVDS DT bindings") Signed-off-by: Geert Uytterhoeven --- Compile-tested only. --- arch/arm64/boot/dts/renesas/r8a7796-salvator-xs.dts | 3 +-- 1 file changed, 1 inser

[PATCH 0/2] arm: dts: renesas: Convert remaining boards to new LVDS DT bindings

2018-12-03 Thread Geert Uytterhoeven
h R-Car H2 and Salvator-XS with R-Car M3-W were forgotten. This patch series converts the remaining boards. Both patches were compiled-tested only. Thanks! Geert Uytterhoeven (2): ARM: dts: stout: Convert to new LVDS DT bindings arm64: dts: renesas: r8a7796: salvator-xs: Convert to n

[PATCH] ARM: dts: r8a7743: Remove legacy "renesas,rcar-thermal" compatibility

2018-12-03 Thread Geert Uytterhoeven
backwards compatibility with kernels predating thermal zone support. Fixes: 6c76b4f7d89e89f0 ("ARM: dts: r8a7743: Add thermal device to DT") Signed-off-by: Geert Uytterhoeven --- arch/arm/boot/dts/r8a7743.dtsi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/

Re: [PATCH] mmc: document 'Reliable Write' bit in uapi header

2018-12-03 Thread Geert Uytterhoeven
Hi Wolfram, On Mon, Dec 3, 2018 at 3:27 PM Wolfram Sang wrote: > If we use it this way, people should know about it. > > Signed-off-by: Wolfram Sang Reviewed-by: Geert Uytterhoeven > --- > > Still not super happy about shifting into the sign bit, but yeah... > don't bre

Re: [PATCH/RFT] arm64: dts: renesas: r8a77990-ebisu: Add BD9571 PMIC

2018-12-03 Thread Geert Uytterhoeven
de-level; Unfortunately resume from s2ram doesn't work with this, probably due to an issue in ATF. This may have been fixed in IPL and Secure Monitor Rev1.0.22, which claims to add support for the Ebisu-4D board. I don't know if plain Ebisu needs a different configuration.

Re: [PATCH 2/2] ARM: dts: r7s9210-rza2mevb: Add support for RZ/A2M EVB

2018-11-30 Thread Geert Uytterhoeven
dual license thing and just > use SPDX GPL-2.0 That's one solution. Another solution would be to relicense all DT binding definitions and DTS files. Cfr. e.g. commit d061864b89c3234b ("ARM: dt: relicense two DT binding IRQ headers"). Gr{oetje,eeting}s, Geert --

Re: [PATCH 1/2] ARM: dts: r7s9210: Initial SoC device tree

2018-11-30 Thread Geert Uytterhoeven
sed the hardware address decoder would route all addresses in the range 0xe803b000..0xe803b02f to the OSTM. 0xe803b000..0xe803b03f sounds more logical to me, as it requires less gates. But hey, who said hardware designers are logical? ;-) Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven

Re: [PATCH 2/2] ARM: dts: r7s9210-rza2mevb: Add support for RZ/A2M EVB

2018-11-30 Thread Geert Uytterhoeven
X identifiers for dual-licensed files. Perhaps they match the license of your file? 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 v2 2/2] clk: renesas: rcar-gen3: add HS400 quirk for SD clock

2018-11-30 Thread Geert Uytterhoeven
plemented differently beforehand. Probably the initial implementation didn't care at all about selecting clock speeds (no fancy SDR/HS modes supported), so just used whatever U-Boot had set up. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of L

Re: [PATCH v2 2/4] rtc: pcf85363: Add support for NXP pcf85263 rtc

2018-11-30 Thread Geert Uytterhoeven
Hi Alexandre, On Fri, Nov 30, 2018 at 1:32 PM Alexandre Belloni wrote: > On 30/11/2018 12:05:16+0100, Geert Uytterhoeven wrote: > > On Thu, Nov 29, 2018 at 6:03 PM Biju Das wrote: > > > Add support for NXP pcf85263 real-time clock. pcf85263 rtc is compatible > >

Re: [PATCH 05/22] ARM: dts: r8a7744-iwg20m: Add eMMC support

2018-11-30 Thread Geert Uytterhoeven
; > > > > Signed-off-by: Biju Das > > > > Reviewed-by: Geert Uytterhoeven > > > > I assume the PCB is the same for RZ/G1M and RZ/G1N, so perhaps this can > > be factored out in a common .dtsi file, like we did for Salvator-X(S)? > > SoM is different bet

Re: [PATCH v2 2/4] rtc: pcf85363: Add support for NXP pcf85263 rtc

2018-11-30 Thread Geert Uytterhoeven
5363->regmap = devm_regmap_init_i2c(client, regmap_config); > if (IS_ERR(pcf85363->regmap)) { > dev_err(>dev, "regmap allocation failed\n"); > return PTR_ERR(pcf85363->regmap); 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: [PATCH 19/22] ARM: dts: r8a7744-iwg20m: Add SPI NOR support

2018-11-30 Thread Geert Uytterhoeven
standard MOSI/MISO pins, you should use <2> for both. > > The RSPI driver supports this. > > > > The same applies to the RZ/G1M version. > > SST25VF016B this doesn't support dual mode. OK. So some boards have a dual-capable part, others

Re: [PATCH 12/22] ARM: dts: r8a7744-iwg20d-q7-dbcm-ca: Add device tree for camera DB

2018-11-30 Thread Geert Uytterhoeven
On Tue, Nov 27, 2018 at 1:05 PM Biju Das wrote: > This patch adds support for the camera daughter board which is > connected to iWave's RZ/G1N Qseven carrier board. > > Signed-off-by: Biju Das Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geer

Re: [PATCH 19/22] ARM: dts: r8a7744-iwg20m: Add SPI NOR support

2018-11-30 Thread Geert Uytterhoeven
r supports this. The same applies to the RZ/G1M version. > + m25p,fast-read; > + spi-cpol; > + spi-cpha; > + }; > +}; Apart from that: Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven

Re: [PATCH 06/22] ARM: dts: r8a7744-iwg20m: Enable SDHI10 controller

2018-11-30 Thread Geert Uytterhoeven
On Tue, Nov 27, 2018 at 1:05 PM Biju Das wrote: > Enable the SDHI0 controller on iWave RZ/G1N Qseven System On Module. > > Signed-off-by: Biju Das Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux be

Re: [PATCH 05/22] ARM: dts: r8a7744-iwg20m: Add eMMC support

2018-11-30 Thread Geert Uytterhoeven
On Tue, Nov 27, 2018 at 1:05 PM Biju Das wrote: > Add eMMC support for iWave RZ/G1N Qseven System On Module. > > Signed-off-by: Biju Das Reviewed-by: Geert Uytterhoeven I assume the PCB is the same for RZ/G1M and RZ/G1N, so perhaps this can be factored out in a common .dtsi file, li

Re: [PATCH 3/7] ARM: dts: r8a7744-iwg20d-q7: Add support for iWave G20D-Q7 board based on RZ/G1N

2018-11-30 Thread Geert Uytterhoeven
On Thu, Nov 22, 2018 at 10:23 AM Biju Das wrote: > Add support for iWave RainboW-G20D-Qseven board based on RZ/G1N. > > Signed-off-by: Biju Das Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond i

Re: [PATCH 1/7] ARM: dts: r8a7744-iwg20m: Add iWave RZ/G1N Qseven SOM

2018-11-30 Thread Geert Uytterhoeven
Hi Biju, On Thu, Nov 22, 2018 at 10:22 AM Biju Das wrote: > Add support for iWave RZ/G1N Qseven System On Module. > > Signed-off-by: Biju Das Reviewed-by: Geert Uytterhoeven > --- /dev/null > +++ b/arch/arm/boot/dts/r8a7744-iwg20m.dtsi > @@ -0,0 +1,31 @@ > +// SPDX-Li

Re: [PATCH 5/5] ARM: dts: r8a7744: Add TPU support

2018-11-30 Thread Geert Uytterhoeven
On Wed, Nov 28, 2018 at 5:47 PM Biju Das wrote: > Add TPU support to SoC DT. > > Signed-off-by: Biju Das Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In

Re: [PATCH 4/5] ARM: dts: r8a7744: Add PWM SoC support

2018-11-30 Thread Geert Uytterhoeven
On Wed, Nov 28, 2018 at 5:47 PM Biju Das wrote: > Add the definitions for pwm[0123456] to the SoC dtsi. > > Signed-off-by: Biju Das Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge

Re: [PATCH 2/5] ARM: dts: r8a7744: Add VSP support

2018-11-30 Thread Geert Uytterhoeven
On Wed, Nov 28, 2018 at 5:47 PM Biju Das wrote: > Add VSP support to SoC DT. > > Signed-off-by: Biju Das Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In

Re: [PATCH 3/5] ARM: dts: r8a7744: Add IPMMU DT nodes

2018-11-30 Thread Geert Uytterhoeven
On Wed, Nov 28, 2018 at 5:47 PM Biju Das wrote: > Add the six IPMMU instances found in the r8a7744 to DT with a disabled > status. > > Signed-off-by: Biju Das Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's l

Re: [PATCH 22/22] ARM: dts: r8a7744: Add PCIe Controller device node

2018-11-30 Thread Geert Uytterhoeven
On Tue, Nov 27, 2018 at 1:06 PM Biju Das wrote: > Add a device node for the PCIe controller on the Renesas > RZ/G1N (r8a7744) SoC. Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...

Re: [PATCH 1/5] ARM: dts: r8a7744: add VIN dt support

2018-11-30 Thread Geert Uytterhoeven
On Wed, Nov 28, 2018 at 5:47 PM Biju Das wrote: > Add VIN[012] support to SoC dt. > > Signed-off-by: Biju Das Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In

Re: [PATCH 21/22] ARM: dts: r8a7744: Add xhci support

2018-11-30 Thread Geert Uytterhoeven
On Tue, Nov 27, 2018 at 1:05 PM Biju Das wrote: > Add a device node for the xhci controller on the Renesas > RZ/G1N (r8a7744) SoC. > > Signed-off-by: Biju Das Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's l

Re: [PATCH 20/22] ARM: dts: r8a7744: Add MSIOF[012] support

2018-11-30 Thread Geert Uytterhoeven
On Tue, Nov 27, 2018 at 1:05 PM Biju Das wrote: > Add the DT nodes needed by MSIOF[012] interfaces to the SoC dtsi. > > Signed-off-by: Biju Das Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond i

Re: [PATCH 18/22] ARM: dts: r8a7744: Add QSPI support

2018-11-30 Thread Geert Uytterhoeven
On Tue, Nov 27, 2018 at 1:05 PM Biju Das wrote: > Add the DT node for the QSPI interface to the SoC dtsi. > > Signed-off-by: Biju Das Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge

Re: [PATCH 14/22] ARM: dts: r8a7744: Add IRQC support

2018-11-30 Thread Geert Uytterhoeven
On Tue, Nov 27, 2018 at 1:05 PM Biju Das wrote: > Describe the IRQC interrupt controller in the r8a7744 device tree. > > Signed-off-by: Biju Das Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond i

Re: [PATCH 15/22] ARM: dts: r8a7744: Add thermal device to DT

2018-11-30 Thread Geert Uytterhoeven
On Tue, Nov 27, 2018 at 1:05 PM Biju Das wrote: > This patch instantiates the thermal sensor module with thermal-zone > support. > > Signed-off-by: Biju Das Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's l

Re: [PATCH 16/22] ARM: dts: r8a7744: Add CMT SoC specific support

2018-11-30 Thread Geert Uytterhoeven
On Tue, Nov 27, 2018 at 1:05 PM Biju Das wrote: > Add CMT[01] support to SoC DT. > > Signed-off-by: Biju Das Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In

Re: [PATCH 13/22] ARM: dts: r8a7744: Add CAN support

2018-11-30 Thread Geert Uytterhoeven
On Tue, Nov 27, 2018 at 1:05 PM Biju Das wrote: > Add the definitions for can0 and can1 to the r8a7744 SoC dtsi. > > Signed-off-by: Biju Das Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond i

Re: [PATCH 11/22] ARM: dts: r8a7744: Add DU support

2018-11-30 Thread Geert Uytterhoeven
; CPG_MOD 726>; > + clock-names = "du.0", "du.1", "lvds.0"; > + status = "disabled"; > > ports { > #address-cells = <1>; Gr{oetje,eet

Re: [PATCH 07/22] ARM: dts: r8a7744: USB 2.0 host support

2018-11-30 Thread Geert Uytterhoeven
On Tue, Nov 27, 2018 at 1:05 PM Biju Das wrote: > Describe internal PCI bridge devices, USB phy device and > link PCI USB devices to USB phy. > > Signed-off-by: Biju Das Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven --

Re: [PATCH 10/22] ARM: dts: r8a7744: Add audio support

2018-11-30 Thread Geert Uytterhoeven
On Tue, Nov 27, 2018 at 1:05 PM Biju Das wrote: > Add sound support for the RZ/G1N SoC (a.k.a. R8A7744). > > This work is based on similar work done on the R8A7743 SoC. > > Signed-off-by: Biju Das Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, G

Re: [PATCH 09/22] ARM: dts: r8a7744: Add RWDT node

2018-11-30 Thread Geert Uytterhoeven
t/dts/r8a7744.dtsi > @@ -293,6 +293,16 @@ > reg = <0 0xe616 0 0x100>; > }; > > + rwdt: watchdog@e602 { Please preserve sort order (by address, per group of devices), by inserting before gpio@e605. Reviewed-by:

Re: [PATCH 08/22] ARM: dts: r8a7744: Add USB-DMAC and HSUSB device nodes

2018-11-30 Thread Geert Uytterhoeven
On Tue, Nov 27, 2018 at 1:05 PM Biju Das wrote: > Add usb dmac and hsusb device nodes on RZ/G1N SoC dtsi. > > Signed-off-by: Biju Das Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge

Re: [PATCH 04/22] ARM: dts: r8a7744: Add MMC node

2018-11-30 Thread Geert Uytterhoeven
On Tue, Nov 27, 2018 at 1:05 PM Biju Das wrote: > Add MMC node to the DT of the r8a7744 SoC. > > Signed-off-by: Biju Das Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux

Re: [PATCH 03/22] ARM: dts: r8a7744: Add SDHI nodes

2018-11-30 Thread Geert Uytterhoeven
On Tue, Nov 27, 2018 at 1:05 PM Biju Das wrote: > Add SDHI nodes to the DT of the r8a7744 SoC. > > Signed-off-by: Biju Das Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux

Re: [PATCH 02/22] ARM: dts: r8a7744: Add I2C and IIC support

2018-11-30 Thread Geert Uytterhoeven
dmas = < 0x77>, < 0x78>, > + < 0x77>, < 0x78>; > + dma-names = "tx", "rx", "tx", "rx"; > + power-domains = < R8A7744_PD_ALWAYS_ON>; > +

Re: [PATCH 01/22] ARM: dts: r8a7744: Add [H]SCIF{A|B} support

2018-11-30 Thread Geert Uytterhoeven
On Tue, Nov 27, 2018 at 1:05 PM Biju Das wrote: > Describe [H]SCIF{|A|B} ports in the R8A7744 device tree. > > Signed-off-by: Biju Das Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge

Re: [PATCH 7/7] ARM: dts: r8a7744: Add SMP support

2018-11-30 Thread Geert Uytterhoeven
nge GIC_CPU_MASK_SIMPLE() from 1 to 2 in this patch, too. > Signed-off-by: Biju Das 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 techn

Re: [PATCH 2/7] ARM: dts: r8a7744: Initial SoC device tree

2018-11-30 Thread Geert Uytterhoeven
(2) | IRQ_TYPE_LEVEL_LOW)>, > + < GIC_PPI 14 > (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>, > + < GIC_PPI 11 > (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>, > + < GIC_PPI 10 > (GIC_C

Re: [PATCH 6/7] ARM: dts: r8a7744: Add Ethernet AVB support

2018-11-30 Thread Geert Uytterhoeven
On Thu, Nov 22, 2018 at 10:23 AM Biju Das wrote: > Add Ethernet AVB support for R8A7744 SoC. > > Signed-off-by: Biju Das Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux

Re: [PATCH 4/7] ARM: dts: r8a7744: Add SYS-DMAC support

2018-11-30 Thread Geert Uytterhoeven
On Thu, Nov 22, 2018 at 10:23 AM Biju Das wrote: > Describe SYS-DMAC0/1 in the R8A7744 device tree. > > Signed-off-by: Biju Das Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge

Re: [PATCH 5/7] ARM: dts: r8a7744: Add GPIO support

2018-11-30 Thread Geert Uytterhoeven
On Thu, Nov 22, 2018 at 10:23 AM Biju Das wrote: > Describe GPIO blocks in the R8A7744 device tree. > > Signed-off-by: Biju Das Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge

Re: [PATCH 2/7] ARM: dts: r8a7744: Initial SoC device tree

2018-11-30 Thread Geert Uytterhoeven
u may want to use 0x250 for the register block length. 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.

Re: [PATCH] dt-bindings: watchdog: renesas-wdt: Document r8a77470 support

2018-11-29 Thread Geert Uytterhoeven
On Fri, Oct 26, 2018 at 11:03 AM Biju Das wrote: > RZ/G1C (R8A77470) watchdog implementation is compatible with R-Car > Gen2, therefore add relevant documentation. > > Signed-off-by: Biju Das Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geer

[PATCH 2/2] ARM: shmobile: R-Mobile: Move pm-rmobile to drivers/soc/renesas/

2018-11-29 Thread Geert Uytterhoeven
-sysc. Enable compile-testing on non-ARM and non-R-Mobile SoCs. Signed-off-by: Geert Uytterhoeven --- arch/arm/mach-shmobile/Kconfig | 5 - arch/arm/mach-shmobile/Makefile| 1 - drivers/soc/renesas/Kconfig| 7

[PATCH 1/2] ARM: shmobile: R-Mobile: Clean up struct rmobile_pm_domain

2018-11-29 Thread Geert Uytterhoeven
domain.no_debug flag and of the "pm-rmobile.h" header file (outside the actual driver). Hence remove no longer used rmobile_pm_domain members, and absorb the header file into the driver. Signed-off-by: Geert Uytterhoeven --- arch/arm/mach-shmobile/pm-rmobile.c | 37 ++

[PATCH 0/2] ARM: shmobile: R-Mobile: Clean up and move pm-rmobile driver

2018-11-29 Thread Geert Uytterhoeven
Hi Simon, Magnus, This is a patch series for the pm-rmobile driver, used on R-Mobile A1 and APE6, and on SH-Mobile AG5, to clean up the driver, move it to drivers/soc/renesas/, and enable compile-testing. Thanks! Geert Uytterhoeven (2): ARM: shmobile: R-Mobile: Clean up struct

[PATCH 5/6] soc: renesas: r8a77980-sysc: Correct A3VIP[012] power domain hierarchy

2018-11-29 Thread Geert Uytterhoeven
: 7755b40d07a8dba7 ("dt-bindings: power: add R8A77980 SYSC power domain definitions") Fixes: 41d6d8bd8ae94ca9 ("soc: renesas: rcar-sysc: add R8A77980 support") Signed-off-by: Geert Uytterhoeven --- drivers/soc/renesas/r8a77980-sysc.c | 6 +++--- include/dt-bindings/power

[PATCH 2/6] soc: renesas: r8a77970-sysc: Remove non-existent CR7 power domain

2018-11-29 Thread Geert Uytterhoeven
77970 SYSC power domain definitions") Fixes: bab9b2a74fe9da96 ("soc: renesas: rcar-sysc: add R8A77970 support") Signed-off-by: Geert Uytterhoeven --- drivers/soc/renesas/r8a77970-sysc.c | 1 - include/dt-bindings/power/r8a77970-sysc.h | 1 - 2 files changed, 2 deletions(-) diff

[PATCH 0/6] soc: renesas: Miscellaneous fixes

2018-11-29 Thread Geert Uytterhoeven
that the last patch (marked RFC) cannot be applied yet, as there is an existing (but incorrect) user of the removed definition. Thanks! Geert Uytterhoeven (6): soc: renesas: r8a77965-sysc: Remove non-existent A3IR power domain soc: renesas: r8a77970-sysc: Remove non-existent CR7 power domain soc

[PATCH 3/6] soc: renesas: r8a77970-sysc: Correct names of A2DP/A2CN power domains

2018-11-29 Thread Geert Uytterhoeven
("dt-bindings: power: add R8A77970 SYSC power domain definitions") Fixes: bab9b2a74fe9da96 ("soc: renesas: rcar-sysc: add R8A77970 support") Signed-off-by: Geert Uytterhoeven --- drivers/soc/renesas/r8a77970-sysc.c | 4 ++-- include/dt-bindings/power/r8a77970-sysc.h

[PATCH 6/6] [RFC] dt-bindings: power: r8a77965: Remove non-existent A3IR power domain

2018-11-29 Thread Geert Uytterhoeven
Add R-Car M3-N support") Signed-off-by: Geert Uytterhoeven --- Marked as RFC, as this patch depends on "arm64: dts: renesas: r8a77965: Remove non-existent IPMMU-IR". If the dependency goes in first, this patch can be squashed with "soc: renesas: r8a77965-sysc: Remove non-e

[PATCH 4/6] soc: renesas: r8a77980-sysc: Correct names of A2DP[01] power domains

2018-11-29 Thread Geert Uytterhoeven
omain definitions") Fixes: 41d6d8bd8ae94ca9 ("soc: renesas: rcar-sysc: add R8A77980 support") Signed-off-by: Geert Uytterhoeven --- drivers/soc/renesas/r8a77980-sysc.c | 4 ++-- include/dt-bindings/power/r8a77980-sysc.h | 4 ++-- 2 files changed, 4 insertions(+), 4 dele

[PATCH 1/6] soc: renesas: r8a77965-sysc: Remove non-existent A3IR power domain

2018-11-29 Thread Geert Uytterhoeven
: a527709b78b3c997 ("soc: renesas: rcar-sysc: Add R-Car M3-N support") Signed-off-by: Geert Uytterhoeven --- drivers/soc/renesas/r8a77965-sysc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/soc/renesas/r8a77965-sysc.c b/drivers/soc/renesas/r8a77965-sysc.c index d7f792

[PATCH 07/13] clk: renesas: r8a77970: Add CPEX clock

2018-11-29 Thread Geert Uytterhoeven
Implement support for the CPEX clock on R-Car V3M. This clock can be selected as a clock source for CMT1 (Compare Match Timer Type 1). Signed-off-by: Geert Uytterhoeven --- drivers/clk/renesas/r8a77970-cpg-mssr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/renesas/r8a77970

[PATCH 08/13] clk: renesas: r8a77990: Correct parent clock of DU

2018-11-29 Thread Geert Uytterhoeven
From: Takeshi Kihara According to the R-Car Gen3 Hardware Manual Rev 1.00, the parent clock of the DU module clocks on R-Car E3 is S1D1. Signed-off-by: Takeshi Kihara Fixes: 3570a2af473789c5 ("clk: renesas: cpg-mssr: Add support for R-Car E3") Signed-off-by: Geert Uytterhoeven --

[PATCH 02/13] dt-bindings: clock: r8a7796: Remove CSIREF clock

2018-11-29 Thread Geert Uytterhoeven
a7796 CPG Core Clock Definitions") Signed-off-by: Geert Uytterhoeven --- include/dt-bindings/clock/r8a7796-cpg-mssr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/dt-bindings/clock/r8a7796-cpg-mssr.h b/include/dt-bindings/clock/r8a7796-cpg-mssr.h index e6087f

[PATCH 01/13] dt-bindings: clock: r8a7795: Remove CSIREF clock

2018-11-29 Thread Geert Uytterhoeven
5 CPG Core Clock Definitions") Signed-off-by: Geert Uytterhoeven --- include/dt-bindings/clock/r8a7795-cpg-mssr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/dt-bindings/clock/r8a7795-cpg-mssr.h b/include/dt-bindings/clock/r8a7795-cpg-mssr.h index 948389

[PATCH 04/13] clk: renesas: r8a7795: Add CPEX clock

2018-11-29 Thread Geert Uytterhoeven
Implement support for the CPEX clock on R-Car H3. This clock can be selected as a clock source for CMT1 (Compare Match Timer Type 1). Signed-off-by: Geert Uytterhoeven --- drivers/clk/renesas/r8a7795-cpg-mssr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/renesas/r8a7795-cpg

[PATCH 11/13] clk: renesas: r8a77995: Remove non-existent SSP clocks

2018-11-29 Thread Geert Uytterhoeven
header must not be reused, though. Fixes: 714c53aa2e2d6d60 ("clk: renesas: Add r8a77995 CPG Core Clock Definitions") Fixes: d71e851d82c6cfe5 ("clk: renesas: cpg-mssr: Add R8A77995 support") Signed-off-by: Geert Uytterhoeven --- drivers/clk/renesas/r8a77995-cpg-mssr.c

[PATCH 03/13] clk: renesas: r8a774a1: Add CPEX clock

2018-11-29 Thread Geert Uytterhoeven
Implement support for the CPEX clock on RZ/G2M. This clock can be selected as a clock source for CMT1 (Compare Match Timer Type 1). Signed-off-by: Geert Uytterhoeven --- drivers/clk/renesas/r8a774a1-cpg-mssr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/renesas/r8a774a1-cpg

  1   2   3   4   5   6   7   8   9   10   >