Re: [PATCH 2/3] clk: owl: add clock driver for Actions S900 SoC

2017-11-04 Thread Andreas Färber
Hi, Am 04.11.2017 um 17:19 schrieb Manivannan Sadhasivam: >>> diff --git a/drivers/clk/Makefile b/drivers/clk/Makefile >>> index c99f363..821c1e1 100644 >>> --- a/drivers/clk/Makefile >>> +++ b/drivers/clk/Makefile >>> @@ -75,6 +75,7 @@ endif >>> obj-y += mveb

Re: [PATCH 0/3] Add clock driver for Actions S900 SoC

2017-11-04 Thread Andreas Färber
Hi Mani, Am 01.11.2017 um 03:54 schrieb Manivannan Sadhasivam: > This series adds clock driver for Actions Semi OWL series > S900 SoC with relevant clock bindings and device tree data. > > This series also addresses the review comments from previous > submission happened last year. > > https://p

Re: [PATCH 3/3] Documentation: add Actions S900 clock bindings

2017-11-04 Thread Andreas Färber
Am 01.11.2017 um 03:54 schrieb Manivannan Sadhasivam: > This patch adds clock bindings for Actions Semi S900 SoC. "This patch" > > Signed-off-by: Manivannan Sadhasivam > --- > .../bindings/clock/actions,s900-clock.txt | 47 > ++ > 1 file changed, 47 insertions(+)

Re: [PATCH 1/3] arm64: dts: actions: add s900 clock controller nodes

2017-11-04 Thread Andreas Färber
Am 01.11.2017 um 03:54 schrieb Manivannan Sadhasivam: > This patch adds clock controller nodes for Actions Semi s900 SoC Please avoid "This patch". Once applied, it's a commit. :) > > Signed-off-by: Manivannan Sadhasivam > --- > arch/arm64/boot/dts/actions/s900.dtsi | 19 +++ >

Re: [PATCH 2/3] clk: owl: add clock driver for Actions S900 SoC

2017-11-04 Thread Andreas Färber
ing the section below. > +S: Maintained > +F: drivers/clk/owl/ This is lacking the binding. > + > ARM/ACTIONS SEMI ARCHITECTURE > M: Andreas Färber > L: linux-arm-ker...@lists.infradead.org (moderated for non-subscribers) > diff --git a/drivers/clk/Makefile b/drive

[PATCH v3 4/5] dt-bindings: interrupt-controller: Document RTD1195

2017-10-17 Thread Andreas Färber
Add compatible strings for Realtek RTD1195. Signed-off-by: Andreas Färber --- v3: New Could be squashed into 1/5 if acked. .../devicetree/bindings/interrupt-controller/realtek,rtd119x-mux.txt| 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings

[PATCH v3 0/5] arm64: Realtek RTD1195/RTD1295 IRQ mux

2017-10-17 Thread Andreas Färber
C (Marc) * Added more spinlocks (Marc) * Code cleanups * Investigated quirk * Fixed spinlock initialization (Andrew) Cc: Thomas Gleixner Cc: Jason Cooper Cc: Marc Zyngier Cc: Roc He Cc: 蒋丽琴 Cc: devicet...@vger.kernel.org Cc: Andrew Lunn Andreas Färber (5): dt-bindings: interrupt-controller

[PATCH v3 5/5] irqchip: rtd119x: Add RTD1195 definitions

2017-10-17 Thread Andreas Färber
Add compatible strings and bit definitions for Realtek RTD1195 SoC. Signed-off-by: Andreas Färber --- v3: New drivers/irqchip/irq-rtd119x-mux.c | 99 ++- 1 file changed, 98 insertions(+), 1 deletion(-) diff --git a/drivers/irqchip/irq-rtd119x-mux.c b

[PATCH v3 3/5] arm64: dts: realtek: Add irq mux to RTD129x

2017-10-17 Thread Andreas Färber
Update UART nodes with interrupts. Signed-off-by: Andreas Färber --- v2 -> v3: * Added nodes to rtd129x.dtsi instead of rtd1295.dtsi * Adopted misc compatible string * Renamed node label from irq_mux to misc_irq_mux for clarity v1 -> v2: * Rebased arch/arm64/boot/dts/r

[PATCH v3 1/5] dt-bindings: interrupt-controller: Add Realtek RTD1295

2017-10-17 Thread Andreas Färber
Add binding for Realtek RTD1295 IRQ mux. Acked-by: Rob Herring Signed-off-by: Andreas Färber --- v2 -> v3: * Renamed non-iso irq mux to "misc" for clarity v1 -> v2: * Dropped reference to common interrupt.txt bindings (Rob) .../interrupt-controller/realtek,rtd119

[PATCH v3 2/5] irqchip: Add Realtek RTD1295 mux driver

2017-10-17 Thread Andreas Färber
This irq mux driver implements the RTD1295 SoC's non-linear mapping between status and enable bits. Based in part on QNAP's arch/arm/mach-rtk119x/rtk_irq_mux.c and Synology's drivers/irqchip/irq-rtk.c code. Signed-off-by: Andreas Färber --- v2 -> v3: * Adopted spin_loc

Re: [PATCH v2 2/3] irqchip: Add Realtek RTD1295 mux driver

2017-10-17 Thread Andreas Färber
Am 11.10.2017 um 19:35 schrieb Marc Zyngier: > On 28/08/17 11:53, Andreas Färber wrote: >> This irq mux driver is derived from the RTD1295 vendor DT and assumes a >> linear mapping between intr_en and intr_status registers. >> Code for RTD119x indicates this may not alwa

[PATCH 1/5] arm64: dts: realtek: Factor out common RTD129x parts

