Re: [PATCH 05/14] clocksource/drivers/timer-milbeaut: Add Milbeaut M10V timer

2018-11-21 Thread Sugaya, Taichi
Hi Daniel Thank you for your comments. On 2018/11/21 19:08, Daniel Lezcano wrote: Hi Sugaya, On 19/11/2018 02:01, Sugaya Taichi wrote: Add Milbeaut M10V timer using 32bit timer in peripheral. Give a better description of the timer as it is new timer introduced. I got it. Add more

Re: [PATCH 02/14] dt-bindings: soc: milbeaut: Add Milbeaut trampoline description

2018-11-29 Thread Sugaya, Taichi
Hi, Thank you for your comments. On 2018/11/28 11:01, Stephen Boyd wrote: Quoting Sugaya Taichi (2018-11-18 17:01:07) Add DT bindings document for Milbeaut trampoline. Signed-off-by: Sugaya Taichi --- .../devicetree/bindings/soc/socionext/socionext,m10v.txt | 12 1 file

[PATCH 00/14] Add basic support for Socionext Milbeaut M10V SoCs

2018-11-18 Thread Sugaya Taichi
t is quite minimal for now, since it only includes timer, clock, pictrl and serial controller drivers, so we can only boot to userspace through initramfs. Support for the other peripherals will come eventually. Sugaya Taichi (14): ARM: milbeaut: Add basic support for Milbeaut m10v SoC dt-bin

[PATCH 01/14] ARM: milbeaut: Add basic support for Milbeaut m10v SoC

2018-11-18 Thread Sugaya Taichi
This adds the basic M10V SoC support under arch/arm. Since all cores are activated in the custom bootloader before booting linux, it is necessary to wait for sub-cores using the trampoline area. Signed-off-by: Sugaya Taichi --- arch/arm/Kconfig | 2 + arch/arm/Makefile

[PATCH 02/14] dt-bindings: soc: milbeaut: Add Milbeaut trampoline description

2018-11-18 Thread Sugaya Taichi
Add DT bindings document for Milbeaut trampoline. Signed-off-by: Sugaya Taichi --- .../devicetree/bindings/soc/socionext/socionext,m10v.txt | 12 1 file changed, 12 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/socionext/socionext,m10v.txt diff --git

[PATCH 05/14] clocksource/drivers/timer-milbeaut: Add Milbeaut M10V timer

2018-11-18 Thread Sugaya Taichi
Add Milbeaut M10V timer using 32bit timer in peripheral. Signed-off-by: Sugaya Taichi --- drivers/clocksource/Kconfig | 8 +++ drivers/clocksource/Makefile | 1 + drivers/clocksource/timer-m10v.c | 146 +++ 3 files changed, 155 insertions

[PATCH 07/14] clock: milbeaut: Add Milbeaut M10V clock control

2018-11-18 Thread Sugaya Taichi
Add Milbeaut M10V clock ( including PLL ) control. Signed-off-by: Sugaya Taichi --- drivers/clk/Makefile | 1 + drivers/clk/clk-m10v.c | 671 + 2 files changed, 672 insertions(+) create mode 100644 drivers/clk/clk-m10v.c diff --git a/drivers

[PATCH 10/14] dt-bindings: pinctrl: milbeaut: Add Milbeaut M10V pinctrl description

2018-11-18 Thread Sugaya Taichi
Add DT bindings document for Milbeaut M10V pinctrl. Signed-off-by: Sugaya Taichi --- .../pinctrl/socionext,milbeaut-pinctrl.txt | 33 ++ 1 file changed, 33 insertions(+) create mode 100644 Documentation/devicetree/bindings/pinctrl/socionext,milbeaut-pinctrl.txt

[PATCH 13/14] ARM: configs: Add Milbeaut M10V defconfig

2018-11-18 Thread Sugaya Taichi
This patch adds the minimal defconfig for the Milbeaut M10V. Signed-off-by: Sugaya Taichi --- arch/arm/configs/milbeaut_m10v_defconfig | 364 +++ 1 file changed, 364 insertions(+) create mode 100644 arch/arm/configs/milbeaut_m10v_defconfig diff --git a/arch/arm

[PATCH 08/14] dt-bindings: serial: Add Milbeaut M10V serial description

2018-11-18 Thread Sugaya Taichi
Add DT bindings document for Milbeaut M10V serial. Signed-off-by: Sugaya Taichi --- .../devicetree/bindings/serial/milbeaut-uart.txt | 23 ++ 1 file changed, 23 insertions(+) create mode 100644 Documentation/devicetree/bindings/serial/milbeaut-uart.txt diff --git a

[PATCH 06/14] dt-bindings: clock: milbeaut: add Milbeaut clock description

2018-11-18 Thread Sugaya Taichi
Add DT bindings document for Milbeaut clock. Signed-off-by: Sugaya Taichi --- .../devicetree/bindings/clock/milbeaut-clock.txt | 93 ++ 1 file changed, 93 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/milbeaut-clock.txt diff --git a

[PATCH 12/14] ARM: dts: milbeaut: Add device tree set for the Milbeaut M10V board

2018-11-18 Thread Sugaya Taichi
Add devicetree for Milbeaut M10V SoC and M10V Evaluation board. Signed-off-by: Sugaya Taichi --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/milbeaut-m10v-evb.dts | 35 +++ arch/arm/boot/dts/milbeaut-m10v-evb.dtsi | 17 ++ arch/arm/boot/dts/milbeaut-m10v.dtsi

[PATCH 09/14] serial: Add Milbeaut M10V serial control

2018-11-18 Thread Sugaya Taichi
Add Milbeaut M10V serial control. Signed-off-by: Sugaya Taichi --- drivers/tty/serial/Kconfig | 24 ++ drivers/tty/serial/Makefile | 1 + drivers/tty/serial/m10v_usio.c | 605 +++ include/uapi/linux/serial_core.h | 3 + 4 files changed, 633

