[PATCH 1/2] staging: ion: Add ion-physmem driver

2015-04-06 Thread Andrew Andrianov
Signed-off-by: Andrew Andrianov --- drivers/staging/android/ion/Kconfig |7 + drivers/staging/android/ion/Makefile |5 +- drivers/staging/android/ion/ion_physmem.c | 237 + 3 files changed, 247 insertions(+), 2 deletions(-) create mode 100644

[PATCH 2/2] staging: ion: Add ion-physmem documentation

2015-04-06 Thread Andrew Andrianov
Signed-off-by: Andrew Andrianov --- Documentation/devicetree/bindings/ion,physmem.txt | 80 + 1 file changed, 80 insertions(+) create mode 100644 Documentation/devicetree/bindings/ion,physmem.txt diff --git a/Documentation/devicetree/bindings/ion,physmem.txt b

[PATCH 0/2] staging: ion: Add ion-physmem driver

2015-04-06 Thread Andrew Andrianov
Remaining questions about this driver: * Should this ION driver take care to optionally enable/disable clocks the way drivers/misc/sram.c does? * Not sure if try_module_get/module_put magic is really needed there and used properly. Building as a module and unloading has NOT yet been tested, is o

[PATCH v2 0/2] staging: ion: Generic ion-physmem driver

2015-04-10 Thread Andrew Andrianov
uge (256KiB) banks of on-chip SRAM. All mapped into physical address space. ION's job will be pretty much allocating from those banks, each making up it's own heap and sharing the buffers between DSP, ARM and a few multimedia devices. Andrew Andrianov (2): staging: ion: Add generic ion-

[PATCH v2 2/2] staging: ion: Add ion-physmem documentation

2015-04-10 Thread Andrew Andrianov
Signed-off-by: Andrew Andrianov --- Documentation/devicetree/bindings/ion,physmem.txt | 96 + 1 file changed, 96 insertions(+) create mode 100644 Documentation/devicetree/bindings/ion,physmem.txt diff --git a/Documentation/devicetree/bindings/ion,physmem.txt b

[PATCH v2 1/2] staging: ion: Add generic ion-physmem driver

2015-04-10 Thread Andrew Andrianov
Signed-off-by: Andrew Andrianov --- drivers/staging/android/ion/Kconfig |7 + drivers/staging/android/ion/Makefile |5 +- drivers/staging/android/ion/ion_physmem.c | 226 + include/dt-bindings/ion,physmem.h | 17 +++ 4 files changed, 253

[PATCH 1/2] pinctrl: mvebu: Fix mapping of pin 63 (gpo -> gpio)

2015-04-11 Thread Andrew Andrianov
Signed-off-by: Andrew Andrianov --- drivers/pinctrl/mvebu/pinctrl-armada-370.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/mvebu/pinctrl-armada-370.c b/drivers/pinctrl/mvebu/pinctrl-armada-370.c index c4f51d0..78c332d 100644 --- a/drivers/pinctrl/mvebu

[PATCH 0/2] ARM: mvebu: Add DLINK-DNS327L support

2015-04-11 Thread Andrew Andrianov
nt, I'm testing if things changed in 4.0-rc7 right now (Still live for 3 hours at the time of writing) Andrew Andrianov (2): pinctrl: mvebu: Fix mapping of pin 63 (gpo -> gpio) ARM: mvebu: dts: Add dts file for DLink DNS-327L arch/arm/boot/dts/Makefile |1 + a

[PATCH 2/2] ARM: mvebu: dts: Add dts file for DLink DNS-327L

2015-04-11 Thread Andrew Andrianov
Signed-off-by: Andrew Andrianov --- arch/arm/boot/dts/Makefile |1 + arch/arm/boot/dts/armada-370-dlink-dns327l.dts | 309 2 files changed, 310 insertions(+) create mode 100644 arch/arm/boot/dts/armada-370-dlink-dns327l.dts diff --git a/arch

[PATCH v2 2/2] ARM: mvebu: dts: Add dts file for DLink DNS-327L

2015-04-12 Thread Andrew Andrianov
Signed-off-by: Andrew Andrianov --- arch/arm/boot/dts/Makefile |1 + arch/arm/boot/dts/armada-370-dlink-dns327l.dts | 344 2 files changed, 345 insertions(+) create mode 100644 arch/arm/boot/dts/armada-370-dlink-dns327l.dts diff --git a/arch

