[PATCH] phy: rcar-gen3-usb2: remove HSUSB registers handling

2016-01-07 Thread Yoshihiro Shimoda
Since the related driver (CPG/MSSR driver) only manages the first module clock, this driver should not handle the HSUSB registers. So, this patch removes the HSUSB registers handling. Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com> --- This patch is based on the lin

RE: [PATCH v2 1/6] arm64: renesas: r8a7795: add usb2_phy device nodes

2016-01-06 Thread Yoshihiro Shimoda
Hi Geert-san, Thank you for your comment and sorry for the delayed response. > From: Geert Uytterhoeven > Sent: Monday, January 04, 2016 9:42 PM > > On Fri, Dec 25, 2015 at 12:52 PM, Yoshihiro Shimoda > <yoshihiro.shimoda...@renesas.com> wrote: > > --- a/arch/arm64/bo

RE: [PATCH 4/6] arm64: renesas: salvator-x: enable usb2_phy

2016-01-06 Thread Yoshihiro Shimoda
Hi Geert-san, > From: Geert Uytterhoeven > Sent: Tuesday, January 05, 2016 9:56 PM > > Hi Shimoda-san, > > On Fri, Dec 25, 2015 at 11:03 AM, Yoshihiro Shimoda > <yoshihiro.shimoda...@renesas.com> wrote: > > Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimo

[PATCH 5/6] arm64: renesas: salvator-x: enable USB 2.0 Host channel 1 and 2

2015-12-25 Thread Yoshihiro Shimoda
This patch doesn't enable USB2.0 Host channel 0 because it is connected to MAX3355 and cannot control the SHDN pin for now. Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com> --- arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 16 1 file chang

[PATCH 3/6] arm64: renesas: r8a7795: add HS-USB device node

2015-12-25 Thread Yoshihiro Shimoda
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com> --- arch/arm64/boot/dts/renesas/r8a7795.dtsi | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dtsi index e26073c..4bccfb2b

[PATCH 0/6] arm64: renesas: add USB 2.0 device nodes for r8a7795

2015-12-25 Thread Yoshihiro Shimoda
This patch set is based on the renesas.git / 20151221renesas-devel-20151221-v4.4-rc6 tag. (commit id = fe0e8e675dedf1877709a17258e88151c2614b77) Yoshihiro Shimoda (6): arm64: renesas: r8a7795: add usb2_phy device nodes arm64: renesas: r8a7795: add USB2.0 Host (EHCI/OHCI) device nodes arm64

[PATCH 1/6] arm64: renesas: r8a7795: add usb2_phy device nodes

2015-12-25 Thread Yoshihiro Shimoda
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com> --- arch/arm64/boot/dts/renesas/r8a7795.dtsi | 34 1 file changed, 34 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dtsi index b

[PATCH 4/6] arm64: renesas: salvator-x: enable usb2_phy

2015-12-25 Thread Yoshihiro Shimoda
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com> --- arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 34 +- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts b/arch/arm64/boot/dts/r

[PATCH 2/6] arm64: renesas: r8a7795: add USB2.0 Host (EHCI/OHCI) device nodes

2015-12-25 Thread Yoshihiro Shimoda
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com> --- arch/arm64/boot/dts/renesas/r8a7795.dtsi | 66 1 file changed, 66 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dtsi index 8

[PATCH 6/6] arm64: renesas: salvator-x: enable HS-USB

2015-12-25 Thread Yoshihiro Shimoda
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com> --- arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts b/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts index 8

[PATCH v2 0/6] arm64: renesas: add USB 2.0 device nodes for r8a7795

2015-12-25 Thread Yoshihiro Shimoda
This patch set is based on the renesas.git / 20151221renesas-devel-20151221-v4.4-rc6 tag. (commit id = fe0e8e675dedf1877709a17258e88151c2614b77) Changed from v1: - Fix register size from 0xff to 0x100 in patch 2 Yoshihiro Shimoda (6): arm64: renesas: r8a7795: add usb2_phy device nodes

[PATCH v2 1/6] arm64: renesas: r8a7795: add usb2_phy device nodes

2015-12-25 Thread Yoshihiro Shimoda
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com> --- arch/arm64/boot/dts/renesas/r8a7795.dtsi | 34 1 file changed, 34 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dtsi index b

[PATCH v2 6/6] arm64: renesas: salvator-x: enable HS-USB

2015-12-25 Thread Yoshihiro Shimoda
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com> --- arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts b/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts index 8

[PATCH v2 5/6] arm64: renesas: salvator-x: enable USB 2.0 Host channel 1 and 2

2015-12-25 Thread Yoshihiro Shimoda
This patch doesn't enable USB2.0 Host channel 0 because it is connected to MAX3355 and cannot control the SHDN pin for now. Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com> --- arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 16 1 file chang

RE: [PATCH 2/6] arm64: renesas: r8a7795: add USB2.0 Host (EHCI/OHCI) device nodes

2015-12-25 Thread Yoshihiro Shimoda
Hello, > From: Sergei Shtylyov > Sent: Friday, December 25, 2015 8:36 PM > > Hello. > > On 12/25/2015 1:03 PM, Yoshihiro Shimoda wrote: > > > Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com> > > --- > >

[PATCH v2 2/6] arm64: renesas: r8a7795: add USB2.0 Host (EHCI/OHCI) device nodes

2015-12-25 Thread Yoshihiro Shimoda
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com> --- arch/arm64/boot/dts/renesas/r8a7795.dtsi | 66 1 file changed, 66 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dtsi index 8

