[PATCH] bus: uniphier-system-bus: fix condition of overlap check

2016-04-01 Thread Kunihiko Hayashi
This patch fixes condition whether the specified address ranges overlap each other. Fixes: 4b7f48d395a7 ("bus: uniphier-system-bus: add UniPhier System Bus driver") Signed-off-by: Kunihiko Hayashi <hayashi.kunih...@socionext.com> --- drivers/bus/uniphier-system-bus.c | 2 +- 1

[PATCH v6 0/2] add UniPhier thermal support

2017-08-01 Thread Kunihiko Hayashi
- improve some comments and copyright description Kunihiko Hayashi (2): dt-bindings: thermal: add binding documentation for UniPhier thermal monitor thermal: uniphier: add UniPhier thermal driver .../bindings/thermal/uniphier-thermal.txt | 64 drivers/thermal/Kconfig

[PATCH v6 2/2] thermal: uniphier: add UniPhier thermal driver

2017-08-01 Thread Kunihiko Hayashi
Add a thermal driver for on-chip PVT (Process, Voltage and Temperature) monitoring unit implemented on UniPhier SoCs. This driver supports temperature monitoring and alert function. Signed-off-by: Kunihiko Hayashi <hayashi.kunih...@socionext.com> --- drivers/thermal/Kconfig

[PATCH v6 1/2] dt-bindings: thermal: add binding documentation for UniPhier thermal monitor

2017-08-01 Thread Kunihiko Hayashi
Add devicetree binding documentation for thermal monitor implemented on Socionext UniPhier SoCs. Signed-off-by: Kunihiko Hayashi <hayashi.kunih...@socionext.com> Acked-by: Rob Herring <r...@kernel.org> --- .../bindings/thermal/uniphier-thermal.txt | 64 ++

Re: [PATCH v6 2/2] thermal: uniphier: add UniPhier thermal driver

2017-08-10 Thread Kunihiko Hayashi
Hi, On Tue, 8 Aug 2017 21:29:10 +0800 <rui.zh...@intel.com> wrote: > On Tue, 2017-08-01 at 17:04 +0900, Kunihiko Hayashi wrote: > > Add a thermal driver for on-chip PVT (Process, Voltage and > > Temperature) > > monitoring unit implemented on UniPhier SoCs. This driv

[PATCH v5 1/2] dt-bindings: thermal: add binding documentation for UniPhier thermal monitor

2017-07-21 Thread Kunihiko Hayashi
Add devicetree binding documentation for thermal monitor implemented on Socionext UniPhier SoCs. Signed-off-by: Kunihiko Hayashi <hayashi.kunih...@socionext.com> Acked-by: Rob Herring <r...@kernel.org> --- .../bindings/thermal/uniphier-thermal.txt | 64 ++

[PATCH v5 0/2] add UniPhier thermal support

2017-07-21 Thread Kunihiko Hayashi
to Kconfig - set 120C to CRITICAL_TEMP_LIMIT as maximum temperature - shrink each line of parameters to save the number of lines - improve some comments and copyright description Kunihiko Hayashi (2): dt-bindings: thermal: add binding documentation for UniPhier thermal monitor thermal: uniphier

[PATCH v5 2/2] thermal: uniphier: add UniPhier thermal driver

2017-07-21 Thread Kunihiko Hayashi
Add a thermal driver for on-chip PVT (Process, Voltage and Temperature) monitoring unit implemented on UniPhier SoCs. This driver supports temperature monitoring and alert function. Signed-off-by: Kunihiko Hayashi <hayashi.kunih...@socionext.com> --- drivers/thermal/Kconfig

Re: [PATCH v4 2/2] thermal: uniphier: add UniPhier thermal driver

2017-07-21 Thread Kunihiko Hayashi
On Fri, 21 Jul 2017 02:09:18 +0900 <yamada.masah...@socionext.com> wrote: > 2017-07-21 1:53 GMT+09:00 Masahiro Yamada <yamada.masah...@socionext.com>: > > 2017-07-21 1:08 GMT+09:00 Masahiro Yamada <yamada.masah...@socionext.com>: > >> 2017-07

Re: [PATCH v5 0/2] add UniPhier thermal support

2017-07-25 Thread Kunihiko Hayashi
Hello, On Fri, 21 Jul 2017 22:34:49 +0900 <masami.hirama...@linaro.org> wrote: > Hello, > > 2017-07-21 22:24 GMT+09:00 Masahiro Yamada <yamada.masah...@socionext.com>: > > 2017-07-21 20:21 GMT+09:00 Kunihiko Hayashi > > <hayashi.kunih...@socionext.com>

Re: [PATCH v5 2/2] thermal: uniphier: add UniPhier thermal driver