[PATCH 11/14] pinctrl: milbeaut: Add Milbeaut M10V pinctrl

2018-11-18 Thread Sugaya Taichi
Add Milbeaut M10V pinctrl. The M10V has the pins that can be used GPIOs or take multiple other functions. Signed-off-by: Sugaya Taichi --- drivers/pinctrl/Kconfig| 9 + drivers/pinctrl/Makefile | 1 + drivers/pinctrl/pinctrl-m10v.c | 765

[PATCH 14/14] MAINTAINERS: Add entry to MAINTAINERS for Milbeaut

2018-11-18 Thread Sugaya Taichi
Add entry to MAINTAINERS for Milbeaut that supported minimal drivers. Signed-off-by: Sugaya Taichi --- MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 0abecc5..31dd29f 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1782,6 +1782,15 @@ F

[PATCH 04/14] dt-bindings: timer: Add Milbeaut M10V timer description

2018-11-18 Thread Sugaya Taichi
Add DT bindings document for Milbeaut M10V timer. Signed-off-by: Sugaya Taichi --- .../bindings/timer/socionext,milbeaut-timer.txt | 17 + 1 file changed, 17 insertions(+) create mode 100644 Documentation/devicetree/bindings/timer/socionext,milbeaut-timer.txt diff

[PATCH 03/14] ARM: milbeaut: Add Milbeaut M10V early printk

2018-11-18 Thread Sugaya Taichi
Add Milbeaut M10V earlyprintk. Signed-off-by: Sugaya Taichi --- arch/arm/Kconfig.debug| 12 ++-- arch/arm/include/debug/milbeaut.S | 25 + 2 files changed, 35 insertions(+), 2 deletions(-) create mode 100644 arch/arm/include/debug/milbeaut.S diff

Re: [PATCH 11/14] pinctrl: milbeaut: Add Milbeaut M10V pinctrl

2018-12-04 Thread Sugaya, Taichi
Hi Thank you for your comments. On 2018/12/04 20:23, Masahiro Yamada wrote: Hi Sugaya-san On Mon, Nov 19, 2018 at 10:01 AM Sugaya Taichi wrote: Add Milbeaut M10V pinctrl. The M10V has the pins that can be used GPIOs or take multiple other functions. Signed-off-by: Sugaya Taichi This

Re: [PATCH 02/14] dt-bindings: soc: milbeaut: Add Milbeaut trampoline description

2018-12-05 Thread Sugaya, Taichi
Hi, On 2018/12/04 22:32, Rob Herring wrote: On Tue, Dec 4, 2018 at 5:30 AM Sugaya, Taichi wrote: Hi On 2018/12/04 0:49, Rob Herring wrote: On Mon, Dec 3, 2018 at 1:42 AM Sugaya, Taichi wrote: Hi, On 2018/11/30 17:16, Stephen Boyd wrote: Quoting Sugaya, Taichi (2018-11-29 04:24:51) On

Re: [PATCH 07/14] clock: milbeaut: Add Milbeaut M10V clock control

2018-12-05 Thread Sugaya, Taichi
Hi On 2018/12/05 3:15, Stephen Boyd wrote: Quoting Sugaya, Taichi (2018-12-04 00:26:16) On 2018/11/30 17:31, Stephen Boyd wrote: Quoting Sugaya Taichi (2018-11-18 17:01:12) +void __init m10v_clk_mux_setup(struct device_node *node) +{ + const char *clk_name = node->name; + str

Re: [PATCH 04/14] dt-bindings: timer: Add Milbeaut M10V timer description

2018-12-05 Thread Sugaya, Taichi
Hi, Thank you for your comments. On 2018/12/05 8:03, Rob Herring wrote: On Mon, Nov 19, 2018 at 10:01:09AM +0900, Sugaya Taichi wrote: Add DT bindings document for Milbeaut M10V timer. Signed-off-by: Sugaya Taichi --- .../bindings/timer/socionext,milbeaut-timer.txt | 17

Re: [PATCH 10/14] dt-bindings: pinctrl: milbeaut: Add Milbeaut M10V pinctrl description

2018-12-06 Thread Sugaya, Taichi
Hi, Thank you for your comments. On 2018/12/05 8:11, Rob Herring wrote: On Mon, Nov 19, 2018 at 10:02:12AM +0900, Sugaya Taichi wrote: Add DT bindings document for Milbeaut M10V pinctrl. Signed-off-by: Sugaya Taichi --- .../pinctrl/socionext,milbeaut-pinctrl.txt | 33

Re: [PATCH 02/14] dt-bindings: soc: milbeaut: Add Milbeaut trampoline description

2018-12-02 Thread Sugaya, Taichi
Hi, On 2018/11/30 17:16, Stephen Boyd wrote: Quoting Sugaya, Taichi (2018-11-29 04:24:51) On 2018/11/28 11:01, Stephen Boyd wrote: Quoting Sugaya Taichi (2018-11-18 17:01:07) create mode 100644 Documentation/devicetree/bindings/soc/socionext/socionext,m10v.txt diff --git a/Documentation

Re: [PATCH 06/14] dt-bindings: clock: milbeaut: add Milbeaut clock description

2018-12-03 Thread Sugaya, Taichi
Hi, Thank you for your comments. On 2018/11/30 17:19, Stephen Boyd wrote: Quoting Sugaya Taichi (2018-11-18 17:01:11) Add DT bindings document for Milbeaut clock. Signed-off-by: Sugaya Taichi --- .../devicetree/bindings/clock/milbeaut-clock.txt | 93 ++ 1 file

Re: [PATCH 07/14] clock: milbeaut: Add Milbeaut M10V clock control

2018-12-04 Thread Sugaya, Taichi
Hi, Thank you for your comments. On 2018/11/30 17:31, Stephen Boyd wrote: Quoting Sugaya Taichi (2018-11-18 17:01:12) Add Milbeaut M10V clock ( including PLL ) control. Please give some more details here. OK, add more description. Signed-off-by: Sugaya Taichi --- drivers/clk

Re: [PATCH 02/14] dt-bindings: soc: milbeaut: Add Milbeaut trampoline description

2018-12-04 Thread Sugaya, Taichi
Hi On 2018/12/04 0:49, Rob Herring wrote: On Mon, Dec 3, 2018 at 1:42 AM Sugaya, Taichi wrote: Hi, On 2018/11/30 17:16, Stephen Boyd wrote: Quoting Sugaya, Taichi (2018-11-29 04:24:51) On 2018/11/28 11:01, Stephen Boyd wrote: Quoting Sugaya Taichi (2018-11-18 17:01:07) create mode

Re: [PATCH 07/14] clock: milbeaut: Add Milbeaut M10V clock control

2018-12-25 Thread Sugaya, Taichi
k_mux_setup); Any chance you can use a platform driver? Excuse me to re-ask you. Why do you recommend to use a platform driver? Is that current fad? Thanks Sugaya Taichi

