This patch set is based on the latest phy.git / next branch
(the commit id = d9c51f4c53ae2af03aa8bd001d46f21b0adcdab8).
After this patch set is applied, a usb 2.0 host node that is combined
with usb 2.0 peripheral needs 'dr_mode = "otg";' property.
Yoshihiro Shimoda (4):
phy: rcar
This patch adds binding for r8a77995 (R-Car D3). Since r8a77995 doesn't
have dedicated pins (ID, VBUS), this of_device_id doesn't have any data.
For now, this driver doesn't support usb role swap for r8a77995.
Signed-off-by: Yoshihiro Shimoda
---
Documentation/devicetree/bindings/phy/rcar-gen3
Hi Geert-san,
Thank you for the comments!
> From: Geert Uytterhoeven
> Sent: Thursday, August 31, 2017 4:51 PM
>
> Hi Shimoda-san,
>
> On Thu, Aug 31, 2017 at 9:31 AM, Yoshihiro Shimoda
> wrote:
> > This patch adds SoC-specific parameter to avoid reading/writing
&g
Hi Geert-san,
> From: Geert Uytterhoeven
> Sent: Thursday, August 31, 2017 5:27 PM
>
> Hi Shimoda-san,
>
> On Thu, Aug 31, 2017 at 10:15 AM, Yoshihiro Shimoda
> wrote:
> >> From: Geert Uytterhoeven
> >> Sent: Thursday, August 31, 2017 4:51 PM
> >
has dr_mode property or
not. If it has 'dr_mode = "otg";', this driver enables otg capability.
Signed-off-by: Yoshihiro Shimoda
---
drivers/phy/renesas/phy-rcar-gen3-usb2.c | 10 +++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/drivers/phy/renesas/phy-rcar-gen3
po "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: rcar-ge
This patch adds SoC-specific parameter to avoid reading/writing
specific registers wrongly if this driver runs on a SoC which doesn't
have dedicated pins (e.g. R-Car D3).
Signed-off-by: Yoshihiro Shimoda
---
drivers/phy/renesas/phy-rcar-gen3-usb2.c | 24 +++-
1 file changed
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
---
Documentation/devicetree
as "has dedicated otg pins" and adds a new value
"can_role_swap". For now, the behavior is the same as before.
Signed-off-by: Yoshihiro Shimoda
---
drivers/phy/renesas/phy-rcar-gen3-usb2.c | 61 ++--
1 file changed, 42 insertions(+), 19 deletions(-)
Hello,
> -Original Message-
> From: Sergei Shtylyov
> Sent: Thursday, August 31, 2017 6:41 PM
>
> Hello!
>
> On 8/31/2017 10:31 AM, Yoshihiro Shimoda wrote:
>
> > The previous code assumed a channel has otg capability if a channel
> > has interrupt p
> -Original Message-
> From: Sergei Shtylyov
> Sent: Thursday, August 31, 2017 6:43 PM
>
> On 8/31/2017 10:31 AM, Yoshihiro Shimoda wrote:
>
> > This patch adds SoC-specific parameter to avoid reading/writing
> > specific registers wronly if this driv
as "has dedicated otg pins" and adds a new value
"can_role_swap". For now, the behavior is the same as before.
Signed-off-by: Yoshihiro Shimoda
---
drivers/phy/renesas/phy-rcar-gen3-usb2.c | 61 ++--
1 file changed, 42 insertions(+), 19 deletions(-)
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
---
Documentation/devicetree
has dr_mode property or
not. If it has 'dr_mode = "otg";', this driver enables otg capability.
Signed-off-by: Yoshihiro Shimoda
---
drivers/phy/renesas/phy-rcar-gen3-usb2.c | 10 +++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/drivers/phy/renesas/phy-rcar-gen3
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 from patch 4/4.
- Revise the commit log of patch
This patch adds SoC-specific parameter to avoid reading/writing
specific registers wrongly if this driver runs on a SoC which doesn't
have dedicated pins (e.g. R-Car D3).
Signed-off-by: Yoshihiro Shimoda
---
drivers/phy/renesas/phy-rcar-gen3-usb2.c | 24 +++-
1 file changed
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
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
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: rcar-gen3
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 --git a/drivers/p
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: Simon Horman
he 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
index 00a
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
> >
gt;
> Signed-off-by: Julia Lawall
Thank you for the patch!
Acked-by: Yoshihiro Shimoda
Best regards,
Yoshihiro Shimoda
#define RENESAS_USB_DRIVER_H
>
> -#include
> +#include
Since this driver doesn't use any extcon-provider APIs for now,
we doesn't need the modification, IIUC.
Best regards,
Yoshihiro Shimoda
Hi Rob,
> From: Rob Herring, Sent: Tuesday, December 19, 2017 9:10 AM
>
> On Sun, Dec 17, 2017 at 11:16 PM, Yoshihiro Shimoda
> wrote:
> > Hi Rob,
> >
> > Thank you for your comments!
> >
> >> From: Rob Herring, Sent: Sunday, December 17, 2017 3:
sb repository [2] in near the future.
[1] https://lkml.org/lkml/2017/11/2/373
[2] git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git in the
usb-linus branch.
Best regards,
Yoshihiro Shimoda
> ---
> drivers/phy/renesas/Kconfig | 2 ++
> 1 file changed, 2 insertions(+)
&g
it today.
I don't find the root cause yet. However, it seems related to usb host and/or
usb core.
--> USB host related devices' child_count will be 1 in suspend timing.
--> I guess remote wakeup feature is enabled? But, I don't find the point yet.
The renesas_usbhs also uses the phy_rcar_gen3_usb2 driver.
--> If I only used the renesas_usbhs driver (in other words, I don't install
[eo]hci-{hcd,platform} drivers), the issue disappeared.
--> So, I think the phy_rcar_gen3_usb2 driver doesn't cause this issue.
(But, it is possible to be related though.)
I'll continue to investigate this issue tomorrow.
Best regards,
Yoshihiro Shimoda
Hi,
> From: Ulf Hansson, Sent: Wednesday, November 29, 2017 2:23 AM
>
> On 28 November 2017 at 13:48, Yoshihiro Shimoda
> wrote:
> > Hi Geert-san,
> >
> >> From: Geert Uytterhoeven, Sent: Tuesday, November 28, 2017 7:58 PM
> >>
> >> Hi Rafael,
Hi,
> From: Alan Stern, Sent: Wednesday, November 29, 2017 12:07 AM
>
> On Tue, 28 Nov 2017, Yoshihiro Shimoda wrote:
>
> > Hi Geert-san,
> >
> > > From: Geert Uytterhoeven, Sent: Tuesday, November 28, 2017 7:58 PM
> > >
> > > Hi Rafael, Shimo
Hi,
> From: Ulf Hansson, Sent: Monday, December 4, 2017 7:41 PM
>
> On 1 December 2017 at 12:03, Yoshihiro Shimoda
> wrote:
> > Sure! I tested your patch, and then the following message disappeared!
> >
> >Enabling runtime PM for inactive device (ee080200.usb-
Hi Geert-san,
> From: Geert Uytterhoeven, Sent: Wednesday, December 13, 2017 5:55 PM
>
> Hi Shimoda-san,
>
> On Wed, Dec 13, 2017 at 7:27 AM, Yoshihiro Shimoda
> wrote:
> > Some R-Car SoCs (e.g. R-Car D3) doesn't have dedicated pins of VBUS
> > and ID. So, they
Hello!
> From: Sergei Shtylyov, Sent: Wednesday, December 13, 2017 6:10 PM
>
> Hello!
>
> On 12/13/2017 9:27 AM, Yoshihiro Shimoda wrote:
>
> > This patch unifies the OBINTEN handling to clean-up the code.
> >
> > Signed-off-by: Yoshihiro Shimoda
> &
This patch unifies the OBINTEN handling to clean-up the code.
Signed-off-by: Yoshihiro Shimoda
---
drivers/phy/renesas/phy-rcar-gen3-usb2.c | 23 +++
1 file changed, 15 insertions(+), 8 deletions(-)
diff --git a/drivers/phy/renesas/phy-rcar-gen3-usb2.c
b/drivers/phy
f "enable_" to "control_" or "set_" that
will enable/disable irq or vbus.
Yoshihiro Shimoda (6):
phy: renesas: rcar-gen3-usb2: call INIT_WORK() anyway
phy: renesas: rcar-gen3-usb2: unify OBINTEN handling
phy: renesas: rcar-gen3-usb2: change the function name to
In the future, the work struct will be used by non-irq related code.
So, this patch moves the INIT_WORK() timing.
Signed-off-by: Yoshihiro Shimoda
---
drivers/phy/renesas/phy-rcar-gen3-usb2.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/phy/renesas/phy-rcar-gen3
This patch changes the function name from rcar_gen3_enable_vbus_ctrl()
to rcar_gen3_set_vbus_ctrl() because the fucntion both enables and
disables.
Signed-off-by: Yoshihiro Shimoda
---
drivers/phy/renesas/phy-rcar-gen3-usb2.c | 16
1 file changed, 8 insertions(+), 8 deletions
To support gpio handling in the future, this patch clean-ups the code
to use prefix "has_otg_pins_" functions.
Signed-off-by: Yoshihiro Shimoda
---
drivers/phy/renesas/phy-rcar-gen3-usb2.c | 130 ---
1 file changed, 85 insertions(+), 45 deletions(-)
Some R-Car SoCs (e.g. R-Car D3) doesn't have dedicated pins of VBUS
and ID. So, they may be connected to gpio pins. To handle the gpio
pins, this patch adds the handling of VBUS and ID pins instead of
dedicated pins.
Signed-off-by: Yoshihiro Shimoda
---
.../devicetree/bindings/phy/rcar-gen3-phy
This patch add rcar_gen3_role_swap_ops to support other feature
(e.g. gpio handling) easily.
Signed-off-by: Yoshihiro Shimoda
---
drivers/phy/renesas/phy-rcar-gen3-usb2.c | 51 +++-
1 file changed, 43 insertions(+), 8 deletions(-)
diff --git a/drivers/phy/renesas
t_dr_mode_by_phy() is available.
>
> Signed-off-by: Vladimir Murzin
Thank you for the patch! However, Arnd already sent such a patch before.
https://lkml.org/lkml/2017/11/2/373
The latest Linux-phy.git doesn't apply it yet though...
Best regards,
Yoshihiro Shimoda
h
> @@ -17,7 +17,6 @@
> #include
> #include
> #include
> -#include
After I applied this patch, some ata and gpu drivers causes build error [1].
So, we should fix the drivers at first...
Best regards,
Yoshihiro Shimoda
---
[1]
drivers/ata/ahci_qoriq.c: In function 'ahci_qoriq_resume':
driv
> From: Ulf Hansson, Sent: Thursday, December 21, 2017 7:58 PM
>
> On 21 December 2017 at 11:33, Yoshihiro Shimoda
> wrote:
> > Hi Ulf-san,
> >
> >> -Original Message-
> >> From: Ulf Hansson, Sent: Wednesday, December 20, 2017 11:09 PM
> &
Hi Rob,
Thank you for your comments!
> -Original Message-
> From: Rob Herring, Sent: Sunday, December 17, 2017 3:05 AM
>
> On Fri, Dec 15, 2017 at 02:45:26PM +0900, Yoshihiro Shimoda wrote:
> > Some R-Car SoCs (e.g. R-Car D3) doesn't have dedicated pins of VBUS
> &
gen3-usb2.c:(.text+0x250): undefined reference to
> `of_usb_get_dr_mode_by_phy'
>
> Other phy drivers select USB_COMMON for this, so let's do the same
> here.
>
> Fixes: 7e0540f41332 ("phy: rcar-gen3-usb2: check dr_mode for otg mode")
> Signed-off-by: Arnd Bergmann
igned-off-by: Colin Ian King
Thank you for the patch!
Acked-by: Yoshihiro Shimoda
Best regards,
Yoshihiro Shimoda
is the same as R-Car H3. But, I didn't find any errata
documents. So, I'm asking HW guys why this environment causes it. However,
I don't get any feedback yet. I think we need any reason for applying such a
quirk.
Best regards,
Yoshihiro Shimoda
> >>> [77122.622952] handle_tx_event:
I don't think this explanation needs.
After this is removed,
Acked-by: Yoshihiro Shimoda
Best regards,
Yoshihiro Shimoda
> Print error message and propagate the return value of platform_get_irq
> on failure.
>
> This issue was detected with the help of Coccinelle.
>
> Signed-o
Hi,
> From: Kishon Vijay Abraham I, Sent: Friday, March 2, 2018 5:15 PM
>
> On Tuesday 27 February 2018 11:22 AM, Yoshihiro Shimoda wrote:
> > This patch adds support for r8a77965 (R-Car M3-N). This SoC has
> > dedicated pins.
> >
> > Signed-off-by: Yoshihiro Sh
Hi,
> From: Kishon Vijay Abraham I, Sent: Friday, March 2, 2018 5:15 PM
>
> On Tuesday 27 February 2018 11:22 AM, Yoshihiro Shimoda wrote:
> > This patch adds binding for r8a77965 (R-Car M3-N).
>
> $subject should be dt-bindings: rcar-gen3-phy-usb3: Add binding for r8
This patch set adds R-Car Gen3 USB 2.0 and 3.0 support for R8A77965.
Changes from v1:
- Separate patch1 to dt-bindings and adding of_device_id table entry.
- Revise the subject for dt-bindings patch(es).
Yoshihiro Shimoda (3):
dt-bindings: rcar-gen3-phy-usb2: Add bindings for r8a77965
phy
This patch adds bindings for r8a77965 (R-Car M3-N).
Signed-off-by: Yoshihiro Shimoda
---
Documentation/devicetree/bindings/phy/rcar-gen3-phy-usb3.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/phy/rcar-gen3-phy-usb3.txt
b/Documentation/devicetree
This patch adds support for r8a77965 (R-Car M3-N). This SoC has
dedicated pins.
Signed-off-by: Yoshihiro Shimoda
---
drivers/phy/renesas/phy-rcar-gen3-usb2.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/phy/renesas/phy-rcar-gen3-usb2.c
b/drivers/phy/renesas/phy-rcar-gen3
This patch adds support for r8a77965 (R-Car M3-N).
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
This patch set adds R-Car Gen3 USB 2.0 and 3.0 support for R8A77965.
Yoshihiro Shimoda (2):
phy: rcar-gen3-usb2: Add support for r8a77965
phy: rcar-gen3-usb3: Add binding for r8a77965
Documentation/devicetree/bindings/phy/rcar-gen3-phy-usb2.txt | 2 ++
Documentation/devicetree/bindings/phy
This patch adds support for r8a77965 (R-Car M3-N). This SoC has
dedicated pins.
Signed-off-by: Yoshihiro Shimoda
---
Documentation/devicetree/bindings/phy/rcar-gen3-phy-usb2.txt | 2 ++
drivers/phy/renesas/phy-rcar-gen3-usb2.c | 4
2 files changed, 6 insertions(+)
diff
This patch adds binding for r8a77965 (R-Car M3-N).
Signed-off-by: Yoshihiro Shimoda
---
Documentation/devicetree/bindings/phy/rcar-gen3-phy-usb3.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/phy/rcar-gen3-phy-usb3.txt
b/Documentation/devicetree
Hi,
> From: Ulf Hansson, Sent: Friday, December 1, 2017 6:22 PM
>
> + Kishon
>
> On 30 November 2017 at 13:51, Yoshihiro Shimoda
> wrote:
> > Hi,
> >
> >> From: Ulf Hansson, Sent: Wednesday, November 29, 2017 6:59 PM
> >>
> >> On 2
Hi again,
> From: Yoshihiro Shimoda, Sent: Friday, December 1, 2017 8:04 PM
>
> Hi,
>
> However, the following message still exists.
>
>Enabling runtime PM for inactive device (ee08.usb) with active children
>
> So, I guess ohci-platform.c also has similar
isbehaving in some
> way. I can help to check what is going on.
I guess so. But, I don't find yet...
Best regards,
Yoshihiro Shimoda
> Kind regards
> Uffe
-9 lines).
I'm not sure you should resolve it or not.
But, this patch could work without any regressions. So,
Acked-by: Yoshihiro Shimoda
[1] https://www.spinics.net/lists/linux-usb/msg162421.html
Best regards,
Yoshihiro Shimoda
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.
Yoshihiro Shim
he 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
index 761
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: Simon Horman
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 ++--
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 --git a/drivers/p
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"
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 --git a/drivers/p
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: Simon Horman
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 from
he 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
index 731
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
bastian 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/palmas.h)
< snip >
> drivers/p
In the future, the work struct will be used by non-irq related code.
So, this patch moves the INIT_WORK() timing.
Signed-off-by: Yoshihiro Shimoda
---
drivers/phy/renesas/phy-rcar-gen3-usb2.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/phy/renesas/phy-rcar-gen3
To support gpio handling in the future, this patch clean-ups the code
to use prefix "has_otg_pins_" functions.
Signed-off-by: Yoshihiro Shimoda
---
drivers/phy/renesas/phy-rcar-gen3-usb2.c | 130 ---
1 file changed, 85 insertions(+), 45 deletions(-)
Some R-Car SoCs (e.g. R-Car D3) doesn't have dedicated pins of VBUS
and ID. So, they may be connected to gpio pins. To handle the gpio
pins, this patch adds the handling of VBUS and ID pins instead of
dedicated pins.
Signed-off-by: Yoshihiro Shimoda
---
.../devicetree/bindings/phy/rcar-gen3-phy
This patch unifies the OBINTEN handling to clean-up the code.
Signed-off-by: Yoshihiro Shimoda
---
drivers/phy/renesas/phy-rcar-gen3-usb2.c | 23 +++
1 file changed, 15 insertions(+), 8 deletions(-)
diff --git a/drivers/phy/renesas/phy-rcar-gen3-usb2.c
b/drivers/phy
This patch set is based on the latest linux-phy / next branch
(commit id = 4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323).
This new feature will be used by the renesas_usbhs driver on R-Car D3.
Yoshihiro Shimoda (5):
phy: renesas: rcar-gen3-usb2: call INIT_WORK() anyway
phy: renesas: rcar-gen3
This patch add rcar_gen3_role_swap_ops to support other feature
(e.g. gpio handling) easily.
Signed-off-by: Yoshihiro Shimoda
---
drivers/phy/renesas/phy-rcar-gen3-usb2.c | 51 +++-
1 file changed, 43 insertions(+), 8 deletions(-)
diff --git a/drivers/phy/renesas
gt; > Reviewed-by: Marian-Cristian Rotariu
> >
> > ---
> > Documentation/devicetree/bindings/usb/renesas,usbhs.yaml | 1 +
> > 1 file changed, 1 insertion(+)
> >
> Gentle ping.
Thank you for the ping.
Reviewed-by: Yoshihiro Shimoda
Best regards,
Yoshihiro Shimoda
> >
> Gentle ping.
Thank you for the ping. However, since the latest kernel has
renesas,usb-xhci.yaml,
would you fix the patch?
Best regards,
Yoshihiro Shimoda
> > Reviewed-by: Marian-Cristian Rotariu
> >
> > ---
> > Documentation/devicetree/bindings/pci/rcar-pci.txt | 1 +
> > 1 file changed, 1 insertion(+)
> >
> Gentle ping.
Thank you for the ping.
Reviewed-by: Yoshihiro Shimoda
Best regards,
Yoshihiro Shimoda
-by: Chris Paterson
> ---
Thank you for the patch!
Reviewed-by: Yoshihiro Shimoda
Best regards,
Yoshihiro Shimoda
; Signed-off-by: Marian-Cristian Rotariu
>
> Signed-off-by: Lad Prabhakar
> ---
Thank you for the patch!
Reviewed-by: Yoshihiro Shimoda
Best regards,
Yoshihiro Shimoda
> Documentation/devicetree/bindings/pwm/renesas,pwm-rcar.yaml | 1 +
> 1 file changed, 1 insertion(+)
>
> d
or R-Car Gen3 and RZ/G2 devices as the
> PCIe module is identical.
>
> Signed-off-by: Lad Prabhakar
> Reviewed-by: Biju Das
Thank you for the patch!
Reviewed-by: Yoshihiro Shimoda
Best regards,
Yoshihiro Shimoda
Hi Chunfeng,
Thank you for the patch!
> From: Chunfeng Yun, Sent: Thursday, September 10, 2020 5:22 PM
>
> Use readl_poll_timeout_atomic() to simplify code
>
> Cc: Mathias Nyman
> Cc: Yoshihiro Shimoda
> Signed-off-by: Chunfeng Yun
> ---
> v2~v3: no changes
>
> > >
> > > Cc: Mathias Nyman
> > > Cc: Yoshihiro Shimoda
> > > Signed-off-by: Chunfeng Yun
> > > ---
> > > v2~v3: no changes
> > > ---
> > > drivers/usb/host/xhci-rcar.c | 43
> > >
Hi Chunfeng,
> From: Chunfeng Yun, Sent: Friday, September 11, 2020 1:13 PM
>
> On Fri, 2020-09-11 at 03:13 +, Yoshihiro Shimoda wrote:
> > Hi Daniel, Chunfeng,
> >
> > > From: Chunfeng Yun, Sent: Friday, September 11, 2020 11:33 AM
> > >
> >
te:
> > > > On Thu, 2020-09-10 at 14:12 +0100, Daniel Thompson wrote:
> > > > > On Thu, Sep 10, 2020 at 04:21:45PM +0800, Chunfeng Yun wrote:
> > > > > > Use readl_poll_timeout_atomic() to simplify code
> > > > > >
> > > >
Hi Matti-san,
> From: Vaittinen, Matti, Sent: Thursday, December 10, 2020 8:56 PM
>
> Hi Yoshihiro san,
>
> On Thu, 2020-12-10 at 10:58 +0000, Yoshihiro Shimoda wrote:
> > Hi Matti,
> >
> > > From: Vaittinen, Matti, Sent: Thursday, December 10, 2020 5:28 PM
Add chip IDs for BD9571MWV and BD9574MWF.
Signed-off-by: Yoshihiro Shimoda
---
include/linux/mfd/rohm-generic.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/linux/mfd/rohm-generic.h b/include/linux/mfd/rohm-generic.h
index 4283b5b..affacf8 100644
--- a/include/linux/mfd/rohm
To simplify this driver, use dev_get_regmap() and
rid of using struct bd9571mwv.
Signed-off-by: Yoshihiro Shimoda
---
drivers/gpio/gpio-bd9571mwv.c | 19 +--
1 file changed, 9 insertions(+), 10 deletions(-)
diff --git a/drivers/gpio/gpio-bd9571mwv.c b/drivers/gpio/gpio
Document other similar specification chip BD9574MWF.
Signed-off-by: Yoshihiro Shimoda
---
Documentation/devicetree/bindings/mfd/bd9571mwv.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/mfd/bd9571mwv.txt
b/Documentation/devicetree
umber" with "part_name".
https://patchwork.kernel.org/project/linux-renesas-soc/list/?series=398059
Khiem Nguyen (2):
mfd: bd9571mwv: Make the driver more generic
mfd: bd9571mwv: Add support for BD9574MWF
Yoshihiro Shimoda (8):
dt-bindings: mfd: bd9571mwv: Document BD9574MWF
mf
Use the SPDX license identifier instead of a local description.
Signed-off-by: Yoshihiro Shimoda
---
drivers/gpio/gpio-bd9571mwv.c | 10 +-
1 file changed, 1 insertion(+), 9 deletions(-)
diff --git a/drivers/gpio/gpio-bd9571mwv.c b/drivers/gpio/gpio-bd9571mwv.c
index c0abc9c..abb622c
Add support for BD9574MWF which is silimar chip with BD9571MWV.
Note that BD9574MWF has an additional feature, but doesn't
support it for now.
Signed-off-by: Yoshihiro Shimoda
---
drivers/gpio/gpio-bd9571mwv.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers
To simplify this driver, use dev_get_regmap() and
rid of using struct bd9571mwv.
Signed-off-by: Yoshihiro Shimoda
---
drivers/regulator/bd9571mwv-regulator.c | 49 +
1 file changed, 26 insertions(+), 23 deletions(-)
diff --git a/drivers/regulator/bd9571mwv
From: Khiem Nguyen
Since the driver supports BD9571MWV PMIC only,
this patch makes the functions and data structure become more generic
so that it can support other PMIC variants as well.
Signed-off-by: Khiem Nguyen
[shimoda: rebase and refactor]
Signed-off-by: Yoshihiro Shimoda
---
drivers
From: Khiem Nguyen
The new PMIC BD9574MWF inherits features from BD9571MWV.
Add the support of new PMIC to existing bd9571mwv driver.
Signed-off-by: Khiem Nguyen
[shimoda: rebase and refactor]
Signed-off-by: Yoshihiro Shimoda
---
drivers/mfd/bd9571mwv.c | 86
201 - 300 of 633 matches
Mail list logo