2017-10-15 Thread Andreas Färber
Prepares for RTD1293 and RTD1296. Signed-off-by: Andreas Färber --- arch/arm64/boot/dts/realtek/rtd1295.dtsi | 65 ++-- arch/arm64/boot/dts/realtek/rtd129x.dtsi | 72 2 files changed, 76 insertions(+), 61 deletions(-) create mode 100644

[PATCH 2/5] dt-bindings: arm: realtek: Document RTD1293 and Synology DS418j

2017-10-15 Thread Andreas Färber
Define compatible strings for Realtek RTD1293 SoC and Synology DiskStation DS418j NAS. Cc: i...@synology.com Signed-off-by: Andreas Färber --- Documentation/devicetree/bindings/arm/realtek.txt | 17 + 1 file changed, 17 insertions(+) diff --git a/Documentation/devicetree

[PATCH 4/5] dt-bindings: arm: realtek: Document RTD1296 and Synology DS418

2017-10-15 Thread Andreas Färber
Define compatible strings for Realtek RTD1296 SoC and Synology DiskStation DS418 NAS. Cc: i...@synology.com Signed-off-by: Andreas Färber --- Documentation/devicetree/bindings/arm/realtek.txt | 17 + 1 file changed, 17 insertions(+) diff --git a/Documentation/devicetree

[PATCH 0/5] arm64: dts: Initial RTD1293/RTD1296 and DS418j/DS418 support

2017-10-15 Thread Andreas Färber
experimental patches at: https://github.com/afaerber/linux/commits/rtd1295-next Have a lot of fun! Cheers, Andreas Cc: i...@synology.com Cc: devicet...@vger.kernel.org Andreas Färber (5): arm64: dts: realtek: Factor out common RTD129x parts dt-bindings: arm: realtek: Document RTD1293 and

[PATCH 5/5] arm64: dts: realtek: Add RTD1296 and Synology DS418

2017-10-15 Thread Andreas Färber
Add Device Trees for RTD1296 SoC and Synology DiskStation DS418. Cc: i...@synology.com Signed-off-by: Andreas Färber --- arch/arm64/boot/dts/realtek/Makefile | 2 + arch/arm64/boot/dts/realtek/rtd1296-ds418.dts | 31 +++ arch/arm64/boot/dts/realtek/rtd1296.dtsi | 74

[PATCH 3/5] arm64: dts: realtek: Add RTD1293 and Synology DS418j

2017-10-15 Thread Andreas Färber
Add Device Trees for RTD1293 SoC and Synology DiskStation DS481j NAS. Cc: i...@synology.com Signed-off-by: Andreas Färber --- arch/arm64/boot/dts/realtek/Makefile | 2 + arch/arm64/boot/dts/realtek/rtd1293-ds418j.dts | 31 ++ arch/arm64/boot/dts/realtek/rtd1293.dtsi

[PATCH 3/3] arm64: dts: realtek: Add MeLE V9

2017-10-15 Thread Andreas Färber
Add an initial Device Tree for MeLE V9 Media Player. Cc: meleserv...@mele.cn Signed-off-by: Andreas Färber --- arch/arm64/boot/dts/realtek/Makefile| 1 + arch/arm64/boot/dts/realtek/rtd1295-mele-v9.dts | 31 + 2 files changed, 32 insertions(+) create mode

[PATCH 2/3] dt-bindings: arm: realtek: Document MeLE V9

2017-10-15 Thread Andreas Färber
Define a compatible string for MeLE V9 Media Player. Cc: meleserv...@mele.cn Signed-off-by: Andreas Färber --- Documentation/devicetree/bindings/arm/realtek.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/realtek.txt b/Documentation/devicetree

[PATCH 0/3] arm64: dts: Initial MeLE V9 support

2017-10-15 Thread Andreas Färber
of fun! Cheers, Andreas Cc: meleserv...@mele.cn Cc: devicet...@vger.kernel.org Andreas Färber (3): dt-bindings: Add vendor prefix for MeLE dt-bindings: arm: realtek: Document MeLE V9 arm64: dts: realtek: Add MeLE V9 Documentation/devicetree/bindings/arm/realtek.txt | 1 + .../devicetree/

[PATCH 1/3] dt-bindings: Add vendor prefix for MeLE

2017-10-15 Thread Andreas Färber
MeLE is a Chinese manufacturer of TV boxes and Mini PCs. Cc: meleserv...@mele.cn Signed-off-by: Andreas Färber --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation

Re: [PATCH v2 1/3] dt-bindings: Add vendor prefix for ProBox2

2017-10-15 Thread Andreas Färber
Am 19.09.2017 um 23:54 schrieb Andreas Färber: > PROBOX2 is a TV box brand by Hong Kong based online reseller W2COMP > Company Limited. > > Cc: supp...@probox2.com > Acked-by: Rob Herring > Signed-off-by: Andreas Färber > --- > v1 -> v2: > * Extend the vendo

Re: [PATCH] MAINTAINERS: Fix path and add bindings to timers

2017-09-26 Thread Andreas Färber
Am 26.09.2017 um 01:47 schrieb Daniel Lezcano: > As spotted by Andreas Färber, the clocksource directory path does not follow > the rule where a maintained directory must end with a '/' character. > > Also, the timers devicetree bindings documentation is not mention

Re: [PATCH 2/3] clocksource: owl: pr_err() strings should end with newlines

2017-09-25 Thread Andreas Färber
tions(+), 2 deletions(-) Reviewed-by: Andreas Färber Regards, Andreas -- SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg)

Re: [PATCH v2 0/2] ARM: Actions Semi S500 SMP cleanups

