Re: [PATCH] MAINTAINERS: update entry for entry for ARM/berlin

2018-03-29 Thread Gregory CLEMENT
M: Mans Rullgard > -- > 2.16.3 > > > _______ > linux-arm-kernel mailing list > linux-arm-ker...@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel -- Gregory Clement, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering http://bootlin.com

Re: [PATCH] ARM64: dts: marvell: armada-cp110: Add mg_core_clk for ethernet node

2018-04-27 Thread Gregory CLEMENT
clk) 1 > 9>, > - <&CP110_LABEL(clk) 1 5>, <&CP110_LABEL(clk) 1 > 18>; > + <&CP110_LABEL(clk) 1 5>, <&CP110_LABEL(clk) 1 > 6>, > + <&CP110_LABEL(clk) 1 18>; > clock-names = "pp_clk", "gop_clk", > - "mg_clk", "axi_clk"; > + "mg_clk", "mg_core_clk", "axi_clk"; > marvell,system-controller = <&CP110_LABEL(syscon0)>; > status = "disabled"; > dma-coherent; > -- > 2.11.0 > -- Gregory Clement, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering http://bootlin.com

Re: [PATCH 01/15] arm: dts: armada: Fix "#cooling-cells" property's name

2018-05-28 Thread Gregory CLEMENT
cooling-cells = <2>; > + #cooling-cells = <2>; > }; > > gpio-leds { > -- > 2.15.0.194.g9af6a3dea062 > -- Gregory Clement, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering http://bootlin.com

Re: [PATCH V2] ARM: dts: armada388-helios4

2018-06-05 Thread Gregory CLEMENT
b>; Same here > + usb-phy = <&usb2_phy>; > + status = "okay"; > + }; > + Gregory -- Gregory Clement, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering http://bootlin.com

Re: [PATCH net 3/3] ARM64: dts: marvell: armada-cp110: Add clocks for the xmdio node

2018-04-25 Thread Gregory CLEMENT
l,xmdio"; > reg = <0x12a600 0x10>; > + clocks = <&CP110_LABEL(clk) 1 5>, > + <&CP110_LABEL(clk) 1 6>, <&CP110_LABEL(clk) 1 > 18>; > status = "d

Re: [PATCH net 2/3] net: mvpp2: Fix clock resource by adding missing mg_core_clk

2018-04-25 Thread Gregory CLEMENT
goto err_mg_clk; > + goto err_mg_core_clk; > } > > /* Get system's tclk rate */ > @@ -8851,6 +8862,10 @@ static int mvpp2_probe(struct platform_device *pdev) > } > err_axi_clk: > clk_disable_unprepare(priv->axi_clk); > + > +err_mg_core_clk: > + if (priv->hw_version == MVPP22) > + clk_disable_unprepare(priv->mg_core_clk); > err_mg_clk: > if (priv->hw_version == MVPP22) > clk_disable_unprepare(priv->mg_clk); > @@ -8898,6 +8913,7 @@ static int mvpp2_remove(struct platform_device *pdev) > return 0; > > clk_disable_unprepare(priv->axi_clk); > + clk_disable_unprepare(priv->mg_core_clk); > clk_disable_unprepare(priv->mg_clk); > clk_disable_unprepare(priv->pp_clk); > clk_disable_unprepare(priv->gop_clk); > -- > 2.11.0 > -- Gregory Clement, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering http://bootlin.com

Re: [PATCH net 1/3] net: mvpp2: Fix clk error path in mvpp2_probe

2018-04-25 Thread Gregory CLEMENT
d0 ("net: mvpp2: Fix clock resource by adding an optional > bus clock") > Signed-off-by: Maxime Chevallier Acked-by: Gregory CLEMENT Thanks, Gregory > --- > drivers/net/ethernet/marvell/mvpp2.c | 15 --- > 1 file changed, 8 insertions(+), 7 deletions(-)

Re: [PATCH net 3/3] ARM64: dts: marvell: armada-cp110: Add clocks for the xmdio node

2018-04-25 Thread Gregory CLEMENT
Hi agin, On mer., avril 25 2018, Gregory CLEMENT wrote: > Hi Maxime, > > On mer., avril 25 2018, Maxime Chevallier > wrote: > >> The Marvell XSMI controller needs 3 clocks to operate correctly : >> - The MG clock (clk 5) >> - The MG Core clock (c

Re: [PATCH V2] ARM: mvebu: at least report the kzalloc failure

2019-04-17 Thread Gregory CLEMENT
ks, Gregory > > thx! > hofrat > > ___________ > linux-arm-kernel mailing list > linux-arm-ker...@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel -- Gregory Clement, Bootlin Embedded Linux and Kernel engineering http://bootlin.com

[PATCH] clk: mvebu: armada-37xx-periph: Fix initialization for cpu clocks

2019-03-13 Thread Gregory CLEMENT
: 92ce45fb875d ("cpufreq: Add DVFS support for Armada 37xx") Cc: Reported-by: Christian Neubert Reported-by: Ilias Apalodimas Signed-off-by: Gregory CLEMENT --- drivers/clk/mvebu/armada-37xx-periph.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/clk/mvebu/a

Re: [PATCH] clk: mvebu: armada-37xx-periph: Fix initialization for cpu clocks

2019-03-14 Thread Gregory CLEMENT
>> > > was not the case. >> > > >> > > This patch fixes this issue, allowing to make the cpufreq support work >> > > when the CPU clocks source are not the default ones. >> > > >> > > Fixes: 92ce45fb875d ("cpufreq: Add DVFS support f

Re: [PATCH 0/2] Fix espressobin ethernet support on mainline u-boot

2019-02-05 Thread Gregory CLEMENT
h patches applied to mvebu/dt64 Thanks, Gregory > arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts | 7 +++ > arch/arm64/boot/dts/marvell/armada-37xx.dtsi| 5 + > 2 files changed, 12 insertions(+) > > -- > 2.20.1 > -- Gregory Clement, Bootlin Embedded Linux and Kernel engineering http://bootlin.com

Re: [PATCH v5 6/7] ARM64: dts: marvell: armada-37xx: fix SATA node scope

2019-02-06 Thread Gregory CLEMENT
interrupts = ; > status = "disabled"; > }; > -- > 2.19.1 > -- Gregory Clement, Bootlin Embedded Linux and Kernel engineering http://bootlin.com

Re: [PATCH v3 14/15] ARM64: dts: marvell: armada-37xx: declare PCIe reset pin

2019-02-06 Thread Gregory CLEMENT
pcie"; > + }; > }; > > eth0: ethernet@3 { > -- > 2.19.1 > -- Gregory Clement, Bootlin Embedded Linux and Kernel engineering http://bootlin.com

Re: [PATCH v3 15/15] ARM64: dts: marvell: armada-3720-espressobin: declare PCIe warm reset pin

2019-02-06 Thread Gregory CLEMENT
pinctrl-0 = <&pcie_reset_pins &pcie_clkreq_pins>; > }; > > /* J6 */ > -- > 2.19.1 > -- Gregory Clement, Bootlin Embedded Linux and Kernel engineering http://bootlin.com