[PATCH v2 4/6] arm64: renesas: salvator-x: enable usb2_phy

2015-12-25 Thread Yoshihiro Shimoda
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com> --- arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 34 +- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts b/arch/arm64/boot/dts/r

[PATCH v2 3/6] arm64: renesas: r8a7795: add HS-USB device node

2015-12-25 Thread Yoshihiro Shimoda
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com> --- arch/arm64/boot/dts/renesas/r8a7795.dtsi | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dtsi index 499e158..e027314

RE: [PATCH v2] usb: gadget: renesas_usb3: add support for Renesas USB3.0 peripheral controller

2015-12-21 Thread Yoshihiro Shimoda
Hi Rob, > From: Rob Herring [mailto:r...@kernel.org] > Sent: Saturday, December 19, 2015 1:20 PM > > On Wed, Dec 16, 2015 at 11:51:59AM +0900, Yoshihiro Shimoda wrote: > > R-Car H3 has USB3.0 peripheral controllers. This controller's has the > > following features: >

[PATCH v3] usb: gadget: renesas_usb3: add support for Renesas USB3.0 peripheral controller

2015-12-21 Thread Yoshihiro Shimoda
-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com> --- This patch is based on the latest Felipe's usb.git / testing/next branch. (commit id = e9284de9fae69f1d5e57a4817bfc36dc5f3adf71) Changes from v2: - Fix compatible string order to "-". Changes from v1: - fix build error in

RE: [PATCH] usb: gadget: renesas_usb3: add support for Renesas USB3.0 peripheral controller

2015-12-15 Thread Yoshihiro Shimoda
Hi Arnd, Thank you very much for your review! > From: Arnd Bergmann > Sent: Tuesday, December 15, 2015 6:30 PM > > On Tuesday 15 December 2015 15:54:32 Yoshihiro Shimoda wrote: > > R-Car H3 has USB3.0 peripheral controllers. This controller's has the > > following f

RE: [PATCH] usb: gadget: renesas_usb3: add support for Renesas USB3.0 peripheral controller

2015-12-15 Thread Yoshihiro Shimoda
Hi Arnd again, > From: Yoshihiro Shimoda > Sent: Wednesday, December 16, 2015 10:43 AM < snip > > > > +static void usb3_write(struct renesas_usb3 *usb3, u32 data, u32 offs) > > > +{ > > > + iowrite32(data, usb3->reg + offs); > > > +} > >

[PATCH v2] usb: gadget: renesas_usb3: add support for Renesas USB3.0 peripheral controller

2015-12-15 Thread Yoshihiro Shimoda
-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com> --- This patch is based on the latest Felipe's usb.git / testing/next branch. (commit id = e9284de9fae69f1d5e57a4817bfc36dc5f3adf71) Changes from v1: - fix build error in i386 environment if COMPILE_TEST=y - merge the header file code into

[PATCH] usb: gadget: renesas_usb3: add support for Renesas USB3.0 peripheral controller

2015-12-14 Thread Yoshihiro Shimoda
-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com> --- This patch is based on the latest Felipe's usb.git / testing/next branch. (commit id = e9284de9fae69f1d5e57a4817bfc36dc5f3adf71) .../devicetree/bindings/usb/renesas_usb3.txt | 23 + drivers/usb/gadget/udc/K

[PATCH v6 0/4] phy: rcar-gen3-usb2: Add R-Car Gen3 USB2 PHY driver

2015-11-29 Thread Yoshihiro Shimoda
from "usb2" to "usb2_host". Changes from v1: - Revise some typos. - Remove using clk API to enable/disable the clocks. (In other words, this driver expects to enable/disable the clocks by Runtime PM API by the phy-core driver.) - Remove an unnecessary header file (asm/c

[PATCH v6 3/4] phy: rcar-gen3-usb2: add runtime ID/VBUS pin detection

2015-11-29 Thread Yoshihiro Shimoda
This patch adds support for runtime ID/VBUS pin detection if the channel 0 of R-Car gen3 is used. So, we are able to use the channel as both host and peripheral. Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com> --- .../devicetree/bindings/phy/rcar-gen3-phy-usb2.tx

[PATCH v6 4/4] MAINTAINERS: add Renesas usb2 phy driver

2015-11-29 Thread Yoshihiro Shimoda
Add Renesas usb2 phy driver to maintainer entry. Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com> --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index e9caa4b..ac1e301 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -

[PATCH v6 1/4] phy: rcar-gen3-usb2: Add R-Car Gen3 USB2 PHY driver

2015-11-29 Thread Yoshihiro Shimoda
of SoC specific to use the {ehci,ohci}-platform driver. 2) detects id pin to select host or peripheral on the channel 0. For now, this driver only supports 1) above. Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com> --- .../devicetree/bindings/phy/rcar-gen3-phy-us

[PATCH v6 2/4] phy: rcar-gen3-usb2: change the mode to OTG on the combined channel

2015-11-29 Thread Yoshihiro Shimoda
-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com> --- drivers/phy/phy-rcar-gen3-usb2.c | 124 ++- 1 file changed, 122 insertions(+), 2 deletions(-) diff --git a/drivers/phy/phy-rcar-gen3-usb2.c b/drivers/phy/phy-rcar-gen3-usb2.c index 2696152..2b5d890

RE: [PATCH v5 1/4] phy: rcar-gen3-usb2: Add R-Car Gen3 USB2 PHY driver

2015-11-26 Thread Yoshihiro Shimoda
Hi, Thank you for the review! > From: Kishon Vijay Abraham I [mailto:kis...@ti.com] > Sent: Friday, November 27, 2015 2:21 PM > > Hi, > > On Tuesday 20 October 2015 02:27 PM, Yoshihiro Shimoda wrote: > > This patch adds support for R-Car generation 3 USB2 PHY driver.