2017-09-20 Thread Andreas Färber
Am 05.09.2017 um 23:19 schrieb Andreas Färber: > Hello, > > This mini-series further cleans up the SMP code for Actions Semi S500 SoC. > > @David, can you please reply with an Acked-by for the second patch? Thanks! > > Work branch for testing: > https://github.com/afa

[PATCH v2 1/3] dt-bindings: Add vendor prefix for ProBox2

2017-09-19 Thread Andreas Färber
PROBOX2 is a TV box brand by Hong Kong based online reseller W2COMP Company Limited. Cc: supp...@probox2.com Acked-by: Rob Herring Signed-off-by: Andreas Färber --- v1 -> v2: * Extend the vendor prefix explanation with info provided by PROBOX2 * Fix the commit message accordin

Re: [PATCH 0/2] ARM: owl: Add CubieBoard6

2017-09-19 Thread Andreas Färber
Am 11.09.2017 um 02:58 schrieb Andreas Färber: > Andreas Färber (2): > dt-bindings: arm: actions: Add CubieBoard6 > ARM: dts: owl-s500: Add CubieBoard6 > > Documentation/devicetree/bindings/arm/actions.txt | 1 + > arch/arm/boot/dts/Makefile| 1

Re: [PATCH 0/4] arm64: Add initial Actions Semi S700 and CubieBoard7 support

2017-09-18 Thread Andreas Färber
Hi Daniel, Am 18.09.2017 um 23:50 schrieb Daniel Lezcano: > On 11/09/2017 04:22, Andreas Färber wrote: >> Cc: devicet...@vger.kernel.org >> Cc: Daniel Lezcano >> Cc: Thomas Gleixner >> >> Andreas Färber (4): >> dt-bindings: arm: actions: Add S700 and C

Re: [PATCH 0/2] ARM: owl: Add CubieBoard6

2017-09-12 Thread Andreas Färber
Am 11.09.2017 um 02:58 schrieb Andreas Färber: > With this Device Tree it starts to boot, but it gets stuck during earlycon: > > [0.899855] cpuidle: using governor ladder > [0.904118] Internal error: Oops - undefined instruction: 0 [#1] PREEMPT > SMP ARM > [0.9114

Re: [PATCH] of: add vendor prefix for Silicon Storage Technology Inc.

2017-09-11 Thread Andreas Färber
is this prefix being used for? This patch is apparently not part of any series. Otherwise looks okay, Reviewed-by: Andreas Färber Regards, Andreas > st STMicroelectronics > starry Starry Electronic Technology (ShenZhen) Co., LTD > startek Startek -- SUSE Linux

Re: [PATCH v3] dt-bindings: add nutsboard vendor prefix

2017-09-11 Thread Andreas Färber
/vendor-prefixes.txt | 1 + > 1 file changed, 1 insertion(+) Reviewed-by: Andreas Färber Thanks, Andreas -- SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg)

[PATCH 2/4] dt-bindings: timer: Add Actions Semi S700

2017-09-10 Thread Andreas Färber
Define a compatible string for the Actions Semi S700 SoC timer. Signed-off-by: Andreas Färber --- Documentation/devicetree/bindings/timer/actions,owl-timer.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/timer/actions,owl-timer.txt b/Documentation

[PATCH 0/4] arm64: Add initial Actions Semi S700 and CubieBoard7 support

2017-09-10 Thread Andreas Färber
lot of fun! Cheers, Andreas Cc: Ahha Lee Cc: supp...@cubietech.com Cc: devicet...@vger.kernel.org Cc: Daniel Lezcano Cc: Thomas Gleixner Andreas Färber (4): dt-bindings: arm: actions: Add S700 and CubieBoard7 dt-bindings: timer: Add Actions Semi S700 clocksource: owl: Prepare S700 arm6

[PATCH 3/4] clocksource: owl: Prepare S700

2017-09-10 Thread Andreas Färber
S700 has two 2Hz timers like S500, and four TIMx timers like S900. Signed-off-by: Andreas Färber --- drivers/clocksource/owl-timer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clocksource/owl-timer.c b/drivers/clocksource/owl-timer.c index d19c53c11094..d5f3f72c10ee 100644

[PATCH 4/4] arm64: dts: actions: Add S700 and CubieBoard7

2017-09-10 Thread Andreas Färber
Add Device Trees for S700 SoC and Cubietech CubieBoard7. Signed-off-by: Andreas Färber --- arch/arm64/boot/dts/actions/Makefile | 2 + arch/arm64/boot/dts/actions/s700-cubieboard7.dts | 47 +++ arch/arm64/boot/dts/actions/s700.dtsi| 164 +++ 3

[PATCH 1/4] dt-bindings: arm: actions: Add S700 and CubieBoard7

2017-09-10 Thread Andreas Färber
Document the Actions Semi S700 SoC and the Cubietech CubieBoard7. Signed-off-by: Andreas Färber --- Documentation/devicetree/bindings/arm/actions.txt | 15 +++ 1 file changed, 15 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/actions.txt b/Documentation

[PATCH 0/2] ARM: owl: Add CubieBoard6

2017-09-10 Thread Andreas Färber
series. Work branch for testing: https://github.com/afaerber/linux/commits/bg96-next Cheers, Andreas Cc: Ahha Lee Cc: supp...@cubietech.com Andreas Färber (2): dt-bindings: arm: actions: Add CubieBoard6 ARM: dts: owl-s500: Add CubieBoard6 Documentation/devicetree/bindings/arm/actions.txt

[PATCH 2/2] ARM: dts: owl-s500: Add CubieBoard6

2017-09-10 Thread Andreas Färber
Add a Device Tree for Cubietech CubieBoard6. Cc: supp...@cubietech.com Signed-off-by: Andreas Färber --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/owl-s500-cubieboard6.dts | 44 ++ 2 files changed, 45 insertions(+) create mode 100644 arch