[PATCH v2 1/2] pinctrl: mvebu: Fix mapping of pin 63 (gpo -> gpio)

2015-04-12 Thread Andrew Andrianov
Signed-off-by: Andrew Andrianov --- drivers/pinctrl/mvebu/pinctrl-armada-370.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/mvebu/pinctrl-armada-370.c b/drivers/pinctrl/mvebu/pinctrl-armada-370.c index c4f51d0..78c332d 100644 --- a/drivers/pinctrl/mvebu

[PATCH v2 0/2] ARM: mvebu: Add support for DLINK DNS-327L

2015-04-12 Thread Andrew Andrianov
interface, I've added a patch for pinctrl-armada-370.c that fixes the issue. Andrew Andrianov (2): pinctrl: mvebu: Fix mapping of pin 63 (gpo -> gpio) ARM: mvebu: dts: Add dts file for DLink DNS-327L arch/arm/boot/dts/Makefile |

[PATCH v5 1/2] staging: ion: Add generic ion-physmem driver

2015-06-22 Thread Andrew Andrianov
reg = <0x0010 0x4>; reg-names = "memory"; ion-heap-id = <1>; ion-heap-type = ; ion-heap-align = <0x10>; ion-heap-name = "SRAM"; }; Signed-off-by: Andrew Andrianov ---

[PATCH v5 0/2] staging: ion: Add generic ion-physmem driver

2015-06-22 Thread Andrew Andrianov
Sorry for the delay, here goes yet another iteration of the patchset, fixed everything that Greg pointed out. Regards, Andrew Andrew Andrianov (2): staging: ion: Add generic ion-physmem driver staging: ion: Add ion-physmem documentation Documentation/devicetree/bindings/ion,physmem.txt

[PATCH v5 2/2] staging: ion: Add ion-physmem documentation

2015-06-22 Thread Andrew Andrianov
Signed-off-by: Andrew Andrianov --- Documentation/devicetree/bindings/ion,physmem.txt | 98 +++ 1 file changed, 98 insertions(+) create mode 100644 Documentation/devicetree/bindings/ion,physmem.txt diff --git a/Documentation/devicetree/bindings/ion,physmem.txt b

[PATCH 2/4] of: Add vendor prefix for RC Module

2015-06-23 Thread Andrew Andrianov
Signed-off-by: Andrew Andrianov --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index 8033919..d172640 100644 --- a

[PATCH 0/4] [New SoC] Add support for RC Module's K1879XB1YA

2015-06-23 Thread Andrew Andrianov
C Module's github page: https://github.com/RC-MODULE/ Andrew Andrianov (4): ARM: rcm-k1879xb1: Add support for K1879XB1 SoC of: Add vendor prefix for RC Module ARM: dts: rcm-k1879xb1: Add dts files for K1879XB1YA ARM: Add defconfig for RC Module K1879XB1YA SoC .../devicetree/bindings/vend

[PATCH 1/4] ARM: rcm-k1879xb1: Add support for K1879XB1 SoC

2015-06-23 Thread Andrew Andrianov
ru/en/catalog/micro/micro_pc/ Signed-off-by: Andrew Andrianov --- arch/arm/Kconfig | 18 +++ arch/arm/Kconfig.debug | 5 +- arch/arm/Makefile | 1 + arch/arm/mach-rcm-k1879xb1/Kconfig

[PATCH 4/4] ARM: Add defconfig for RC Module K1879XB1YA SoC

2015-06-23 Thread Andrew Andrianov
Signed-off-by: Andrew Andrianov --- arch/arm/configs/rcm_k1879xb1ya_defconfig | 2638 + 1 file changed, 2638 insertions(+) create mode 100644 arch/arm/configs/rcm_k1879xb1ya_defconfig diff --git a/arch/arm/configs/rcm_k1879xb1ya_defconfig b/arch/arm/configs

[PATCH 3/4] ARM: dts: rcm-k1879xb1: Add dts files for K1879XB1YA

2015-06-23 Thread Andrew Andrianov
Signed-off-by: Andrew Andrianov --- arch/arm/Kconfig | 1 + arch/arm/boot/dts/Makefile| 1 + arch/arm/boot/dts/rcm-k1879xb1-mb7707.dts | 158 + arch/arm/boot/dts/rcm-k1879xb1.dtsi | 521 ++ 4 files changed

[PATCH v3 0/2] staging: ion: ion-physmem driver

