Re: [PATCH v2 2/2] phy: sun4i-usb: Replace the deprecated extcon API

2017-01-16 Thread Kishon Vijay Abraham I
On Friday 30 December 2016 09:41 AM, Chanwoo Choi wrote: > This patch replaces the deprecated extcon API as following: > - extcon_set_cable_state_() -> extcon_set_state_sync() > > Cc: Kishon Vijay Abraham I > Cc: Maxime Ripard > Cc: Chen-Yu

Re: [PATCH] drivers: phy: constify phy_ops structures

2017-01-16 Thread Kishon Vijay Abraham I
On Sunday 08 January 2017 04:05 PM, Bhumika Goyal wrote: > Declare phy_ops structures as const as they are only passed as an > argument to the function devm_phy_create. This argument is of type const > struct phy_ops *, so phy_ops structures having this property can be > declared as const. >

Re: [PATCH v2 0/2] phy: Replace the deprecated extcon API

2017-01-16 Thread Chanwoo Choi
Hi Kishon, On 2017년 01월 10일 17:16, Chanwoo Choi wrote: > Hi Kishon, > > Could you review these patches or pick up them if there is no any comment? If there are no comments, could you apply these patches? > > On 2016년 12월 30일 13:11, Chanwoo Choi wrote: >> This patches just replace the

The failure summary report of GEN2 for linux stable v4.10-rc2

2017-01-16 Thread カオ・ヴァン・ドン
Hi all, We have tested the linux v4.10-rc2 for Gen2 Lager and Koelsch So we would like to report the summary of the failure. Best Regards, Jinso/Linux Team Dong GEN2_The_failure_summary_report_for_linux_stable_v4.10-rc2.xlsx Description: MS-Excel 2007 spreadsheet

Re: [PATCH v2 1/6] usb: dwc3: omap: Replace the extcon API

2017-01-16 Thread Felipe Balbi
Hi, Chanwoo Choi writes: > This patch uses the resource-managed extcon API for extcon_register_notifier() > and replaces the deprecated extcon API as following: > - extcon_get_cable_state_() -> extcon_get_state() > > Signed-off-by: Chanwoo Choi >

Re: [PATCH] ARM: dts: r7s72100: fix sdhi clock define

2017-01-16 Thread Geert Uytterhoeven
Hi Chris, CC Woflram On Fri, Jan 13, 2017 at 6:56 PM, Chris Brandt wrote: > On Friday, January 13, 2017, Geert Uytterhoeven wrote: >> > In sh_mobile_sdhi.c, can we change sh_mobile_sdhi_probe() so that if >> > there are 2 clocks specified (in DT or platform data), it

[PATCH net v3] ravb: do not use zero-length alignment DMA descriptor

2017-01-16 Thread Simon Horman
From: Masaru Nagai Due to alignment requirements of the hardware transmissions are split into two DMA descriptors, a small padding descriptor of 0 - 3 bytes in length followed by a descriptor for rest of the packet. In the case of IP packets the first descriptor

Re: [PATCH 1/2] dt-bindings: document renesas-ostm timer

2017-01-16 Thread Geert Uytterhoeven
Hi Chris, On Sat, Jan 14, 2017 at 4:30 AM, Chris Brandt wrote: > On Friday, January 13, 2017, Geert Uytterhoeven wrote: >> > +The OSTM comes with 2 independent channels. >> > +We will use the first channel (OSTM0) as a free running clocksource >> > +and the second

Re: [PATCH 1/2] dt-bindings: document renesas-ostm timer

2017-01-16 Thread Simon Horman
On Sat, Jan 14, 2017 at 03:30:36AM +, Chris Brandt wrote: > Hi Geert, > > Thank you for your review. > > > On Friday, January 13, 2017, Geert Uytterhoeven wrote: > > > +The OSTM comes with 2 independent channels. > > > +We will use the first channel (OSTM0) as a free running clocksource > >

Re: [PATCH] ARM: dts: r7s72100: fix sdhi clock define