[PATCH 1/2] dt-bindings: arm: actions: Add CubieBoard6

2017-09-10 Thread Andreas Färber
Define a compatible string for Cubietech CubieBoard6. Cc: supp...@cubietech.com Signed-off-by: Andreas Färber --- Documentation/devicetree/bindings/arm/actions.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/actions.txt b/Documentation/devicetree

Re: [PATCH v2] dt-bindings: vendor-prefixes: Add nutsboard to vendor prefix.

2017-09-10 Thread Andreas Färber
rieb Wig C: > From: YuanCheng Cheng > > NutsBoard (http://nutsboard.org/) is an organization and focus > on ARM based embedded boards with open source software. > > Signed-off-by: YuanCheng Cheng Reviewed-by: Andreas Färber Regards, Andreas -- SUSE Linux GmbH, Maxfeldstr. 5

Re: [PATCH v2 2/3] watchdog: Add Realtek RTD1295

2017-09-10 Thread Andreas Färber
Am 10.09.2017 um 17:17 schrieb Guenter Roeck: > On 09/04/2017 04:16 PM, Andreas Färber wrote: >> Add a watchdog driver for the Realtek RTD1295 SoC. >> >> Based on QNAP's arch/arm/mach-rtk119x/driver/rtk_watchdog.c code and >> mach-rtk119x/driver/dc2vo/fpga/in

Re: [PATCH v2 05/14] dt-bindings: add openrisc to vendor prefixes list

2017-09-10 Thread Andreas Färber
Am 10.09.2017 um 08:49 schrieb Stafford Horne: > Add OpenRISC.io to vendor prefixes. This is reserved for softcores > developed by the OpenRISC community. The OpenRISC community has > separated from OpenCores.org requiring a new prefix. > > Signed-off-by: Stafford Horne Revie

Re: [PATCH] dt-bindings: vendor-prefixes: Add nutsboard to vendor prefix.

2017-09-09 Thread Andreas Färber
Hi YuanCheng, Usually such a vendor prefix patch is part of a series, with later patches making use of the prefix for some compatible string in a binding document and in some Device Tree. What will this prefix be used for? Are you affiliated with the company? If not, you should consider CC'ing nu

Re: [PATCH v4 18/28] ARM: dts: s500-guitar-bb-rev-b: Add fake uart3 clock

2017-09-05 Thread Andreas Färber
Am 06.06.2017 um 02:54 schrieb Andreas Färber: > Add a fixed-clock for baudrate 115200. > > Signed-off-by: Andreas Färber > --- > v2 -> v3 -> v4: unchanged > > v2: new > > arch/arm/boot/dts/s500-guitar-bb-rev-b.dts | 7 +++ > 1 file changed,

Re: [PATCH v4 17/28] ARM64: dts: actions: s900-bubblegum-96: Add fake uart5 clock

2017-09-05 Thread Andreas Färber
Am 06.06.2017 um 02:54 schrieb Andreas Färber: > Give the serial driver a fixed-clock as input for baudrate 115200. > > Signed-off-by: Andreas Färber > --- > v2 -> v3 -> v4: unchanged > > v2: new > > arch/arm64/boot/dts/actions/s900-bubblegum-96.dts

[PATCH v2 1/2] ARM: owl: smp: Use __pa_symbol()

2017-09-05 Thread Andreas Färber
ian Fainelli Signed-off-by: Andreas Färber --- v1 -> v2: New arch/arm/mach-actions/platsmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-actions/platsmp.c b/arch/arm/mach-actions/platsmp.c index 12a9e331b432..7238926ab015 100644 --- a/arch/arm/mach-actio

[PATCH v2 2/2] ARM: owl: smp: Drop owl_secondary_boot()

2017-09-05 Thread Andreas Färber
. Therefore drop owl_secondary_boot() and use secondary_boot() directly. Fixes: 18cfd9429d8a ("ARM: owl: smp: Drop bogus holding pen") Cc: David Liu Signed-off-by: Andreas Färber --- v1 -> v2: * Rebased onto __pa_symbol() * Tweaked commit message arch/arm/mach-actions/M

[PATCH v2 0/2] ARM: Actions Semi S500 SMP cleanups

2017-09-05 Thread Andreas Färber
ded __pa_symbol cleanup (Florian) Cc: David Liu Cc: Florian Fainelli Andreas Färber (2): ARM: owl: smp: Use __pa_symbol() ARM: owl: smp: Drop owl_secondary_boot() arch/arm/mach-actions/Makefile | 4 +--- arch/arm/mach-actions/headsmp.S | 52 - arch/

Re: [PATCH v3 0/5] arm64: Initial Realtek RTD1295 enablement

2017-09-05 Thread Andreas Färber
Am 05.09.2017 um 09:18 schrieb Arnd Bergmann: > On Tue, Sep 5, 2017 at 12:09 AM, Andreas Färber wrote: >> Am 14.05.2017 um 04:24 schrieb Andreas Färber: >>> This mini-series adds initial support for the Realtek RTD1295 SoC and >>> the Zidoo X9S TV box. >>>

Re: [PATCH v4 0/3] arm64: Realtek RTD1295 RTC

2017-09-05 Thread Andreas Färber
Am 05.09.2017 um 09:59 schrieb Alexandre Belloni: > On 05/09/2017 at 00:53:21 +0200, Andreas Färber wrote: >> Hello, >> >> This series adds the RTC for the Realtek RTD1295 SoC. >> Based on my RTD1295 clk series. >> >> There being no public source code for

[PATCH v2 0/3] arm64: Realtek RTD1295 watchdog

2017-09-04 Thread Andreas Färber
Cc: devicet...@vger.kernel.org Andreas Färber (3): dt-bindings: watchdog: Add Realtek RTD1295 watchdog: Add Realtek RTD1295 arm64: dts: realtek: Add watchdog node for RTD1295 .../bindings/watchdog/realtek,rtd119x.txt | 17 +++ arch/arm64/boot/dts/realtek/rtd1295.dtsi |

[PATCH v2 2/3] watchdog: Add Realtek RTD1295

2017-09-04 Thread Andreas Färber
Add a watchdog driver for the Realtek RTD1295 SoC. Based on QNAP's arch/arm/mach-rtk119x/driver/rtk_watchdog.c code and mach-rtk119x/driver/dc2vo/fpga/include/iso_reg.h register defines. Signed-off-by: Andreas Färber --- v1 -> v2: * Added explicit include of bitops.h (Guenther) * Set

[PATCH v2 1/3] dt-bindings: watchdog: Add Realtek RTD1295

2017-09-04 Thread Andreas Färber
Add a binding for the Realtek RTD1295 watchdog. Acked-by: Rob Herring Signed-off-by: Andreas Färber --- v1 -> v2: Unchanged .../devicetree/bindings/watchdog/realtek,rtd119x.txt| 17 + 1 file changed, 17 insertions(+) create mode 100644 Documentation/devicetree/bindi

[PATCH v2 3/3] arm64: dts: realtek: Add watchdog node for RTD1295

2017-09-04 Thread Andreas Färber
Add the watchdog node to the RTD1295 Device Tree. Acked-by: Rob Herring Signed-off-by: Andreas Färber --- Depends on the pending clock nodes patch. v1 -> v2: Unchanged arch/arm64/boot/dts/realtek/rtd1295.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/

[PATCH v4 0/3] arm64: Realtek RTD1295 RTC

2017-09-04 Thread Andreas Färber
oc He Cc: 蒋丽琴 Cc: devicet...@vger.kernel.org Cc: Andrew Lunn Andreas Färber (3): dt-bindings: rtc: Add Realtek RTD1295 rtc: Add Realtek RTD1295 arm64: dts: realtek: Add RTD1295 RTC node .../devicetree/bindings/rtc/realtek,rtd119x.txt| 16 ++ arch/arm64/boot/dts/realtek/rtd

[PATCH v4 3/3] arm64: dts: realtek: Add RTD1295 RTC node

2017-09-04 Thread Andreas Färber
Add RTC node to the Realtek RTD1295 Device Tree. Signed-off-by: Andreas Färber --- v3 -> v4: Unchanged v2 -> v3: * Rebased to no longer depend on reset controller series v1 -> v2: Unchanged Depends on the pending clock bindings. arch/arm64/boot/dts/realtek/rtd1295

[PATCH v4 1/3] dt-bindings: rtc: Add Realtek RTD1295

2017-09-04 Thread Andreas Färber
Add a binding for the RTC on the Realtek RTD119x/RTD129x SoC families. Acked-by: Rob Herring Signed-off-by: Andreas Färber --- v1 -> v2 -> v3 -> v4: Unchanged .../devicetree/bindings/rtc/realtek,rtd119x.txt | 16 1 file changed, 16 insertions(+) create mo

[PATCH v4 2/3] rtc: Add Realtek RTD1295

2017-09-04 Thread Andreas Färber
Based on QNAP's arch/arm/mach-rtk119x/driver/rtk_rtc_drv.c code and mach-rtk119x/driver/dc2vo/fpga/include/mis_reg.h register definitions. The base year 2014 was observed on all of Zidoo X9S, ProBox2 Ava and Beelink Lake I. Signed-off-by: Andreas Färber --- v3 -> v4: * Added missing

Re: [PATCH v3 0/5] arm64: Initial Realtek RTD1295 enablement

2017-09-04 Thread Andreas Färber
Hi, Am 14.05.2017 um 04:24 schrieb Andreas Färber: > This mini-series adds initial support for the Realtek RTD1295 SoC and > the Zidoo X9S TV box. > > v3 changes #address-cells, #size-cells and ranges. > > With these patches CPU0 can be booted with earlycon. > > P

Re: [PATCH v2] clk: mb86s7x: Drop non-building driver

2017-09-04 Thread Andreas Färber
Hi Stephen, Am 01.09.2017 um 22:32 schrieb Stephen Boyd: > On 08/25, Andreas Färber wrote: >> It fails to build once we introduce the ARCH_MB86S7X Kconfig symbol: >> >> drivers/clk/clk-mb86s7x.c:27:10: fatal error: soc/mb86s7x/scb_mhu.h: No >> such file

Re: [PATCH 1/3] dt-bindings: Add vendor prefix for ProBox2

2017-09-02 Thread Andreas Färber
gs. If that proposal is okay with you, we still need to figure out how to describe your company in the commit message below. > thanks, > Wilson > PROBOX2 > > On Fri, Sep 1, 2017 at 5:14 AM, Rob Herring <mailto:r...@kernel.org>> wrote: > > On Sun, Aug 27, 2017

[PATCH 2/3] watchdog: Add Realtek RTD1295

2017-08-28 Thread Andreas Färber
Add a watchdog driver for the Realtek RTD1295 SoC. Based on QNAP's arch/arm/mach-rtk119x/driver/rtk_watchdog.c code and mach-rtk119x/driver/dc2vo/fpga/include/iso_reg.h register defines. Signed-off-by: Andreas Färber --- drivers/watchdog/Kconfig | 10 +++ drivers/watchdog/Mak

[PATCH 3/3] arm64: dts: realtek: Add watchdog node for RTD1295

2017-08-28 Thread Andreas Färber
Add the watchdog node to the RTD1295 Device Tree. Signed-off-by: Andreas Färber --- Depends on the pending clock nodes patch. arch/arm64/boot/dts/realtek/rtd1295.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/realtek/rtd1295.dtsi b/arch/arm64/boot/dts

[PATCH 1/3] dt-bindings: watchdog: Add Realtek RTD1295

2017-08-28 Thread Andreas Färber
Add a binding for the Realtek RTD1295 watchdog. Signed-off-by: Andreas Färber --- .../devicetree/bindings/watchdog/realtek,rtd119x.txt| 17 + 1 file changed, 17 insertions(+) create mode 100644 Documentation/devicetree/bindings/watchdog/realtek,rtd119x.txt diff --git a

[PATCH 0/3] arm64: Realtek RTD1295 watchdog

2017-08-28 Thread Andreas Färber
experimental patches at: https://github.com/afaerber/linux/commits/rtd1295-next Have a lot of fun! Cheers, Andreas Cc: Wim Van Sebroeck Cc: Guenter Roeck Cc: linux-watch...@vger.kernel.org Cc: Roc He Cc: 蒋丽琴 Cc: devicet...@vger.kernel.org Andreas Färber (3): dt-bindings: watchdog: Add Realtek

[PATCH v3 0/3] arm64: Realtek RTD1295 RTC

2017-08-28 Thread Andreas Färber
丽琴 Cc: devicet...@vger.kernel.org Cc: Andrew Lunn Andreas Färber (3): dt-bindings: rtc: Add Realtek RTD1295 rtc: Add Realtek RTD1295 arm64: dts: realtek: Add RTD1295 RTC node .../devicetree/bindings/rtc/realtek,rtd119x.txt| 16 ++ arch/arm64/boot/dts/realtek/rtd1295.dtsi

[PATCH v3 2/3] rtc: Add Realtek RTD1295

2017-08-28 Thread Andreas Färber
Based on QNAP's arch/arm/mach-rtk119x/driver/rtk_rtc_drv.c code and mach-rtk119x/driver/dc2vo/fpga/include/mis_reg.h register definitions. The base year 2014 was observed on all of Zidoo X9S, ProBox2 Ava and Beelink Lake I. Signed-off-by: Andreas Färber --- v2 -> v3: * Dropped

[PATCH v3 3/3] arm64: dts: realtek: Add RTD1295 RTC node

2017-08-28 Thread Andreas Färber
Add RTC node to the Realtek RTD1295 Device Tree. Signed-off-by: Andreas Färber --- v2 -> v3: * Rebased to no longer depend on reset controller series v1 -> v2: Unchanged Depends on the pending clock bindings. arch/arm64/boot/dts/realtek/rtd1295.dtsi | 6 ++ 1 file chan

[PATCH v3 1/3] dt-bindings: rtc: Add Realtek RTD1295

2017-08-28 Thread Andreas Färber
Add a binding for the RTC on the Realtek RTD119x/RTD129x SoC families. Acked-by: Rob Herring Signed-off-by: Andreas Färber --- v1 -> v2 -> v3: Unchanged .../devicetree/bindings/rtc/realtek,rtd119x.txt | 16 1 file changed, 16 insertions(+) create mode

[PATCH v2 2/3] irqchip: Add Realtek RTD1295 mux driver

2017-08-28 Thread Andreas Färber
This irq mux driver is derived from the RTD1295 vendor DT and assumes a linear mapping between intr_en and intr_status registers. Code for RTD119x indicates this may not always be the case (i2c_3). Based in part on QNAP's arch/arm/mach-rtk119x/rtk_irq_mux.c code. Signed-off-by: Andreas F

[PATCH v2 3/3] arm64: dts: realtek: Add irq mux to RTD1295

2017-08-28 Thread Andreas Färber
Update UART nodes with interrupts. Signed-off-by: Andreas Färber --- v1 -> v2: * Rebased arch/arm64/boot/dts/realtek/rtd1295.dtsi | 22 ++ 1 file changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/realtek/rtd1295.dtsi b/arch/arm64/boot/dts/realtek/rtd1295.d

[PATCH v2 0/3] arm64: Realtek RTD1295 IRQ mux

2017-08-28 Thread Andreas Färber
Marc) * Added more spinlocks (Marc) * Code cleanups * Investigated quirk * Fixed spinlock initialization (Andrew) Cc: Thomas Gleixner Cc: Jason Cooper Cc: Marc Zyngier Cc: Roc He Cc: 蒋丽琴 Cc: devicet...@vger.kernel.org Cc: Andrew Lunn Andreas Färber (3): dt-bindings: interrupt-controller