2015-06-02 Thread Andrew Andrianov
Thanks for the review, Greg. I've fixed the things you've noted. I have removed the call to ion_device_destroy() in the ion_physmem_remove() and added a comment about it. We won't unload the driver anyway for now. I admit, integer counting was a dirty hack there, but struct ion_device contents a

[PATCH v3 1/2] staging: ion: Add generic ion-physmem driver

2015-06-02 Thread Andrew Andrianov
compatible = "ion,physmem"; reg = <0x0010 0x4>; reg-names = "memory"; ion-heap-id = <1>; ion-heap-type = ; ion-heap-align = <0x10>; ion-heap-name = "SRAM";

[PATCH v3 2/2] staging: ion: Add ion-physmem documentation

2015-06-02 Thread Andrew Andrianov
From: Andrew 'Necromant' Andrianov Signed-off-by: Andrew Andrianov --- Documentation/devicetree/bindings/ion,physmem.txt | 96 +++ 1 file changed, 96 insertions(+) create mode 100644 Documentation/devicetree/bindings/ion,physmem.txt diff --git a/Documentation/

[PATCH v4 0/2] staging: ion: Add generic ion-physmem driver

2015-06-09 Thread Andrew Andrianov
Sudip Mukherjee писал 03.06.2015 09:15: > On Tue, Jun 02, 2015 at 07:00:39PM +0300, Andrew Andrianov wrote: >> From: Andrew 'Necromant' Andrianov >> >> This patch adds a generic ion driver that allows >> ion heaps to be added via devicetree. It provide

[PATCH v4 2/2] staging: ion: Add ion-physmem documentation

2015-06-09 Thread Andrew Andrianov
Signed-off-by: Andrew Andrianov --- Documentation/devicetree/bindings/ion,physmem.txt | 98 +++ 1 file changed, 98 insertions(+) create mode 100644 Documentation/devicetree/bindings/ion,physmem.txt diff --git a/Documentation/devicetree/bindings/ion,physmem.txt b

[PATCH v4 1/2] staging: ion: Add generic ion-physmem driver

2015-06-09 Thread Andrew Andrianov
reg = <0x0010 0x4>; reg-names = "memory"; ion-heap-id = <1>; ion-heap-type = ; ion-heap-align = <0x10>; ion-heap-name = "SRAM"; }; Signed-off-by: Andrew Andrianov ---

[PATCH v5 1/1] ARM: mvebu: dts: Add dts file for DLink DNS-327L

2015-05-26 Thread Andrew Andrianov
providing serial console - Weltrend MCU serving for RTC, temperature, fan control, and power button handling interfaced via UART1 (Handled via userspace dns320l-daemon) Signed-off-by: Andrew Andrianov Acked-by: Sebastian Hesselbarth --- arch/arm/boot/dts/Makefile

[PATCH v5 0/1] ARM: mvebu: dts: Add dts file for DLink DNS-327L

2015-05-26 Thread Andrew Andrianov
Sorry for delays, nothing new inside, all stuff that was noted previously now fixed. Andrew Andrianov (1): ARM: mvebu: dts: Add dts file for DLink DNS-327L arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/armada-370-dlink-dns327l.dts | 357

[PATCH v4 1/1] ARM: mvebu: dts: Add dts file for DLink DNS-327L

2015-05-19 Thread Andrew Andrianov
providing serial console - Weltrend MCU serving for RTC, temperature, fan control, and power button handling interfaced via UART1 (Handled via userspace dns320l-daemon) Signed-off-by: Andrew Andrianov --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts

[PATCH v4 0/1] ARM: mvebu: dts: Add dts file for DLink DNS-327L

2015-05-19 Thread Andrew Andrianov
Rebased against 4.1-rc1 Sorry for the long delay with the respin, I've been caught in the usual daily routine yet again. Hopefully everything's finally okay now. Changelog since last respin: * Properly initialize phy registers in dts Andrew Andrianov (1): ARM: mvebu: dts: Add dt

[PATCH v3 0/1] ARM: mvebu: dts: Add dts file for DLink DNS-327L

2015-05-03 Thread Andrew Andrianov
0xa8a; /* Some weird magic that goes into phy registers, no public docs */ phyWrite 0 16 2; phyWrite 0 19 77; phyWrite 0 18 5747; Andrew Andrianov (1): ARM: mvebu: dts: Add dts file for DLink DNS-327L arch/arm/boot/dts/Makefile |1 + arch/arm/boot/dts/armada-370-dl