RE: [PATCH] dmaengine: usb-dmac: Document SoC specific bindings

2015-11-23 Thread Yoshihiro Shimoda
universally liked this convention is used in the bindings for > most drivers for Renesas hardware. The purpose of this patch is to > update the Renesas USB DMA Controller driver to follow this convention. > > Cc: devicetree@vger.kernel.org > Cc: Yoshihiro Shimoda <yoshihiro.shimoda..

RE: [PATCH v5 0/4] phy: rcar-gen3-usb2: Add R-Car Gen3 USB2 PHY driver

2015-11-23 Thread Yoshihiro Shimoda
Hi Kishon, > From: Yoshihiro Shimoda > Sent: Tuesday, October 20, 2015 5:58 PM > > This patch is based on the latest linux-phy / next branch. > (commit id = 0f8669e343982ac66f4420335777cb5456b8abb0) Would you review this patch set? I confirmed the patch set could apply the l

[PATCH v5 4/4] MAINTAINERS: add Renesas usb2 phy driver

2015-10-20 Thread Yoshihiro Shimoda
Add Renesas usb2 phy driver to maintainer entry. Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com> --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index be0055c..ecff678 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -

[PATCH v5 3/4] phy: rcar-gen3-usb2: add runtime ID/VBUS pin detection

2015-10-20 Thread Yoshihiro Shimoda
This patch adds support for runtime ID/VBUS pin detection if the channel 0 of R-Car gen3 is used. So, we are able to use the channel as both host and peripheral. Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com> --- .../devicetree/bindings/phy/rcar-gen3-phy-usb2.tx

[PATCH v5 2/4] phy: rcar-gen3-usb2: change the mode to OTG on the combined channel

2015-10-20 Thread Yoshihiro Shimoda
-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com> --- drivers/phy/phy-rcar-gen3-usb2.c | 124 ++- 1 file changed, 122 insertions(+), 2 deletions(-) diff --git a/drivers/phy/phy-rcar-gen3-usb2.c b/drivers/phy/phy-rcar-gen3-usb2.c index 9d9cf26..cf91f9f

[PATCH v5 1/4] phy: rcar-gen3-usb2: Add R-Car Gen3 USB2 PHY driver

2015-10-20 Thread Yoshihiro Shimoda
of SoC specific to use the {ehci,ohci}-platform driver. 2) detects id pin to select host or peripheral on the channel 0. For now, this driver only supports 1) above. Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com> --- .../devicetree/bindings/phy/rcar-gen3-phy-us

[PATCH v5 0/4] phy: rcar-gen3-usb2: Add R-Car Gen3 USB2 PHY driver

2015-10-20 Thread Yoshihiro Shimoda
isable the clocks. (In other words, this driver expects to enable/disable the clocks by Runtime PM API by the phy-core driver.) - Remove an unnecessary header file (asm/cmpxchg.h). Yoshihiro Shimoda (4): phy: rcar-gen3-usb2: Add R-Car Gen3 USB2 PHY driver phy: rcar-gen3-usb2: change the mode

RE: [PATCH v4 1/3] phy: rcar-gen3-usb2: Add R-Car Gen3 USB2 PHY driver

2015-10-19 Thread Yoshihiro Shimoda
Hi, > Sent: Saturday, October 17, 2015 10:44 AM > > Hi, > > On Tuesday 13 October 2015 03:52 PM, Yoshihiro Shimoda wrote: < snip > > > diff --git a/drivers/phy/Kconfig b/drivers/phy/Kconfig > > index 7eb5859d..45c6131 100644 > > --- a/drivers/ph

RE: [PATCH v4 3/3] phy: rcar-gen3-usb2: add runtime ID/VBUS pin detection

2015-10-19 Thread Yoshihiro Shimoda
Hi, > Sent: Saturday, October 17, 2015 10:54 AM > > Hi, > > On Tuesday 13 October 2015 03:52 PM, Yoshihiro Shimoda wrote: > > This patch adds support for runtime ID/VBUS pin detection if > > the channel 0 of R-Car gen3 is used. So, we are able to use > > the ch

RE: [PATCH v4 2/3] phy: rcar-gen3-usb2: change the mode to OTG on the combined channel

2015-10-19 Thread Yoshihiro Shimoda
Hi, > Sent: Saturday, October 17, 2015 10:48 AM > > Hi, > > On Tuesday 13 October 2015 03:52 PM, Yoshihiro Shimoda wrote: > > To use the channel 0 of R-Car gen3 as periperal mode, This patch changes > > the mode to OTG instead of HOST. Then, this driver needs to set s

[PATCH v4 3/3] phy: rcar-gen3-usb2: add runtime ID/VBUS pin detection

2015-10-13 Thread Yoshihiro Shimoda
This patch adds support for runtime ID/VBUS pin detection if the channel 0 of R-Car gen3 is used. So, we are able to use the channel as both host and peripheral. Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com> --- .../devicetree/bindings/phy/rcar-gen3-phy-usb2.tx

RE: [PATCH v3] phy: rcar-gen3-usb2: Add R-Car Gen3 USB2 PHY driver

2015-10-13 Thread Yoshihiro Shimoda
Hi, I sent v4 patch set today. So, please ignore this version. Best regards, Yoshihiro Shimoda > Sent: Thursday, October 01, 2015 7:11 PM > > This patch adds support for R-Car generation 3 USB2 PHY driver. > This SoC has 3 EHCI/OHCI channels, and the channel 0 is shared >

