[PATCH v4 2/2] PCI: uniphier: Add Socionext UniPhier Pro5 PCIe endpoint controller driver

2020-05-14 Thread Kunihiko Hayashi
Add driver for the Socionext UniPhier Pro5 SoC endpoint controller. This controller is based on the DesignWare PCIe core. And add "host" to existing controller descriontions for the host controller in Kconfig. Signed-off-by: Kunihiko Hayashi --- M

[PATCH 5/5] PCI: uniphier: Add error message when failed to get phy

2020-05-14 Thread Kunihiko Hayashi
Even if phy driver doesn't probe, the error message can't be distinguished from other errors. This displays error message caused by the phy driver explicitly. Signed-off-by: Kunihiko Hayashi --- drivers/pci/controller/dwc/pcie-uniphier.c | 4 +++- 1 file changed, 3 insertions(+),

[PATCH 2/5] PCI: uniphier: Add misc interrupt handler to invoke PME and AER

2020-05-14 Thread Kunihiko Hayashi
detects PME and AER interrupts with the status register, and invoke PME and AER drivers related to INTx or MSI. And this sets the mask for misc interrupts from INTx if MSI is enabled and sets the mask for misc interrupts from MSI if MSI is disabled. Signed-off-by: Kunihiko Hayashi --- drivers/pci

[PATCH 0/5] PCI: uniphier: Add features for UniPhier PCIe host controller

2020-05-14 Thread Kunihiko Hayashi
are PCIe framework, that invokes PME and AER funcions to detect the factor from SoC-dependent registers. --- Kunihiko Hayashi (5): PCI: dwc: Add msi_host_isr() callback PCI: uniphier: Add misc interrupt handler to invoke PME and AER dt-bindings: PCI: uniphier: Add iATU register description

[PATCH 4/5] PCI: uniphier: Add iATU register support

2020-05-14 Thread Kunihiko Hayashi
This gets iATU register area from reg property. In Synopsis DWC version 4.80 or later, since iATU register area is separated from core register area, this area is necessary to get from DT independently. Signed-off-by: Kunihiko Hayashi --- drivers/pci/controller/dwc/pcie-uniphier.c | 5 + 1

[PATCH 3/5] dt-bindings: PCI: uniphier: Add iATU register description

2020-05-14 Thread Kunihiko Hayashi
In the dt-bindings, "atu" reg-names is required to get the register space for iATU in Synopsis DWC version 4.80 or later. Signed-off-by: Kunihiko Hayashi --- Documentation/devicetree/bindings/pci/uniphier-pcie.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/

[PATCH 1/5] PCI: dwc: Add msi_host_isr() callback

2020-05-14 Thread Kunihiko Hayashi
. Signed-off-by: Kunihiko Hayashi --- drivers/pci/controller/dwc/pcie-designware-host.c | 8 drivers/pci/controller/dwc/pcie-designware.h | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/pci/controller/dwc/pcie-designware-host.c b/drivers/pci/controller/dwc

Re: [PATCH 5/5] PCI: uniphier: Add error message when failed to get phy

2020-05-15 Thread Kunihiko Hayashi
improve the system. BTW, we also suggest to use '--base' option to specify the base tree in git format-patch, please see https://stackoverflow.com/a/37406982] url: https://github.com/0day-ci/linux/commits/Kunihiko-Hayashi/PCI-uniphier-Add-features-for-UniPhier-PCIe-host-controller/20200

[PATCH v2 4/5] PCI: uniphier: Add iATU register support

2020-05-15 Thread Kunihiko Hayashi
This gets iATU register area from reg property. In Synopsis DWC version 4.80 or later, since iATU register area is separated from core register area, this area is necessary to get from DT independently. Signed-off-by: Kunihiko Hayashi --- drivers/pci/controller/dwc/pcie-uniphier.c | 7

[PATCH v2 1/5] PCI: dwc: Add msi_host_isr() callback

2020-05-15 Thread Kunihiko Hayashi
. Signed-off-by: Kunihiko Hayashi --- drivers/pci/controller/dwc/pcie-designware-host.c | 8 drivers/pci/controller/dwc/pcie-designware.h | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/pci/controller/dwc/pcie-designware-host.c b/drivers/pci/controller/dwc

[PATCH v2 3/5] dt-bindings: PCI: uniphier: Add iATU register description