[PATCH v2 1/3] dt-bindings: interrupt-controller: Add Realtek RTD1295

2017-08-28 Thread Andreas Färber
Add binding for Realtek RTD1295 IRQ mux. Signed-off-by: Andreas Färber --- v1 -> v2: * Dropped reference to common interrupt.txt bindings (Rob) .../interrupt-controller/realtek,rtd119x-mux.txt | 23 ++ 1 file changed, 23 insertions(+) create mode 100644 Documentat

Re: [RFC 1/3] dt-bindings: rtc: Add Realtek RTD1295

2017-08-27 Thread Andreas Färber
Hi Andrew, Am 27.08.2017 um 15:47 schrieb Andrew Lunn: >> Thanks. Did you read the RFC question in the cover letter as well and >> have any comments? Downstream has an rtc-base-year = <2014>; property >> that I had left out in this RFC and due to your ack not included in v2. >> >> Should we defaul

[PATCH 1/3] dt-bindings: Add vendor prefix for ProBox2

2017-08-27 Thread Andreas Färber
PROBOX2 is a Hong Kong based manufacturer of TV boxes. Cc: supp...@probox2.com Signed-off-by: Andreas Färber --- I did not find a fully spelled out company name for this brand. http://probox2.com/contact-us/ https://www.facebook.com/pg/probox2/about/ Documentation/devicetree/bindings