[PATCH v4 2/3] phy: rcar-gen3-usb2: change the mode to OTG on the combined channel

2015-10-13 Thread Yoshihiro Shimoda
-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com> --- drivers/phy/phy-rcar-gen3-usb2.c | 126 ++- 1 file changed, 124 insertions(+), 2 deletions(-) diff --git a/drivers/phy/phy-rcar-gen3-usb2.c b/drivers/phy/phy-rcar-gen3-usb2.c index d90dfcf..03d7079

[PATCH v4 0/3] phy: rcar-gen3-usb2: Add R-Car Gen3 USB2 PHY driver

2015-10-13 Thread Yoshihiro Shimoda
n unnecessary header file (asm/cmpxchg.h). Yoshihiro Shimoda (3): phy: rcar-gen3-usb2: Add R-Car Gen3 USB2 PHY driver phy: rcar-gen3-usb2: change the mode to OTG on the combined channel phy: rcar-gen3-usb2: add runtime ID/VBUS pin detection .../devicetree/bindings/phy/rcar-gen3-ph

[PATCH v4 1/3] phy: rcar-gen3-usb2: Add R-Car Gen3 USB2 PHY driver

2015-10-13 Thread Yoshihiro Shimoda
of SoC specific to use the {ehci,ohci}-platform driver. 2) detects id pin to select host or peripheral on the channel 0. For now, this driver only supports 1) above. Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com> --- .../devicetree/bindings/phy/rcar-gen3-phy-us

RE: [PATCH v7 1/2] pwm: Add device tree binding document for R-Car PWM Timer

2015-10-06 Thread Yoshihiro Shimoda
Hi Rob, > Sent: Tuesday, October 06, 2015 12:39 AM > > On Wed, Sep 30, 2015 at 3:47 AM, Yoshihiro Shimoda > <yoshihiro.shimoda...@renesas.com> wrote: > > Add binding document for Renesas PWM Timer on R-Car SoCs. > > > > Signed-off-by: Yoshihiro Shimo

[PATCH] pwm: pwm-rcar: Revise the device tree binding document about compatible

2015-10-06 Thread Yoshihiro Shimoda
The compatible should be "renesas,pwm-rcar", and one the the SoC specific string. So, this patch revises the documentation. Reported-by: Rob Herring <robh...@kernel.org> Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com> --- Documentation/devicetree/bi

[PATCH v3] phy: rcar-gen3-usb2: Add R-Car Gen3 USB2 PHY driver

2015-10-01 Thread Yoshihiro Shimoda
of SoC specific to use the {ehci,ohci}-platform driver. 2) detects id pin to select host or peripheral on the channel 0. For now, this driver only supports 1) above. Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com> --- This patch is based on the latest linux-phy

RE: [PATCH] phy: rcar-gen3-usb2: Add R-Car Gen3 USB2 PHY driver

2015-10-01 Thread Yoshihiro Shimoda
s "usb2" means the partial registers of USB 2.0 host block. That host registers can control the USB2.0 PHY. This "hsusb" means the partial registers of USB 2.0 peripheral block. That peripheral registers can control the selector (host or peripheral). So, these should be combi

[PATCH v7 0/2] pwm: Add support for R-Car PWM Timer

2015-09-30 Thread Yoshihiro Shimoda
ee document. - Fix "depends on" value in Kconfig. - Fix help explanation in Kconfig. - Remove an unnecessary member in rcar_pwm_chip. - Remove hardcoded number of channels and change chip.npwm value to 1. - Fix formulas for clock calculation to improve accuracy. Yoshihiro Shimoda (2): pwm:

[PATCH v7 1/2] pwm: Add device tree binding document for R-Car PWM Timer

2015-09-30 Thread Yoshihiro Shimoda
Add binding document for Renesas PWM Timer on R-Car SoCs. Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com> Acked-by: Geert Uytterhoeven <geert+rene...@glider.be> Reviewed-by: Simon Horman <horms+rene...@verge.net.au> --- .../devicetree/bindings/pwm/renesas,p

[PATCH v7 2/2] pwm: Add support for R-Car PWM Timer

2015-09-30 Thread Yoshihiro Shimoda
This patch adds support for R-Car SoCs PWM Timer. The PWM timer of R-Car H2 has 7 channels. So, we can use the channels if we describe device tree nodes. Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com> Reviewed-by: Simon Horman <horms+rene...@verge.net.au> ---

RE: [PATCH v6 2/2] pwm: Add support for R-Car PWM Timer

2015-09-30 Thread Yoshihiro Shimoda
Hi Thierry, > Sent: Tuesday, September 15, 2015 7:01 PM > > Hi Thierry, > > > Sent: Wednesday, August 19, 2015 8:01 PM > > > > Hi Thierry, > > > > > Sent: Wednesday, August 19, 2015 7:08 PM > > > > > > On Wed, Aug 19, 2015 at 01:

[PATCH v2 1/2] usb: renesas_usbhs: fix build warning if 64-bit architecture

2015-09-29 Thread Yoshihiro Shimoda
This patch fixes the following warning if 64-bit architecture environment: ./drivers/usb/renesas_usbhs/common.c:496:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] dparam->type = of_id ? (u32)of_id->data : 0; Signed-off-by: Yoshihiro S

[PATCH v2 2/2] usb: renesas_usbhs: Add support for R-Car H3