Re: [PATCH v5 7/7] ARM64: dts: marvell: armada-37xx: declare the COMPHY node

2019-02-06 Thread Gregory CLEMENT
#phy-cells = <1>; > + }; > + > + comphy2: phy@2 { > + reg = <2>; > + #phy-cells = <1>; > + }; > +

Re: [PATCH v3 13/15] ARM64: dts: marvell: armada-3720-espressobin: declare PCIe PHY

2019-02-06 Thread Gregory CLEMENT
0-espressobin.dts > +++ b/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts > @@ -46,6 +46,7 @@ > /* J9 */ > &pcie0 { > status = "okay"; > + phys = <&comphy1 0>; > }; > > /* J6 */ > -- > 2.19.1 > -- Gregory Clement, Bootlin Embedded Linux and Kernel engineering http://bootlin.com

Re: [PATCH] bus: mvebu-mbus: make iounmap() symmetric with ioremap()

2021-01-29 Thread Gregory CLEMENT
Hi, > On Fri, 29 Jan 2021 17:01:35 +0100 > Gregory CLEMENT wrote: > >> Could you sent me the patch I don't have it in my emails boxes. > > https://lore.kernel.org/lkml/20201112032149.21906-1-chris.pack...@alliedtelesis.co.nz/raw Applied on mvebu/arm Thanks, Gregory

Re: [PATCH mvebu v3 02/10] cpufreq: armada-37xx: Fix setting TBG parent for load levels

2021-03-29 Thread Gregory CLEMENT
ridge Peripheral Clock registers directly in this > driver. > > [1] https://github.com/wtarreau/mhz > > Signed-off-by: Marek Behún > Tested-by: Pali Rohár > Tested-by: Tomasz Maciej Nowak > Tested-by: Anders Trier Olesen > Tested-by: Philip Soares > Fixes: 92ce

Re: [PATCH mvebu v3 03/10] clk: mvebu: armada-37xx-periph: remove .set_parent method for CPU PM clock

2021-03-29 Thread Gregory CLEMENT
vebu: armada-37xx-periph: add DVFS support for > cpu clocks") Acked-by: Gregory CLEMENT Thanks, Gregory > --- > drivers/clk/mvebu/armada-37xx-periph.c | 28 -- > 1 file changed, 28 deletions(-) > > diff --git a/drivers/clk/mvebu/armada-37

Re: [PATCH mvebu v3 06/10] clk: mvebu: armada-37xx-periph: Fix workaround for switching from L1 to L0