2017-07-25 Thread Kunihiko Hayashi
On Fri, 21 Jul 2017 22:21:05 +0900 <yamada.masah...@socionext.com> wrote: > 2017-07-21 20:21 GMT+09:00 Kunihiko Hayashi <hayashi.kunih...@socionext.com>: > > > +static int uniphier_tm_initialize_sensor(struct uniphier_tm_dev *tdev) > > +{ > > +

Re: [PATCH v2 2/2] thermal: uniphier: add UniPhier thermal driver

2017-07-03 Thread Kunihiko Hayashi
Hi Eduardo, Thank you for your comment. On Fri, 30 Jun 2017 20:16:33 -0700 <edubez...@gmail.com> wrote: > Hey, > > On Wed, Jun 28, 2017 at 07:11:59PM +0900, Kunihiko Hayashi wrote: > > Add a thermal driver for on-chip PVT (Process, Voltage and Temperature) > >

[PATCH v3 0/2] add UniPhier thermal support

2017-07-05 Thread Kunihiko Hayashi
description Kunihiko Hayashi (2): dt-bindings: thermal: add binding documentation for UniPhier thermal monitor thermal: uniphier: add UniPhier thermal driver .../bindings/thermal/uniphier-thermal.txt | 64 drivers/thermal/Kconfig| 8 + drivers

[PATCH v3 0/2] add thermal nodes for UniPhier SoCs

2017-07-05 Thread Kunihiko Hayashi
' according to hardware specification - bring up threshold temperature for LD20 according to the spec sheet - add cpuN labels for reference in cooling-device property on PXs2 dts [1] https://lkml.org/lkml/2017/6/28/170 Kunihiko Hayashi (2): ARM: dts: uniphier: add nodes of thermal monitor

[PATCH v3 1/2] ARM: dts: uniphier: add nodes of thermal monitor and thermal zone for PXs2

2017-07-05 Thread Kunihiko Hayashi
Add nodes of thermal monitor and thermal zone for UniPhier PXs2 SoC. The thermal monitor is included in sysctrl. Furthermore, add cpuN labels for reference in cooling-device property. Signed-off-by: Kunihiko Hayashi <hayashi.kunih...@socionext.com> --- arch/arm/boot/dts/uniphier-pxs2.dts

[PATCH v3 2/2] arm64: dts: uniphier: add nodes of thermal monitor and thermal zone for LD20

2017-07-05 Thread Kunihiko Hayashi
Add nodes of thermal monitor and thermal zone for UniPhier LD20 SoC. The thermal monitor is included in sysctrl. Furthermore, since the reference board doesn't have a calibrated value of thermal monitor, this patch gives the default value for LD20 reference board. Signed-off-by: Kunihiko Hayashi

[PATCH v3 2/2] thermal: uniphier: add UniPhier thermal driver

2017-07-05 Thread Kunihiko Hayashi
Add a thermal driver for on-chip PVT (Process, Voltage and Temperature) monitoring unit implemented on UniPhier SoCs. This driver supports temperature monitoring and alert function. Signed-off-by: Kunihiko Hayashi <hayashi.kunih...@socionext.com> --- drivers/thermal/Kconfig

[PATCH v3 1/2] dt-bindings: thermal: add binding documentation for UniPhier thermal monitor

2017-07-05 Thread Kunihiko Hayashi
Add devicetree binding documentation for thermal monitor implemented on Socionext UniPhier SoCs. Signed-off-by: Kunihiko Hayashi <hayashi.kunih...@socionext.com> Acked-by: Rob Herring <r...@kernel.org> --- .../bindings/thermal/uniphier-thermal.txt | 64 ++

[PATCH v2 1/2] dt-bindings: thermal: add binding documentation for UniPhier thermal monitor

2017-06-28 Thread Kunihiko Hayashi
Add devicetree binding documentation for thermal monitor implemented on Socionext UniPhier SoCs. Signed-off-by: Kunihiko Hayashi <hayashi.kunih...@socionext.com> Acked-by: Rob Herring <r...@kernel.org> --- .../bindings/thermal/uniphier-thermal.txt | 64 ++

[PATCH v2 2/2] thermal: uniphier: add UniPhier thermal driver

2017-06-28 Thread Kunihiko Hayashi
Add a thermal driver for on-chip PVT (Process, Voltage and Temperature) monitoring unit implemented on UniPhier SoCs. This driver supports temperature monitoring and alert function. Signed-off-by: Kunihiko Hayashi <hayashi.kunih...@socionext.com> --- drivers/thermal/Kconfig

[PATCH v2 0/2] add UniPhier thermal support

2017-06-28 Thread Kunihiko Hayashi
- add dependency to Kconfig - set 120C to CRITICAL_TEMP_LIMIT as maximum temperature - shrink each line of parameters to save the number of lines - improve some comments and copyright description Kunihiko Hayashi (2): dt-bindings: thermal: add binding documentation for UniPhier thermal monitor

[PATCH v2 1/2] ARM: dts: uniphier: add nodes of thermal monitor and thermal zone for PXs2

2017-06-28 Thread Kunihiko Hayashi
Add nodes of thermal monitor and thermal zone for UniPhier PXs2 SoC. The thermal monitor is included in sysctrl. Furthermore, add cpuN labels for reference in cooling-device property. Signed-off-by: Kunihiko Hayashi <hayashi.kunih...@socionext.com> --- arch/arm/boot/dts/uniphier-pxs2.dts

[PATCH v2 2/2] arm64: dts: uniphier: add nodes of thermal monitor and thermal zone for LD20

2017-06-28 Thread Kunihiko Hayashi
Add nodes of thermal monitor and thermal zone for UniPhier LD20 SoC. The thermal monitor is included in sysctrl. Signed-off-by: Kunihiko Hayashi <hayashi.kunih...@socionext.com> --- arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi | 40 1 file changed, 40 inse

[PATCH v2 0/2] add thermal nodes for UniPhier SoCs

2017-06-28 Thread Kunihiko Hayashi
according to the spec sheet - add cpuN labels for reference in cooling-device property on PXs2 dts [1] https://lkml.org/lkml/2017/6/28/170 Kunihiko Hayashi (2): ARM: dts: uniphier: add nodes of thermal monitor and thermal zone for PXs2 arm64: dts: uniphier: add nodes of thermal monitor

Re: [PATCH v3 2/2] thermal: uniphier: add UniPhier thermal driver

2017-07-05 Thread Kunihiko Hayashi
On Wed, 5 Jul 2017 21:27:57 +0900 <yamada.masah...@socionext.com> wrote: > 2017-07-05 21:20 GMT+09:00 Masahiro Yamada <yamada.masah...@socionext.com>: > > 2017-07-05 20:50 GMT+09:00 Kunihiko Hayashi > > <hayashi.kunih...@socionext.com&g

[PATCH v4 2/2] thermal: uniphier: add UniPhier thermal driver

2017-07-06 Thread Kunihiko Hayashi
Add a thermal driver for on-chip PVT (Process, Voltage and Temperature) monitoring unit implemented on UniPhier SoCs. This driver supports temperature monitoring and alert function. Signed-off-by: Kunihiko Hayashi <hayashi.kunih...@socionext.com> --- drivers/thermal/Kconfig

[PATCH v4 1/2] dt-bindings: thermal: add binding documentation for UniPhier thermal monitor

2017-07-06 Thread Kunihiko Hayashi
Add devicetree binding documentation for thermal monitor implemented on Socionext UniPhier SoCs. Signed-off-by: Kunihiko Hayashi <hayashi.kunih...@socionext.com> Acked-by: Rob Herring <r...@kernel.org> --- .../bindings/thermal/uniphier-thermal.txt | 64 ++

[PATCH v4 0/2] add UniPhier thermal support

2017-07-06 Thread Kunihiko Hayashi
each line of parameters to save the number of lines - improve some comments and copyright description Kunihiko Hayashi (2): dt-bindings: thermal: add binding documentation for UniPhier thermal monitor thermal: uniphier: add UniPhier thermal driver .../bindings/thermal/uniphier-thermal.txt

[PATCH 2/2] arm64: dts: uniphier: add support for LD20 Global board

2017-05-24 Thread Kunihiko Hayashi
Add initial device tree support for LD20 Global board. Signed-off-by: Kunihiko Hayashi <hayashi.kunih...@socionext.com> --- arch/arm64/boot/dts/socionext/Makefile | 1 + .../boot/dts/socionext/uniphier-ld20-global.dts| 87 ++ 2 files changed, 88 inse

[PATCH 1/2] arm64: dts: uniphier: add support for LD11 Global board

2017-05-24 Thread Kunihiko Hayashi
Add initial device tree support for LD11 Global board. Signed-off-by: Kunihiko Hayashi <hayashi.kunih...@socionext.com> --- arch/arm64/boot/dts/socionext/Makefile | 1 + .../boot/dts/socionext/uniphier-ld11-global.dts| 105 + 2 files changed, 106 inse

[PATCH 0/2] add support for LD20/11 Global boards

2017-05-24 Thread Kunihiko Hayashi
Initial version of device tree for LD20/11 Global boards. Kunihiko Hayashi (2): arm64: dts: uniphier: add support for LD11 Global board arm64: dts: uniphier: add support for LD20 Global board arch/arm64/boot/dts/socionext/Makefile | 2 + .../boot/dts/socionext/uniphier-ld11

[PATCH 4/4] arm64: dts: uniphier: add nodes of thermal monitor and thermal zone for LD20

2017-05-29 Thread Kunihiko Hayashi
property. Signed-off-by: Kunihiko Hayashi <hayashi.kunih...@socionext.com> --- .../arm64/boot/dts/socionext/uniphier-ld20-ref.dts | 25 ++ arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi | 6 ++ 2 files changed, 31 insertions(+) diff --git a/arch/arm64/bo

[PATCH 1/4] thermal: uniphier: add UniPhier thermal driver

2017-05-29 Thread Kunihiko Hayashi
Add a thermal driver for on-chip PVT (Process, Voltage and Temperature) monitoring unit implemented on UniPhier SoCs. This driver supports temperature monitoring and alert function. Signed-off-by: Kunihiko Hayashi <hayashi.kunih...@socionext.com> --- drivers/thermal/Kconfig

[PATCH 0/4] add UniPhier thermal support

2017-05-29 Thread Kunihiko Hayashi
This patch series adds support for thermal monitor implemented on UniPhier LD20 and PXs2 SoCs. This driver supports temperature monitoring and alert function. Kunihiko Hayashi (4): thermal: uniphier: add UniPhier thermal driver dt-bindings: thermal: add binding documentation for UniPhier

[PATCH 3/4] ARM: dts: uniphier: add nodes of thermal monitor and thermal zone for PXs2

2017-05-29 Thread Kunihiko Hayashi
Add nodes of thermal monitor and thermal zone for UniPhier PXs2 SoC. The thermal monitor is included in sysctrl. Signed-off-by: Kunihiko Hayashi <hayashi.kunih...@socionext.com> --- arch/arm/boot/dts/uniphier-pxs2-gentil.dts | 21 + arch/arm/boot/dts/uniphier-pxs2-vod

[PATCH 2/4] dt-bindings: thermal: add binding documentation for UniPhier thermal monitor

2017-05-29 Thread Kunihiko Hayashi
Add devicetree binding documentation for thermal monitor implemented on Socionext UniPhier SoCs. Signed-off-by: Kunihiko Hayashi <hayashi.kunih...@socionext.com> --- .../bindings/thermal/uniphier-thermal.txt | 54 ++ 1 file changed, 54 insertions(+) creat

Re: [PATCH 1/4] thermal: uniphier: add UniPhier thermal driver

2017-05-29 Thread Kunihiko Hayashi
On Tue, 30 May 2017 08:51:31 +0530 Keerthy <j-keer...@ti.com> wrote: > > > On Tuesday 30 May 2017 08:17 AM, Kunihiko Hayashi wrote: > > Hi Keerthy, > > Thank you for your comment. > > > > On Mon, 29 May 2017 15:53:39 +0530 Keerthy <j-keer...@ti.com>

Re: [PATCH 1/4] thermal: uniphier: add UniPhier thermal driver

2017-05-29 Thread Kunihiko Hayashi
Hi Keerthy, Thank you for your comment. On Mon, 29 May 2017 15:53:39 +0530 Keerthy <j-keer...@ti.com> wrote: > > > On Monday 29 May 2017 02:45 PM, Kunihiko Hayashi wrote: > > Add a thermal driver for on-chip PVT (Process, Voltage and Temperature) > > monitoring unit i

Re: [PATCH 1/4] thermal: uniphier: add UniPhier thermal driver

2017-05-30 Thread Kunihiko Hayashi
Hi Eduardo, Thank you for your comment. On Mon, 29 May 2017 09:48:19 -0700 <edubez...@gmail.com> wrote: > Knihiko, > > On Mon, May 29, 2017 at 06:15:42PM +0900, Kunihiko Hayashi wrote: > > Add a thermal driver for on-chip PVT (Process, Voltage and Temperature) > >

Re: [PATCH 3/4] ARM: dts: uniphier: add nodes of thermal monitor and thermal zone for PXs2

2017-05-30 Thread Kunihiko Hayashi
Hi Eduardo, Thank you for your comment. On Mon, 29 May 2017 09:30:09 -0700 Eduardo Valentin <edubez...@gmail.com> wrote: > On Mon, May 29, 2017 at 06:15:44PM +0900, Kunihiko Hayashi wrote: > > Add nodes of thermal monitor and thermal zone for UniPhier PXs2 SoC. > >

[PATCH v2 2/2] arm64: dts: uniphier: add support for LD20 Global board

2017-06-12 Thread Kunihiko Hayashi
Add initial device tree support for LD20 Global board. Signed-off-by: Kunihiko Hayashi <hayashi.kunih...@socionext.com> --- arch/arm64/boot/dts/socionext/Makefile | 1 + .../boot/dts/socionext/uniphier-ld20-global.dts| 52 ++ 2 files changed, 53 inse

[PATCH v2 1/2] arm64: dts: uniphier: add support for LD11 Global board

2017-06-12 Thread Kunihiko Hayashi
Add initial device tree support for LD11 Global board. Signed-off-by: Kunihiko Hayashi <hayashi.kunih...@socionext.com> --- arch/arm64/boot/dts/socionext/Makefile | 1 + .../boot/dts/socionext/uniphier-ld11-global.dts| 70 ++ 2 files changed, 71 inse

[PATCH v2 0/2] add support for LD20/11 Global boards

2017-06-12 Thread Kunihiko Hayashi
Initial version of device tree for LD20/11 Global boards. --- Changes in v2: - use SPDX-License-Identifier for the license description - add the atmel manufacturer to the compatible string for I2C EEPROM Kunihiko Hayashi (2): arm64: dts: uniphier: add support for LD11 Global board arm64

Re: [PATCH net-next 2/3] net: ethernet: socionext: add AVE ethernet driver

2017-09-21 Thread Kunihiko Hayashi
h the clock, the block is clocked, so it can consume some > > amount of power, just do the necessary HW initialization with the clock > > enabled, then defer until ndo_open() before turning it back on. There are a number of the functions that needs clock enabled and "block reset" operations, like mdiobus_register(), phy_connect(), and so on. I tried to move such functions to ndo_open() to defer clock enabled until ndo_open(). However, the driver didn't work for some reasons of hardware restriction. I think it's hard to change this sequence. --- Best Regards, Kunihiko Hayashi

[PATCH net-next v2 0/2] add UniPhier AVE ethernet support

2017-10-12 Thread Kunihiko Hayashi
goto labels and mask definitions, and remove unused codes Kunihiko Hayashi (2): dt-bindings: net: add DT bindings for Socionext UniPhier AVE net: ethernet: socionext: add AVE ethernet driver .../bindings/net/socionext,uniphier-ave4.txt | 53 + drivers/net/ethernet/Kconfig

[PATCH net-next v2 1/2] dt-bindings: net: add DT bindings for Socionext UniPhier AVE

2017-10-12 Thread Kunihiko Hayashi
DT bindings for the AVE ethernet controller found on Socionext's UniPhier platforms. Signed-off-by: Kunihiko Hayashi <hayashi.kunih...@socionext.com> Signed-off-by: Jassi Brar <jaswinder.si...@linaro.org> --- .../bindings/net/socionext,uniphier-ave4.txt | 53 ++

[PATCH net-next v2 2/2] net: ethernet: socionext: add AVE ethernet driver

2017-10-12 Thread Kunihiko Hayashi
The UniPhier platform from Socionext provides the AVE ethernet controller that includes MAC and MDIO bus supporting RGMII/RMII modes. The controller is named AVE. Signed-off-by: Kunihiko Hayashi <hayashi.kunih...@socionext.com> Signed-off-by: Jassi Brar <jaswinder.si...@linaro.org>

[PATCH net-next 2/3] net: ethernet: socionext: add AVE ethernet driver

2017-09-08 Thread Kunihiko Hayashi
The UniPhier platform from Socionext provides the AVE ethernet controller that includes MAC and MDIO bus supporting RGMII/RMII modes. The controller is named AVE. Signed-off-by: Kunihiko Hayashi <hayashi.kunih...@socionext.com> Signed-off-by: Jassi Brar <jaswinder.si...@linaro.org>

[PATCH net-next 1/3] dt-bindings: net: add DT bindings for Socionext UniPhier AVE

2017-09-08 Thread Kunihiko Hayashi
DT bindings for the AVE ethernet controller found on Socionext's UniPhier platforms. Signed-off-by: Kunihiko Hayashi <hayashi.kunih...@socionext.com> Signed-off-by: Jassi Brar <jaswinder.si...@linaro.org> --- .../bindings/net/socionext,uniphier-ave4.txt | 44 ++

[PATCH net-next 3/3] net: phy: realtek: add RTL8201F phy-id and functions

2017-09-08 Thread Kunihiko Hayashi
i...@linaro.org> Signed-off-by: Kunihiko Hayashi <hayashi.kunih...@socionext.com> --- drivers/net/phy/realtek.c | 45 + 1 file changed, 45 insertions(+) diff --git a/drivers/net/phy/realtek.c b/drivers/net/phy/realtek.c index 9cbe645..d9974ce 1006

[PATCH net-next 0/3] add UniPhier AVE ethernet support

2017-09-08 Thread Kunihiko Hayashi
-id and functions Kunihiko Hayashi (2): dt-bindings: net: add DT bindings for Socionext UniPhier AVE net: ethernet: socionext: add AVE ethernet driver .../bindings/net/socionext,uniphier-ave4.txt | 44 + drivers/net/ethernet/Kconfig |1 + drivers/net/ethernet

Re: [PATCH net-next 2/3] net: ethernet: socionext: add AVE ethernet driver

2017-09-11 Thread Kunihiko Hayashi
ad to stop the own interrupt of PHY device because it might be already enabled. But surely we don't think of such a case. > > + > > + /* When PHY driver can't handle its interrupt directly, > > +* interrupt request always fails and polling method is used > > +* alternatively. In this case, the libphy says > > +* "libphy: uniphier-mdio: Can't get IRQ -1 (PHY)". > > +*/ > > + phy_start_interrupts(phydev); > > -1 is PHY_POLL. So calling phy_start_interrupts() is wrong. In fact, > you should not be calling phy_start_interrupts() at all. No other > Ethernet driver does. The phy_start_interrupts() calls request_threaded_irq(), and it wll succeed when PHY node has own 'interrupts' property. In this case, it will fail and phydev->irq sets PHY_POLL. However, phydev->irq is initialized PHY_POLL in phy_probe(), surely it isn't necessary. > > + > > + phy_start_aneg(phydev); > > + > > + return 0; > > +} > > + > > +static void ave_uninit(struct net_device *ndev) > > +{ > > + struct ave_private *priv = netdev_priv(ndev); > > + > > + phy_stop_interrupts(priv->phydev); > > And no other Ethernet driver calls phy_stop_interrupts either. > Please take a look at this. I see. I'll check it. > > > + phy_disconnect(priv->phydev); > > +} > > + > > Andrew --- Best Regards, Kunihiko Hayashi