2017-01-16 Thread Wolfram Sang
> > and then in the code do: > > > > struct *cd_clk; > > cd_clk = devm_clk_get(>dev, "cd"); > > if (cd_clk) { > > clk_prepare_enable(cd_clk); > > } > > > > (this simple 1-line fix patch is getting a lot more complicated) > > Disclaimer: I don't

[PATCH v3 1/8] pinctrl: sh-pfc: Add r7s72100 PFC driver

2017-01-16 Thread Jacopo Mondi
From: Magnus Damm Squash commits in Geert's renesas-driver/genmai-gpio-and-pfc branch that add support for r7s72100 PFC. This squash combines commits for Magnus' original driver, several "groups" definitions and minor fixes on top to forward-port it to a more recent kernel

[PATCH v3 6/8] arm: dts: r7s72100-genmai: LED1 and LED2 support

2017-01-16 Thread Jacopo Mondi
From: Magnus Damm Add support for Genmai board LED1 and LED2 via gpio-leds. Signed-off-by: Magnus Damm Acked-by: Laurent Pinchart --- arch/arm/boot/dts/r7s72100-genmai.dts | 11 +++ 1 file changed, 11

[PATCH v3 4/8] arm: dts: r7s72100: GPIO and PFC device nodes

2017-01-16 Thread Jacopo Mondi
From: Magnus Damm Add support for r7s72100 PFC and GPIO device nodes port0 -> port11 and jtagport0. Signed-off-by: Magnus Damm Signed-off-by: Jacopo Mondi --- arch/arm/boot/dts/r7s72100.dtsi | 136

[PATCH v3 0/8] Renesas RZ PFC and GPIO driver

2017-01-16 Thread Jacopo Mondi
Hello here it is v3 of PFC and GPIO driver for Renesas RZ SoC Series. I'll premit that this series goes in the "pin-based PFC HW in group-based PFC software" direction, and that, after some discussions on v1, it is not clear yet if this is desirable for RZ series or we may want to explore

[PATCH v3 5/8] arm: dts: r7s72100-genmai: SCIF2 PINCTRL configuration

2017-01-16 Thread Jacopo Mondi
From: Magnus Damm Configure the r7s72100 PINCTRL hardware and select pin function for the SCIF2 serial console. Signed-off-by: Magnus Damm Signed-off-by: Jacopo Mondi Acked-by: Laurent Pinchart

[PATCH v3 2/8] pinctrl: sh-pfc: r7s72100: Configure I/O mode

2017-01-16 Thread Jacopo Mondi
When selecting an alternate function for one pin, set the PIPCn.PIPCnm bit to 1 to enable direct IO mode control (the alternate function drives the pin direction) and disable input buffer and bidirection control functionalities (PIBCn.PIBCnm = 0 and PBDCn.PDBCnm = 0). Enable input buffer and

[PATCH v3 3/8] gpio: gpio-rz: GPIO driver for Renesas RZ series

2017-01-16 Thread Jacopo Mondi
From: Magnus Damm This commit combines Magnus' original driver and minor fixes to forward-port it to a more recent kernel version (v4.10). Compared to the original driver the set of registers used to set/get direction is changed to extend compatibility with other RZ-Series

[PATCH v3 7/8] arm: dts: r7s72100-genmai:Add ethernet PFC node

2017-01-16 Thread Jacopo Mondi
From: Simon Horman Squash Simon's original commit with his fixup of sh_eth pin names Signed-off-by: Simon Horman Signed-off-by: Jacopo Mondi --- arch/arm/boot/dts/r7s72100-genmai.dts | 25

Re: [PATCH net v3] ravb: do not use zero-length alignment DMA descriptor

2017-01-16 Thread Sergei Shtylyov
On 01/16/2017 01:45 PM, Simon Horman wrote: From: Masaru Nagai Due to alignment requirements of the hardware transmissions are split into two DMA descriptors, a small padding descriptor of 0 - 3 bytes in length followed by a descriptor for rest of the packet. In

Re: The failure summary report of GEN2 for linux stable v4.10-rc2