2020-05-15 Thread Kunihiko Hayashi
In the dt-bindings, "atu" reg-names is required to get the register space for iATU in Synopsis DWC version 4.80 or later. Signed-off-by: Kunihiko Hayashi --- Documentation/devicetree/bindings/pci/uniphier-pcie.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/

[PATCH v2 2/5] PCI: uniphier: Add misc interrupt handler to invoke PME and AER

2020-05-15 Thread Kunihiko Hayashi
detects PME and AER interrupts with the status register, and invoke PME and AER drivers related to INTx or MSI. And this sets the mask for misc interrupts from INTx if MSI is enabled and sets the mask for misc interrupts from MSI if MSI is disabled. Signed-off-by: Kunihiko Hayashi --- drivers/pci

[PATCH v2 0/5] PCI: uniphier: Add features for UniPhier PCIe host controller

2020-05-15 Thread Kunihiko Hayashi
are PCIe framework, that invokes PME and AER funcions to detect the factor from SoC-dependent registers. Changes since v1: - Add check if struct resource is NULL - Fix warning in the type of dev_err() argument Kunihiko Hayashi (5): PCI: dwc: Add msi_host_isr() callback PCI: uniphier: Add m

[PATCH v2 5/5] PCI: uniphier: Add error message when failed to get phy

2020-05-15 Thread Kunihiko Hayashi
Even if phy driver doesn't probe, the error message can't be distinguished from other errors. This displays error message caused by the phy driver explicitly. Signed-off-by: Kunihiko Hayashi --- drivers/pci/controller/dwc/pcie-uniphier.c | 7 +-- 1 file changed, 5 insertions(+), 2

Re: [PATCH v6 5/6] PCI: uniphier: Add iATU register support

2020-09-07 Thread Kunihiko Hayashi
Hi Rob, On 2020/09/04 7:12, Rob Herring wrote: On Fri, Aug 21, 2020 at 1:05 AM Kunihiko Hayashi wrote: On 2020/08/18 1:48, Rob Herring wrote: On Fri, Aug 7, 2020 at 4:25 AM Kunihiko Hayashi wrote: This gets iATU register area from reg property. In Synopsys DWC version 4.80 or later

Re: [PATCH v6 6/6] PCI: uniphier: Add error message when failed to get phy

2020-09-07 Thread Kunihiko Hayashi
Hi Rob, On 2020/09/04 7:25, Rob Herring wrote: On Fri, Aug 21, 2020 at 1:05 AM Kunihiko Hayashi wrote: On 2020/08/18 1:39, Rob Herring wrote: On Fri, Aug 7, 2020 at 4:25 AM Kunihiko Hayashi wrote: Even if phy driver doesn't probe, the error message can't be distinguished

[PATCH v8 2/3] PCI: dwc: Add msi_host_isr() callback

2020-10-28 Thread Kunihiko Hayashi
: Marc Zyngier Cc: Jingoo Han Cc: Gustavo Pimentel Signed-off-by: Kunihiko Hayashi Acked-by: Gustavo Pimentel Reviewed-by: Rob Herring --- drivers/pci/controller/dwc/pcie-designware-host.c | 3 +++ drivers/pci/controller/dwc/pcie-designware.h | 1 + 2 files changed, 4 insertions(+) diff

[PATCH v8 1/3] PCI: portdrv: Add pcie_port_service_get_irq() function

2020-10-28 Thread Kunihiko Hayashi
Add pcie_port_service_get_irq() that returns the virtual IRQ number for specified portdrv service. Cc: Lorenzo Pieralisi Signed-off-by: Kunihiko Hayashi Reviewed-by: Rob Herring --- drivers/pci/pcie/portdrv.h | 1 + drivers/pci/pcie/portdrv_core.c | 16 2 files changed

[PATCH v8 3/3] PCI: uniphier: Add misc interrupt handler to invoke PME and AER

2020-10-28 Thread Kunihiko Hayashi
stavo Pimentel Cc: Lorenzo Pieralisi Signed-off-by: Kunihiko Hayashi Reviewed-by: Rob Herring --- drivers/pci/controller/dwc/pcie-uniphier.c | 77 +- 1 file changed, 66 insertions(+), 11 deletions(-) diff --git a/drivers/pci/controller/dwc/pcie-uniphier.c b/driver

[PATCH v8 0/3] PCI: uniphier: Add PME/AER support for UniPhier PCIe host controller