Re: [PATCH net-next 2/3] net: ethernet: socionext: add AVE ethernet driver

2017-09-11 Thread Kunihiko Hayashi
Hi Yamada-san, Thank you for your comments, On Fri, 8 Sep 2017 23:44:13 +0900 <yamada.masah...@socionext.com> wrote: > 2017-09-08 22:02 GMT+09:00 Kunihiko Hayashi <hayashi.kunih...@socionext.com>: > > > diff --git a/drivers/net/ethernet/socionext/Kconfig > > b/

Re: [PATCH net-next 2/3] net: ethernet: socionext: add AVE ethernet driver

2017-09-11 Thread Kunihiko Hayashi
Hi Florian, Thank you for your comments, On Fri, 8 Sep 2017 12:31:18 -0700 <f.faine...@gmail.com> wrote: > On 09/08/2017 06:02 AM, Kunihiko Hayashi wrote: > > The UniPhier platform from Socionext provides the AVE ethernet > > controller that includes MAC and MDIO bus

Re: [PATCH net-next 1/3] dt-bindings: net: add DT bindings for Socionext UniPhier AVE

2017-09-11 Thread Kunihiko Hayashi
> node. > >mdio { > ethphy: ethernet-phy@6 { > reg = <6>; > }; > }; > > Andrew I see. I'll rewrite the binding example using mdio node. --- Best Regards, Kunihiko Hayashi