Re: [PATCH 07/14] clock: milbeaut: Add Milbeaut M10V clock control

2018-12-27 Thread Sugaya, Taichi
Hi On 2018/12/28 9:39, Stephen Boyd wrote: Quoting Sugaya, Taichi (2018-12-25 17:35:27) Hi On 2018/11/30 17:31, Stephen Boyd wrote: + init.num_parents = parents; + init.parent_names = parent_names; + + mcm->cname = clk_name; + mcm->parent = 0; + mcm-&g

Re: [PATCH v4 03/10] dt-bindings: Add documentation for Milbeaut SoCs

2019-02-27 Thread Sugaya, Taichi
Hi, On 2019/02/27 23:47, Rob Herring wrote: On Tue, Feb 26, 2019 at 10:51 PM Sugaya Taichi wrote: This adds a DT binding documentation for the M10V and its evaluation board. Signed-off-by: Sugaya Taichi --- .../bindings/arm/socionext/milbeaut.yaml | 22

Re: [PATCH v4 07/10] dt-bindings: serial: Add Milbeaut serial driver description

2019-02-27 Thread Sugaya, Taichi
Hi, On 2019/02/28 0:04, Greg Kroah-Hartman wrote: On Wed, Feb 27, 2019 at 01:53:30PM +0900, Sugaya Taichi wrote: Add DT bindings document for Milbeaut serial driver. Signed-off-by: Sugaya Taichi Reviewed-by: Rob Herring --- .../devicetree/bindings/serial/milbeaut-uart.txt| 21

[PATCH v3] serial: Add Milbeaut serial control

2019-04-17 Thread Sugaya Taichi
Add Milbeaut serial control including earlycon and console. Signed-off-by: Sugaya Taichi --- Changes from v2: - Fix build warning. Changes from v1: - Add "COMPILE_TEST" dependency for coverage test. drivers/tty/serial/Kconfig | 26 ++ drivers/tty/serial/Makefile

Re: [PATCH v3] serial: Add Milbeaut serial control

2019-04-17 Thread Sugaya, Taichi
Hi, On 2019/04/18 14:17, Greg Kroah-Hartman wrote: On Thu, Apr 18, 2019 at 11:51:56AM +0900, Sugaya Taichi wrote: Add Milbeaut serial control including earlycon and console. Signed-off-by: Sugaya Taichi --- Changes from v2: - Fix build warning. No, I only need an incremental patch fixing

[PATCH] serial: Fix using plain integer instead of Null pointer

2019-04-17 Thread Sugaya Taichi
Fix build warning that using plain integer as Null pointer. This is reported by kbuild test robot. Fixes: ba44dc043004 ("serial: Add Milbeaut serial control") Signed-off-by: Sugaya Taichi --- drivers/tty/serial/milbeaut_usio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) di

Re: [PATCH] serial: Fix using plain integer instead of Null pointer

2019-04-18 Thread Sugaya, Taichi
Hi, On 2019/04/18 15:40, Greg Kroah-Hartman wrote: On Thu, Apr 18, 2019 at 03:21:25PM +0900, Sugaya Taichi wrote: Fix build warning that using plain integer as Null pointer. This is reported by kbuild test robot. Fixes: ba44dc043004 ("serial: Add Milbeaut serial control") Sig

[PATCH] serial: Add Milbeaut serial control

2019-03-26 Thread Sugaya Taichi
Add Milbeaut serial control including earlycon and console. Signed-off-by: Sugaya Taichi --- drivers/tty/serial/Kconfig | 26 ++ drivers/tty/serial/Makefile| 1 + drivers/tty/serial/milbeaut_usio.c | 621 + include/uapi/linux/serial_core.h

Re: [PATCH] serial: Add Milbeaut serial control

2019-03-27 Thread Sugaya, Taichi
Hi Thank you for your comments. On 2019/03/26 18:57, Arnd Bergmann wrote: On Tue, Mar 26, 2019 at 10:13 AM Sugaya Taichi wrote: diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig index 72966bc..961519b 100644 --- a/drivers/tty/serial/Kconfig +++ b/drivers/tty/serial

Re: [PATCH] dt-bindings: cpu: Fix JSON schema

2019-04-02 Thread Sugaya, Taichi
Hi, On 2019/04/01 22:02, Sugaya, Taichi wrote: Hi, On 2019/04/01 20:35, Maxime Ripard wrote: Hi, On Mon, Apr 01, 2019 at 07:52:06PM +0900, Sugaya, Taichi wrote: On 2019/04/01 18:10, Maxime Ripard wrote: Hi Sugaya, Arnd, Olof, On Thu, Mar 28, 2019 at 02:35:54PM -0500, Rob Herring wrote

Re: [PATCH] dt-bindings: cpu: Fix JSON schema

