From: Kazuya Mizuguchi
This patch moves pm_runtime_{en,dis}able() call timing to
renesas_usb3_{probe,remove}() for supporting PM_SLEEP feature in
the future.
Signed-off-by: Kazuya Mizuguchi
[shimoda: Revise the commit log]
Signed-off-by: Yoshihiro Shimoda
---
drivers/usb/gadget/udc
This patch adds support for generic phy as an optional. If you want
to use a generic phy (e.g. phy-rcar-gen3-usb3 driver) on this driver,
you have to do "insmod phy-rcar-gen3-usb3.ko" first for now.
Signed-off-by: Yoshihiro Shimoda
---
.../devicetree/bindings/usb/renesas_usb3.txt
This patch adds support suspend/resume functions
Signed-off-by: Kazuya Mizuguchi
[shimoda: add the commit log]
Signed-off-by: Yoshihiro Shimoda
---
drivers/usb/gadget/udc/renesas_usb3.c | 34 ++
1 file changed, 34 insertions(+)
diff --git a/drivers/usb/gadget
Hello,
> -Original Message-
> From: Sergei Shtylyov
> Sent: Saturday, September 30, 2017 7:24 PM
>
> Hello!
>
> On 9/29/2017 2:52 PM, Simon Horman wrote:
>
> > From: Yoshihiro Shimoda
> >
> > This patch enables EthernetAVB for R-Car D3 dra
+
Signed-off-by: Yoshihiro Shimoda
---
This patch is based on the lastest Felipe's usb.git / testing/fixes branch
(commit id = c3cdce45f8d3dfa5c3467894aa89798314920328).
drivers/usb/renesas_usbhs/fifo.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/renesas_us
This patch enables the USB2.0 phy channel 3. R-Car H3 ES2.0 has
this channel and we can use it on the Salvator-XS.
Signed-off-by: Yoshihiro Shimoda
---
arch/arm64/boot/dts/renesas/r8a7795-salvator-xs.dts | 12
1 file changed, 12 insertions(+)
diff --git a/arch/arm64/boot/dts
This patch set is based on the latest renesas.git /
renesas-devel-20170928-v4.14-rc2 tag.
Yoshihiro Shimoda (3):
arm64: dts: renesas: r8a7795: salvator-xs: enable USB2.0 phy channel 3
arm64: dts: renesas: r8a7795: salvator-xs: enable USB2.0 Host channel
3
arm64: dts: renesas: r8a7795
This patch enables HS-USB channel 3. R-Car H3 ES2.0 has this channel
and we can use it on the Salvator-XS.
Signed-off-by: Yoshihiro Shimoda
---
arch/arm64/boot/dts/renesas/r8a7795-salvator-xs.dts | 4
1 file changed, 4 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/r8a7795
This patch enables USB2.0 Host (EHCI/OHCI) channel 3. R-Car H3 ES2.0
has this channel and we can use it on the Salvator-XS.
Signed-off-by: Yoshihiro Shimoda
---
arch/arm64/boot/dts/renesas/r8a7795-salvator-xs.dts | 8
1 file changed, 8 insertions(+)
diff --git a/arch/arm64/boot/dts
Hi Geert-san, Kieran-san,
> -Original Message-
> From: Kieran Bingham
> Sent: Monday, October 2, 2017 5:45 PM
>
> Hi Geert, Shimoda-san,
>
> On 02/10/17 09:20, Geert Uytterhoeven wrote:
> > Hi Shimoda-san,
> >
> > On Mon, Oct 2, 2017 at 8:29 AM,
Hi Simon-san,
> -Original Message-
> From: Simon Horman
> Sent: Monday, October 2, 2017 4:15 PM
>
> On Mon, Oct 02, 2017 at 01:18:49AM +0000, Yoshihiro Shimoda wrote:
> > Hello,
> >
> > > -Original Message-
> > > From: Sergei Shtylyov
From: Takeshi Kihara
This patch adds USB3.0 ch0 pinmux support to R8A7795 SoC.
Signed-off-by: Takeshi Kihara
Signed-off-by: Yoshihiro Shimoda
---
drivers/pinctrl/sh-pfc/pfc-r8a7795.c | 16
1 file changed, 16 insertions(+)
diff --git a/drivers/pinctrl/sh-pfc/pfc-r8a7795.c
b
This patch set is based on the renesas-drivers.git /
renesas-drivers-2017-09-19-v4.14-rc1 tag.
After this patch set is applied, I will submit integration patch for
salvator-common.dtsi. Since the bootloader of Salvator-X[S] enables
the USB3 pins, usb3.0 host works correctly. But, we should enable
From: Takeshi Kihara
This patch adds USB3{0,1} (USB3.0 host) pinmux support to R8A7795 ES1.x
SoC.
Signed-off-by: Takeshi Kihara
Signed-off-by: Yoshihiro Shimoda
---
drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c | 29 +
1 file changed, 29 insertions(+)
diff --git a
Hi Geert-san,
> -Original Message-
> From: Geert Uytterhoeven
> Sent: Monday, October 2, 2017 6:20 PM
>
> Hi Shimoda-san,
>
> On Mon, Oct 2, 2017 at 11:14 AM, Yoshihiro Shimoda
> wrote:
> >> -Original Message-
> >> From: Kieran Bingham
Hi Geert-san,
> -Original Message-
> From: Geert Uytterhoeven
> Sent: Monday, October 2, 2017 6:20 PM
>
> Hi Shimoda-san,
>
> On Mon, Oct 2, 2017 at 11:14 AM, Yoshihiro Shimoda
> wrote:
> >> -Original Message-
> >> From: Kieran Bingham
r ravb pins")
Signed-off-by: Yoshihiro Shimoda
---
arch/arm64/boot/dts/renesas/ulcb.dtsi | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/arch/arm64/boot/dts/renesas/ulcb.dtsi
b/arch/arm64/boot/dts/renesas/ulcb.dtsi
index dfec907..1a5f15a 100644
--- a/arch/arm64/boot/dt
t drive-strength for
ravb pins")
Fixes: 4903987033be ("arm64: dts: r8a7796: salvator-x: Set drive-strength for
ravb pins")
Signed-off-by: Yoshihiro Shimoda
---
arch/arm64/boot/dts/renesas/salvator-common.dtsi | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/a
This patch set is based on the renesas.git /
renesas-devel-20171002-v4.14-rc3 tag.
Yoshihiro Shimoda (3):
arm64: dts: renesas: salvator-common: drop "avb_phy_int" from avb_pins
arm64: dts: renesas: ulcb: drop "avb_phy_int" from avb_pins
arm64: dts: renesas: r
: enable EthernetAVB")
Signed-off-by: Yoshihiro Shimoda
---
arch/arm64/boot/dts/renesas/r8a77995-draak.dts | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/arch/arm64/boot/dts/renesas/r8a77995-draak.dts
b/arch/arm64/boot/dts/renesas/r8a77995-draak.dts
index 96b7ff5..fac58be 100
Hi Geert-san,
> -Original Message-
> From: Geert Uytterhoeven, Sent: Tuesday, October 3, 2017 4:13 PM
>
> Hi Shimoda-san,
>
> On Tue, Oct 3, 2017 at 5:13 AM, Yoshihiro Shimoda
> wrote:
> > I'm afraid but I completely misunderstood the pin configuration
Since a R-Car Gen3 bootloader enables the PFC of USB3.0 channel 0,
the USB3.0 host controller works without this setting on the kernel.
But, this setting should have salvator-common.dtsi. So, this patch
adds the pfc node for USB3.0 channel 0.
Signed-off-by: Yoshihiro Shimoda
---
This patch is
This patch unifies the Gen2 and Gen3 pipe_config setting on
usbhs_parse_dt().
Signed-off-by: Yoshihiro Shimoda
---
drivers/usb/renesas_usbhs/common.c | 13 -
1 file changed, 4 insertions(+), 9 deletions(-)
diff --git a/drivers/usb/renesas_usbhs/common.c
b/drivers/usb/renesas_usbhs
This patch adds support for R-Car D3. This SoC needs to release
the PLL reset by the UGCTRL register. So, since this is not the same
as other R-Car Gen3 SoCs, this patch adds a new type as
"USBHS_TYPE_RCAR_GEN3_WITH_PLL".
Signed-off-by: Yoshihiro Shimoda
---
.../devicetree/bi
This patch set is based on the latest Felipe's usb.git / testing/next branch
(commit id = af846d7ab55c846af6d6f150e9af96295101e068)
Yoshihiro Shimoda (2):
usb: renesas_usbhs: unify Gen2/3 pipe_config setting
usb: renesas_usbhs: add support for R-Car D3
.../devicetree/binding
Add device tree bindings for the PWM controller found on R-Car D3 SoCs.
Signed-off-by: Yoshihiro Shimoda
---
Documentation/devicetree/bindings/pwm/renesas,pwm-rcar.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/pwm/renesas,pwm-rcar.txt
b/Documentation
From: Takeshi Kihara
This patch adds support for PWM on r8a77995.
Signed-off-by: Takeshi Kihara
Signed-off-by: Yoshihiro Shimoda
---
This patch is based on the renesas-drivers.git /
renesas-drivers-2017-10-03-v4.14-rc3 tag.
drivers/pinctrl/sh-pfc/pfc-r8a77995.c | 152
This patch set is based on the renesas-drivers.git /
renesas-drivers-2017-10-03-v4.14-rc3 tag.
This patch needs the pfc of PWM patch for r8a77995:
https://patchwork.kernel.org/patch/9984151/
Yoshihiro Shimoda (2):
arm64: dts: renesas: r8a77995: add PWM device nodes
arm64: dts: renesas
This patch adds PWM device nodes for r8a77995.
Signed-off-by: Yoshihiro Shimoda
---
arch/arm64/boot/dts/renesas/r8a77995.dtsi | 40 +++
1 file changed, 40 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/r8a77995.dtsi
b/arch/arm64/boot/dts/renesas/r8a77995
This patch enables PWM channel 0 and 1 on the draak. Each channel
connects to LTC2644 for brightness control.
Signed-off-by: Yoshihiro Shimoda
---
arch/arm64/boot/dts/renesas/r8a77995-draak.dts | 24
1 file changed, 24 insertions(+)
diff --git a/arch/arm64/boot/dts
;s
> always a valid match.
>
> Signed-off-by: Geert Uytterhoeven
Thank you for the patch!
Reviewed-by: Yoshihiro Shimoda
Best regards,
Yoshihiro Shimoda
Hi,
> From: Geert Uytterhoeven, Sent: Wednesday, October 4, 2017 9:27 PM
>
> Use the of_device_get_match_data() helper instead of open coding.
>
> Signed-off-by: Geert Uytterhoeven
Thank you for the patch!
Reviewed-by: Yoshihiro Shimoda
Best regards,
Yoshihiro Shimoda
Hi,
> From: Geert Uytterhoeven, Sent: Wednesday, October 4, 2017 9:25 PM
>
> Use the of_device_get_match_data() helper instead of open coding.
>
> Signed-off-by: Geert Uytterhoeven
Thank you for the patch!
Reviewed-by: Yoshihiro Shimoda
But, it seems too late about this Rev
Hi Kishon,
Would you review this patch set?
I checked this can apply your latest linux-phy.git / next branch (the commit id
= 415060b21f31).
Best regards,
Yoshihiro Shimoda
> -Original Message-
> From: Yoshihiro Shimoda
> Sent: Friday, September 1, 2017 11:41 AM
> To: k
n2 compatible device
> + - "renesas,rcar-gen2-usbhs" for R-Car Gen2 or RZ/G1 compatible device
> - "renesas,rcar-gen3-usbhs" for R-Car Gen3 compatible device
This will be conflict with my R-Car D3 support patch.
https://patchwork.kernel.org/patch/9982267/
Th
Hi,
Thank you for the comment!
I will submit v4 patch soon. But, I wrote some comments below.
> From: Kishon Vijay Abraham I, Sent: Monday, October 9, 2017 7:07 PM
>
> Hi,
>
> On Friday 01 September 2017 08:11 AM, Yoshihiro Shimoda wrote:
> > The has_otg on previous cod
"SoCs" is not third-person singular present).
Changes from v1:
- Revise typo "wronly" to "wrongly".
- Remove RCAR_GEN3_PHY_HAS_DEDICATED_PINS from generic gen3 entry in
patch 3/4
- Remove the driver change from patch 4/4.
- Revise the commit log of patch 4/4.
Yosh
This patch adds binding for r8a77995 (R-Car D3). Since r8a77995 doesn't
have dedicated pins (ID, VBUS), this will match against the generic
fallback on R-Car D3.
For now, this driver doesn't support usb role swap for r8a77995.
Signed-off-by: Yoshihiro Shimoda
Reviewed-by: Si
the code.
Signed-off-by: Yoshihiro Shimoda
Reviewed-by: Simon Horman
---
drivers/phy/renesas/phy-rcar-gen3-usb2.c | 31 +--
1 file changed, 21 insertions(+), 10 deletions(-)
diff --git a/drivers/phy/renesas/phy-rcar-gen3-usb2.c
b/drivers/phy/renesas/phy-rcar-gen3-usb2.c
inde
This patch cleanups the role_{store,show}() and replaces the local
"bool" for host/device mode selection with the "enum phy_mode" in
the role_store().
Signed-off-by: Yoshihiro Shimoda
---
drivers/phy/renesas/phy-rcar-gen3-usb2.c | 58 ++--
node has dr_mode property or
not. If it has 'dr_mode = "otg";', this driver enables otg capability.
Signed-off-by: Yoshihiro Shimoda
Reviewed-by: Simon Horman
---
drivers/phy/renesas/phy-rcar-gen3-usb2.c | 10 +++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --
Hi Simon-san,
Thank you for the comments!
> From: Simon Horman, Sent: Tuesday, October 10, 2017 4:46 PM
>
> On Tue, Oct 10, 2017 at 02:58:28PM +0900, Yoshihiro Shimoda wrote:
> > This patch cleanups the role_{store,show}() and replaces the local
> > "bool" for
node has dr_mode property or
not. If it has 'dr_mode = "otg";', this driver enables otg capability.
Signed-off-by: Yoshihiro Shimoda
Reviewed-by: Simon Horman
---
drivers/phy/renesas/phy-rcar-gen3-usb2.c | 10 +++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --
This patch adds binding for r8a77995 (R-Car D3). Since r8a77995 doesn't
have dedicated pins (ID, VBUS), this will match against the generic
fallback on R-Car D3.
For now, this driver doesn't support usb role swap for r8a77995.
Signed-off-by: Yoshihiro Shimoda
Reviewed-by: Si
;Reviewed-by".
Changes from v2:
- Revise the commit log ("SoCs" is not third-person singular present).
Changes from v1:
- Revise typo "wronly" to "wrongly".
- Remove RCAR_GEN3_PHY_HAS_DEDICATED_PINS from generic gen3 entry in
patch 3/4
- Remove the driver change
the code.
Signed-off-by: Yoshihiro Shimoda
Reviewed-by: Simon Horman
---
drivers/phy/renesas/phy-rcar-gen3-usb2.c | 31 +--
1 file changed, 21 insertions(+), 10 deletions(-)
diff --git a/drivers/phy/renesas/phy-rcar-gen3-usb2.c
b/drivers/phy/renesas/phy-rcar-gen3-usb2.c
inde
This patch modifies the role_store() to use "enum phy_mode" instead
of the local "bool" for host/device mode selection.
Signed-off-by: Yoshihiro Shimoda
---
drivers/phy/renesas/phy-rcar-gen3-usb2.c | 29 ++---
1 file changed, 18 insertions(+), 11 dele
n.h.
> - Add acked-by from Sebastian Reichel (for drivers/power/supply/)
> - Add acked-by from Chen-Yu Tsai (for phy-sun4i-usb.c & extcon-axp288.c)
> - Add acked-by from Charles Keepax (for drivers/extcon/extcon-arizona.c)
> - Add acked-by from Lee Jones (fo include/linux/mfd/palma
node has dr_mode property or
not. If it has 'dr_mode = "otg";', this driver enables otg capability.
Signed-off-by: Yoshihiro Shimoda
Reviewed-by: Simon Horman
---
drivers/phy/renesas/phy-rcar-gen3-usb2.c | 10 +++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --
- Revise typo "wronly" to "wrongly".
- Remove RCAR_GEN3_PHY_HAS_DEDICATED_PINS from generic gen3 entry in
patch 3/4
- Remove the driver change from patch 4/4.
- Revise the commit log of patch 4/4.
Yoshihiro Shimoda (4):
phy: rcar-gen3-usb2: check dr_mode for otg mode
phy:
This patch modifies the role_store() to use "enum phy_mode" instead
of the local "bool" for host/device mode selection.
Signed-off-by: Yoshihiro Shimoda
Reviewed-by: Simon Horman
---
drivers/phy/renesas/phy-rcar-gen3-usb2.c | 29 ++---
1 file ch
the code.
Signed-off-by: Yoshihiro Shimoda
Reviewed-by: Simon Horman
---
drivers/phy/renesas/phy-rcar-gen3-usb2.c | 31 +--
1 file changed, 21 insertions(+), 10 deletions(-)
diff --git a/drivers/phy/renesas/phy-rcar-gen3-usb2.c
b/drivers/phy/renesas/phy-rcar-gen3-usb2.c
inde
This patch adds binding for r8a77995 (R-Car D3). Since r8a77995 doesn't
have dedicated pins (ID, VBUS), this will match against the generic
fallback on R-Car D3.
For now, this driver doesn't support usb role swap for r8a77995.
Signed-off-by: Yoshihiro Shimoda
Reviewed-by: Si
Since Salvator-X[S] have a USB2.0 dual-role channel (CN9), this patch
adds dr_mode property for USB2.0 channel 0 (EHCI/OHCI and HS-USB)
as "otg".
Signed-off-by: Yoshihiro Shimoda
---
This patch based on the renesas.git / renesas-devel-20171011-v4.14-rc4 tag.
Using dual-role chann
Hi,
> From: Kishon Vijay Abraham I [mailto:kis...@ti.com], Sent: Wednesday, October
> 11, 2017 5:28 PM
>
> Hi,
>
> On Tuesday 10 October 2017 03:11 PM, Yoshihiro Shimoda wrote:
> > This patch modifies the role_store() to use "enum phy_mode" instead
> >
ptionally) driven from USB0_PWEN on
> > Salvator-X(S) I don't know if you need a GPIO hog or not. I have to defer
> > your
> > question to Shimoda-san.
I'm sorry for the delayed response.
I think OTG_OFFVBUSn should be low level to avoid conflict 5V supply from U13's
OUT pins.
> This pin should be tied permanently low to disable internal MAX3355
> internal VBUS charge pump.
I agree.
> Hence probably gpio hog is enough for OTG_OFFVBUSn.
I'm afraid but I don't understand this "gpio hog" means.
> KF has dedicated VBUS power supply controlled by USB0_PWEN.
I agree.
I don’t write any documentations though, but I assumed SW15 is pin 3 side
to use MAX3355's charge pump. So, I added "vbus-supply" to disable SHDN# of
MAX3355.
But, we can also use U13 for power supply on the Salvator-X[S] without
"vbus-supply".
Best regards,
Yoshihiro Shimoda
>
> --
> Regards,
> Vladimir
issues?
>
> a) swiotlb_tbl_map_single() can't handle 524288 bytes
>
> and
>
> b) failing swiotlb_tbl_map_single() results in a kernel crash
>
>
> Now, I'm not sure whom to address both to? Is it an issue of
> renesas_sdhi_internal_dmac() which shouldn&
for a generic R-Car Gen2 compatible device
> +- "renesas,rcar-gen2-xhci" for a generic R-Car Gen2 or RZ/G1 compatible
> + device
> - "renesas,rcar-gen3-xhci" for a generic R-Car Gen3 compatible device
> - "xhci-platform" (deprecated)
>
It seems good to me. So,
Reviewed-by: Yoshihiro Shimoda
Best regards,
Yoshihiro Shimoda
uot;;
> + status = "disabled";
> + };
> +
> sdhi0: sd@ee10 {
> compatible = "renesas,sdhi-r8a7743";
> reg = <0 0xee10 0 0x328>;
It seems good to me. So,
Reviewed-by: Yoshihiro Shimoda
Best regards,
Yoshihiro Shimoda
> --
> 1.9.1
as a memory size limitation.
- In lib/swiotlb.c, it calculates nslots.
- The size of one slot is 2048 bytes because IO_TLB_SHIFT in
include/linux/swiotlb.h is set to 11.
- IO_TLB_SEGSIZE is set to 128 in include/linux/swiotlb.h.
- This value is number of maximum slots.
- So, maximum size for a single map of swiotlb is 256kbytes (2048 * 128).
So, I will submit a patch to set the max_req_size to 256kbytes today.
Best regards,
Yoshihiro Shimoda
Hi Dirk-san,
> From: Dirk Behme, Sent: Tuesday, October 17, 2017 2:08 PM
>
> Limiting the thread to Renesas only, again, to discuss the other issue:
>
> On 17.10.2017 06:51, Yoshihiro Shimoda wrote:
> > Hi Linus-san,
> >
> >> From: Linus Walleij, Se
This patch set is based on mainline v4.14-rc5.
Yoshihiro Shimoda (2):
mmc: renesas_sdhi: fix swiotlb buffer is full
mmc: renesas_sdhi: fix kernel panic in _internal_dmac.c
drivers/mmc/host/renesas_sdhi_internal_dmac.c | 22 +-
1 file changed, 13 insertions(+), 9
SDHI DMAC")
Signed-off-by: Yoshihiro Shimoda
---
drivers/mmc/host/renesas_sdhi_internal_dmac.c | 17 ++---
1 file changed, 10 insertions(+), 7 deletions(-)
diff --git a/drivers/mmc/host/renesas_sdhi_internal_dmac.c
b/drivers/mmc/host/renesas_sdhi_internal_dmac.c
index 6c9b4b
eq,seg}_size will be set to 256k bytes.
Reported-by: Dirk Behme
Signed-off-by: Yoshihiro Shimoda
---
drivers/mmc/host/renesas_sdhi_internal_dmac.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/mmc/host/renesas_sdhi_internal_dmac.c
b/drivers/mmc/host/renesas_
Hi Simon-san,
> From: Yoshihiro Shimoda, Sent: Thursday, October 12, 2017 6:24 PM
>
> Since Salvator-X[S] have a USB2.0 dual-role channel (CN9), this patch
> adds dr_mode property for USB2.0 channel 0 (EHCI/OHCI and HS-USB)
> as "otg".
>
> Signed-off-by: Yoshihi
; On Tue, Oct 17, 2017 at 9:30 AM, Yoshihiro Shimoda
> >> wrote:
> >> > Since the commit de3ee99b097d ("mmc: Delete bounce buffer handling")
> >> > deletes the bounce buffer handling, a request data size will be referred
> >> > to m
This patch set is based on mainline v4.14-rc5.
Changes from v1:
- Calculate the max size of swiotlb memory instead of hardcoded value
in patch 1.
- Add Reviewed-by from Geert-san in patch 2. (Geert-san, thanks!)
Yoshihiro Shimoda (2):
mmc: tmio: fix swiotlb buffer is full
mmc
SDHI DMAC")
Signed-off-by: Yoshihiro Shimoda
Reviewed-by: Geert Uytterhoeven
---
drivers/mmc/host/renesas_sdhi_internal_dmac.c | 17 ++---
1 file changed, 10 insertions(+), 7 deletions(-)
diff --git a/drivers/mmc/host/renesas_sdhi_internal_dmac.c
b/driver
ize up to 256k bytes if swiotlb is running.
Reported-by: Dirk Behme
Signed-off-by: Yoshihiro Shimoda
---
drivers/mmc/host/tmio_mmc_core.c | 13 +
1 file changed, 13 insertions(+)
diff --git a/drivers/mmc/host/tmio_mmc_core.c b/drivers/mmc/host/tmio_mmc_core.c
index a7293e1..9c4e619
Hi again!
> From: Yoshihiro Shimoda, Sent: Thursday, October 19, 2017 8:39 PM
>
> Hi Geert-san, Konrad-san,
>
> > From: Geert Uytterhoeven, Sent: Thursday, October 19, 2017 5:34 PM
> >
> > Hi Konrad,
> >
> > On Thu, Oct 19, 2017 at 2:24 AM
Hi,
> From: Konrad Rzeszutek, Sent: Wednesday, November 1, 2017 10:27 PM
>
> On Fri, Oct 20, 2017 at 03:18:55AM +, Yoshihiro Shimoda wrote:
> > Hi again!
> >
> > > From: Yoshihiro Shimoda, Sent: Thursday, October 19, 2017 8:39 PM
> > >
> > &
This patch uses usb role switch APIs if the register suceeeded.
Signed-off-by: Yoshihiro Shimoda
---
drivers/usb/gadget/udc/renesas_usb3.c | 27 ---
1 file changed, 24 insertions(+), 3 deletions(-)
diff --git a/drivers/usb/gadget/udc/renesas_usb3.c
b/drivers/usb/gadget
This patch adds OF graph properties for usb role switch in r8a7795
into USB3.0 host/peripheral nodes.
TODO:
- need patches for other SoCs.
Signed-off-by: Yoshihiro Shimoda
---
arch/arm64/boot/dts/renesas/r8a7795.dtsi | 12
1 file changed, 12 insertions(+)
diff --git a/arch/arm64
correctly (e.g. detect a device as
high-speed).
To achieve this by a driver, this role switch driver manages
the mode change register and attach/release the xhci-plat driver.
Signed-off-by: Yoshihiro Shimoda
---
.../devicetree/bindings/usb/renesas_usb3.txt | 15
drivers/usb/gadget/udc
This patch adds graph parsing in device_connection_find_match().
The match function will be called with fwnode pointer in struct
device_connection. So, a caller can check the matching by using it.
Signed-off-by: Yoshihiro Shimoda
---
Documentation/driver-api/device_connection.rst | 2
the rcar usb role switch and renesas_usb3 drivers.
- Update the dtsi file for r8a7795.
Yoshihiro Shimoda (4):
base: devcon: add graph parse in device_connection_find_match()
usb: gadget: udc: renesas_usb3: Add register of usb role switch
usb: gadget: udc: renesas_usb3: use usb role switch API
Hi Rob,
Thank you for the review!
> From: Rob Herring, Sent: Wednesday, May 23, 2018 2:13 AM
>
> On Tue, May 22, 2018 at 09:01:07PM +0900, Yoshihiro Shimoda wrote:
> > This patch adds role switch support for R-Car SoCs into the USB 3.0
> > peripheral driver. Some R-Car SoCs
3] and Heikki
> >> [4]. So, I'm
> >> trying to improve the device connection framework [5] now.
> >
> > I think this case is rare enough that we don't need a general solution
> > using OF graph, so I'm fine with a simple, single property to link the
&
ill attach/release the xhci-plat driver to reinitialize the host
hardware.
Signed-off-by: Yoshihiro Shimoda
---
This patch set is based on Felipe's usb.git / testing/next branch
(commit id = 47265c067c0d129f3a0e94bc221293a780af9d78).
I remove RFC on this v5 patch because it's simpl
Hi Andy,
Thank you for your review!
> From: Andy Shevchenko, Sent: Monday, May 28, 2018 9:47 PM
>
> On Fri, May 25, 2018 at 10:12 AM, Yoshihiro Shimoda
> wrote:
>
> > -static void usb3_set_mode(struct renesas_usb3 *usb3, bool host)
>
> Wouldn't be better
Hi Heikki,
> From: Heikki Krogerus, Sent: Monday, May 28, 2018 10:05 PM
>
> On Fri, May 25, 2018 at 04:12:56PM +0900, Yoshihiro Shimoda wrote:
> > @@ -2573,6 +2635,12 @@ static void renesas_usb3_init_ram(struct
> > renesas_usb3 *usb3, struct device *dev
_status())
;
instead of reset_control_reset(), I think.
Best regards,
Yoshihiro Shimoda
Hi Geert-san, Wolfram-san,
> From: Geert Uytterhoeven, Sent: Thursday, May 31, 2018 5:45 PM
>
> Hi Shimoda-san,
>
> On Wed, May 30, 2018 at 10:35 AM, Yoshihiro Shimoda
> wrote:
> >> From: Wolfram Sang, Sent: Tuesday, May 29, 2018 7:59 PM
> >> Subject: [RFC P
why there is now this patch in the BSP which Shimoda-san
> > mentioned in a later mail:
> >
> > f0cd22525f73 ("i2c: rcar: Fix module reset function for hardware
> > specification")
>
> Exactly.
>
> ===
>
> As far as I understood it takes care of the proper reset mechanism with the
> delay?
I missed this email... As I replied to Geert-san on other email thread,
I'll ask HW team about this topic.
Best regards,
Yoshihiro Shimoda
> Kind regards,
>
>Wolfram
Since the datasheet Rev.1.00 has an error about the USB ID pin name,
this patch revises it.
Signed-off-by: Yoshihiro Shimoda
---
drivers/pinctrl/sh-pfc/pfc-r8a77990.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/pinctrl/sh-pfc/pfc-r8a77990.c
b/drivers/pinctrl
This patch set is based on renesas-drivers.git /
renesas-drivers-2018-06-05-v4.17 tag.
Takeshi Kihara (1):
pinctrl: sh-pfc: r8a77990: Add USB2.0 pins, groups and functions
Yoshihiro Shimoda (1):
pinctrl: sh-pfc: r8a77990: Revise USB ID pin name
drivers/pinctrl/sh-pfc/pfc-r8a77990.c | 42
This patch adds suuport for r8a77990 (R-Car E3).
Signed-off-by: Yoshihiro Shimoda
---
Documentation/devicetree/bindings/phy/rcar-gen3-phy-usb2.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/phy/rcar-gen3-phy-usb2.txt
b/Documentation/devicetree
From: Takeshi Kihara
This patch adds USB0_{PWEN,OVC}_{A,B} and USB0_ID pins, groups and
functions to the R8A77990 SoC.
Signed-off-by: Takeshi Kihara
Signed-off-by: Yoshihiro Shimoda
---
drivers/pinctrl/sh-pfc/pfc-r8a77990.c | 38 +++
1 file changed, 38
e "renesas,rcar-gen3-usb2-phy" can bind the driver.
Also, for now, I don't try to add/enable USB2.0 peripheral on the board
because the phy driver needs some modifications.
Yoshihiro Shimoda (4):
arm64: dts: renesas: r8a77990: add usb2_phy device node
arm64: dts: renesas: r8a7799
This patch adds USB2.0 phy device node for r8a77990.
Signed-off-by: Yoshihiro Shimoda
---
arch/arm64/boot/dts/renesas/r8a77990.dtsi | 12
1 file changed, 12 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/r8a77990.dtsi
b/arch/arm64/boot/dts/renesas/r8a77990.dtsi
index
This patch enables usb2_phy0 for r8a77990 Ebisu board.
Signed-off-by: Yoshihiro Shimoda
---
arch/arm64/boot/dts/renesas/r8a77990-ebisu.dts | 12
1 file changed, 12 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/r8a77990-ebisu.dts
b/arch/arm64/boot/dts/renesas/r8a77990
This patch enables USB2.0 host (EHCI/OHCI) for r8a77990 Ebisu board.
Signed-off-by: Yoshihiro Shimoda
---
arch/arm64/boot/dts/renesas/r8a77990-ebisu.dts | 8
1 file changed, 8 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/r8a77990-ebisu.dts
b/arch/arm64/boot/dts/renesas
This patch adds USB2.0 host(EHCI/OHCI) device nodes for r8a77990.
Signed-off-by: Yoshihiro Shimoda
---
arch/arm64/boot/dts/renesas/r8a77990.dtsi | 25 +
1 file changed, 25 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/r8a77990.dtsi
b/arch/arm64/boot/dts
Hi Simon-san,
> From: Simon Horman, Sent: Wednesday, June 6, 2018 6:16 PM
>
> On Wed, Jun 06, 2018 at 03:56:07PM +0900, Yoshihiro Shimoda wrote:
> > This patch set is based on renesas-drivers.git /
> > renesas-drivers-2018-06-05-v4.17 tag.
> >
> > About dt-bindi
This patch adds USB2.0 PHY and Host(EHCI/OHCI) nodes and
enables them for R-Car E3 Ebisu board.
Signed-off-by: Yoshihiro Shimoda
---
This patch set is based on renesas-drivers.git /
renesas-drivers-2018-06-05-v4.17 tag.
Changes from v1:
- Squash 4 patches into a single patch.
arch/arm64/boot
uot; status is "off-0".
- "3dg-b" doesn't have any slaves.
< After applied the patch >
- "3dg-b's" status is "on".
- "3dg-b" has "3dg-a" slave.
So,
Tested-by: Yoshihiro Shimoda
Best regards,
Yoshihiro Shimoda
> &
Hi Geert-san,
> From: Yoshihiro Shimoda, Sent: Thursday, May 31, 2018 6:12 PM
>
> Hi Geert-san, Wolfram-san,
>
> > From: Geert Uytterhoeven, Sent: Thursday, May 31, 2018 5:45 PM
> >
> > Hi Shimoda-san,
> >
> > On Wed, May 30, 2018 at 10:35 AM, Yoshihir
Hi Simon-san,
> From: Simon Horman, Sent: Friday, June 8, 2018 5:19 PM
>
> On Wed, Jun 06, 2018 at 06:52:06PM +0900, Yoshihiro Shimoda wrote:
> > This patch adds USB2.0 PHY and Host(EHCI/OHCI) nodes and
> > enables them for R-Car E3 Ebisu board.
> >
> >
80608-v4.17 and
this r8a7796 cannot be applied because conflict happened.
So, I guess you need rebase. After rebased:
Acked-by: Yoshihiro Shimoda
Best regards,
Yoshihiro Shimoda
> arch/arm64/boot/dts/renesas/r8a77970-eagle.dts | 5 +
> arch/arm64/boot/dts/renesas/r8a7797
Hi Wolfram-san,
> From: Wolfram Sang, Sent: Monday, June 11, 2018 11:50 PM
>
> Signed-off-by: Wolfram Sang
> ---
This patch looks good. So,
Acked-by: Yoshihiro Shimoda
Best regards,
Yoshihiro Shimoda
> arch/arm/boot/dts/emev2-kzm9d.dts | 5 +
>
701 - 800 of 1173 matches
Mail list logo