[PATCH v2,1/3] meson_uart: expose CLKID_UARTx

2017-03-28 Thread Helmut Klein
Expose the clock ids for the three none AO uarts to the dt-bindings Signed-off-by: Helmut Klein --- drivers/clk/meson/gxbb.h | 6 +++--- include/dt-bindings/clock/gxbb-clkc.h | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/clk/meson/gxbb.h b/drivers

[PATCH v2,3/3] tty/serial: meson_uart: add the core clock handling to the driver

2017-03-28 Thread Helmut Klein
This patch gets the core clock as provided by the DT and enables it. The code was taken from Amlogic's serial driver, and was tested on my board. Signed-off-by: Helmut Klein --- drivers/tty/serial/meson_uart.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/tty/s

[PATCH v2,2/3] tty/serial: meson_uart: add documentation for the dt-bindings

2017-03-28 Thread Helmut Klein
Add the documentation for the device tree binding of meson_uart Signed-off-by: Helmut Klein --- .../bindings/serial/amlogic,meson_uart.txt | 25 ++ 1 file changed, 25 insertions(+) create mode 100644 Documentation/devicetree/bindings/serial/amlogic,meson_uart.txt

[PATCH v2,0/3] tty/serial: meson_uart: add support for core clock handling

2017-03-28 Thread Helmut Klein
art_B and uart_C None of the available s905 dts use uart_A actively. So there is no patch for any of the existing dts files. [1] git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-amlogic.git Helmut Klein (3): tty/serial: meson_uart: expose CLKID_UARTx tty/serial: meson_uart: add docu

Re: [PATCH v2,1/3] meson_uart: expose CLKID_UARTx

2017-03-28 Thread Helmut Klein
+0200, Helmut Klein wrote: Expose the clock ids for the three none AO uarts to the dt-bindings Are they all used in the device tree ? We try to only expose what we need in the DT The recent discussion over CLKID_CPUCLK proved it was a sane thing to do. Signed-off-by: Helmut Klein --- driver

Re: [PATCH v2,2/3] tty/serial: meson_uart: add documentation for the dt-bindings

2017-03-28 Thread Helmut Klein
Hallo Mark, i will add your text to the patch. Helmut On 28.03.2017 12:05, Mark Rutland wrote: On Tue, Mar 28, 2017 at 11:25:44AM +0200, Helmut Klein wrote: Add the documentation for the device tree binding of meson_uart Signed-off-by: Helmut Klein --- .../bindings/serial/amlogic

Re: [PATCH v2, 3/3] tty/serial: meson_uart: add the core clock handling to the driver

2017-03-29 Thread Helmut Klein
On 28.03.2017 21:16, Jerome Brunet wrote: On Tue, 2017-03-28 at 11:25 +0200, Helmut Klein wrote: This patch gets the core clock as provided by the DT and enables it. The code was taken from Amlogic's serial driver, and was tested on my board. Signed-off-by: Helmut Klein --- driver

[PATCH v3 0/4] tty/serial: meson_uart: add support for core clock handling

2017-03-31 Thread Helmut Klein
ub/scm/linux/kernel/git/khilman/linux-amlogic.git Helmut Klein (4): clk: meson: gxbb: expose CLKID_UARTx dt-bindings: meson_uart: add documentation for meson UARTs tty/serial: meson_uart: add the core clock handling to the driver ARM64: dts: meson-gx: add core clock support for uart_A

[PATCH v3 1/4] dt-bindings: clock: gxbb: expose UART clocks

2017-03-31 Thread Helmut Klein
Expose the clock ids of the three none AO uarts to the dt-bindings Signed-off-by: Helmut Klein --- drivers/clk/meson/gxbb.h | 6 +++--- include/dt-bindings/clock/gxbb-clkc.h | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/clk/meson/gxbb.h b/drivers

[PATCH v3 4/4] ARM64: dts: meson-gx: add core clock support for uart_A, uart_B and uart_C

2017-03-31 Thread Helmut Klein
This patch adds the core clock support for the three none AO UARTs of the meson gxbb & meson gxl SoCs Signed-off-by: Helmut Klein --- arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 15 +++ arch/arm64/boot/dts/amlogic/meson-gxl.dtsi | 15 +++ 2 files changed

[PATCH v3 3/4] tty/serial: meson_uart: add the core clock handling to the driver

2017-03-31 Thread Helmut Klein
This patch gets the core clock as provided by the DT and enables it. The code was taken from Amlogic's serial driver, and was tested on my board. Signed-off-by: Helmut Klein --- drivers/tty/serial/meson_uart.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/tty/s

[PATCH v3 2/4] dt-binding: meson_uart: add documentation for the UARTs of amlogic

2017-03-31 Thread Helmut Klein
Add the documentation for the device tree binding of meson_uart Signed-off-by: Helmut Klein --- .../bindings/serial/amlogic,meson_uart.txt | 30 ++ 1 file changed, 30 insertions(+) create mode 100644 Documentation/devicetree/bindings/serial/amlogic,meson_uart.txt

Re: [PATCH v2,1/3] meson_uart: expose CLKID_UARTx

2017-03-31 Thread Helmut Klein
On 31.03.2017 17:37, Jerome Brunet wrote: On Wed, 2017-03-29 at 13:21 -0700, Kevin Hilman wrote: Martin Blumenstingl writes: [...] for Helmut this would mean that instead of dropping this patch (or dropping CLKID_UART1 and CLKID_UART2 from this patch) he would rather have to *add* another pa