2021-03-29 Thread Gregory CLEMENT
: Marek Behún > Signed-off-by: Pali Rohár > Acked-by: Stephen Boyd > Tested-by: Tomasz Maciej Nowak > Tested-by: Anders Trier Olesen > Tested-by: Philip Soares > Fixes: 61c40f35f5cd ("clk: mvebu: armada-37xx-periph: Fix switching CPU rate > from 300Mhz to 1.2GHz"

Re: [PATCH mvebu v3 07/10] cpufreq: armada-37xx: Fix driver cleanup when registration failed

2021-03-29 Thread Gregory CLEMENT
cpufreq: armada-37xx: fix frequency calculation for > opp") > Cc: sta...@vger.kernel.org Acked-by: Gregory CLEMENT Thanks, Gregory > --- > drivers/cpufreq/armada-37xx-cpufreq.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/cpu

Re: [PATCH mvebu v3 08/10] cpufreq: armada-37xx: Fix determining base CPU frequency

2021-03-29 Thread Gregory CLEMENT
nders Trier Olesen > Tested-by: Philip Soares > Fixes: 92ce45fb875d ("cpufreq: Add DVFS support for Armada 37xx") > Cc: sta...@vger.kernel.org # 8db82563451f ("cpufreq: armada-37xx: fix > frequency calculation for opp") Acked-by: Gregory CLEMENT Thanks, Gregory >

Re: [PATCH mvebu v2 09/10] cpufreq: armada-37xx: Remove cur_frequency variable

2021-03-29 Thread Gregory CLEMENT
Pali Rohár writes: > Variable cur_frequency in armada37xx_cpufreq_driver_init() is unused. > > Signed-off-by: Pali Rohár Acked-by: Gregory CLEMENT Thanks, Gregory > --- > drivers/cpufreq/armada-37xx-cpufreq.c | 10 +- > 1 file changed, 1 insertion(+), 9 deletions

Re: [PATCH mvebu v3 04/10] cpufreq: armada-37xx: Fix the AVS value for load L1

2021-03-29 Thread Gregory CLEMENT
Tested-by: Anders Trier Olesen > Tested-by: Philip Soares > Fixes: 1c3528232f4b ("cpufreq: armada-37xx: Add AVS support") > Cc: sta...@vger.kernel.org Acked-by: Gregory CLEMENT Thanks, Gregory > --- > drivers/cpufreq/armada-37xx-cpufreq.c | 37 +

Re: [PATCH mvebu v3 05/10] clk: mvebu: armada-37xx-periph: Fix switching CPU freq from 250 Mhz to 1 GHz

2021-03-29 Thread Gregory CLEMENT
> Tested-by: Anders Trier Olesen > Tested-by: Philip Soares > Fixes: 2089dc33ea0e ("clk: mvebu: armada-37xx-periph: add DVFS support for > cpu clocks") > Cc: sta...@vger.kernel.org # 61c40f35f5cd ("clk: mvebu: armada-37xx-periph: > Fix switching CPU rate from 300M

Re: [PATCH mvebu v2 01/10] arm64: dts: marvell: armada-37xx: add syscon compatible to NB clk node

2021-04-02 Thread Gregory CLEMENT
e7927b2 ("arm64: dts: marvell: armada-37xx: add nodes...") > Cc: sta...@vger.kernel.org > Cc: Gregory CLEMENT > Cc: Miquel Raynal Applied on mvebu/dt64 Thanks, Gregory > --- > arch/arm64/boot/dts/marvell/armada-37xx.dtsi | 3 ++- > 1 file changed, 2 insertions(+),

Re: [PATCH] ARM: dts: turris-omnia: fix hardware buffer management

2021-04-02 Thread Gregory CLEMENT
09, 0x19) 0 0xf110 0x1 > - MBUS_ID(0x09, 0x15) 0 0xf111 0x1>; > + MBUS_ID(0x09, 0x15) 0 0xf111 0x1 > + MBUS_ID(0x0c, 0x04) 0 0xf120 0x10>; > > internal-regs { >

Re: [PATCH v3 0/5] Add support for CP110 UTMI PHY

2021-04-02 Thread Gregory CLEMENT
umentation/devicetree/bindings/phy/marvell,armada-cp110-utmi-phy.yaml > delete mode 100644 Documentation/devicetree/bindings/phy/phy-mvebu-utmi.txt > create mode 100644 drivers/phy/marvell/phy-mvebu-cp110-utmi.c > > -- > 2.17.1 > -- Gregory Clement, Bootlin Embedded Linux and Kernel engineering http://bootlin.com

Re: [PATCH v2] arm64: dts: marvell: espressobin: Update link to V7 schematic

2020-11-30 Thread Gregory CLEMENT
> @@ -8,7 +8,7 @@ > * > */ > /* > - * Schematic available at > http://wiki.espressobin.net/tiki-download_file.php?fileId=200 > + * Schematic available at > http://espressobin.net/wp-content/uploads/2020/05/ESPRESSObin_V7-0_Schematic.pdf > */ > > /dts-v1/; > -- > 2.20.1 > -- Gregory Clement, Bootlin Embedded Linux and Kernel engineering http://bootlin.com

Re: [PATCH v2 12/18] arm: dts: marvell: armada-375: Harmonize DWC USB3 DT nodes name

2020-11-30 Thread Gregory CLEMENT
disabled"; > }; > > - usb2: usb3@58000 { > + usb2: usb@58000 { > compatible = "marvell,armada-375-xhci"; > reg = <0x58000 0x2>,<0x5b880 0x80>; >

Re: [PATCH v2 11/18] arm64: dts: marvell: cp11x: Harmonize xHCI DT nodes name

2020-11-30 Thread Gregory CLEMENT
gt; + CP11X_LABEL(usb3_1): usb@51 { > compatible = "marvell,armada-8k-xhci", > "generic-xhci"; > reg = <0x51 0x4000>; > -- > 2.28.0 > -- Gregory Clement, Bootlin Embedded Linux and Kernel engineering http://bootlin.com

Re: [PATCH v2] ARM: dts: mvebu: Add device tree for RD-AC3X-48G4X2XL board

2020-11-30 Thread Gregory CLEMENT
nand-on-flash-bbt; > + > + partitions { > + compatible = "fixed-partitions"; > + #address-cells = <1>; > + #size-cells = <1>; > + partition@0 { > + reg = <0x 0x0050>; > + label = "u-boot"; > + }; > + partition@50{ > + reg = <0x0050 0x0040>; > + label = "u-boot env"; > + }; > + partition@90{ > + reg = <0x0090 0x3F70>; > + label = "user"; > + }; > + }; > + }; > +}; > + > +&refclk { > + clock-frequency = <2>; > +}; > -- > 2.29.2 > -- Gregory Clement, Bootlin Embedded Linux and Kernel engineering http://bootlin.com

Re: [PATCH] arm64: dts: mcbin-singleshot: add heartbeat LED

2020-11-30 Thread Gregory CLEMENT
linux,default-trigger = "heartbeat"; > + }; > + }; > }; > > &cp0_eth0 { > @@ -27,3 +42,10 @@ &cp1_eth0 { > managed = "in-band-status"; > sfp = <&sfp_eth1>; > }; > + > +&cp0_pinctrl { > + cp0_led18_pins: led18-pins { > + marvell,pins = "mpp33"; > + marvell,function = "gpio"; > + }; > +}; > -- > 2.29.2 > -- Gregory Clement, Bootlin Embedded Linux and Kernel engineering http://bootlin.com

Re: [PATCH 1/1] arm64: dts: marvell: keep SMMU disabled by default for Armada 7040 and 8040

2020-11-30 Thread Gregory CLEMENT
/arm64/boot/dts/marvell/armada-8040.dtsi > @@ -15,10 +15,6 @@ / { > "marvell,armada-ap806"; > }; > > -&smmu { > - status = "okay"; > -}; > - > &cp0_pcie0 { > iommu-map = > <0x0 &smmu 0x480 0x20>, > -- > 2.25.1 > -- Gregory Clement, Bootlin Embedded Linux and Kernel engineering http://bootlin.com

[PATCH v2 3/3] MIPS: dts: mscc: add reset support for Luton and Jaguar2

2020-11-24 Thread Gregory CLEMENT
Allow Luton and Jaguar2 SoCs to use reset feature by adding the reset node. Signed-off-by: Gregory CLEMENT --- arch/mips/boot/dts/mscc/jaguar2.dtsi | 5 + arch/mips/boot/dts/mscc/luton.dtsi | 5 + 2 files changed, 10 insertions(+) diff --git a/arch/mips/boot/dts/mscc/jaguar2.dtsi b

[PATCH v2 0/3] Add reset support in ocelot driver for new platforms

2020-11-24 Thread Gregory CLEMENT
-core property support waiting for finding a butter solution for it. Changelog: v1 -> v2: - Add binding documentation for the 2 new SoC - Fix compatible string in name device tree node - Add Acked-by from Alexande Gregory Gregory CLEMENT (3): dt-bindings: reset: ocelot: Add Luton and Jagu

[PATCH v2 1/3] dt-bindings: reset: ocelot: Add Luton and Jaguar2 support

2020-11-24 Thread Gregory CLEMENT
This adds the support for 2 others MIPS based VCore III SoCs: Luton and Jaguar2. Signed-off-by: Gregory CLEMENT --- .../devicetree/bindings/power/reset/ocelot-reset.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/power/reset

[PATCH v2 2/3] power: reset: ocelot: Add support 2 other MIPS based SoCs

2020-11-24 Thread Gregory CLEMENT
This adds reset support for Luton and Jaguar2 in the ocelot-reset driver. They are both MIPS based belonging to the Vcore III family. Acked-by: Alexandre Belloni Signed-off-by: Gregory CLEMENT --- drivers/power/reset/ocelot-reset.c | 30 +++--- 1 file changed, 27

[PATCH v5 0/6] Extend irqchip ocelot driver to support other SoCs

2020-11-25 Thread Gregory CLEMENT
1 -> v2: - Convert the binding to yaml - Squashed the patches adding new binding in a single one Gregory CLEMENT (6): dt-bindings: interrupt-controller: convert icpu intr bindings to json-schema dt-bindings: interrupt-controller: Add binding for few Microsemi interrupt controllers

[PATCH v5 2/6] dt-bindings: interrupt-controller: Add binding for few Microsemi interrupt controllers

2020-11-25 Thread Gregory CLEMENT
Add the Device Tree binding documentation for the Microsemi Jaguar2, Luton and Serval interrupt controller that is part of the ICPU. It is connected directly to the MIPS core interrupt controller. Signed-off-by: Gregory CLEMENT --- .../bindings/interrupt-controller/mscc,ocelot-icpu-intr.yaml

[PATCH v5 3/6] irqchip: ocelot: prepare to support more SoC

2020-11-25 Thread Gregory CLEMENT
This patch extends irqchip driver for oceleot to be used with other vcoreiii base platforms. Acked-by: Alexandre Belloni Signed-off-by: Gregory CLEMENT --- drivers/irqchip/irq-mscc-ocelot.c | 76 ++- 1 file changed, 54 insertions(+), 22 deletions(-) diff --git a

[PATCH v5 5/6] irqchip: ocelot: Add support for Serval platforms

2020-11-25 Thread Gregory CLEMENT
This patch extends irqchip driver for ocelot to be used with an other vcoreiii base platform: Serval. Based on a larger patch from Lars Povlsen Acked-by: Alexandre Belloni Signed-off-by: Gregory CLEMENT --- drivers/irqchip/irq-mscc-ocelot.c | 19 +++ 1 file changed, 19

[PATCH v5 6/6] irqchip: ocelot: Add support for Jaguar2 platforms

2020-11-25 Thread Gregory CLEMENT
This patch extends irqchip driver for ocelot to be used with an other vcoreiii base platform: Jaguar2. Based on a larger patch from Lars Povlsen Acked-by: Alexandre Belloni Signed-off-by: Gregory CLEMENT --- drivers/irqchip/irq-mscc-ocelot.c | 19 +++ 1 file changed, 19

[PATCH v5 1/6] dt-bindings: interrupt-controller: convert icpu intr bindings to json-schema

2020-11-25 Thread Gregory CLEMENT
Convert device tree bindings for Microsemi Ocelot SoC ICPU Interrupt Controller to YAML format Signed-off-by: Gregory CLEMENT --- .../mscc,ocelot-icpu-intr.txt | 21 --- .../mscc,ocelot-icpu-intr.yaml| 60 +++ 2 files changed, 60 insertions

[PATCH v5 4/6] irqchip: ocelot: Add support for Luton platforms

2020-11-25 Thread Gregory CLEMENT
Signed-off-by: Gregory CLEMENT --- drivers/irqchip/irq-mscc-ocelot.c | 38 +++ 1 file changed, 34 insertions(+), 4 deletions(-) diff --git a/drivers/irqchip/irq-mscc-ocelot.c b/drivers/irqchip/irq-mscc-ocelot.c index 6d4029a2ded0..496f955b8fc4 100644 --- a/drivers

Re: [PATCH mvebu v3 00/10] Armada 37xx: Fix cpufreq changing base CPU speed to 800 MHz from 1000 MHz

2021-03-12 Thread Gregory CLEMENT
x driver cleanup when registration failed >> cpufreq: armada-37xx: Fix determining base CPU frequency >> cpufreq: armada-37xx: Remove cur_frequency variable >> cpufreq: armada-37xx: Fix module unloading >> >> arch/arm64/boot/dts/marvell/armada-37xx.dtsi |

Re: [PATCH] MAINTAINERS: Move Jason Cooper to CREDITS

2020-11-29 Thread Gregory CLEMENT
stop Cc-ing > him. > > Cc: Andrew Lunn > Cc: Sebastian Hesselbarth > Cc: Gregory Clement > Cc: Thomas Gleixner > Cc: Thomas Petazzoni > Signed-off-by: Marc Zyngier Acked-by: Gregory CLEMENT Thanks, Gregory > --- > CREDITS | 5 + > MAINTAINERS

Re: [PATCH v2 1/1] arm64: dts: marvell: Add a device tree for the IEI Puzzle-M801 board

2020-11-29 Thread Gregory CLEMENT
> +&cp0_eth0 { > + status = "okay"; > + phy-mode = "10gbase-r"; > + phys = <&cp0_comphy4 0>; > + local-mac-address = [ae 00 00 00 ff 00]; > + sfp = <&sfp_cp0_eth0>; > + managed = "in-band-status"; > +}; &g

Re: [PATCH] arm64: dts: marvell: espressobin: Add support for LED2

2020-11-29 Thread Gregory CLEMENT
/* led2 is working only on v7 board */ > + status = "disabled"; > + > + compatible = "gpio-leds"; > + > + led2 { > + label = "led2"; > + gpios = <&gpionb 2 GPIO_ACTIVE_LOW>; > + default-state = "off"; > + }; > + }; > }; > > /* J9 */ > -- > 2.20.1 > -- Gregory Clement, Bootlin Embedded Linux and Kernel engineering http://bootlin.com