Re: [PATCH net-next 3/3] net: phy: realtek: add RTL8201F phy-id and functions

2017-09-11 Thread Kunihiko Hayashi
Hi Andrew, Thank your for reviewing. On Sat, 9 Sep 2017 17:55:17 +0200 <and...@lunn.ch> wrote: > On Sat, Sep 09, 2017 at 09:03:05AM +0530, Jassi Brar wrote: > > On 9 September 2017 at 00:21, Florian Fainelli <f.faine...@gmail.com> wrote: > > > On 09/08/2017 06

Re: [PATCH net-next 2/3] net: ethernet: socionext: add AVE ethernet driver

2017-09-11 Thread Kunihiko Hayashi
Hi Florian, On Sat, 9 Sep 2017 09:30:58 -0700 <f.faine...@gmail.com> wrote: > > > On 09/08/2017 06:02 AM, Kunihiko Hayashi wrote: > > The UniPhier platform from Socionext provides the AVE ethernet > > controller that includes MAC and MDIO bus supporting RGMII/RMI

Re: [PATCH net-next 1/3] dt-bindings: net: add DT bindings for Socionext UniPhier AVE

2017-09-11 Thread Kunihiko Hayashi
Hi Florian, On Fri, 8 Sep 2017 11:54:31 -0700 <f.faine...@gmail.com> wrote: > On 09/08/2017 06:02 AM, Kunihiko Hayashi wrote: > > DT bindings for the AVE ethernet controller found on Socionext's > > UniPhier platforms. > > > > Signed-off-by: Kunihiko Hayash