2020-10-28 Thread Kunihiko Hayashi
d printing phy error message in case of EPROBE_DEFER - Fix iATU register mapping method - dt-bindings: Add Acked-by: line - Fix typos in commit messages - Use devm_platform_ioremap_resource_byname() Changes since v1: - Add check if struct resource is NULL - Fix warning in the type of dev_err() argument

[PATCH] arm64: Fix build error for init_new_context()

2020-10-28 Thread Kunihiko Hayashi
inline int init_new_context(struct task_struct *tsk, | ^~~~ Cc: Nicholas Piggin Fixes: 4c792ad103f3 ("arm64: use asm-generic/mmu_context.h for no-op implementations") Signed-off-by: Kunihiko Hayashi --- arch/arm64/include/asm/mmu_context.h | 1

Re: [PATCH v6 6/6] PCI: uniphier: Add error message when failed to get phy

2020-08-21 Thread Kunihiko Hayashi
On 2020/08/18 1:39, Rob Herring wrote: On Fri, Aug 7, 2020 at 4:25 AM Kunihiko Hayashi wrote: Even if phy driver doesn't probe, the error message can't be distinguished from other errors. This displays error message caused by the phy driver explicitly. Signed-off-by: Kunihi

Re: [PATCH v6 5/6] PCI: uniphier: Add iATU register support

2020-08-21 Thread Kunihiko Hayashi
On 2020/08/18 1:48, Rob Herring wrote: On Fri, Aug 7, 2020 at 4:25 AM Kunihiko Hayashi wrote: This gets iATU register area from reg property. In Synopsys DWC version 4.80 or later, since iATU register area is separated from core register area, this area is necessary to get from DT

Re: [PATCH] dma-buf: heaps: Introduce dma_heap_add_cma() for non-default CMA heap

2020-08-21 Thread Kunihiko Hayashi
On 2020/08/01 4:38, John Stultz wrote: On Fri, Jul 31, 2020 at 2:32 AM Kunihiko Hayashi wrote: On 2020/07/29 4:17, John Stultz wrote: Do you have a upstream driver that you plan to make use this new call? Unfortunately I don't have an upstream driver using this call. This call is c

Re: [PATCH v4 0/2] Add new UniPhier AHCI PHY driver

2020-08-21 Thread Kunihiko Hayashi
Gentle ping. Are there any comments in this series? Thank you, On 2020/07/16 17:32, Kunihiko Hayashi wrote: This series adds support for AHCI PHY interface implemented in Socionext UniPhier SoCs. This driver supports PXs2 and PXs3 SoCs. Changes since v3: - Eliminate a meaningless blank line

Re: [PATCH v5 6/6] PCI: uniphier: Use devm_platform_ioremap_resource_byname()

2020-07-09 Thread Kunihiko Hayashi
ebase to pci/dwc and resend this series without 6/6? Thank you, On 2020/06/18 17:38, Kunihiko Hayashi wrote: Use devm_platform_ioremap_resource_byname() to simplify the code a bit. Signed-off-by: Kunihiko Hayashi f --- drivers/pci/controller/dwc/pcie-uniphier.c | 3 +-- 1 file changed, 1 inse

Re: [PATCH v5 2/6] PCI: uniphier: Add misc interrupt handler to invoke PME and AER

2020-07-15 Thread Kunihiko Hayashi
Hi Lorenzo, On 2020/07/14 22:27, Lorenzo Pieralisi wrote: On Thu, Jun 18, 2020 at 05:38:09PM +0900, Kunihiko Hayashi wrote: The misc interrupts consisting of PME, AER, and Link event, is handled by INTx handler, however, these interrupts should be also handled by MSI handler. Define what you

[PATCH v3 2/2] phy: socionext: Add UniPhier AHCI PHY driver support

2020-07-15 Thread Kunihiko Hayashi
Add a driver for PHY interface built into ahci controller implemented in UniPhier SoCs. This supports PXs2 and PXs3 SoCs. Signed-off-by: Kunihiko Hayashi --- drivers/phy/socionext/Kconfig | 10 + drivers/phy/socionext/Makefile| 1 + drivers/phy/socionext/phy-uniphier

[PATCH v3 1/2] dt-bindings: phy: Add UniPhier AHCI PHY description

2020-07-15 Thread Kunihiko Hayashi
Add DT bindings for PHY interface built into ahci controller implemented in UniPhier SoCs. Signed-off-by: Kunihiko Hayashi Reviewed-by: Rob Herring --- .../bindings/phy/socionext,uniphier-ahci-phy.yaml | 76 ++ 1 file changed, 76 insertions(+) create mode 100644

[PATCH v3 0/2] Add new UniPhier AHCI PHY driver

2020-07-15 Thread Kunihiko Hayashi
- Fix return value in uniphier_ahciphy_init - dt-bindings: Add Reviewed-by line Changes since v1: - dt-bindings: Fix items in reset-names Kunihiko Hayashi (2): dt-bindings: phy: Add UniPhier AHCI PHY description phy: socionext: Add UniPhier AHCI PHY driver support .../bindings/phy/socionext

Re: [PATCH v3 2/2] phy: socionext: Add UniPhier AHCI PHY driver support

2020-07-16 Thread Kunihiko Hayashi
Hi Vinod, On 2020/07/16 15:37, Vinod Koul wrote: On 16-07-20, 11:43, Kunihiko Hayashi wrote: +static int uniphier_ahciphy_pxs3_init(struct uniphier_ahciphy_priv *priv) +{ + int i; + u32 val; + + /* setup port parameter */ + val = readl(priv->base + TXCT

[PATCH v4 1/2] dt-bindings: phy: Add UniPhier AHCI PHY description

2020-07-16 Thread Kunihiko Hayashi
Add DT bindings for PHY interface built into ahci controller implemented in UniPhier SoCs. Signed-off-by: Kunihiko Hayashi Reviewed-by: Rob Herring --- .../bindings/phy/socionext,uniphier-ahci-phy.yaml | 76 ++ 1 file changed, 76 insertions(+) create mode 100644

[PATCH v4 2/2] phy: socionext: Add UniPhier AHCI PHY driver support

2020-07-16 Thread Kunihiko Hayashi
Add a driver for PHY interface built into ahci controller implemented in UniPhier SoCs. This supports PXs2 and PXs3 SoCs. Signed-off-by: Kunihiko Hayashi --- drivers/phy/socionext/Kconfig | 10 + drivers/phy/socionext/Makefile| 1 + drivers/phy/socionext/phy-uniphier

[PATCH v4 0/2] Add new UniPhier AHCI PHY driver

2020-07-16 Thread Kunihiko Hayashi
controller - Remove redundant .init in uniphier_pxs2_data - Add comments for dummy read accesses - Fix return value in uniphier_ahciphy_init - dt-bindings: Add Reviewed-by line Changes since v1: - dt-bindings: Fix items in reset-names Kunihiko Hayashi (2): dt-bindings: phy: Add UniPhier AHCI PHY

[PATCH] dma-buf: heaps: Introduce dma_heap_add_cma() for non-default CMA heap

2020-07-16 Thread Kunihiko Hayashi
ociated with the CMA become available as dma-buf heaps. Signed-off-by: Kunihiko Hayashi --- drivers/dma-buf/heaps/cma_heap.c | 12 include/linux/dma-heap.h | 9 + 2 files changed, 21 insertions(+) diff --git a/drivers/dma-buf/heaps/cma_heap.c b/drivers/dma-buf/he

Re: [PATCH] net: ethernet: ave: Fix error returns in ave_init

2020-07-16 Thread Kunihiko Hayashi
nmode_mask, priv->pinmode_val); if (ret) - return ret; + goto out_reset_assert; ave_global_reset(ndev); Thank you for pointing out. Reviewed-by: Kunihiko Hayashi --- Best Regards Kunihiko Hayashi

[PATCH 2/3] PCI: dwc: Add common iATU register support

2020-09-11 Thread Kunihiko Hayashi
Suggested-by: Rob Herring Signed-off-by: Kunihiko Hayashi --- drivers/pci/controller/dwc/pcie-designware.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/pci/controller/dwc/pcie-designware.c b/drivers/pci/controller/dwc/pcie-designware.c index 4d105ef..4a36

[PATCH 3/3] PCI: keystone: Remove iATU register mapping

2020-09-11 Thread Kunihiko Hayashi
After applying "PCI: dwc: Add common iATU register support", there is no need to set own iATU in the Keystone driver itself. Cc: Murali Karicheri Cc: Jingoo Han Cc: Gustavo Pimentel Suggested-by: Rob Herring Signed-off-by: Kunihiko Hayashi --- drivers/pci/controller/dwc/pci-keyst

[PATCH 0/3] PCI: dwc: Move iATU register mapping to common framework

2020-09-11 Thread Kunihiko Hayashi
;iatu" property description to the dt-bindings for UniPhier PCIe host controller. This has been confirmed with PCIe version 4.80 controller on UniPhier platform. Please test this series on Keystone platform. Kunihiko Hayashi (3): dt-bindings: PCI: uniphier: Add iATU register description PCI:

[PATCH 1/3] dt-bindings: PCI: uniphier: Add iATU register description

2020-09-11 Thread Kunihiko Hayashi
In the dt-bindings, "atu" reg-names is required to get the register space for iATU in Synopsys DWC version 4.80 or later. Signed-off-by: Kunihiko Hayashi Acked-by: Rob Herring --- Documentation/devicetree/bindings/pci/uniphier-pcie.txt | 1 + 1 file changed, 1 insertion(+) di

[PATCH v7 3/3] PCI: uniphier: Add misc interrupt handler to invoke PME and AER

2020-09-11 Thread Kunihiko Hayashi
stavo Pimentel Cc: Lorenzo Pieralisi Signed-off-by: Kunihiko Hayashi --- drivers/pci/controller/dwc/pcie-uniphier.c | 77 +- 1 file changed, 66 insertions(+), 11 deletions(-) diff --git a/drivers/pci/controller/dwc/pcie-uniphier.c b/drivers/pci/controller/dwc/pcie-uniph

[PATCH v7 0/3] PCI: uniphier: Add PME/AER support for UniPhier PCIe host controller

2020-09-11 Thread Kunihiko Hayashi
method - dt-bindings: Add Acked-by: line - Fix typos in commit messages - Use devm_platform_ioremap_resource_byname() Changes since v1: - Add check if struct resource is NULL - Fix warning in the type of dev_err() argument Kunihiko Hayashi (3): PCI: portdrv: Add pcie_port_service_get_irq() func

[PATCH v7 1/3] PCI: portdrv: Add pcie_port_service_get_irq() function

2020-09-11 Thread Kunihiko Hayashi
Add pcie_port_service_get_irq() that returns the virtual IRQ number for specified portdrv service. Cc: Lorenzo Pieralisi Signed-off-by: Kunihiko Hayashi --- drivers/pci/pcie/portdrv.h | 1 + drivers/pci/pcie/portdrv_core.c | 16 2 files changed, 17 insertions(+) diff

[PATCH v7 2/3] PCI: dwc: Add msi_host_isr() callback

2020-09-11 Thread Kunihiko Hayashi
: Marc Zyngier Cc: Jingoo Han Cc: Gustavo Pimentel Signed-off-by: Kunihiko Hayashi Acked-by: Gustavo Pimentel Reviewed-by: Rob Herring --- drivers/pci/controller/dwc/pcie-designware-host.c | 3 +++ drivers/pci/controller/dwc/pcie-designware.h | 1 + 2 files changed, 4 insertions(+) diff

Re: [PATCH v5 2/6] PCI: uniphier: Add misc interrupt handler to invoke PME and AER

2020-06-30 Thread Kunihiko Hayashi
Hi Marc, On 2020/06/30 22:23, Marc Zyngier wrote: On 2020-06-29 10:49, Kunihiko Hayashi wrote: Hi Marc, On 2020/06/27 18:48, Marc Zyngier wrote: On Thu, 18 Jun 2020 09:38:09 +0100, Kunihiko Hayashi wrote: The misc interrupts consisting of PME, AER, and Link event, is handled by INTx

[PATCH v5 1/6] PCI: dwc: Add msi_host_isr() callback

2020-06-18 Thread Kunihiko Hayashi
: Marc Zyngier Cc: Jingoo Han Cc: Gustavo Pimentel Signed-off-by: Kunihiko Hayashi Acked-by: Gustavo Pimentel --- drivers/pci/controller/dwc/pcie-designware-host.c | 3 +++ drivers/pci/controller/dwc/pcie-designware.h | 1 + 2 files changed, 4 insertions(+) diff --git a/drivers/pci

[PATCH v5 2/6] PCI: uniphier: Add misc interrupt handler to invoke PME and AER

2020-06-18 Thread Kunihiko Hayashi
Signed-off-by: Kunihiko Hayashi --- drivers/pci/controller/dwc/pcie-uniphier.c | 57 -- 1 file changed, 46 insertions(+), 11 deletions(-) diff --git a/drivers/pci/controller/dwc/pcie-uniphier.c b/drivers/pci/controller/dwc/pcie-uniphier.c index a5401a0..5ce2479 100644

[PATCH v5 4/6] PCI: uniphier: Add iATU register support

2020-06-18 Thread Kunihiko Hayashi
This gets iATU register area from reg property. In Synopsys DWC version 4.80 or later, since iATU register area is separated from core register area, this area is necessary to get from DT independently. Signed-off-by: Kunihiko Hayashi --- drivers/pci/controller/dwc/pcie-uniphier.c | 5 + 1

[PATCH v5 0/6] PCI: uniphier: Add features for UniPhier PCIe host controller

2020-06-18 Thread Kunihiko Hayashi
mit messages - Use devm_platform_ioremap_resource_byname() Changes since v1: - Add check if struct resource is NULL - Fix warning in the type of dev_err() argument Kunihiko Hayashi (6): PCI: dwc: Add msi_host_isr() callback PCI: uniphier: Add misc interrupt handler to invoke PME and AER

[PATCH v5 6/6] PCI: uniphier: Use devm_platform_ioremap_resource_byname()

2020-06-18 Thread Kunihiko Hayashi
Use devm_platform_ioremap_resource_byname() to simplify the code a bit. Signed-off-by: Kunihiko Hayashi --- drivers/pci/controller/dwc/pcie-uniphier.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/pci/controller/dwc/pcie-uniphier.c b/drivers/pci/controller/dwc

[PATCH v5 5/6] PCI: uniphier: Add error message when failed to get phy

2020-06-18 Thread Kunihiko Hayashi
Even if phy driver doesn't probe, the error message can't be distinguished from other errors. This displays error message caused by the phy driver explicitly. Signed-off-by: Kunihiko Hayashi --- drivers/pci/controller/dwc/pcie-uniphier.c | 8 ++-- 1 file changed, 6 insert

[PATCH v5 3/6] dt-bindings: PCI: uniphier: Add iATU register description

2020-06-18 Thread Kunihiko Hayashi
In the dt-bindings, "atu" reg-names is required to get the register space for iATU in Synopsys DWC version 4.80 or later. Signed-off-by: Kunihiko Hayashi Acked-by: Rob Herring --- Documentation/devicetree/bindings/pci/uniphier-pcie.txt | 1 + 1 file changed, 1 insertion(+) di

Re: [PATCH v5 2/6] PCI: uniphier: Add misc interrupt handler to invoke PME and AER

2020-06-29 Thread Kunihiko Hayashi
Hi Marc, On 2020/06/27 18:48, Marc Zyngier wrote: On Thu, 18 Jun 2020 09:38:09 +0100, Kunihiko Hayashi wrote: The misc interrupts consisting of PME, AER, and Link event, is handled by INTx handler, however, these interrupts should be also handled by MSI handler. This adds the function

Re: [PATCH net] dt-bindings: net: Convert UniPhier AVE4 controller to json-schema

2020-05-11 Thread Kunihiko Hayashi
Hi Rob, On 2020/05/12 11:01, Rob Herring wrote: On Tue, Apr 28, 2020 at 03:31:22PM +0900, Kunihiko Hayashi wrote: Convert the UniPhier AVE4 controller binding to DT schema format. This changes phy-handle property to required. Signed-off-by: Kunihiko Hayashi --- (snip) + phy-mode

[PATCH net-next v2] dt-bindings: net: Convert UniPhier AVE4 controller to json-schema

2020-05-12 Thread Kunihiko Hayashi
Convert the UniPhier AVE4 controller binding to DT schema format. Signed-off-by: Kunihiko Hayashi --- Changes since v1: - Set true to phy-mode and phy-handle instead of $ref - Add mac-address and local-mac-address for existing dts warning .../bindings/net/socionext,uniphier-ave4.txt

[PATCH] dt-bindings: watchdog: Convert UniPhier watchdog timer to json-schema

2020-05-12 Thread Kunihiko Hayashi
Convert UniPhier watchdog timer binding to DT schema format. Cc: Keiji Hayashibara Signed-off-by: Kunihiko Hayashi --- .../bindings/watchdog/socionext,uniphier-wdt.yaml | 36 ++ .../devicetree/bindings/watchdog/uniphier-wdt.txt | 20 2 files changed, 36

Re: [PATCH v3 2/2] PCI: uniphier: Add Socionext UniPhier Pro5 PCIe endpoint controller driver

2020-05-08 Thread Kunihiko Hayashi
Hi Rob, Thank you for your comment. On 2020/05/08 4:33, Rob Herring wrote: On Mon, Mar 23, 2020 at 06:40:54PM +0900, Kunihiko Hayashi wrote: Add driver for the Socionext UniPhier Pro5 SoC endpoint controller. This controller is based on the DesignWare PCIe core. Signed-off-by: Kunihiko

Re: [PATCH v3 1/2] dt-bindings: PCI: Add UniPhier PCIe endpoint controller description

2020-05-08 Thread Kunihiko Hayashi
On 2020/03/23 18:40, Kunihiko Hayashi wrote: Add DT bindings for PCIe controller implemented in UniPhier SoCs when configured in endpoint mode. This controller is based on the DesignWare PCIe core. Signed-off-by: Kunihiko Hayashi Reviewed-by: Rob Herring --- .../devicetree/bindings/pci

Re: [PATCH net] dt-bindings: net: Convert UniPhier AVE4 controller to json-schema

2020-05-08 Thread Kunihiko Hayashi
Hi David, Rob, On 2020/05/02 7:21, David Miller wrote: From: Kunihiko Hayashi Date: Tue, 28 Apr 2020 15:31:22 +0900 Convert the UniPhier AVE4 controller binding to DT schema format. This changes phy-handle property to required. Signed-off-by: Kunihiko Hayashi DT folks, is it ok if I take

Re: [PATCH v2 4/5] PCI: uniphier: Add iATU register support

2020-05-18 Thread Kunihiko Hayashi
Hi Gustavo, On 2020/05/15 22:16, Gustavo Pimentel wrote: Hi Kunihiko, On Fri, May 15, 2020 at 10:59:2, Kunihiko Hayashi wrote: This gets iATU register area from reg property. In Synopsis DWC version s/Synopsis/Synopsys in all patches Thank you for pointing out. I'll fix and be ca

[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 Acked-by: Rob Herring --- .../bindings/thermal/uniphier-thermal.txt | 64 ++ 1 file changed, 64 insertions(+) create mode 100644

[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 --- drivers/thermal/Kconfig| 8 + drivers/thermal/Makefile

[PATCH v2 0/2] add UniPhier thermal support

2017-06-28 Thread Kunihiko Hayashi
pt handler - 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

[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 --- arch/arm/boot/dts/uniphier-pxs2.dtsi | 43

[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 --- arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi | 40 1 file changed, 40 insertions(+) diff --git a/arch/arm64/boot/dts

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

2017-06-28 Thread Kunihiko Hayashi
rature 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 for PXs2 arm64: dts: uniphier: add nodes of ther

[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 --- arch/arm64/boot/dts/socionext/Makefile | 1 + .../boot/dts/socionext/uniphier-ld20-global.dts| 87 ++ 2 files changed, 88 insertions(+) create mode 100644 arch/arm64

[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 --- arch/arm64/boot/dts/socionext/Makefile | 1 + .../boot/dts/socionext/uniphier-ld11-global.dts| 105 + 2 files changed, 106 insertions(+) create mode 100644 arch

[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 v3 0/2] add UniPhier thermal support

2017-07-05 Thread Kunihiko Hayashi
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| 8

[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 Acked-by: Rob Herring --- .../bindings/thermal/uniphier-thermal.txt | 64 ++ 1 file changed, 64 insertions(+) create mode 100644

[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 --- drivers/thermal/Kconfig| 8 + drivers/thermal/Makefile

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

2017-07-05 Thread Kunihiko Hayashi
-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): ARM: dts: uniphier: add nodes of ther

[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 --- arch/arm/boot/dts/uniphier-pxs2.dtsi | 43

[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 Ha

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 wrote: > 2017-07-05 21:20 GMT+09:00 Masahiro Yamada : > > 2017-07-05 20:50 GMT+09:00 Kunihiko Hayashi > > : > > > >> + > >> +#define TMOD 0x0928 > >> +#define TMOD_MASK

[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 --- drivers/thermal/Kconfig| 8 + drivers/thermal/Makefile

[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 Acked-by: Rob Herring --- .../bindings/thermal/uniphier-thermal.txt | 64 ++ 1 file changed, 64 insertions(+) create mode 100644

[PATCH v4 0/2] add UniPhier thermal support

2017-07-06 Thread Kunihiko Hayashi
e - 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: add UniPhier thermal driver .../bindings/thermal/uniphier-t

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 wrote: > 2017-07-21 1:53 GMT+09:00 Masahiro Yamada : > > 2017-07-21 1:08 GMT+09:00 Masahiro Yamada : > >> 2017-07-07 10:54 GMT+09:00 Kunihiko Hayashi > >> : > >>> Add a thermal driver for on-chip PVT (Process, Voltage

[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 Acked-by: Rob Herring --- .../bindings/thermal/uniphier-thermal.txt | 64 ++ 1 file changed, 64 insertions(+) create mode 100644

[PATCH v5 0/2] add UniPhier thermal support

2017-07-21 Thread Kunihiko Hayashi
endency 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

[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 --- drivers/thermal/Kconfig| 8 + drivers/thermal/Makefile

Re: [PATCH] fbdev: simplefb: add support for 'memory-region' property on DT node

2018-02-01 Thread Kunihiko Hayashi
Hi Bartlomiej, Rob, Mark, On Thu, 1 Feb 2018 16:56:08 +0100 wrote: > > Hi, > > On Tuesday, January 23, 2018 08:34:56 PM Kunihiko Hayashi wrote: > > Enables 'memory-region' property referring to the memory description on > > the reserved-memory node in case of

Re: [PATCH] fbdev: simplefb: add support for 'memory-region' property on DT node

2018-02-01 Thread Kunihiko Hayashi
Hi Andy, On Thu, 1 Feb 2018 21:03:30 +0200 wrote: > On Thu, Feb 1, 2018 at 5:56 PM, Bartlomiej Zolnierkiewicz > wrote: > > On Tuesday, January 23, 2018 08:34:56 PM Kunihiko Hayashi wrote: > >> Enables 'memory-region' property referring to the memory description o

Re: [PATCH] fbdev: simplefb: add support for 'memory-region' property on DT node

2018-02-05 Thread Kunihiko Hayashi
Hi Rob, On Mon, 5 Feb 2018 00:09:14 -0600 wrote: > On Thu, Feb 01, 2018 at 04:56:08PM +0100, Bartlomiej Zolnierkiewicz wrote: > > > > Hi, > > > > On Tuesday, January 23, 2018 08:34:56 PM Kunihiko Hayashi wrote: > > > Enables 'memory-region' p

[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 Signed-off-by: Jassi Brar Reviewed-by: Andrew Lunn --- drivers/net/ethernet/Kconfig

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

2017-12-21 Thread Kunihiko Hayashi
initions, 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 | 45 + drivers/net/ethernet/Kconfig |1

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

2017-12-21 Thread Kunihiko Hayashi
DT bindings for the AVE ethernet controller found on Socionext's UniPhier platforms. Signed-off-by: Kunihiko Hayashi Signed-off-by: Jassi Brar Acked-by: Rob Herring --- .../bindings/net/socionext,uniphier-ave4.txt | 45 ++ 1 file changed, 45 insertions(+) c

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 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 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 RGMII/RMII > > mod

[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 --- drivers/nvmem/uniphier-efuse.c | 10 +- 1 file changed, 5 insertions(+), 5

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

2017-12-14 Thread Kunihiko Hayashi
ase_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

[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 Signed-off-by: Jassi Brar Reviewed-by: Andrew Lunn --- drivers/net/ethernet/Kconfig

[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 Signed-off-by: Jassi Brar Acked-by: Rob Herring --- .../bindings/net/socionext,uniphier-ave4.txt | 48 ++ 1 file changed, 48 insertions(+) c

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 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-off-by: Kunihiko Hayashi > >

[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 Signed-off-by: Jassi Brar Acked-by: Rob Herring --- .../bindings/net/socionext,uniphier-ave4.txt | 47 ++ 1 file changed, 47 insertions(+) c

[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 Signed-off-by: Jassi Brar Reviewed-by: Andrew Lunn --- drivers/net/ethernet/Kconfig

[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 v9 0/2] add UniPhier AVE ethernet support

2017-12-27 Thread Kunihiko Hayashi
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 Kunihiko Hayashi (2): dt-bindings: net: add DT bi

<    1   2   3   4   5   >