Re: [PATCH v5] arm64: dts: marvell: add DT for ESPRESSObin-Ultra

2020-11-29 Thread Gregory CLEMENT
{ > + switch0port1: port@1 { > + reg = <1>; > + label = "lan0"; > + phy-handle = <&switch0phy0>; > + }; > + > + switch0port2: port@2 { > + reg = <2>; > + label = "lan1"; > + phy-handle = <&switch0phy1>; > + }; > + > + switch0port3: port@3 { > + reg = <3>; > + label = "lan2"; > + phy-handle = <&switch0phy2>; > + }; > + > + switch0port4: port@4 { > + reg = <4>; > + label = "lan3"; > + phy-handle = <&switch0phy3>; > + }; > + > + switch0port5: port@5 { > + reg = <5>; > + label = "wan"; > + phy-handle = <&extphy>; > + phy-mode = "sgmii"; > + }; > + }; > + > + mdio { > + switch0phy3: switch0phy3@14 { > + reg = <0x14>; > + }; > + }; > +}; > -- > 2.27.0 > -- Gregory Clement, Bootlin Embedded Linux and Kernel engineering http://bootlin.com

[PATCH v4 3/6] irqchip: ocelot: prepare to support more SoC

2020-11-20 Thread Gregory CLEMENT
This patch extends irqchip driver for oceleot to be used with other vcoreiii base platforms. Signed-off-by: Gregory CLEMENT --- drivers/irqchip/irq-mscc-ocelot.c | 76 ++- 1 file changed, 54 insertions(+), 22 deletions(-) diff --git a/drivers/irqchip/irq-mscc