2015-09-29 Thread Yoshihiro Shimoda
This patch adds a compatible string to support for R-Car H3. Since the HS-USB controller of R-Car H3 is almost the same specification with R-Car Gen2 (these have 16 pipes and usb-dmac), this patch sets the "type" of renesas_usbhs_driver_param to USBHS_TYPE_RCAR_GEN2. Signed-off-by:

[PATCH v2 0/2] usb: renesas_usbhs: Add support for R-Car H3

2015-09-29 Thread Yoshihiro Shimoda
This patch is based on the latest Felipe's usb.git / testing/next branch (The commit id = f3a464c9f5be1bb93a4355bd5a433dbc2c0bf7fd). Changes from v1: - Add a patch to fix build warning if 64-bit environment as patch 1/2 - Add a comment in patch 2/2 Yoshihiro Shimoda (2): usb: renesas_usbhs

RE: [PATCH] usb: renesas_usbhs: Add support for R-Car H3

2015-09-28 Thread Yoshihiro Shimoda
almost the same specification > > with R-Car Gen2 (these have 16 pipes and usb-dmac), this patch > > sets the "type" of renesas_usbhs_driver_param to USBHS_TYPE_RCAR_GEN2. > > > > Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com> >

RE: [PATCH] phy: rcar-gen3-usb2: Add R-Car Gen3 USB2 PHY driver

2015-09-25 Thread Yoshihiro Shimoda
Hi Kishon, Thank you for the review! And I'm sorry for the delayed response. > Sent: Friday, September 18, 2015 3:08 PM > > Hi, > > On Tuesday 25 August 2015 02:40 PM, Yoshihiro Shimoda wrote: > > This patch adds support for R-Car generation 3 USB2 PHY driver. > &g

RE: [PATCH] phy: rcar-gen3-usb2: Add R-Car Gen3 USB2 PHY driver

2015-09-25 Thread Yoshihiro Shimoda
Hi Rob, Thank you for your comment! And, I'm sorry for the delayed response. > Sent: Monday, September 21, 2015 11:01 PM > > On 09/18/2015 01:08 AM, Kishon Vijay Abraham I wrote: > > Hi, > > > > On Tuesday 25 August 2015 02:40 PM, Yoshihiro Shimoda wrote: > >&g

[PATCH] usb: renesas_usbhs: Add support for R-Car H3

2015-09-18 Thread Yoshihiro Shimoda
This patch adds a compatible string to support for R-Car H3. Since the HS-USB controller of R-Car H3 is almost the same specification with R-Car Gen2 (these have 16 pipes and usb-dmac), this patch sets the "type" of renesas_usbhs_driver_param to USBHS_TYPE_RCAR_GEN2. Signed-off-by:

RE: [PATCH] phy: rcar-gen3-usb2: Add R-Car Gen3 USB2 PHY driver

2015-09-17 Thread Yoshihiro Shimoda
gt; 1) initializes some registers of SoC specific to use the > {ehci,ohci}-platform driver. > > 2) detects id pin to select host or peripheral on the channel 0. > > For now, this driver only supports 1) above. > > Signed-off-by: Yoshihiro Shimoda <yoshihiro.shim

RE: [PATCH v6 2/2] pwm: Add support for R-Car PWM Timer

2015-09-15 Thread Yoshihiro Shimoda
Hi Thierry, > Sent: Wednesday, August 19, 2015 8:01 PM > > Hi Thierry, > > > Sent: Wednesday, August 19, 2015 7:08 PM > > > > On Wed, Aug 19, 2015 at 01:13:59PM +0900, Yoshihiro Shimoda wrote: > > > This patch adds support for R-Car SoCs PWM Timer. The PWM

[PATCH] phy: rcar-gen3-usb2: Add R-Car Gen3 USB2 PHY driver

2015-08-25 Thread Yoshihiro Shimoda
. 2) detects id pin to select host or peripheral on the channel 0. For now, this driver only supports 1) above. Signed-off-by: Yoshihiro Shimoda yoshihiro.shimoda...@renesas.com --- This patch is based on the latest linux-phy / next branch. (commit id = cfd093bbb5fe84ec8c7bb069fe618159a8b601f5

RE: [PATCH] phy: rcar-gen3-usb2: Add R-Car Gen3 USB2 PHY driver

2015-08-24 Thread Yoshihiro Shimoda
Hi Geert-san, Sent: Monday, August 24, 2015 9:13 PM Hi Shimoda-san, On Thu, Aug 20, 2015 at 8:28 AM, Yoshihiro Shimoda yoshihiro.shimoda...@renesas.com wrote: This patch adds support for R-Car generation 3 USB2 PHY driver. This SoC has 3 EHCI/OHCI channels, and the channel 0 is shared

[PATCH] phy: rcar-gen3-usb2: Add R-Car Gen3 USB2 PHY driver

2015-08-20 Thread Yoshihiro Shimoda
. 2) detects id pin to select host or peripheral on the channel 0. For now, this driver only supports 1) above. Signed-off-by: Yoshihiro Shimoda yoshihiro.shimoda...@renesas.com --- .../devicetree/bindings/phy/rcar-gen3-phy-usb2.txt | 37 +++ drivers/phy/Kconfig

RE: [PATCH v6 2/2] pwm: Add support for R-Car PWM Timer

2015-08-19 Thread Yoshihiro Shimoda
Hi Thierry, Sent: Wednesday, August 19, 2015 7:08 PM On Wed, Aug 19, 2015 at 01:13:59PM +0900, Yoshihiro Shimoda wrote: This patch adds support for R-Car SoCs PWM Timer. The PWM timer of R-Car H2 has 7 channels. So, we can use the channels if we describe device tree nodes. Signed

[PATCH v6 2/2] pwm: Add support for R-Car PWM Timer