Re: [PATCH net-next 2/3] net: ethernet: socionext: add AVE ethernet driver

2017-09-12 Thread Kunihiko Hayashi
pt wasn't handled. Although ave_init() calls phy_start_aneg(), it doesn't make sense because phy driver doesn't start yet. And according to Florian's comment in ave_init(), > + phy_start_interrupts(phydev); > + > + phy_start_aneg(phydev); > > No, no, phy_start() would take care of all of that correctly for you, > you don't have have to do it just there because ave_open() eventually > calls phy_start() for you, so just drop these two calls. When moving phy_start_aneg() to ave_open(), the handler doesn't need to call phy_mac_interrupt() and I can remove it from the handler. --- Best Regards, Kunihiko Hayashi

[PATCH] ARM: dts: uniphier: add pinctrl groups of ethernet phy mode

2017-08-27 Thread Kunihiko Hayashi
Add pinctrl groups of ethenet phy mode, such as "ether_rgmii", "ether_rmii", and "ether_mii". Signed-off-by: Kunihiko Hayashi <hayashi.kunih...@socionext.com> --- arch/arm/boot/dts/uniphier-pinctrl.dtsi | 15 +++ 1 file changed, 15 insertion

[PATCH] pinctrl: uniphier: fix members of rmii group for Pro4

2017-08-27 Thread Kunihiko Hayashi
The ether_rmii_groups should have "ether_rmii" and "ether_rmiib" as members. This patch replaces to them. Signed-off-by: Kunihiko Hayashi <hayashi.kunih...@socionext.com> --- drivers/pinctrl/uniphier/pinctrl-uniphier-pro4.c | 2 +- 1 file changed, 1 insertion(+),

[PATCH] clk: uniphier: add ethernet clock control support

2017-08-28 Thread Kunihiko Hayashi
Add clock control for ethernet controller on Pro4, PXs2, LD11 and LD20. Signed-off-by: Kunihiko Hayashi <hayashi.kunih...@socionext.com> --- drivers/clk/uniphier/clk-uniphier-sys.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/clk/uniphier/clk-uniphier-sys.c b/d

[PATCH] reset: uniphier: add ethernet reset control support