[PATCH v4 2/6] dt-bindings: interrupt-controller: Add binding for few Microsemi interrupt controllers

2020-11-20 Thread Gregory CLEMENT
Add the Device Tree binding documentation for the Microsemi Jaguar2, Luton and Serval interrupt controller that is part of the ICPU. It is connected directly to the MIPS core interrupt controller. Signed-off-by: Gregory CLEMENT --- .../bindings/interrupt-controller/mscc,ocelot-icpu-intr.yaml

[PATCH v4 5/6] irqchip: ocelot: Add support for Serval platforms

2020-11-20 Thread Gregory CLEMENT
This patch extends irqchip driver for ocelot to be used with an other vcoreiii base platform: Serval. Based on a larger patch from Lars Povlsen Acked-by: Alexandre Belloni Signed-off-by: Gregory CLEMENT --- drivers/irqchip/irq-mscc-ocelot.c | 19 +++ 1 file changed, 19

[PATCH v4 4/6] irqchip: ocelot: Add support for Luton platforms

2020-11-20 Thread Gregory CLEMENT
This patch extends irqchip driver for oceleot to be used with an other vcoreiii base platform: Luton. For this platform there is a few differences: - the interrupt must be enabled for the parent controller - there is no trigger register needed to be managed Signed-off-by: Gregory CLEMENT

[PATCH v4 6/6] irqchip: ocelot: Add support for Jaguar2 platforms

2020-11-20 Thread Gregory CLEMENT
This patch extends irqchip driver for ocelot to be used with an other vcoreiii base platform: Jaguar2. Based on a larger patch from Lars Povlsen Acked-by: Alexandre Belloni Signed-off-by: Gregory CLEMENT --- drivers/irqchip/irq-mscc-ocelot.c | 19 +++ 1 file changed, 19

[PATCH v4 1/6] dt-bindings: interrupt-controller: convert icpu intr bindings to json-schema

2020-11-20 Thread Gregory CLEMENT
Convert device tree bindings for Microsemi Ocelot SoC ICPU Interrupt Controller to YAML format Signed-off-by: Gregory CLEMENT --- .../mscc,ocelot-icpu-intr.txt | 21 --- .../mscc,ocelot-icpu-intr.yaml| 60 +++ 2 files changed, 60 insertions

[PATCH v4 0/6] Extend irqchip ocelot driver to support other SoCs

2020-11-20 Thread Gregory CLEMENT
orm and seemed in the end useless. - Add acked-by from Alexandre on the last 2 patches. v2 -> v3 - Fix new-line-at-end-of-file error in the yaml file v1 -> v2: - Convert the binding to yaml - Squashed the patches adding new binding in a single one Gregory CLEMENT (6): dt-bindings:

Re: [PATCH v2] clk: respect the clock dependencies in of_clk_init

2014-02-24 Thread Gregory CLEMENT
Hi Tomasz, On 23/02/2014 19:46, Tomasz Figa wrote: > Hi Gregory, > > On 10.02.2014 18:42, Gregory CLEMENT wrote: >> Until now the clock providers were initialized in the order found in >> the device tree. This led to have the dependencies between the clocks >> not

[PATCH v3] clk: respect the clock dependencies in of_clk_init