[PATCH v3 1/1] ARM: mvebu: dts: Add dts file for DLink DNS-327L

2015-05-03 Thread Andrew Andrianov
providing serial console - Weltrend MCU serving for RTC, temperature, fan control, and power button handling interfaced via UART1 (Handled via userspace dns320l-daemon) Signed-off-by: Andrew Andrianov --- arch/arm/boot/dts/Makefile |1 + arch/arm/boot/dts

[PATCH v2 0/5] [New SoC] Add support for RC Module's K1879XB1YA

2015-06-30 Thread Andrew Andrianov
and boot against v4.1 tag Andrew Andrianov (5): ARM: rcm-k1879xb1: Add support for K1879XB1 SoC of: Add vendor prefix for RC Module ARM: dts: rcm-k1879xb1: Add dts files for K1879XB1YA ARM: Add defconfig for RC Module K1879XB1YA SoC cpuidle: ARM: Add cpuidle driver for K1879XB1YA .../d

[PATCH v2 1/5] ARM: rcm-k1879xb1: Add support for K1879XB1 SoC

2015-06-30 Thread Andrew Andrianov
ru/en/catalog/micro/micro_pc/ Signed-off-by: Andrew Andrianov --- arch/arm/Kconfig | 2 + arch/arm/Kconfig.debug| 3 +- arch/arm/Makefile | 1 + arch/arm/mach-rcm-k1879xb1/Kconfig| 10 +++ arch/arm/mach-rcm-k1879xb1/Makefile

[PATCH v2 2/5] of: Add vendor prefix for RC Module

2015-06-30 Thread Andrew Andrianov
Signed-off-by: Andrew Andrianov --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index 8033919..d172640 100644 --- a

[PATCH v2 4/5] ARM: Add defconfig for RC Module K1879XB1YA SoC

2015-06-30 Thread Andrew Andrianov
Signed-off-by: Andrew Andrianov --- arch/arm/configs/rcm_k1879xb1ya_defconfig | 2678 + 1 file changed, 2678 insertions(+) create mode 100644 arch/arm/configs/rcm_k1879xb1ya_defconfig diff --git a/arch/arm/configs/rcm_k1879xb1ya_defconfig b/arch/arm/configs

[PATCH v2 5/5] cpuidle: ARM: Add cpuidle driver for K1879XB1YA

2015-06-30 Thread Andrew Andrianov
Signed-off-by: Andrew Andrianov --- drivers/cpuidle/Kconfig.arm| 6 + drivers/cpuidle/Makefile | 1 + drivers/cpuidle/cpuidle-rcm-k1879xb1.c | 48 ++ 3 files changed, 55 insertions(+) create mode 100644 drivers/cpuidle/cpuidle-rcm

[PATCH v2 3/5] ARM: dts: rcm-k1879xb1: Add dts files for K1879XB1YA

2015-06-30 Thread Andrew Andrianov
Signed-off-by: Andrew Andrianov --- arch/arm/boot/dts/Makefile| 1 + arch/arm/boot/dts/rcm-k1879xb1-mb7707.dts | 146 + arch/arm/boot/dts/rcm-k1879xb1.dtsi | 518 ++ 3 files changed, 665 insertions(+) create mode 100644 arch/arm/boot

[PATCH v5.1 1/2] staging: ion: Add generic ion-physmem driver

2015-06-30 Thread Andrew Andrianov
reg = <0x0010 0x4>; reg-names = "memory"; ion-heap-id = <1>; ion-heap-type = ; ion-heap-align = <0x10>; ion-heap-name = "SRAM"; }; Signed-off-by: Andrew Andrianov ---

[PATCH v5.1 0/2] staging: ion: Add generic ion-physmem driver

2015-06-30 Thread Andrew Andrianov
Just a friendly ping. Since I got no feedback for a while I just rebased the driver against the newly released 4.1 and checked that it builds, loads and works. Andrew Andrianov (2): staging: ion: Add generic ion-physmem driver staging: ion: Add ion-physmem documentation Documentation

[PATCH v5.1 2/2] staging: ion: Add ion-physmem documentation

2015-06-30 Thread Andrew Andrianov
Signed-off-by: Andrew Andrianov --- Documentation/devicetree/bindings/ion,physmem.txt | 98 +++ 1 file changed, 98 insertions(+) create mode 100644 Documentation/devicetree/bindings/ion,physmem.txt diff --git a/Documentation/devicetree/bindings/ion,physmem.txt b