2019-04-02 Thread Sugaya, Taichi
On 2019/04/02 20:42, Sugaya, Taichi wrote: Hi, On 2019/04/01 22:02, Sugaya, Taichi wrote: Hi, On 2019/04/01 20:35, Maxime Ripard wrote: Hi, On Mon, Apr 01, 2019 at 07:52:06PM +0900, Sugaya, Taichi wrote: On 2019/04/01 18:10, Maxime Ripard wrote: Hi Sugaya, Arnd, Olof, On Thu, Mar 28

Re: [PATCH 0/3] Bugfix and cleanup the timer driver for Milbeaut M10V

2019-04-11 Thread Sugaya, Taichi
This is ping.. Does anyone have any comments? On 2019/03/25 12:05, Sugaya Taichi wrote: This series fixes a bug and cleanup code about timer driver for Milbeaut M10V. Since it is difficult to separate, it is integrated into a series. Sugaya Taichi (3): clocksource/drivers/timer-milbeaut

[PATCH v4 00/10] Add basic support for Socionext Milbeaut M10V SoC

2019-02-26 Thread Sugaya Taichi
r. * Add sched_clock to timer driver. * Refine whole of clk driver. * Add earlycon instead of earlyprintk. * Refine Device Tree. Sugaya Taichi (10): dt-bindings: sram: milbeaut: Add binding for Milbeaut smp-sram dt-bindings: arm: Add SMP enable-method for Milbeaut dt-bindings: Add docume

[PATCH v4 05/10] dt-bindings: timer: Add Milbeaut M10V timer description

2019-02-26 Thread Sugaya Taichi
Add DT bindings document for Milbeaut M10V timer. Signed-off-by: Sugaya Taichi Reviewed-by: Rob Herring --- .../bindings/timer/socionext,milbeaut-timer.txt | 17 + 1 file changed, 17 insertions(+) create mode 100644 Documentation/devicetree/bindings/timer/socionext

[PATCH v4 01/10] dt-bindings: sram: milbeaut: Add binding for Milbeaut smp-sram

2019-02-26 Thread Sugaya Taichi
The Milbeaut M10V SoC needs a part of sram for smp, so this adds the M10V sram compatible and binding. Signed-off-by: Sugaya Taichi Reviewed-by: Rob Herring --- .../devicetree/bindings/sram/milbeaut-smp-sram.txt | 24 ++ 1 file changed, 24 insertions(+) create mode 100644

[PATCH v4 04/10] ARM: milbeaut: Add basic support for Milbeaut m10v SoC

2019-02-26 Thread Sugaya Taichi
This adds the basic M10V SoC support under arch/arm. Since all cores are activated in the custom bootloader before booting linux, it is necessary to wait for the secondary-cores using cpu-enable- method and special sram. Signed-off-by: Sugaya Taichi --- arch/arm/Kconfig | 2

[PATCH v4 02/10] dt-bindings: arm: Add SMP enable-method for Milbeaut

2019-02-26 Thread Sugaya Taichi
This adds a compatible string "socionext,milbeaut-m10v-smp" for Milbeaut M10V to the 32 bit ARM CPU device tree binding. Signed-off-by: Sugaya Taichi Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/arm/cpus.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Doc

[PATCH v4 03/10] dt-bindings: Add documentation for Milbeaut SoCs

2019-02-26 Thread Sugaya Taichi
This adds a DT binding documentation for the M10V and its evaluation board. Signed-off-by: Sugaya Taichi --- .../bindings/arm/socionext/milbeaut.yaml | 22 ++ 1 file changed, 22 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/socionext

[PATCH v4 09/10] ARM: configs: Add Milbeaut M10V defconfig

2019-02-26 Thread Sugaya Taichi
This patch adds the minimal defconfig for the Milbeaut M10V. Signed-off-by: Sugaya Taichi --- arch/arm/configs/milbeaut_m10v_defconfig | 119 +++ 1 file changed, 119 insertions(+) create mode 100644 arch/arm/configs/milbeaut_m10v_defconfig diff --git a/arch/arm

[PATCH v4 08/10] ARM: dts: milbeaut: Add device tree set for the Milbeaut M10V board

2019-02-26 Thread Sugaya Taichi
Add devicetree for Milbeaut M10V SoC and M10V Evaluation board. Signed-off-by: Sugaya Taichi --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/milbeaut-m10v-evb.dts | 32 +++ arch/arm/boot/dts/milbeaut-m10v.dtsi| 95 + 3 files

[PATCH v4 07/10] dt-bindings: serial: Add Milbeaut serial driver description

2019-02-26 Thread Sugaya Taichi
Add DT bindings document for Milbeaut serial driver. Signed-off-by: Sugaya Taichi Reviewed-by: Rob Herring --- .../devicetree/bindings/serial/milbeaut-uart.txt| 21 + 1 file changed, 21 insertions(+) create mode 100644 Documentation/devicetree/bindings/serial/milbeaut

[PATCH v4 06/10] clocksource/drivers/timer-milbeaut: Introduce timer for Milbeaut SoCs

2019-02-26 Thread Sugaya Taichi
Add timer driver for Milbeaut SoCs series. The timer has two 32-bit width down counters, one of which is configured as a clockevent device and the other is configured as a clock source. Signed-off-by: Sugaya Taichi Acked-by: Daniel Lezcano --- drivers/clocksource/Kconfig | 9

[PATCH v4 10/10] ARM: multi_v7_defconfig: add ARCH_MILBEAUT and ARCH_MILBEAUT_M10V

2019-02-26 Thread Sugaya Taichi
Add and enable the Milbeaut M10V architecture. These configs select those of the clock, timer and serial driver for M10V. Signed-off-by: Sugaya Taichi --- arch/arm/configs/multi_v7_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm

Re: [PATCH v2 06/15] clocksource/drivers/timer-milbeaut: Introduce timer for Milbeaut SoCs