2014-02-24 Thread Gregory CLEMENT
BREZILLON Signed-off-by: Gregory CLEMENT Signed-off-by: Boris BREZILLON --- Mike, This patch depend on the patch "clk: return probe defer when DT clock not yet ready": http://article.gmane.org/gmane.linux.kernel/1643466 If for any reason you don't want to take it, then I w

Regression with wait_event_timeout in next-20140226

2014-02-26 Thread Gregory CLEMENT
ing" fixed this regression. I got this issue in the driver drivers/i2c/busses/i2c-mv64xxx.c. Thanks, Gregory -- Gregory Clement, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com -- To unsubscribe from this

Re: [PATCH] clk: mvebu: staticize of_cpu_clk_setup

2013-11-07 Thread Gregory CLEMENT
On 07/11/2013 09:59, Jisheng Zhang wrote: > This symbol is used only in this file. The patch fix the following > sparse warning: > warning: symbol 'of_cpu_clk_setup' was not declared. Should it be static? > > Signed-off-by: Jisheng Zhang Acked-by: Gregory CL

Re: [PATCH] arm: mvebu: fix some sparse warnings

2013-11-07 Thread Gregory CLEMENT
ol 'armada_xp_smp_prepare_cpus' was not declared. Should it be static? > arch/arm/mach-mvebu/hotplug.c:24:12: warning: > symbol 'armada_xp_cpu_die' was not declared. Should it be static? > > Signed-off-by: Jisheng Zhang There will be some conflicts with my CPU I

Re: [PATCH v5 1/3] arm: mvebu: add missing of_node_put() to fix reference leak

2013-11-07 Thread Gregory CLEMENT
On 07/11/2013 04:08, Jisheng Zhang wrote: > Add of_node_put to properly decrement the refcount when we are > done using a given node. > > Signed-off-by: Jisheng Zhang > Reviewed-by: Ezequiel Garcia Seems ok for me too Acked-by: Gregory CLEMENT Thanks, Gregory > --

Re: [PATCH v5 2/3] bus: mvebu: add missing of_node_put() to fix reference leak

2013-11-07 Thread Gregory CLEMENT
On 07/11/2013 04:08, Jisheng Zhang wrote: > Add of_node_put to properly decrement the refcount when we are > done using a given node. > > Signed-off-by: Jisheng Zhang > Reviewed-by: Ezequiel Garcia Acked-by: Gregory CLEMENT Thanks, Gregory > --- > drivers/bus/mvebu-m

Re: [PATCH v5 3/3] pinctrl: mvebu: Convert to use devm_ioremap_resource

2013-11-07 Thread Gregory CLEMENT
gt; Acked-by: Jason Cooper Acked-by: Gregory CLEMENT Thanks, Gregory > --- > drivers/pinctrl/mvebu/pinctrl-mvebu.c | 11 +-- > 1 file changed, 5 insertions(+), 6 deletions(-) > > diff --git a/drivers/pinctrl/mvebu/pinctrl-mvebu.c > b/drivers/pinctrl/mvebu/pinctrl-mve

[PATCH] ARM: mvebu: add Device Tree for the Armada 385 RD board

2014-03-06 Thread Gregory CLEMENT
: Gregory CLEMENT --- Hi, I have received this board only recently, so that why its device tree comes only now. This patch should not cause any trouble to other part of the kernel, so that's why I think it is reasonable to have it in 3.15. Thanks, Gregory arch/arm/boot/dts/Mak

Re: [PATCH] ARM: mvebu: add Device Tree for the Armada 385 RD board

2014-03-06 Thread Gregory CLEMENT
Hi Andrew, On 06/03/2014 14:14, Andrew Lunn wrote: > On Thu, Mar 06, 2014 at 01:11:08PM +0100, Gregory CLEMENT wrote: >> The Armada 385 RD board is the reference design board from Marvell >> for the Armada 385 SoC. This commit adds a Device Tree description for >> this boa

Re: [PATCH] ARM: mvebu: add Device Tree for the Armada 385 RD board

2014-03-06 Thread Gregory CLEMENT
th0: ethernet@7 { > } > eth1: ethernet@74000 { > } > > This at least works for i2c devices. The pdev->id is set using the > alias number. Well I think it doesn't work with ethernet devices because we already do this in aramda-38x.dtsi: aliases {

Re: [PATCH] ARM: mvebu: add Device Tree for the Armada 385 RD board

2014-03-06 Thread Gregory CLEMENT
eth2 = ð2; >> }; >> >> eth1: ethernet@3 { >> } >> eth2: ethernet@34000 { >> } >> eth0: ethernet@7 { >> } > > Ah, Erm, O.K. > > It seems to be an i2c thing. Take a look at i2c_add_adapter(). > >

[PATCH v2] ARM: mvebu: add Device Tree for the Armada 385 RD board

2014-03-06 Thread Gregory CLEMENT
: Gregory CLEMENT --- Changelog: v1 -> v2: - used the phy-mode "rgmii-id" to be able to work with the Marvell PHY driver enabled - put the ethernet nodes in the address order, as it has no effect to change ti at this level (should be done at dtsi level) - inverted the phy devic

Re: [PATCH] ARM: mvebu: add Device Tree for the Armada 385 RD board

2014-03-06 Thread Gregory CLEMENT
On 06/03/2014 15:51, Gregory CLEMENT wrote: > On 06/03/2014 15:46, Andrew Lunn wrote: >>>>>> I think you can use aliases to get the order correct, independent of >>>>>> how you list them in DT. That should be a lot safer than assuming >>&g

Re: [PATCH v3] clk: respect the clock dependencies in of_clk_init

2014-02-28 Thread Gregory CLEMENT
Hi Mike, On 24/02/2014 19:10, Gregory CLEMENT wrote: > Until now the clock providers were initialized in the order found in > the device tree. This led to have the dependencies between the clocks > not respected: children clocks could be initialized before their > parent clocks. >

[PATCH] usb: gadget: atmel_usba: Fix crashed during stopping when DEBUG is enabled