2015-08-18 Thread Yoshihiro Shimoda
This patch adds support for R-Car SoCs PWM Timer. The PWM timer of R-Car H2 has 7 channels. So, we can use the channels if we describe device tree nodes. Signed-off-by: Yoshihiro Shimoda yoshihiro.shimoda...@renesas.com Reviewed-by: Simon Horman horms+rene...@verge.net.au --- drivers/pwm/Kconfig

[PATCH v6 0/2] pwm: Add support for R-Car PWM Timer

2015-08-18 Thread Yoshihiro Shimoda
tree document. - Fix depends on value in Kconfig. - Fix help explanation in Kconfig. - Remove an unnecessary member in rcar_pwm_chip. - Remove hardcoded number of channels and change chip.npwm value to 1. - Fix formulas for clock calculation to improve accuracy. Yoshihiro Shimoda (2): pwm

[PATCH v6 1/2] pwm: Add device tree binding document for R-Car PWM Timer

2015-08-18 Thread Yoshihiro Shimoda
Add binding document for Renesas PWM Timer on R-Car SoCs. Signed-off-by: Yoshihiro Shimoda yoshihiro.shimoda...@renesas.com Acked-by: Geert Uytterhoeven geert+rene...@glider.be Reviewed-by: Simon Horman horms+rene...@verge.net.au --- .../devicetree/bindings/pwm/renesas,pwm-rcar.txt | 27

Re: [PATCH v5 2/2] pwm: Add support for R-Car PWM Timer

2015-08-17 Thread Yoshihiro Shimoda
Hi Thierry, (2015/08/17 23:15), Thierry Reding wrote: Sorry for taking an awful long time to get around to this. The driver looks generally okay, but I have a few minor comments... Thank you for the review! On Mon, Jun 15, 2015 at 06:08:44PM +0900, Yoshihiro Shimoda wrote: This patch adds

RE: [PATCH v5 0/2] pwm: Add support for R-Car PWM Timer

2015-07-27 Thread Yoshihiro Shimoda
Hi Thierry, Would you apply the patches? Or, should I modify them more? Hi Simon, Sent: Tuesday, July 07, 2015 10:07 AM On Mon, Jun 15, 2015 at 06:08:42PM +0900, Yoshihiro Shimoda wrote: This patch set is based on the linux-pwm.git / for-next branch. (commit id

RE: [PATCH v2] phy: rcar-gen2 usb: Add Host/Function switching for USB0

2015-07-06 Thread Yoshihiro Shimoda
. Best regards, Yoshihiro Shimoda + return 0; } -- 1.9.1 -- To unsubscribe from this list: send the line unsubscribe devicetree in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

RE: [PATCH v4 2/2] pwm: Add support for R-Car PWM Timer