2019-02-14 Thread Sugaya, Taichi
Hi, On 2019/02/15 0:18, Arnd Bergmann wrote: On Thu, Feb 14, 2019 at 3:44 PM Daniel Lezcano wrote: On 13/02/2019 11:34, Sugaya, Taichi wrote: Hi, On 2019/02/12 18:06, Daniel Lezcano wrote: On 08/02/2019 13:26, Sugaya Taichi wrote: Add timer driver for Milbeaut SoCs series. The timer

Re: [PATCH v2 06/15] clocksource/drivers/timer-milbeaut: Introduce timer for Milbeaut SoCs

2019-02-14 Thread Sugaya, Taichi
Hi, Daniel On 2019/02/15 0:22, Daniel Lezcano wrote: On 08/02/2019 13:26, Sugaya Taichi wrote: Add timer driver for Milbeaut SoCs series. The timer has two 32-bit width down counters, one of which is configured as a clockevent device and the other is configured as a clock source. Signed-off

Re: [PATCH v2 03/15] dt-bindings: Add documentation for Milbeaut SoCs

2019-02-19 Thread Sugaya, Taichi
Hi, On 2019/02/19 10:25, Masahiro Yamada wrote: On Fri, Feb 8, 2019 at 9:26 PM Sugaya Taichi wrote: This adds a DT binding documentation for the M10V and its evaluation board. Signed-off-by: Sugaya Taichi --- Documentation/devicetree/bindings/arm/milbeaut.txt | 6 ++ 1 file changed

Re: [PATCH v2 04/15] ARM: milbeaut: Add basic support for Milbeaut m10v SoC