[PATCH 0/3] arm64: dts: Initial ProBox2 Ava support

2017-08-27 Thread Andreas Färber
.kernel.org Cc: Wangchanchan Cc: beelinkserv...@bee-link.com Andreas Färber (3): dt-bindings: Add vendor prefix for ProBox2 dt-bindings: arm: realtek: Add ProBox2 AVA arm64: dts: realtek: Add ProBox2 Ava Documentation/devicetree/bindings/arm/realtek.txt | 1 + .../devicetree/bindings/vend

[PATCH 3/3] arm64: dts: realtek: Add ProBox2 Ava

2017-08-27 Thread Andreas Färber
Add a Device Tree for the PROBOX2 AVA TV Box. Move common memory reservations into rtd1295.dtsi. Cc: supp...@probox2.com Signed-off-by: Andreas Färber --- I've been torn on whether this should be just rtd1295-ava.dts? The vendor is indicated in the compatible string and model pro

[PATCH 2/3] dt-bindings: arm: realtek: Add ProBox2 AVA

2017-08-27 Thread Andreas Färber
Document a compatible string for the PROBOX2 AVA TV Box. Cc: supp...@probox2.com Signed-off-by: Andreas Färber --- Documentation/devicetree/bindings/arm/realtek.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/realtek.txt b/Documentation/devicetree