2015-06-29 Thread Yoshihiro Shimoda
Hi Thierry, Sent: Monday, June 29, 2015 6:12 PM On Mon, Jun 15, 2015 at 05:48:00AM +, Yoshihiro Shimoda wrote: [...] +static void rcar_pwm_set_counter(struct rcar_pwm_chip *rp, int div, +int duty_ns, int period_ns) +{ + unsigned long

[PATCH v5 2/2] pwm: Add support for R-Car PWM Timer

2015-06-15 Thread Yoshihiro Shimoda
This patch adds support for R-Car SoCs PWM Timer. Signed-off-by: Yoshihiro Shimoda yoshihiro.shimoda...@renesas.com --- drivers/pwm/Kconfig| 11 +++ drivers/pwm/Makefile | 1 + drivers/pwm/pwm-rcar.c | 263 + 3 files changed, 275

[PATCH v5 1/2] pwm: Add device tree binding document for R-Car PWM Timer

2015-06-15 Thread Yoshihiro Shimoda
Add binding document for Renesas PWM Timer on R-Car SoCs. Signed-off-by: Yoshihiro Shimoda yoshihiro.shimoda...@renesas.com Acked-by: Geert Uytterhoeven geert+rene...@glider.be --- .../devicetree/bindings/pwm/renesas,pwm-rcar.txt | 27 ++ 1 file changed, 27 insertions

[PATCH v5 0/2] pwm: Add support for R-Car PWM Timer

2015-06-15 Thread Yoshihiro Shimoda
. - Remove hardcoded number of channels and change chip.npwm value to 1. - Fix formulas for clock calculation to improve accuracy. Yoshihiro Shimoda (2): pwm: Add device tree binding document for R-Car PWM Timer pwm: Add support for R-Car PWM Timer .../devicetree/bindings/pwm/renesas,pwm

RE: [PATCH v4 2/2] pwm: Add support for R-Car PWM Timer

2015-06-14 Thread Yoshihiro Shimoda
Hi Thierry, Thank you for the review! Sent: Friday, June 12, 2015 9:06 PM On Thu, May 21, 2015 at 07:57:26PM +0900, Yoshihiro Shimoda wrote: [...] diff --git a/drivers/pwm/pwm-rcar.c b/drivers/pwm/pwm-rcar.c [...] +#define to_rcar_pwm_chip(chip) container_of(chip, struct

RE: [PATCH v2 2/2] usb: renesas_usbhs: Add support for R-Car E2

2015-05-25 Thread Yoshihiro Shimoda
Hi Felipe, Sent: Monday, May 18, 2015 8:56 PM On Mon, May 18, 2015 at 1:04 PM, Yoshihiro Shimoda yoshihiro.shimoda...@renesas.com wrote: This patch adds a compatible string to support for R-Car E2. Signed-off-by: Yoshihiro Shimoda yoshihiro.shimoda...@renesas.com Acked-by: Geert

RE: [PATCH v3 2/2] pwm: Add support for R-Car PWM Timer

2015-05-21 Thread Yoshihiro Shimoda
. + do_div(tmp, one_cycle); + ph = (u32)tmp RCAR_PWMCNT_PH0_MASK; I think the cast is not needed. Thank you again. Best regards, Yoshihiro Shimoda Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux

RE: [PATCH v3 1/2] pwm: Add device tree binding document for R-Car PWM Timer

2015-05-21 Thread Yoshihiro Shimoda
Hi Geert-san, Thank you for the review! Sent: Thursday, May 21, 2015 5:32 PM Hi Shimoda-san, On Thu, May 21, 2015 at 4:50 AM, Yoshihiro Shimoda yoshihiro.shimoda...@renesas.com wrote: Add binding document for Renesas PWM Timer on R-Car SoCs. Thanks for your patch! Signed-off

[PATCH v4 0/2] pwm: Add support for R-Car PWM Timer

2015-05-21 Thread Yoshihiro Shimoda
to improve accuracy. Yoshihiro Shimoda (2): pwm: Add device tree binding document for R-Car PWM Timer pwm: Add support for R-Car PWM Timer .../devicetree/bindings/pwm/renesas,pwm-rcar.txt | 27 +++ drivers/pwm/Kconfig| 11 + drivers/pwm/Makefile

[PATCH v4 1/2] pwm: Add device tree binding document for R-Car PWM Timer

2015-05-21 Thread Yoshihiro Shimoda
Add binding document for Renesas PWM Timer on R-Car SoCs. Signed-off-by: Yoshihiro Shimoda yoshihiro.shimoda...@renesas.com Acked-by: Geert Uytterhoeven geert+rene...@glider.be --- .../devicetree/bindings/pwm/renesas,pwm-rcar.txt | 27 ++ 1 file changed, 27 insertions

[PATCH v4 2/2] pwm: Add support for R-Car PWM Timer

2015-05-21 Thread Yoshihiro Shimoda
This patch adds support for R-Car SoCs PWM Timer. Signed-off-by: Yoshihiro Shimoda yoshihiro.shimoda...@renesas.com --- drivers/pwm/Kconfig| 11 +++ drivers/pwm/Makefile | 1 + drivers/pwm/pwm-rcar.c | 261 + 3 files changed, 273

[PATCH v3 0/2] pwm: Add support for R-Car PWM Timer

2015-05-20 Thread Yoshihiro Shimoda
to 1. - Fix formulas for clock calculation to improve accuracy. Yoshihiro Shimoda (2): pwm: Add device tree binding document for R-Car PWM Timer pwm: Add support for R-Car PWM Timer .../devicetree/bindings/pwm/renesas,pwm-rcar.txt | 27 +++ drivers/pwm/Kconfig

[PATCH v3 2/2] pwm: Add support for R-Car PWM Timer

2015-05-20 Thread Yoshihiro Shimoda
This patch adds support for R-Car SoCs PWM Timer. Signed-off-by: Yoshihiro Shimoda yoshihiro.shimoda...@renesas.com --- drivers/pwm/Kconfig| 11 +++ drivers/pwm/Makefile | 1 + drivers/pwm/pwm-rcar.c | 262 + 3 files changed, 274

[PATCH v3 1/2] pwm: Add device tree binding document for R-Car PWM Timer

2015-05-20 Thread Yoshihiro Shimoda
Add binding document for Renesas PWM Timer on R-Car SoCs. Signed-off-by: Yoshihiro Shimoda yoshihiro.shimoda...@renesas.com --- .../devicetree/bindings/pwm/renesas,pwm-rcar.txt | 27 ++ 1 file changed, 27 insertions(+) create mode 100644 Documentation/devicetree/bindings

[PATCH 0/2] usb: renesas_usbhs: Add support for R-Car E2

2015-05-18 Thread Yoshihiro Shimoda
This patch set is based on Felipe's usb.git / testing/next branch. (commit id = 1c14905ef951fb968c8da90e4e64be02c309a2ae) This patch set adds support for R-Car E2. This patch set also changes the SoC types from #define values to enum values. Yoshihiro Shimoda (2): usb: renesas_usbhs: Change

[PATCH v3 0/2] ARM: shmobile: r8a7790: add for USB-DMAC

2015-05-08 Thread Yoshihiro Shimoda
=5a294e5469891d0701183049c4a9678887fa7091 Changes from v2: - Add Acked-by: Geert Uytterhoeven geert+rene...@glider.be in patch 1. - Change dma-names in patch 2. Changes from v1: - Rebase the latest renesas-devel tag. Yoshihiro Shimoda (2): ARM: shmobile: r8a7790: add USB-DMAC device nodes ARM: shmobile

RE: [PATCH] usb: renesas_usbhs: Revise the binding document about the dma-names

2015-04-27 Thread Yoshihiro Shimoda
Hi Felipe, Sent: Thursday, April 09, 2015 6:06 PM On Thu, Apr 09, 2015 at 01:17:44AM +0100, Yoshihiro Shimoda wrote: Hi Mark, On Wed, Apr 08, 2015 at 11:42:24AM +0100, Yoshihiro Shimoda wrote: Since the DT should describe the hardware (not the driver limitation), This patch

[PATCH] usb: renesas_usbhs: Revise the binding document about the dma-names

2015-04-08 Thread Yoshihiro Shimoda
-by: Yoshihiro Shimoda yoshihiro.shimoda...@renesas.com --- This patch is based on Felipe's usb.bit / testing/next branch. (commit id = bbc78c07a51f6fd29c227b1220a9016e585358ba) Geert is pointed out about this issue: https://www.mail-archive.com/devicetree@vger.kernel.org/msg68401.html

RE: [PATCH v2 2/2] ARM: shmobile: r8a7791: Enable DMA for HSUSB

2015-04-08 Thread Yoshihiro Shimoda
Hi Geert-san, Hi Shimoda-san, On Wed, Apr 8, 2015 at 4:20 AM, Yoshihiro Shimoda yoshihiro.shimoda...@renesas.com wrote: On Tue, Apr 7, 2015 at 9:53 AM, Yoshihiro Shimoda yoshihiro.shimoda...@renesas.com wrote: diff --git a/arch/arm/boot/dts/r8a7791.dtsi b/arch/arm/boot/dts/r8a7791

RE: [PATCH] usb: renesas_usbhs: Revise the binding document about the dma-names

2015-04-08 Thread Yoshihiro Shimoda
Hi Mark, On Wed, Apr 08, 2015 at 11:42:24AM +0100, Yoshihiro Shimoda wrote: Since the DT should describe the hardware (not the driver limitation), This patch revises the binding document about the dma-names to change simple numbering as ch%d instead of txn and rxn. The naming given

[PATCH v2 0/2] ARM: shmobile: r8a7790: add for USB-DMAC

2015-04-07 Thread Yoshihiro Shimoda
=ab330cf3888d8e0779fa05a243d53ba9f53a7ba9 Changes from v1: - Rebase the latest renesas-devel tag. Yoshihiro Shimoda (2): ARM: shmobile: r8a7790: add USB-DMAC device nodes ARM: shmobile: r8a7790: Enable DMA for HSUSB arch/arm/boot/dts/r8a7790.dtsi | 25 + 1 file

[PATCH v2 1/2] ARM: shmobile: r8a7790: add USB-DMAC device nodes

2015-04-07 Thread Yoshihiro Shimoda
Signed-off-by: Yoshihiro Shimoda yoshihiro.shimoda...@renesas.com --- arch/arm/boot/dts/r8a7790.dtsi | 22 ++ 1 file changed, 22 insertions(+) diff --git a/arch/arm/boot/dts/r8a7790.dtsi b/arch/arm/boot/dts/r8a7790.dtsi index f3b8430..8c7924a 100644 --- a/arch/arm/boot/dts

[PATCH v2 2/2] ARM: shmobile: r8a7791: Enable DMA for HSUSB

2015-04-07 Thread Yoshihiro Shimoda
This patch adds DMA properties to the HSUSB node. Signed-off-by: Yoshihiro Shimoda yoshihiro.shimoda...@renesas.com --- arch/arm/boot/dts/r8a7791.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/r8a7791.dtsi b/arch/arm/boot/dts/r8a7791.dtsi index db3772e..5f20ad4

[PATCH v2 0/2] ARM: shmobile: r8a7791: add for USB-DMAC

2015-04-07 Thread Yoshihiro Shimoda
=ab330cf3888d8e0779fa05a243d53ba9f53a7ba9 Changes from v1: - Rebase the latest renesas-devel tag. Yoshihiro Shimoda (2): ARM: shmobile: r8a7791: add USB-DMAC device nodes ARM: shmobile: r8a7791: Enable DMA for HSUSB arch/arm/boot/dts/r8a7791.dtsi | 25 + 1 file

[PATCH v2 1/2] ARM: shmobile: r8a7791: add USB-DMAC device nodes

2015-04-07 Thread Yoshihiro Shimoda
Signed-off-by: Yoshihiro Shimoda yoshihiro.shimoda...@renesas.com --- arch/arm/boot/dts/r8a7791.dtsi | 22 ++ 1 file changed, 22 insertions(+) diff --git a/arch/arm/boot/dts/r8a7791.dtsi b/arch/arm/boot/dts/r8a7791.dtsi index 3e9f824..db3772e 100644 --- a/arch/arm/boot/dts

[PATCH v2 2/2] ARM: shmobile: r8a7790: Enable DMA for HSUSB

2015-04-07 Thread Yoshihiro Shimoda
This patch adds DMA properties to the HSUSB node. Signed-off-by: Yoshihiro Shimoda yoshihiro.shimoda...@renesas.com --- arch/arm/boot/dts/r8a7790.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/r8a7790.dtsi b/arch/arm/boot/dts/r8a7790.dtsi index 8c7924a..0264b0a

RE: [PATCH v2 2/2] ARM: shmobile: r8a7791: Enable DMA for HSUSB

2015-04-07 Thread Yoshihiro Shimoda
Hi Geert-san, Hi Shimoda-san, On Tue, Apr 7, 2015 at 9:53 AM, Yoshihiro Shimoda yoshihiro.shimoda...@renesas.com wrote: This patch adds DMA properties to the HSUSB node. Thank you for your patch! Thank you for your review! Signed-off-by: Yoshihiro Shimoda yoshihiro.shimoda

[PATCH v4 2/2] dmaengine: usb-dmac: Add Renesas USB DMA Controller (USB-DMAC) driver

2015-04-01 Thread Yoshihiro Shimoda
. So, this driver is independent from the rcar-dmac. And, this USB-DMAC uses virt-dma infrastructure. Signed-off-by: Yoshihiro Shimoda yoshihiro.shimoda...@renesas.com --- drivers/dma/sh/Kconfig| 9 + drivers/dma/sh/Makefile | 1 + drivers/dma/sh/usb-dmac.c | 910

  1   2   3   >