2017-08-28 Thread Kunihiko Hayashi
Add reset lines for ethernet controller on Pro4, PXs2, LD11 and LD20 SoCs. Signed-off-by: Kunihiko Hayashi <hayashi.kunih...@socionext.com> --- drivers/reset/reset-uniphier.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/reset/reset-uniphier.c b/drivers/reset/reset-unip

[RESEND PATCH v4 0/2] add thermal nodes for UniPhier SoCs

2017-09-04 Thread Kunihiko Hayashi
to hardware specification - bring up threshold temperature for LD20 according to the spec sheet - add cpuN labels for reference in cooling-device property on PXs2 dts [1] https://lkml.org/lkml/2017/6/28/170 Kunihiko Hayashi (2): ARM: dts: uniphier: add nodes of thermal monitor and thermal zone

[RESEND PATCH v4 1/2] ARM: dts: uniphier: add nodes of thermal monitor and thermal zone for PXs2

2017-09-04 Thread Kunihiko Hayashi
property. Signed-off-by: Kunihiko Hayashi <hayashi.kunih...@socionext.com> --- arch/arm/boot/dts/uniphier-pxs2.dtsi | 47 +--- 1 file changed, 43 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/uniphier-pxs2.dtsi b/arch/arm/boot/dts/uniphier-pxs

[RESEND PATCH v4 2/2] arm64: dts: uniphier: add nodes of thermal monitor and thermal zone for LD20

2017-09-04 Thread Kunihiko Hayashi
Add nodes of thermal monitor and thermal zone for UniPhier LD20 SoC. The thermal monitor node is included in sysctrl. Since the efuse might not have a calibrated value of thermal monitor, this patch gives the default value for LD20. Signed-off-by: Kunihiko Hayashi <hayashi.kunih...@socionext.

[PATCH v4 2/2] arm64: dts: uniphier: add nodes of thermal monitor and thermal zone for LD20

2017-09-03 Thread Kunihiko Hayashi
Add nodes of thermal monitor and thermal zone for UniPhier LD20 SoC. The thermal monitor is included in sysctrl. Furthermore, since the reference board doesn't have a calibrated value of thermal monitor, this patch gives the default value for LD20 reference board. Signed-off-by: Kunihiko Hayashi

[PATCH v4 0/2] add thermal nodes for UniPhier SoCs

2017-09-03 Thread Kunihiko Hayashi
tree - fix an interrupt trigger to set 'level-triggered' according to hardware specification - bring up threshold temperature for LD20 according to the spec sheet - add cpuN labels for reference in cooling-device property on PXs2 dts [1] https://lkml.org/lkml/2017/6/28/170 Kunihiko Hayashi (2

[PATCH v4 1/2] ARM: dts: uniphier: add nodes of thermal monitor and thermal zone for PXs2

2017-09-03 Thread Kunihiko Hayashi
Add nodes of thermal monitor and thermal zone for UniPhier PXs2 SoC. The thermal monitor is included in sysctrl. Furthermore, add cpuN labels for reference in cooling-device property. Signed-off-by: Kunihiko Hayashi <hayashi.kunih...@socionext.com> --- arch/arm/boot/dts/uniphier-pxs2.dts

Re: [PATCH v3 1/2] ARM: dts: uniphier: add nodes of thermal monitor and thermal zone for PXs2

2017-09-03 Thread Kunihiko Hayashi
Yamada-san, On Thu, 10 Aug 2017 19:44:38 +0900 <yamada.masah...@socionext.com> wrote: > Hayashi-san > > > 2017-07-05 20:53 GMT+09:00 Kunihiko Hayashi <hayashi.kunih...@socionext.com>: > > Add nodes of thermal monitor and thermal zone for UniPhier PXs2 SoC. >

Re: [PATCH v3 2/2] arm64: dts: uniphier: add nodes of thermal monitor and thermal zone for LD20

2017-09-03 Thread Kunihiko Hayashi
Yamada-san, On Thu, 10 Aug 2017 19:48:22 +0900 <yamada.masah...@socionext.com> wrote: > Hi Hayashi-san, > > > 2017-07-05 20:53 GMT+09:00 Kunihiko Hayashi <hayashi.kunih...@socionext.com>: > > Add nodes of thermal monitor and thermal zone for UniPhier LD2

Re: [PATCH net-next v2 1/2] dt-bindings: net: add DT bindings for Socionext UniPhier AVE

2017-10-18 Thread Kunihiko Hayashi
On Sat, 14 Oct 2017 01:41:12 +0900 <yamada.masah...@socionext.com> wrote: > 2017-10-13 9:35 GMT+09:00 Kunihiko Hayashi <hayashi.kunih...@socionext.com>: > > DT bindings for the AVE ethernet controller found on Socionext's > > UniPhier platforms. > > &g

Re: [PATCH net-next v2 2/2] net: ethernet: socionext: add AVE ethernet driver