Re: [PATCH v2 2/3] rtc: Add Realtek RTD1295

2017-08-27 Thread Andreas Färber
Hi Alexandre, Am 27.08.2017 um 11:13 schrieb Alexandre Belloni: > Not much to add, apart from the spinlock issue already spotted by Andrew. > > On 27/08/2017 at 02:33:27 +0200, Andreas Färber wrote: >> +struct rtd119x_rtc { >> +void __iomem *base; >> +stru

Re: [RFC 1/3] dt-bindings: rtc: Add Realtek RTD1295

2017-08-27 Thread Andreas Färber
Hi Rob, Am 23.08.2017 um 02:29 schrieb Rob Herring: > On Sun, Aug 20, 2017 at 03:36:29AM +0200, Andreas Färber wrote: >> Add a binding for the RTC on the Realtek RTD119x/RTD129x SoC families. >> >> Signed-off-by: Andreas Färber >> --- >> .../devicetree

Re: [PATCH v2 2/3] rtc: Add Realtek RTD1295

2017-08-27 Thread Andreas Färber
Am 27.08.2017 um 10:27 schrieb Alexandre Belloni: > On 27/08/2017 at 04:30:08 +0200, Andreas Färber wrote: >> Am 27.08.2017 um 04:05 schrieb Andrew Lunn: >> By that same argument we could ask why so many drivers (and mine, too) >> are calling rtc_valid_tm() when __rtc_read_

Re: [PATCH v2 2/3] rtc: Add Realtek RTD1295

2017-08-27 Thread Andreas Färber
Hi Andrew, Am 27.08.2017 um 05:27 schrieb Andrew Lunn: > On Sun, Aug 27, 2017 at 04:30:08AM +0200, Andreas Färber wrote: >> Am 27.08.2017 um 04:05 schrieb Andrew Lunn: >>> n Sun, Aug 27, 2017 at 02:33:27AM +0200, Andreas Färber wrote: >>>> +struct rtd119x_rt

Re: [PATCH v2 2/3] rtc: Add Realtek RTD1295

2017-08-26 Thread Andreas Färber
Am 27.08.2017 um 04:05 schrieb Andrew Lunn: > n Sun, Aug 27, 2017 at 02:33:27AM +0200, Andreas Färber wrote: >> +struct rtd119x_rtc { >> +void __iomem *base; >> +struct clk *clk; >> +struct rtc_device *rtcdev; >> +unsigned base_year; >> +s

[PATCH v2 2/3] rtc: Add Realtek RTD1295

2017-08-26 Thread Andreas Färber
Based on QNAP's arch/arm/mach-rtk119x/driver/rtk_rtc_drv.c code and mach-rtk119x/driver/dc2vo/fpga/include/mis_reg.h register definitions. The base year 2014 was observed on all of Zidoo X9S, ProBox2 Ava and Beelink Lake I. Signed-off-by: Andreas Färber --- v1 -> v2: * Dropped open/re

[PATCH v2 0/3] arm64: Realtek RTD1295 RTC

2017-08-26 Thread Andreas Färber
dre) * Cleaned up debug output (Andrew) * Avoided COMPILE_TEST division errors (kbuild) * Various cleanups and extensions Cc: Alessandro Zummo Cc: Alexandre Belloni Cc: linux-...@vger.kernel.org Cc: Roc He Cc: 蒋丽琴 Cc: devicet...@vger.kernel.org Cc: Andrew Lunn Andreas Färber (3): dt-bindings:

[PATCH v2 1/3] dt-bindings: rtc: Add Realtek RTD1295

2017-08-26 Thread Andreas Färber
Add a binding for the RTC on the Realtek RTD119x/RTD129x SoC families. Acked-by: Rob Herring Signed-off-by: Andreas Färber --- v1 -> v2: Unchanged .../devicetree/bindings/rtc/realtek,rtd119x.txt | 16 1 file changed, 16 insertions(+) create mode 100

[PATCH v2 3/3] arm64: dts: realtek: Add RTD1295 RTC node

2017-08-26 Thread Andreas Färber
Add RTC node to the Realtek RTD1295 Device Tree. Signed-off-by: Andreas Färber --- v1 -> v2: Unchanged Depends on the pending clock bindings. arch/arm64/boot/dts/realtek/rtd1295.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/realtek/rtd1295.dtsi b/a

Re: [RFC 1/3] dt-bindings: interrupt-controller: Add Realtek RTD1295

2017-08-25 Thread Andreas Färber
Am 22.08.2017 um 04:14 schrieb Rob Herring: > On Thu, Aug 17, 2017 at 12:11:38PM +0200, Andreas Färber wrote: >> Add binding for Realtek RTD1295 IRQ mux. >> >> Signed-off-by: Andreas Färber >> --- >> .../interrupt-controller/realtek,rtd119x-mux.txt | 28 >

[PATCH v2] clk: mb86s7x: Drop non-building driver

2017-08-24 Thread Andreas Färber
ET_REQ cc1: some warnings being treated as errors scripts/Makefile.build:302: recipe for target 'drivers/clk/clk-mb86s7x.o' failed make[2]: *** [drivers/clk/clk-mb86s7x.o] Error 1 Remove the driver for now. Signed-off-by: Andreas Färber --- v1 -> v2: * Drop source fi

Re: [RFC 2/3] rtc: Add Realtek RTD1295

2017-08-20 Thread Andreas Färber
Am 20.08.2017 um 17:40 schrieb Andrew Lunn: >> +static void rtd119x_rtc_set_enabled(struct device *dev, bool enable) >> +{ >> +struct rtd119x_rtc *data = dev_get_drvdata(dev); >> +u32 val; >> + >> +val = readl_relaxed(data->base + RTD_RTCEN); >> +dev_info(dev, "%s: rtcen = 0x%08x\n"

Re: [RFC 2/3] rtc: Add Realtek RTD1295

2017-08-20 Thread Andreas Färber
Hi Alexandre, Am 20.08.2017 um 10:32 schrieb Alexandre Belloni: > On 20/08/2017 at 03:36:30 +0200, Andreas Färber wrote: >> +static int rtd119x_rtc_read_time(struct device *dev, struct rtc_time *tm) >> +{ >> +struct rtd119x_rtc *data = dev_get_drvdata(dev); >> +

Re: [RFC 3/3] irqchip: Add Realtek RTD1295 mux driver

2017-08-19 Thread Andreas Färber
Am 17.08.2017 um 12:11 schrieb Andreas Färber: > This irq mux driver is derived from the RTD1295 vendor DT and assumes a linear > mapping between intr_en and intr_status registers. Code for RTD119x indicates > this may not always be the case (i2c_3). > > The register initializa

[RFC 3/3] arm64: dts: realtek: Add RTD1295 RTC node

2017-08-19 Thread Andreas Färber
Add RTC node to the Realtek RTD1295 Device Tree. Signed-off-by: Andreas Färber --- arch/arm64/boot/dts/realtek/rtd1295.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/realtek/rtd1295.dtsi b/arch/arm64/boot/dts/realtek/rtd1295.dtsi index 503e2d5fc334

[RFC 0/3] arm64: Realtek RTD1295 RTC

2017-08-19 Thread Andreas Färber
-...@vger.kernel.org Cc: Roc He Cc: 蒋丽琴 Cc: devicet...@vger.kernel.org Andreas Färber (3): dt-bindings: rtc: Add Realtek RTD1295 rtc: Add Realtek RTD1295 arm64: dts: realtek: Add RTD1295 RTC node .../devicetree/bindings/rtc/realtek,rtd119x.txt| 16 ++ arch/arm64/boot/dts/realtek/rtd1295

[RFC 1/3] dt-bindings: rtc: Add Realtek RTD1295

2017-08-19 Thread Andreas Färber
Add a binding for the RTC on the Realtek RTD119x/RTD129x SoC families. Signed-off-by: Andreas Färber --- .../devicetree/bindings/rtc/realtek,rtd119x.txt | 16 1 file changed, 16 insertions(+) create mode 100644 Documentation/devicetree/bindings/rtc/realtek,rtd119x.txt

[RFC 2/3] rtc: Add Realtek RTD1295

2017-08-19 Thread Andreas Färber
Based on QNAP's mach-rtk119x/driver/rtk_rtc_drv.c code. Signed-off-by: Andreas Färber --- drivers/rtc/Kconfig | 8 +++ drivers/rtc/Makefile | 1 + drivers/rtc/rtc-rtd119x.c | 175 ++ 3 files changed, 184 insertions(+) create

Re: [RFC 3/3] irqchip: Add Realtek RTD1295 mux driver

2017-08-18 Thread Andreas Färber
Hi Marc, Am 18.08.2017 um 12:53 schrieb Marc Zyngier: > On 17/08/17 11:11, Andreas Färber wrote: >> This irq mux driver is derived from the RTD1295 vendor DT and assumes a >> linear >> mapping between intr_en and intr_status registers. Code for RTD119x indicates >>

[RFC 4/4] arm64: dts: realtek: Update RTD1295 UART nodes with clocks

2017-08-17 Thread Andreas Färber
Replace clock-frequency with a reference to the respective clock gates. Signed-off-by: Andreas Färber --- arch/arm64/boot/dts/realtek/rtd1295.dtsi | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/realtek/rtd1295.dtsi b/arch/arm64/boot/dts/realtek

[RFC 0/4] arm64: Realtek RTD1295 clocks

2017-08-17 Thread Andreas Färber
Andreas Färber (4): dt-bindings: clock: Add Realtek RTD1295 arm64: dts: realtek: Add clock nodes for RTD1295 clk: Add Realtek RTD1295 arm64: dts: realtek: Update RTD1295 UART nodes with clocks .../devicetree/bindings/clock/realtek,rtd129x.txt | 20 ++ arch/arm64/boot/dts/realtek/rtd1295

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