2014-02-28 Thread Gregory CLEMENT
The debug trace in the atmel_usba_stop function made the assumption that the driver pointer passed in parameter was not NULL. Since the commit "usb: gadget: udc-core: fix a regression during gadget driver unbinding", it was no more always true. This lead to a kernel crash. This commit now use the

Re: [PATCH] usb: gadget: atmel_usba: Fix crashed during stopping when DEBUG is enabled

2014-02-28 Thread Gregory CLEMENT
On 28/02/2014 16:50, Alexandre Belloni wrote: > Hi Gregory, > > On 28/02/2014 at 15:34:01 +0100, Gregory CLEMENT wrote : >> The debug trace in the atmel_usba_stop function made the assumption >> that the driver pointer passed in parameter was not NULL. Since the >> co

Re: [PATCH] usb: gadget: atmel_usba: Fix crashed during stopping when DEBUG is enabled

2014-03-03 Thread Gregory CLEMENT
On 03/03/2014 17:33, Felipe Balbi wrote: > On Fri, Feb 28, 2014 at 03:34:01PM +0100, Gregory CLEMENT wrote: >> The debug trace in the atmel_usba_stop function made the assumption >> that the driver pointer passed in parameter was not NULL. Since the >> commit "us

[PATCH v2] usb: gadget: atmel_usba: Fix crashed during stopping when DEBUG is enabled

2014-03-03 Thread Gregory CLEMENT
unbinding) Cc: sta...@vger.kernel.org # v3.2+ Signed-off-by: Gregory CLEMENT --- Changelog: v1 -> v2 Fixed the signature block in the commit log drivers/usb/gadget/atmel_usba_udc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/usb/gadget/atmel_usba_udc.c

Re: [patch 5/5] irqchip: armanda: Sanitize set_irq_affinity()

2014-03-18 Thread Gregory CLEMENT
Hi Thomas, On 07/03/2014 18:17, Thomas Gleixner wrote: > On Fri, 7 Mar 2014, Gregory CLEMENT wrote: > >> On 06/03/2014 20:05, Jason Cooper wrote: >>> Thomas, >>> >>> nit: s/armanda/armada/ in the patch subject. >>> >>> Gregory, >>

Re: [patch 5/5] irqchip: armanda: Sanitize set_irq_affinity()

2014-03-18 Thread Gregory CLEMENT
On 18/03/2014 21:55, Thomas Gleixner wrote: > On Tue, 18 Mar 2014, Gregory CLEMENT wrote: >> On 07/03/2014 18:17, Thomas Gleixner wrote: >>> It might be the readback of the routing register. I don't have the >>> datasheet of this. >> >> Sorry for the d

[PATCH 0/6] Marvell Armada 375 and 38x clocks drivers

2014-02-10 Thread Gregory CLEMENT
d for 3.15 if possible. Thanks, Gregory Gregory CLEMENT (4): clk: mvebu: add clock support for Armada 375 dt: Update binding information for mvebu core clocks with Armada 375 dt: Update binding information for mvebu gating clocks with Armada 375 clk: mvebu: add clock support for Armada 38

[PATCH 3/6] dt: Update binding information for mvebu gating clocks with Armada 375

2014-02-10 Thread Gregory CLEMENT
Add the binding information for the gating clocks of the Armada 375 SoCs Signed-off-by: Gregory CLEMENT Reviewed-by: Thomas Petazzoni --- .../bindings/clock/mvebu-gated-clock.txt | 31 +- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/Documentation

[PATCH 4/6] clk: mvebu: add clock support for Armada 380/385

2014-02-10 Thread Gregory CLEMENT
Add the clock support for the new SoCs Armada 380 and Armada 385: core clocks and gating clocks. Signed-off-by: Gregory CLEMENT Reviewed-by: Thomas Petazzoni --- drivers/clk/mvebu/Kconfig | 4 + drivers/clk/mvebu/Makefile | 1 + drivers/clk/mvebu/armada-38x.c | 167

[PATCH 5/6] dt: Update binding information for mvebu core clocks with Armada 380/385

2014-02-10 Thread Gregory CLEMENT
From: Thomas Petazzoni Add the binding information for the core clocks of the Armada 380 and Armada 385 SoCs Signed-off-by: Thomas Petazzoni Signed-off-by: Gregory CLEMENT --- Documentation/devicetree/bindings/clock/mvebu-core-clock.txt | 7 +++ 1 file changed, 7 insertions(+) diff

[PATCH 2/6] dt: Update binding information for mvebu core clocks with Armada 375

2014-02-10 Thread Gregory CLEMENT
Add the binding information for the core clocks of the Armada 375 SoCs Signed-off-by: Gregory CLEMENT Reviewed-by: Thomas Petazzoni --- Documentation/devicetree/bindings/clock/mvebu-core-clock.txt | 7 +++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings

[PATCH 6/6] dt: Update binding information for mvebu gating clocks with Armada 380/385

2014-02-10 Thread Gregory CLEMENT
From: Thomas Petazzoni Add the binding information for the gating clocks of the Armada 380 SoCs and the Armada 385 SoCs. Signed-off-by: Thomas Petazzoni Signed-off-by: Gregory CLEMENT --- .../bindings/clock/mvebu-gated-clock.txt | 36 +++--- 1 file changed, 32

[PATCH 1/6] clk: mvebu: add clock support for Armada 375

2014-02-10 Thread Gregory CLEMENT
Add the clock support for the new SoC Armada 375: core clocks and gating clocks. Signed-off-by: Gregory CLEMENT Reviewed-by: Thomas Petazzoni --- drivers/clk/mvebu/Kconfig | 4 + drivers/clk/mvebu/Makefile | 1 + drivers/clk/mvebu/armada-375.c | 184

[PATCH v2] clk: respect the clock dependencies in of_clk_init

2014-02-10 Thread Gregory CLEMENT
BREZILLON Signed-off-by: Gregory CLEMENT --- Since the v1, I have merged the strict dependency check from Boris. And of course tested on my Armada 370 and Armada XP based board drivers/clk/clk.c | 109 -- 1 file changed, 106 insertions(+), 3