2017-01-16 Thread Laurent Pinchart
Hello Dong, On Monday 16 Jan 2017 18:29:30 カオ・ヴァン・ドン wrote: > Hi all, > > We have tested the linux v4.10-rc2 for Gen2 Lager and Koelsch > > So we would like to report the summary of the failure. Thank you for the report. I've retested the HDMI output on Lager running v4.10-rc2 with

Re: [PATCH] net: constify mdiobb_ops structures

2017-01-16 Thread David Miller
From: Bhumika Goyal Date: Fri, 13 Jan 2017 23:32:26 +0530 > Declare mdiobb_ops structures as const as they are only stored in the > ops field of mdiobb_ctrl structures. This field is of type const, so > mdiobb_ops structures having this property can be declared const too.

RE: [PATCH] ARM: dts: r7s72100: fix sdhi clock define

2017-01-16 Thread Chris Brandt
Hi Wolfram and Geert, On Monday, January 16, 2017, Wolfram Sang: > > > and then in the code do: > > > > > > struct *cd_clk; > > > cd_clk = devm_clk_get(>dev, "cd"); > > > if (cd_clk) { > > > clk_prepare_enable(cd_clk); > > > } > > > > > > (this

RE: [PATCH 1/2] dt-bindings: document renesas-ostm timer

2017-01-16 Thread Chris Brandt
Hi Geert, On Monday, January 16, 2017, Geert Uytterhoeven wrote: > > Do you think it would be better if a driver instance only does 1 > > thing: Either 'clocksource' or 'clock event'?? > > Then, I would make 2 ostm nodes and pass in the mode I would like it > operate in? > > > > For example: > >

Re: [PATCH/RFC v2 net-next] ravb: unmap descriptors when freeing rings

2017-01-16 Thread Sergei Shtylyov
Hello! On 01/12/2017 04:18 PM, Simon Horman wrote: ... Here, it stop once an untransmitted buffer is encountered... Yes, I see that now. I wonder if we should: a) paramatise ravb_tx_free() so it may either clear all transmitted buffers (current behaviour) or all buffers (new

Re: [PATCH] net: constify mdiobb_ops structures

2017-01-16 Thread Sergei Shtylyov
Hello! On 01/13/2017 09:02 PM, Bhumika Goyal wrote: Declare mdiobb_ops structures as const as they are only stored in the ops field of mdiobb_ctrl structures. This field is of type const, so mdiobb_ops structures having this property can be declared const too. Done using Coccinelle: [...]

Re: [PATCH net v3] ravb: do not use zero-length alignment DMA descriptor

2017-01-16 Thread David Miller
From: Sergei Shtylyov Date: Mon, 16 Jan 2017 16:01:49 +0300 > On 01/16/2017 01:45 PM, Simon Horman wrote: > >> From: Masaru Nagai >> >> Due to alignment requirements of the hardware transmissions are split >> into >> two DMA

[PATCH] ARM: shmobile: r8a7779: marzen: Fix sata device status

2017-01-16 Thread Geert Uytterhoeven
Device nodes representing I/O devices should be marked disabled in the SoC-specific DTS, and overridden by board-specific DTSes where needed. Signed-off-by: Geert Uytterhoeven --- arch/arm/boot/dts/r8a7779-marzen.dts | 4 arch/arm/boot/dts/r8a7779.dtsi | 1 +

[PATCH] arm64: dts: r8a7795: Add missing power-domains property for sata

2017-01-16 Thread Geert Uytterhoeven
This went unnoticed as the sata_rcar driver doesn't support Runtime PM yet, but manages module clocks manually. Signed-off-by: Geert Uytterhoeven --- arch/arm64/boot/dts/renesas/r8a7795.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git

Re: The failure summary report of GEN3 for linux upstream v4.10-rc2

2017-01-16 Thread Hoan
Hi all, We have tested the linux v4.10-rc2 for Gen3 Salvator. So we would like to report the summary of the failure. Best Regards, Jinso/Linux Team Hoan GEN3(H3)_The failure summary report for linux upstream v4.10-rc2.xls Description: MS-Excel spreadsheet