2017-10-18 Thread Kunihiko Hayashi
On Mon, 16 Oct 2017 00:08:21 +0900 <yamada.masah...@socionext.com> wrote: > 2017-10-13 9:35 GMT+09:00 Kunihiko Hayashi <hayashi.kunih...@socionext.com>: > > +static int ave_probe(struct platform_device *pdev) > > +{ > > + struct device *dev = >dev; >

Re: [PATCH net-next v2 2/2] net: ethernet: socionext: add AVE ethernet driver

2017-10-19 Thread Kunihiko Hayashi
On Thu, 19 Oct 2017 09:29:03 +0900 <yamada.masah...@socionext.com> wrote: > 2017-10-18 19:23 GMT+09:00 Kunihiko Hayashi <hayashi.kunih...@socionext.com>: > > On Mon, 16 Oct 2017 00:08:21 +0900 <yamada.masah...@socionext.com> wrote: > > >> priv->rst =

[PATCH net-next v4 2/2] net: ethernet: socionext: add AVE ethernet driver

2017-11-30 Thread Kunihiko Hayashi
The UniPhier platform from Socionext provides the AVE ethernet controller that includes MAC and MDIO bus supporting RGMII/RMII modes. The controller is named AVE. Signed-off-by: Kunihiko Hayashi <hayashi.kunih...@socionext.com> Signed-off-by: Jassi Brar <jaswinder.si...@linaro.org>

[PATCH net-next v4 1/2] dt-bindings: net: add DT bindings for Socionext UniPhier AVE

2017-11-30 Thread Kunihiko Hayashi
DT bindings for the AVE ethernet controller found on Socionext's UniPhier platforms. Signed-off-by: Kunihiko Hayashi <hayashi.kunih...@socionext.com> Signed-off-by: Jassi Brar <jaswinder.si...@linaro.org> Acked-by: Rob Herring <r...@kernel.org> --- .../bindings/net/socionext

[PATCH net-next v4 0/2] add UniPhier AVE ethernet support

2017-11-30 Thread Kunihiko Hayashi
etif_carrier functions, phydev initializer, and Tx budget check - change obsolate codes - replace ndev->{base_addr,irq} with the members of ave_private - rename goto labels and mask definitions, and remove unused codes Kunihiko Hayashi (2): dt-bindings: net: add DT bindings for Socionext UniPhi

Re: [PATCH net-next v4 2/2] net: ethernet: socionext: add AVE ethernet driver

2017-12-04 Thread Kunihiko Hayashi
Hi Andrew, On Fri, 1 Dec 2017 14:49:00 +0100 Andrew Lunn <and...@lunn.ch> wrote: > On Fri, Dec 01, 2017 at 10:03:50AM +0900, Kunihiko Hayashi wrote: > > The UniPhier platform from Socionext provides the AVE ethernet > > controller that includes MAC and MDIO bus supporting

Re: [PATCH] nvmem: uniphier: change access unit from 32bit to 8bit

2017-12-13 Thread Kunihiko Hayashi
Hello Srinivas, This patch was already reviewed and tested for all UniPhier SoCs: https://patchwork.kernel.org/patch/10069557/ Do you have any comments, or would you please pick it up? Thank you, On Wed, 22 Nov 2017 14:14:59 +0900 Kunihiko Hayashi <hayashi.kunih...@socionext.com>

Re: [PATCH net-next v6 1/2] dt-bindings: net: add DT bindings for Socionext UniPhier AVE

2017-12-15 Thread Kunihiko Hayashi
Hello Florian, On Thu, 14 Dec 2017 15:24:17 -0800 <f.faine...@gmail.com> wrote: > > > On 12/14/2017 02:05 AM, Kunihiko Hayashi wrote: > > DT bindings for the AVE ethernet controller found on Socionext's > > UniPhier platforms. > > > > Signed-

[PATCH net-next v6 2/2] net: ethernet: socionext: add AVE ethernet driver

2017-12-14 Thread Kunihiko Hayashi
The UniPhier platform from Socionext provides the AVE ethernet controller that includes MAC and MDIO bus supporting RGMII/RMII modes. The controller is named AVE. Signed-off-by: Kunihiko Hayashi <hayashi.kunih...@socionext.com> Signed-off-by: Jassi Brar <jaswinder.si...@linaro.org&

[PATCH net-next v6 1/2] dt-bindings: net: add DT bindings for Socionext UniPhier AVE

2017-12-14 Thread Kunihiko Hayashi
DT bindings for the AVE ethernet controller found on Socionext's UniPhier platforms. Signed-off-by: Kunihiko Hayashi <hayashi.kunih...@socionext.com> Signed-off-by: Jassi Brar <jaswinder.si...@linaro.org> Acked-by: Rob Herring <r...@kernel.org> --- .../bindings/net/socionext

[PATCH net-next v6 0/2] add UniPhier AVE ethernet support

2017-12-14 Thread Kunihiko Hayashi
;{base_addr,irq} with the members of ave_private - rename goto labels and mask definitions, and remove unused codes Kunihiko Hayashi (2): dt-bindings: net: add DT bindings for Socionext UniPhier AVE net: ethernet: socionext: add AVE ethernet driver .../bindings/net/socionext,uniphier-ave4.txt

Re: [PATCH net-next v6 2/2] net: ethernet: socionext: add AVE ethernet driver

2017-12-17 Thread Kunihiko Hayashi
Hello David, On Fri, 15 Dec 2017 12:57:49 -0500 David Miller <da...@davemloft.net> wrote: > From: Kunihiko Hayashi <hayashi.kunih...@socionext.com> > Date: Thu, 14 Dec 2017 19:05:10 +0900 > > > +static void ave_desc_write(struct net_device *ndev, enum desc_id id, >

[PATCH] nvmem: uniphier: change access unit from 32bit to 8bit

2017-11-21 Thread Kunihiko Hayashi
The efuse on UniPhier allows 8bit access according to the specification. Since bit offset of nvmem is limited to 0-7, it is desiable to change access unit of nvmem to 8bit. Signed-off-by: Kunihiko Hayashi <hayashi.kunih...@socionext.com> --- drivers/nvmem/uniphier-efuse.c | 10 +-

[PATCH net-next v5 0/2] add UniPhier AVE ethernet support

2017-12-10 Thread Kunihiko Hayashi
perations - add phydev check on ave_{get,set}_wol() - remove netif_carrier functions, phydev initializer, and Tx budget check - change obsolate codes - replace ndev->{base_addr,irq} with the members of ave_private - rename goto labels and mask definitions, and remove unused codes Kunihik

[PATCH net-next v5 1/2] dt-bindings: net: add DT bindings for Socionext UniPhier AVE

2017-12-10 Thread Kunihiko Hayashi
DT bindings for the AVE ethernet controller found on Socionext's UniPhier platforms. Signed-off-by: Kunihiko Hayashi <hayashi.kunih...@socionext.com> Signed-off-by: Jassi Brar <jaswinder.si...@linaro.org> Acked-by: Rob Herring <r...@kernel.org> --- .../bindings/net/socionext

[PATCH net-next v5 2/2] net: ethernet: socionext: add AVE ethernet driver

2017-12-10 Thread Kunihiko Hayashi
The UniPhier platform from Socionext provides the AVE ethernet controller that includes MAC and MDIO bus supporting RGMII/RMII modes. The controller is named AVE. Signed-off-by: Kunihiko Hayashi <hayashi.kunih...@socionext.com> Signed-off-by: Jassi Brar <jaswinder.si...@linaro.org&

Re: [PATCH net-next v5 2/2] net: ethernet: socionext: add AVE ethernet driver

2017-12-11 Thread Kunihiko Hayashi
On Mon, 11 Dec 2017 10:19:15 +0100 Phlippe Ombredanne <pombreda...@nexb.com> wrote: > Dear Kunihiko-san, > > On Mon, Dec 11, 2017 at 8:57 AM, Kunihiko Hayashi > <hayashi.kunih...@socionext.com> wrote: > > The UniPhier platform from Socionext provides t

[PATCH net-next v3 1/2] dt-bindings: net: add DT bindings for Socionext UniPhier AVE

2017-10-24 Thread Kunihiko Hayashi
DT bindings for the AVE ethernet controller found on Socionext's UniPhier platforms. Signed-off-by: Kunihiko Hayashi <hayashi.kunih...@socionext.com> Signed-off-by: Jassi Brar <jaswinder.si...@linaro.org> --- .../bindings/net/socionext,uniphier-ave4.txt | 48 ++

[PATCH net-next v3 2/2] net: ethernet: socionext: add AVE ethernet driver

2017-10-24 Thread Kunihiko Hayashi
The UniPhier platform from Socionext provides the AVE ethernet controller that includes MAC and MDIO bus supporting RGMII/RMII modes. The controller is named AVE. Signed-off-by: Kunihiko Hayashi <hayashi.kunih...@socionext.com> Signed-off-by: Jassi Brar <jaswinder.si...@linaro.org>

[PATCH net-next v3 0/2] add UniPhier AVE ethernet support

2017-10-24 Thread Kunihiko Hayashi
bsolate codes - replace ndev->{base_addr,irq} with the members of ave_private - rename goto labels and mask definitions, and remove unused codes Kunihiko Hayashi (2): dt-bindings: net: add DT bindings for Socionext UniPhier AVE net: ethernet: socionext: add AVE ethernet driver .../binding

[PATCH net-next v7 2/2] net: ethernet: socionext: add AVE ethernet driver

2017-12-21 Thread Kunihiko Hayashi
The UniPhier platform from Socionext provides the AVE ethernet controller that includes MAC and MDIO bus supporting RGMII/RMII modes. The controller is named AVE. Signed-off-by: Kunihiko Hayashi <hayashi.kunih...@socionext.com> Signed-off-by: Jassi Brar <jaswinder.si...@linaro.org&

Re: [PATCH net-next v7 1/2] dt-bindings: net: add DT bindings for Socionext UniPhier AVE

2017-12-21 Thread Kunihiko Hayashi
+ mdio { > > + #address-cells = <1>; > > + #size-cells = <0>; > > + ethphy: ethphy@1 { > > + reg = <1>; > > + }; > > + }; > > + }; > > Andrew Thank you, --- Best Regards, Kunihiko Hayashi

Re: [PATCH 2/2] regulator: uniphier: add regulator driver for UniPhier SoC

2018-07-01 Thread Kunihiko Hayashi
Hi Mark, Thank you for your comments. On Fri, 29 Jun 2018 12:03:41 +0100 wrote: > On Fri, Jun 29, 2018 at 05:22:13PM +0900, Kunihiko Hayashi wrote: > > > +++ b/drivers/regulator/uniphier-regulator.c > > @@ -0,0 +1,251 @@ > > +// SPDX-License-Identifier: GPL-2.0 &

Re: [PATCH 1/2] dt-bindings: reset: uniphier: add USB3 controller reset support

2018-07-03 Thread Kunihiko Hayashi
Hi Rob, On Tue, 3 Jul 2018 17:37:47 -0600 wrote: > On Fri, Jun 29, 2018 at 05:11:30PM +0900, Kunihiko Hayashi wrote: > > Add DT bindings for reset control of USB3 controller implemented in > > UniPhier SoCs. > > > > Signed-off-by: Kunihiko Hayashi > > --- &

[PATCH net-next v8 2/2] net: ethernet: socionext: add AVE ethernet driver

2017-12-24 Thread Kunihiko Hayashi
The UniPhier platform from Socionext provides the AVE ethernet controller that includes MAC and MDIO bus supporting RGMII/RMII modes. The controller is named AVE. Signed-off-by: Kunihiko Hayashi <hayashi.kunih...@socionext.com> Signed-off-by: Jassi Brar <jaswinder.si...@linaro.org&

[PATCH net-next v8 0/2] add UniPhier AVE ethernet support

2017-12-24 Thread Kunihiko Hayashi
e members of ave_private - rename goto labels and mask definitions, and remove unused codes Kunihiko Hayashi (2): dt-bindings: net: add DT bindings for Socionext UniPhier AVE net: ethernet: socionext: add AVE ethernet driver .../bindings/net/socionext,uniphier-ave4.txt | 4

[PATCH net-next v8 1/2] dt-bindings: net: add DT bindings for Socionext UniPhier AVE

2017-12-24 Thread Kunihiko Hayashi
DT bindings for the AVE ethernet controller found on Socionext's UniPhier platforms. Signed-off-by: Kunihiko Hayashi <hayashi.kunih...@socionext.com> Signed-off-by: Jassi Brar <jaswinder.si...@linaro.org> Acked-by: Rob Herring <r...@kernel.org> --- .../bindings/net/socionext

[PATCH 4/4] arm64: dts: uniphier: add dwc3 usb node for LD20

2018-01-23 Thread Kunihiko Hayashi
Add usb node for LD20, which has 1 dwc3 controller instance, and enable this for LD20 boards. Signed-off-by: Kunihiko Hayashi <hayashi.kunih...@socionext.com> --- .../boot/dts/socionext/uniphier-ld20-global.dts| 4 ++ .../arm64/boot/dts/socionext/uniphier-ld20-ref.dts | 4 ++ arch

  1   2   3   >