2019-02-19 Thread Sugaya, Taichi
Hi, On 2019/02/19 18:21, Arnd Bergmann wrote: On Tue, Feb 19, 2019 at 8:12 AM Sugaya, Taichi wrote: On 2019/02/18 21:15, Arnd Bergmann wrote: On Fri, Feb 8, 2019 at 1:26 PM Sugaya Taichi wrote: +static int __init m10v_pm_init(void) +{ + suspend_set_ops(&m10v_pm

Re: [PATCH v2 13/15] ARM: dts: milbeaut: Add device tree set for the Milbeaut M10V board

2019-02-19 Thread Sugaya, Taichi
Hi, On 2019/02/19 19:11, Arnd Bergmann wrote: On Tue, Feb 19, 2019 at 6:11 AM Sugaya, Taichi wrote: Hi, Thank you for you comments. On 2019/02/18 21:09, Arnd Bergmann wrote: On Fri, Feb 8, 2019 at 1:28 PM Sugaya Taichi wrote: + + aliases { + serial1 = &u

[PATCH v3 0/9] Add basic support for Socionext Milbeaut M10V SoC

2019-02-19 Thread Sugaya Taichi
igs. * Add documentation for Milbeaut SoCs. * Add more infomation for timer driver. * Add sched_clock to timer driver. * Refine whole of clk driver. * Add earlycon instead of earlyprintk. * Refine Device Tree. Sugaya Taichi (9): dt-bindings: sram: milbeaut: Add binding for Milbeaut smp-sram dt-bindings: ar

[PATCH v3 2/9] dt-bindings: arm: Add SMP enable-method for Milbeaut

2019-02-19 Thread Sugaya Taichi
This adds a compatible string "socionext,milbeaut-m10v-smp" for Milbeaut M10V to the 32 bit ARM CPU device tree binding. Signed-off-by: Sugaya Taichi Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/arm/cpus.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Doc

[PATCH v3 3/9] dt-bindings: Add documentation for Milbeaut SoCs

2019-02-19 Thread Sugaya Taichi
This adds a DT binding documentation for the M10V and its evaluation board. Signed-off-by: Sugaya Taichi --- .../bindings/arm/socionext/milbeaut.yaml | 22 ++ 1 file changed, 22 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/socionext

[PATCH v3 1/9] dt-bindings: sram: milbeaut: Add binding for Milbeaut smp-sram

2019-02-19 Thread Sugaya Taichi
The Milbeaut M10V SoC needs a part of sram for smp, so this adds the M10V sram compatible and binding. Signed-off-by: Sugaya Taichi Reviewed-by: Rob Herring --- .../devicetree/bindings/sram/milbeaut-smp-sram.txt | 24 ++ 1 file changed, 24 insertions(+) create mode 100644

[PATCH v3 4/9] ARM: milbeaut: Add basic support for Milbeaut m10v SoC

2019-02-19 Thread Sugaya Taichi
This adds the basic M10V SoC support under arch/arm. Since all cores are activated in the custom bootloader before booting linux, it is necessary to wait for the secondary-cores using cpu-enable- method and special sram. Signed-off-by: Sugaya Taichi --- arch/arm/Kconfig | 2

[PATCH v3 5/9] dt-bindings: timer: Add Milbeaut M10V timer description

2019-02-19 Thread Sugaya Taichi
Add DT bindings document for Milbeaut M10V timer. Signed-off-by: Sugaya Taichi Reviewed-by: Rob Herring --- .../bindings/timer/socionext,milbeaut-timer.txt | 17 + 1 file changed, 17 insertions(+) create mode 100644 Documentation/devicetree/bindings/timer/socionext

[PATCH v3 6/9] clocksource/drivers/timer-milbeaut: Introduce timer for Milbeaut SoCs

2019-02-19 Thread Sugaya Taichi
Add timer driver for Milbeaut SoCs series. The timer has two 32-bit width down counters, one of which is configured as a clockevent device and the other is configured as a clock source. Signed-off-by: Sugaya Taichi Acked-by: Daniel Lezcano --- drivers/clocksource/Kconfig | 9

[PATCH v3 7/9] dt-bindings: serial: Add Milbeaut serial driver description

2019-02-19 Thread Sugaya Taichi
Add DT bindings document for Milbeaut serial driver. Signed-off-by: Sugaya Taichi --- .../devicetree/bindings/serial/milbeaut-uart.txt| 21 + 1 file changed, 21 insertions(+) create mode 100644 Documentation/devicetree/bindings/serial/milbeaut-uart.txt diff --git a

[PATCH v3 9/9] ARM: configs: Add Milbeaut M10V defconfig

2019-02-19 Thread Sugaya Taichi
This patch adds the minimal defconfig for the Milbeaut M10V. Signed-off-by: Sugaya Taichi --- arch/arm/configs/milbeaut_m10v_defconfig | 175 +++ arch/arm/configs/multi_v7_defconfig | 2 + 2 files changed, 177 insertions(+) create mode 100644 arch/arm/configs

[PATCH v3 8/9] ARM: dts: milbeaut: Add device tree set for the Milbeaut M10V board

2019-02-19 Thread Sugaya Taichi
Add devicetree for Milbeaut M10V SoC and M10V Evaluation board. Signed-off-by: Sugaya Taichi --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/milbeaut-m10v-evb.dts | 32 +++ arch/arm/boot/dts/milbeaut-m10v.dtsi| 95 + 3 files

Re: [PATCH v3 9/9] ARM: configs: Add Milbeaut M10V defconfig

2019-02-20 Thread Sugaya, Taichi
Hi On 2019/02/20 18:28, Arnd Bergmann wrote: On Wed, Feb 20, 2019 at 8:44 AM Sugaya Taichi wrote: diff --git a/arch/arm/configs/milbeaut_m10v_defconfig b/arch/arm/configs/milbeaut_m10v_defconfig new file mode 100644 index 000..a263211 --- /dev/null +++ b/arch/arm/configs

Re: [PATCH v3 9/9] ARM: configs: Add Milbeaut M10V defconfig

2019-02-20 Thread Sugaya, Taichi
Hi, On 2019/02/20 22:23, Masami Hiramatsu wrote: Hi Arnd, 2019年2月20日(水) 22:18 Arnd Bergmann : On Wed, Feb 20, 2019 at 2:16 PM Masami Hiramatsu wrote: 2019年2月20日(水) 21:28 Arnd Bergmann : On Wed, Feb 20, 2019 at 12:27 PM Sugaya, Taichi wrote: On 2019/02/20 18:28, Arnd Bergmann wrote: On

Re: [PATCH v3 3/9] dt-bindings: Add documentation for Milbeaut SoCs

2019-02-20 Thread Sugaya, Taichi
Hi, On 2019/02/20 22:33, Rob Herring wrote: On Wed, Feb 20, 2019 at 1:43 AM Sugaya Taichi wrote: This adds a DT binding documentation for the M10V and its evaluation board. Signed-off-by: Sugaya Taichi --- .../bindings/arm/socionext/milbeaut.yaml | 22 ++ 1

[PATCH v2 01/15] dt-bindings: sram: milbeaut: Add binding for Milbeaut smp-sram

2019-02-08 Thread Sugaya Taichi
The Milbeaut M10V SoC needs a part of sram for smp, so this adds the M10V sram compatible and binding. Signed-off-by: Sugaya Taichi --- .../devicetree/bindings/sram/milbeaut-smp-sram.txt | 24 ++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/devicetree

[PATCH v2 02/15] dt-bindings: arm: Add SMP enable-method for Milbeaut

2019-02-08 Thread Sugaya Taichi
This adds a compatible string "socionext,milbeaut-m10v-smp" for Milbeaut M10V to the 32 bit ARM CPU device tree binding. Signed-off-by: Sugaya Taichi --- Documentation/devicetree/bindings/arm/cpus.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bi

[PATCH v2 00/15] Add basic support for Socionext Milbeaut M10V SoC

2019-02-08 Thread Sugaya Taichi
method and bindigs. * Add documentation for Milbeaut SoCs. * Add more infomation for timer driver. * Add sched_clock to timer driver. * Refine whole of clk driver. * Add earlycon instead of earlyprintk. * Refine Device Tree. Sugaya Taichi (15): dt-bindings: sram: milbeaut: Add binding for Milbeau

[PATCH v2 05/15] dt-bindings: timer: Add Milbeaut M10V timer description

2019-02-08 Thread Sugaya Taichi
Add DT bindings document for Milbeaut M10V timer. Signed-off-by: Sugaya Taichi --- .../bindings/timer/socionext,milbeaut-timer.txt | 17 + 1 file changed, 17 insertions(+) create mode 100644 Documentation/devicetree/bindings/timer/socionext,milbeaut-timer.txt diff

[PATCH v2 06/15] clocksource/drivers/timer-milbeaut: Introduce timer for Milbeaut SoCs

2019-02-08 Thread Sugaya Taichi
Add timer driver for Milbeaut SoCs series. The timer has two 32-bit width down counters, one of which is configured as a clockevent device and the other is configured as a clock source. Signed-off-by: Sugaya Taichi --- drivers/clocksource/Kconfig | 9 ++ drivers/clocksource/Makefile

[PATCH v2 07/15] ndings: clock: milbeaut: add Milbeaut clock description

2019-02-08 Thread Sugaya Taichi
Add DT bindings document for Milbeaut clock. Signed-off-by: Sugaya Taichi --- .../devicetree/bindings/clock/milbeaut-clock.txt | 49 ++ 1 file changed, 49 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/milbeaut-clock.txt diff --git a

[PATCH v2 03/15] dt-bindings: Add documentation for Milbeaut SoCs

2019-02-08 Thread Sugaya Taichi
This adds a DT binding documentation for the M10V and its evaluation board. Signed-off-by: Sugaya Taichi --- Documentation/devicetree/bindings/arm/milbeaut.txt | 6 ++ 1 file changed, 6 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/milbeaut.txt diff --git a

[PATCH v2 04/15] ARM: milbeaut: Add basic support for Milbeaut m10v SoC

2019-02-08 Thread Sugaya Taichi
This adds the basic M10V SoC support under arch/arm. Since all cores are activated in the custom bootloader before booting linux, it is necessary to wait for the secondary-cores using cpu-enable- method and special sram. Signed-off-by: Sugaya Taichi --- arch/arm/Kconfig | 2

[PATCH v2 08/15] clock: milbeaut: Add Milbeaut M10V clock controller

2019-02-08 Thread Sugaya Taichi
are off state). Signed-off-by: Sugaya Taichi --- drivers/clk/Makefile | 1 + drivers/clk/clk-milbeaut.c | 626 + 2 files changed, 627 insertions(+) create mode 100644 drivers/clk/clk-milbeaut.c diff --git a/drivers/clk/Makefile b/drivers/clk

[PATCH v2 09/15] dt-bindings: serial: Add Milbeaut serial driver description

2019-02-08 Thread Sugaya Taichi
Add DT bindings document for Milbeaut serial driver. Signed-off-by: Sugaya Taichi --- .../devicetree/bindings/serial/milbeaut-uart.txt| 21 + 1 file changed, 21 insertions(+) create mode 100644 Documentation/devicetree/bindings/serial/milbeaut-uart.txt diff --git a

[PATCH v2 10/15] serial: Add Milbeaut serial control

2019-02-08 Thread Sugaya Taichi
Add Milbeaut serial control including earlycon and console. Signed-off-by: Sugaya Taichi --- drivers/tty/serial/Kconfig | 25 ++ drivers/tty/serial/Makefile| 1 + drivers/tty/serial/milbeaut_usio.c | 621 + include/uapi/linux/serial_core.h

[PATCH v2 13/15] ARM: dts: milbeaut: Add device tree set for the Milbeaut M10V board

2019-02-08 Thread Sugaya Taichi
Add devicetree for Milbeaut M10V SoC and M10V Evaluation board. Signed-off-by: Sugaya Taichi --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/milbeaut-m10v-evb.dts | 32 arch/arm/boot/dts/milbeaut-m10v.dtsi| 131 3 files

[PATCH v2 12/15] pinctrl: milbeaut: Add Milbeaut M10V pinctrl

2019-02-08 Thread Sugaya Taichi
Add Milbeaut M10V pinctrl. The M10V has the pins that can be used GPIOs or take multiple other functions. Signed-off-by: Sugaya Taichi --- drivers/pinctrl/Kconfig| 9 + drivers/pinctrl/Makefile | 1 + drivers/pinctrl/pinctrl-milbeaut.c | 759

[PATCH v2 14/15] ARM: configs: Add Milbeaut M10V defconfig

2019-02-08 Thread Sugaya Taichi
This patch adds the minimal defconfig for the Milbeaut M10V. Signed-off-by: Sugaya Taichi --- arch/arm/configs/milbeaut_m10v_defconfig | 366 +++ 1 file changed, 366 insertions(+) create mode 100644 arch/arm/configs/milbeaut_m10v_defconfig diff --git a/arch/arm

[PATCH v2 15/15] MAINTAINERS: Add entry to MAINTAINERS for Milbeaut

2019-02-08 Thread Sugaya Taichi
Add entry to MAINTAINERS for Milbeaut that supported minimal drivers. Signed-off-by: Sugaya Taichi --- MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 8c68de3c..50e0479 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1806,6 +1806,15 @@ F

[PATCH v2 11/15] dt-bindings: pinctrl: milbeaut: Add Milbeaut M10V pinctrl description

2019-02-08 Thread Sugaya Taichi
Add DT bindings document for Milbeaut M10V pinctrl. Signed-off-by: Sugaya Taichi --- .../pinctrl/socionext,milbeaut-pinctrl.txt | 35 ++ 1 file changed, 35 insertions(+) create mode 100644 Documentation/devicetree/bindings/pinctrl/socionext,milbeaut-pinctrl.txt

Re: [PATCH 02/14] dt-bindings: soc: milbeaut: Add Milbeaut trampoline description

2019-01-22 Thread Sugaya, Taichi
Hi On 2018/12/04 22:32, Rob Herring wrote: On Tue, Dec 4, 2018 at 5:30 AM Sugaya, Taichi wrote: Hi On 2018/12/04 0:49, Rob Herring wrote: On Mon, Dec 3, 2018 at 1:42 AM Sugaya, Taichi wrote: Hi, On 2018/11/30 17:16, Stephen Boyd wrote: Quoting Sugaya, Taichi (2018-11-29 04:24:51) On

Re: [PATCH 02/14] dt-bindings: soc: milbeaut: Add Milbeaut trampoline description

2019-01-29 Thread Sugaya, Taichi
Hi, On 2019/01/22 20:50, Russell King - ARM Linux admin wrote: On Tue, Jan 22, 2019 at 08:36:03PM +0900, Sugaya, Taichi wrote: Hi On 2018/12/04 22:32, Rob Herring wrote: On Tue, Dec 4, 2018 at 5:30 AM Sugaya, Taichi wrote: Hi On 2018/12/04 0:49, Rob Herring wrote: On Mon, Dec 3, 2018 at

Re: [PATCH v3] serial: Add Milbeaut serial control

2019-05-08 Thread Sugaya, Taichi
rced you need to correct the termios data. You might want to control flow control *at boot* with an OF property but doing it post boot is just busted. Ah, Yes. I think OF property should not be here, and it may only be used to determine the characteristics of the port. I try to make a fixes patch. Thanks, Sugaya Taichi Alan

Re: serial: Add Milbeaut serial control

2019-05-08 Thread Sugaya, Taichi
Hi, Thank you for pointing out. On 2019/05/02 20:47, Colin Ian King wrote: Hi, Static analysis with Coverity has picked up an issue in commit: commit ba44dc04300441b47618f9933bf36e75a280e5fe Author: Sugaya Taichi Date: Mon Apr 15 20:31:40 2019 +0900 serial: Add Milbeaut serial

[PATCH] serial: Fix an invalid comparing statement

2019-05-26 Thread Sugaya Taichi
Drop the if-statement which refers to 8th bit field of u8 variable. The bit field is no longer used. Fixes: ba44dc043004 ("serial: Add Milbeaut serial control") Reported-by: Colin Ian King Signed-off-by: Sugaya Taichi --- drivers/tty/serial/milbeaut_usio.c | 15 +-- 1 fi

Re: [PATCH] dt-bindings: cpu: Fix JSON schema

2019-04-07 Thread Sugaya, Taichi
On 2019/04/08 7:13, Olof Johansson wrote: On Tue, Apr 02, 2019 at 08:42:02PM +0900, Sugaya, Taichi wrote: Hi, On 2019/04/01 22:02, Sugaya, Taichi wrote: Hi, On 2019/04/01 20:35, Maxime Ripard wrote: Hi, On Mon, Apr 01, 2019 at 07:52:06PM +0900, Sugaya, Taichi wrote: On 2019/04/01 18:10

Re: [PATCH] dt-bindings: cpu: Fix JSON schema

2019-04-01 Thread Sugaya, Taichi
u pick up that patch? I got it. My mission is to resubmit your fix-patch added my singned-off tag and Rob's reviewed tag...right? Thanks, Sugaya Taichi Thanks! Maxime -- Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com

Re: [PATCH] dt-bindings: cpu: Fix JSON schema

2019-04-01 Thread Sugaya, Taichi
Hi, On 2019/04/01 20:35, Maxime Ripard wrote: Hi, On Mon, Apr 01, 2019 at 07:52:06PM +0900, Sugaya, Taichi wrote: On 2019/04/01 18:10, Maxime Ripard wrote: Hi Sugaya, Arnd, Olof, On Thu, Mar 28, 2019 at 02:35:54PM -0500, Rob Herring wrote: +arm-soc On Mon, Mar 18, 2019 at 5:05 AM Maxime

Re: [PATCH] serial: Fix an invalid comparing statement

2019-06-10 Thread Sugaya, Taichi
Hi Does anyone have comments? On 2019/05/27 14:01, Sugaya Taichi wrote: Drop the if-statement which refers to 8th bit field of u8 variable. The bit field is no longer used. Fixes: ba44dc043004 ("serial: Add Milbeaut serial control") Reported-by: Colin Ian King Signed-off-by: Sug

Re: [PATCH v2 12/15] pinctrl: milbeaut: Add Milbeaut M10V pinctrl

2019-02-12 Thread Sugaya, Taichi
different from UniPhier. So I would like to put files individually. On Fri, Feb 8, 2019 at 1:27 PM Sugaya Taichi wrote: Add Milbeaut M10V pinctrl. The M10V has the pins that can be used GPIOs or take multiple other functions. Signed-off-by: Sugaya Taichi This file seems to be mostly authored

Re: [PATCH v2 11/15] dt-bindings: pinctrl: milbeaut: Add Milbeaut M10V pinctrl description

2019-02-12 Thread Sugaya, Taichi
Hi, Thank you for your comments. On 2019/02/08 22:32, Linus Walleij wrote: Hi Sugaya, thanks for your patch! On Fri, Feb 8, 2019 at 1:32 PM Sugaya Taichi wrote: Add DT bindings document for Milbeaut M10V pinctrl. Signed-off-by: Sugaya Taichi (...) +- interrupts: three interrupts

Re: [PATCH v2 06/15] clocksource/drivers/timer-milbeaut: Introduce timer for Milbeaut SoCs

2019-02-13 Thread Sugaya, Taichi
Hi, On 2019/02/12 18:06, Daniel Lezcano wrote: On 08/02/2019 13:26, Sugaya Taichi wrote: Add timer driver for Milbeaut SoCs series. The timer has two 32-bit width down counters, one of which is configured as a clockevent device and the other is configured as a clock source. Signed-off-by

Re: [PATCH v2 07/15] ndings: clock: milbeaut: add Milbeaut clock description

2019-02-13 Thread Sugaya, Taichi
Hi, On 2019/02/14 3:07, Stephen Boyd wrote: Quoting Stephen Boyd (2019-02-13 09:55:34) The subject seems to have been cut off? "ndings"? Quoting Sugaya Taichi (2019-02-08 04:27:03) diff --git a/Documentation/devicetree/bindings/clock/milbeaut-clock.txt b/Documentation/devicetre

Re: [PATCH v2 08/15] clock: milbeaut: Add Milbeaut M10V clock controller

2019-02-25 Thread Sugaya, Taichi
Hi, Thank you for your comments. On 2019/02/23 8:57, Stephen Boyd wrote: Quoting Sugaya Taichi (2019-02-08 04:27:17) diff --git a/drivers/clk/clk-milbeaut.c b/drivers/clk/clk-milbeaut.c new file mode 100644 index 000..f798939 --- /dev/null +++ b/drivers/clk/clk-milbeaut.c @@ -0,0 +1,626

Re: [PATCH v3 7/9] dt-bindings: serial: Add Milbeaut serial driver description

2019-02-25 Thread Sugaya, Taichi
Hi Rob, On 2019/02/23 3:38, Rob Herring wrote: On Wed, 20 Feb 2019 16:44:37 +0900, Sugaya Taichi wrote: Add DT bindings document for Milbeaut serial driver. Signed-off-by: Sugaya Taichi --- .../devicetree/bindings/serial/milbeaut-uart.txt| 21 + 1 file changed, 21

Re: [PATCH v2 14/15] ARM: configs: Add Milbeaut M10V defconfig

2019-02-18 Thread Sugaya, Taichi
Hi, Thank you for comments. On 2019/02/18 21:06, Arnd Bergmann wrote: On Fri, Feb 8, 2019 at 1:30 PM Sugaya Taichi wrote: This patch adds the minimal defconfig for the Milbeaut M10V. Signed-off-by: Sugaya Taichi --- arch/arm/configs/milbeaut_m10v_defconfig | 366

  1   2   >