Re: [PATCH 4/8] ARM: mvebu: make use of of_find_matching_node_and_match

2014-02-11 Thread Gregory CLEMENT
{ .compatible = "foo,bar-controller", }, [...] instead of static struct of_device_id of_system_controller_table[] = { { .compatible = "foo,bar", .data = (void *) &bar_controller, }, [...] This test is very paranoid,

Re: [PATCH v4 1/8] at91: dt: Adds support for the bus matrix declaration in the DT

2014-02-12 Thread Gregory CLEMENT
gt; + > void __init at91rm9200_dt_initialize(void) > { > at91_dt_ramc(); > @@ -506,6 +528,7 @@ void __init at91_dt_initialize(void) > at91_dt_rstc(); > at91_dt_ramc(); > at91_dt_shdwc(); > + at91_dt_matrix(); > > /* Init clock subsystem */ >

Re: [PATCH v4 0/8] Device Tree support for the at91sam9261ek

2014-02-12 Thread Gregory CLEMENT
+ > arch/arm/boot/dts/at91sam9261ek.dts | 204 ++ > arch/arm/configs/at91_dt_defconfig | 2 + > arch/arm/mach-at91/Kconfig | 1 - > arch/arm/mach-at91/at91sam9261.c| 25 +- > arch/arm/mach-at91/setup.c | 23 ++ > drivers/pinctrl/pin

[PATCH 1/2] of: Allows to use the PCI translator without the PCI core

2014-02-19 Thread Gregory CLEMENT
d the SoC ID of a board without any PCI device and then without the PCI core support. Signed-off-by: Gregory CLEMENT --- drivers/of/Kconfig | 4 drivers/of/address.c | 8 +--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/drivers/of/Kconfig b/drivers/of/Kconfig

[PATCH 0/2] Translate of PCI address without PCI enabled

2014-02-19 Thread Gregory CLEMENT
oc_id available even without the PCI support. It should go to the mvebu tree. Thanks, Gregory CLEMENT (2): of: Allows to use the PCI translator without the PCI core ARM: mvebu: Allows to get the SoC ID even without PCI enabled arch/arm/mach-mvebu/Kconfig | 1 + drivers/of/Kconfig

[PATCH 2/2] ARM: mvebu: Allows to get the SoC ID even without PCI enabled

2014-02-19 Thread Gregory CLEMENT
mvebu platforms. Signed-off-by: Gregory CLEMENT --- arch/arm/mach-mvebu/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-mvebu/Kconfig b/arch/arm/mach-mvebu/Kconfig index 5e269d7263ce..df9e7d270810 100644 --- a/arch/arm/mach-mvebu/Kconfig +++ b/arch/arm/mach-mvebu/Kconfig @@

Re: [PATCH] arm: removed compiler warning

2014-02-21 Thread Gregory CLEMENT
de la Garza Acked-by: Gregory CLEMENT > --- > arch/arm/boot/compressed/atags_to_fdt.c |3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/arch/arm/boot/compressed/atags_to_fdt.c > b/arch/arm/boot/compressed/atags_to_fdt.c > index d1153c8..75b6

Re: [PATCH v6 10/11] cpuidle: mvebu: Add initial CPU idle support for Armada 370/XP SoC

2014-04-04 Thread Gregory CLEMENT
On 03/04/2014 10:16, Daniel Lezcano wrote: > On 03/28/2014 12:13 PM, Gregory CLEMENT wrote: >> Add the wfi, cpu idle and cpu deep idle power states support for the >> Armada XP SoCs. >> >> All the latencies and the power consumption values used at the >> "ar

Re: Kconfig ARM_ERRATA_753970?

2014-04-06 Thread Gregory CLEMENT
Hi Paul, On 06/04/2014 11:37, Paul Bolle wrote: > On Sat, 2014-04-05 at 20:04 +0100, Arnd Bergmann wrote: >> Gregory CLEMENT (1): >> ARM: mvebu: add initial support for the Armada 375 SOCs >> >> [...] >> >> Thomas Petazzoni (7): >> [...]

Re: [PATCH 2/8] usb: host: xhci-plat: Add support for the Armada 38x glue code

2014-04-23 Thread Gregory CLEMENT
Hi Felipe, On 20/04/2014 05:20, Felipe Balbi wrote: > On Fri, Apr 18, 2014 at 12:22:37PM +0200, Gregory CLEMENT wrote: >> For the armada 38x SoCs which come with an xhci controller, specific >> initialization must be done during probe, especially in relation with >

Re: [patch 5/5] irqchip: armanda: Sanitize set_irq_affinity()

2014-04-24 Thread Gregory CLEMENT
Hi Thomas, On 18/03/2014 22:04, Gregory CLEMENT wrote: > On 18/03/2014 21:55, Thomas Gleixner wrote: >> On Tue, 18 Mar 2014, Gregory CLEMENT wrote: >>> On 07/03/2014 18:17, Thomas Gleixner wrote: >>>> It might be the readback of the routing register. I don

Re: [linux-sunxi] Re: [PATCH 3/6] ARM: dts: sunxi: Add Allwinner A80 dtsi

2014-09-24 Thread Gregory CLEMENT
can handle 8GB. But the DT won't take 64bit values. > I'm not sure how to get it in. I'll look around for examples. You can have a look on what we did for Armada XP: arch/arm/boot/dts/armada-370-xp.dtsi arch/arm/boot/dts/armada-xp.dtsi arch/arm/boot/dts/armada-xp-gp.dts I c

Re: [linux-sunxi] Re: [PATCH 3/6] ARM: dts: sunxi: Add Allwinner A80 dtsi

2014-09-24 Thread Gregory CLEMENT
view it seems sensible but I am not an DT expert. Grégory -- Gregory Clement, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com -- To unsubscribe from this list: send the line "unsubscribe l

<    1   2   3   4   5   6   7   8   9   10   >