[PATCH] ARC: [axs10x] enable DW DMA controller

2015-12-04 Thread Alexey Brodkin
Gupta Signed-off-by: Alexey Brodkin --- arch/arc/boot/dts/axs10x_mb.dtsi | 16 arch/arc/configs/axs101_defconfig | 5 + arch/arc/configs/axs103_defconfig | 5 + arch/arc/configs/axs103_smp_defconfig | 5 + 4 files changed, 31 insertions(+) diff --git a

Re: [PATCH] ARC: [axs10x] enable DW DMA controller

2015-12-07 Thread Alexey Brodkin
Hi Vineet, On Sat, 2015-12-05 at 10:14 +, Vineet Gupta wrote: > On Saturday 05 December 2015 12:52 AM, Alexey Brodkin wrote: > > From: Nelson Pereira > > > > ARC SDP baseboard among other peripherals sports > > DesignWare DMA controller. > > > &

[PATCH] ARC: [axs10x] cap ethernet phy to 100 Mbit/sec

2015-12-07 Thread Alexey Brodkin
Current ARC SDP boards cannot reliably handle 1Gbit Ethernet connections due to limitations in hardware. To make sure networking is stable on the board we're limiting phy to 100 Mbit. Signed-off-by: Alexey Brodkin Cc: Vineet Gupta --- arch/arc/boot/dts/axs10x_mb.dtsi | 1 + 1 file chang

Re: kisskb: FAILED linux-next/axs103_smp_defconfig/arcv2 Thu Dec 10, 17:33

2015-12-10 Thread Alexey Brodkin
Hi Michael, On Thu, 2015-12-10 at 14:58 +0530, Vineet Gupta wrote: > On Thursday 10 December 2015 02:34 PM, Michael Ellerman wrote: > > > That is weird. I'll ask it to rebuild it and see if it happens again. > > > > Do you build with -j? > > I did now - but still no error at my end. I always b

[PATCH] ARC: fix building for MMU v2

2015-12-18 Thread Alexey Brodkin
>8--- The simples fix is to have ARC_REG_IC_PTAG defined regardless MMU version being used. We don't use it in cache_line_loop_v2() anyways so who cares. Signed-off-by: Alexey Brodkin Cc: Vineet Gupta --- arch/arc/include/asm/cache.h | 2 -- 1 file chan

Re: [PATCH] arc: Removed local initramfs source file from axs101 configuration.

2016-01-07 Thread Alexey Brodkin
Hi Carlos, On Mon, 2016-01-04 at 14:55 +, [email protected] wrote: > From: Carlos Palminha > > Cannot compile kernel with INITRAMFS SOURCE option. > Please move this option to a buildroot patch. First of all if your problem is only related to Buildroot then there's not much sense in add

Re: [PATCH] arc: Removed local initramfs source file from axs101 configuration.

2016-01-11 Thread Alexey Brodkin
Hi Vineet, On Mon, 2016-01-11 at 07:47 +, Vineet Gupta wrote: > On Saturday 09 January 2016 05:55 AM, Carlos Palminha wrote: > > Hi Alexey, > > > > Probably my e-mail comments before the patch mislead you... > > If you download the kernel source and try to compile it, it won't work > > becau

Re: [PATCH 2/2] arc770: move arc patches to taregt/linux/generic

2016-01-15 Thread Alexey Brodkin
Hi Felix, On Fri, 2016-01-15 at 11:45 +0100, Felix Fietkau wrote: > On 2016-01-15 00:12, Alexey Brodkin wrote: > > Given those patches are relevant to any ARC platform and even > > ISA version it makes perfect sense for patches to exist > > in one place instead of being du

Re: Whats missing in my new FB DRM driver in ARC... waiting for console_lock to return

2016-01-28 Thread Alexey Brodkin
Hi Carlos, On Thu, 2016-01-21 at 18:30 +, Carlos Palminha wrote: > hi... > > i just found that its blocking waiting for console_lock... > @vineet, alexey: i think that console_lock is architecture dependent right? > Do you know any issue with console_lock > for ARC? I'm not really sure "con

Re: [PATCH 2/9] ARC: [dts] Introduce Timer bindings

2016-02-02 Thread Alexey Brodkin
Hi Vineet, On Tue, 2016-02-02 at 16:28 +0530, Vineet Gupta wrote: > ARC Timers have historically been probed directly. > As precursor to start probing Timers thru DT introduce these bindings > > Cc: Daniel Lezcano > Cc: Rob Herring > Cc: [email protected] > Signed-off-by: Vineet Gupta

Re: [PATCH 7/9] ARC: use fixed frequencies in arc_set_early_base_baud()

2016-02-02 Thread Alexey Brodkin
Adding Christian for Abilis TB10x clocks review. On Tue, 2016-02-02 at 16:28 +0530, Vineet Gupta wrote: > From: Alexey Brodkin > > UARTs usually have fixed clock so we're switching to use of > constant values instead of something derived from core clock > frequency. > &g

Re: [PATCH 2/9] ARC: [dts] Introduce Timer bindings

2016-02-02 Thread Alexey Brodkin
Hi Vineet, On Tue, 2016-02-02 at 16:28 +0530, Vineet Gupta wrote: > ARC Timers have historically been probed directly. > As precursor to start probing Timers thru DT introduce these bindings > > Cc: Daniel Lezcano > Cc: Rob Herring > Cc: [email protected] > Signed-off-by: Vineet Gupta

Re: [PATCH 7/9] ARC: use fixed frequencies in arc_set_early_base_baud()

2016-02-02 Thread Alexey Brodkin
Hi Christian, On Tue, 2016-02-02 at 14:43 +0100, [email protected] wrote: > Alexey Brodkin wrote on 02.02.2016 13:53:26: > > > > Adding Christian for Abilis TB10x clocks review. > > > > On Tue, 2016-02-02 at 16:28 +0530, Vineet Gupta wrote:

Re: [PATCH 2/9] ARC: [dts] Introduce Timer bindings

2016-02-02 Thread Alexey Brodkin
Hi Vineet, On Tue, 2016-02-02 at 19:59 +0530, Vineet Gupta wrote: > Hi Alexey, > > On Tuesday 02 February 2016 06:45 PM, Alexey Brodkin wrote: > > Hi Vineet, > > > > On Tue, 2016-02-02 at 16:28 +0530, Vineet Gupta wrote: > > > + > > > +Required pro

Re: [PATCH 2/9] ARC: [dts] Introduce Timer bindings

2016-02-02 Thread Alexey Brodkin
Hi Vineet, On Tue, 2016-02-02 at 18:36 +0300, Alexey Brodkin wrote: > Hi Vineet, > > On Tue, 2016-02-02 at 19:59 +0530, Vineet Gupta wrote: > > Hi Alexey, > > > > On Tuesday 02 February 2016 06:45 PM, Alexey Brodkin wrote: > > > Hi Vineet, > > > &g

Re: [PATCH 2/9] ARC: [dts] Introduce Timer bindings

2016-02-03 Thread Alexey Brodkin
Hi Mike, On Wed, 2016-02-03 at 01:57 +0300, Alexey Brodkin wrote: > Hi Vineet, > > On Tue, 2016-02-02 at 18:36 +0300, Alexey Brodkin wrote: > > Hi Vineet, > > > > On Tue, 2016-02-02 at 19:59 +0530, Vineet Gupta wrote: > > > Hi Alexey, > > > >

Re: [PATCH 2/9] ARC: [dts] Introduce Timer bindings

2016-02-03 Thread Alexey Brodkin
(re-sending because Mike's email @ti is no longer valid) Hi Mike, On Wed, 2016-02-03 at 01:57 +0300, Alexey Brodkin wrote: > Hi Vineet, > > On Tue, 2016-02-02 at 18:36 +0300, Alexey Brodkin wrote: > > Hi Vineet, > > > > On Tue, 2016-02-02 at 19:59 +0530, Vin

Re: [RFC] perf: fix building for ARCv1

2016-02-03 Thread Alexey Brodkin
Hi Vineet, On Fri, 2015-10-30 at 06:19 +, Vineet Gupta wrote: > On Thursday 29 October 2015 09:28 PM, Alexey Brodkin wrote: > > Hi Vineet, > > > > On Tue, 2015-10-20 at 10:45 +, Vineet Gupta wrote: > > > On Tuesday 20 October 2015 03:41 PM, Peter Zijlstra

[PATCH] arc: make sure __delay() never gets executed with 0 loops

2016-02-15 Thread Alexey Brodkin
ed. In that case I've got very small loops_per_jiffy=0xf00: >8 Calibrating delay loop... 0.77 BogoMIPS (lpj=3862) >8 And on console output delays were way too long. Signed-off-by: Alexey Brodkin Cc:

[PATCH 3/4] arc: axs10x - add support of ARC PGU

2016-02-19 Thread Alexey Brodkin
Synopsys DesignWare ARC SDP boards sport ARC SDP display controller attached to ADV7511 HDMI encoder. That change adds desctiption of both ARC PGU and ADV7511 in ARC SDP'd base-board Device Tree. Signed-off-by: Alexey Brodkin Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Ian Cam

[PATCH 0/4] drm: Add support of ARC PGU display controller

2016-02-19 Thread Alexey Brodkin
This series add support of ARC PGU display controller. ARC PGU is a quite simple byte streamer that gets data from the framebuffer and pushes it to hte connected encoder (DP or HDMI). It was tested on ARC SDP boards (axs101 in particular). Alexey Brodkin (4): drm: Add support of ARC PGU

[PATCH 1/4] drm: Add support of ARC PGU display controller

2016-02-19 Thread Alexey Brodkin
ARC PGU could be found on some development boards from Synopsys. This is a simple byte streamer that reads data from a framebuffer and sends data to the single encoder. Signed-off-by: Alexey Brodkin Cc: David Airlie Cc: [email protected] Cc: [email protected]

[PATCH 2/4] drm: Add DT bindings documentation for ARC PGU display controller

2016-02-19 Thread Alexey Brodkin
This add DT bindings documentation for ARC PGU display controller. Signed-off-by: Alexey Brodkin Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Ian Campbell Cc: Kumar Gala Cc: [email protected] Cc: [email protected] --- .../devicetree/bindings/display/snps

[PATCH 4/4] MAINTAINERS: Add maintainer for ARC PGU display controller

2016-02-19 Thread Alexey Brodkin
This updates MAINTEINERS file with information about maintainer of ARC PGU display controller driver. Signed-off-by: Alexey Brodkin Cc: [email protected] --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 28cd72b..26ac58c

[PATCH] arc: get rid of DEVTMPFS dependency on INITRAMFS_SOURCE

2016-02-20 Thread Alexey Brodkin
well * ARCPGU_xxx options make no sense because ARC PGU is not yet in upstream and when it gets there all config options would be taken from devicetree Signed-off-by: Alexey Brodkin --- arch/arc/Kconfig | 2 -- arch/arc/configs/axs101_defconfig | 4

Re: [PATCH 2/4 RESEND] ARC: axs10x: Update defconfigs so that audio is enabled

2016-02-24 Thread Alexey Brodkin
Hi Vineet, On Wed, 2016-02-24 at 04:36 +, Vineet Gupta wrote: > On Tuesday 23 February 2016 07:22 PM, Jose Abreu wrote: > > The defconfigs for the AXS boards were updated so that > > ALSA SoC is enabled and also the audio for the ADV7511 > > HDMI transmitter. > > > > Signed-off-by: Jose Abreu

Re: [PATCH] arc: make sure __delay() never gets executed with 0 loops

2016-02-24 Thread Alexey Brodkin
Hi Vineet, On Wed, 2016-02-24 at 05:05 +, Vineet Gupta wrote: > On Monday 15 February 2016 10:07 PM, Alexey Brodkin wrote: > > Current implementation of __delay() function uses so-called > > zero-delay loops. And the only condition to exit that loop is > > LP_COUNT (loo

Re: [PATCH 2/4] drm: Add DT bindings documentation for ARC PGU display controller

2016-03-03 Thread Alexey Brodkin
Hi Rob, On Tue, 2016-02-23 at 14:38 -0600, Rob Herring wrote: > On Fri, Feb 19, 2016 at 04:03:52PM +0300, Alexey Brodkin wrote: > > > > This add DT bindings documentation for ARC PGU display controller. > > > > Signed-off-by: Alexey Brodkin > > Cc: Rob Herring

[PATCH 2/4 v2] drm: Add DT bindings documentation for ARC PGU display controller

2016-03-03 Thread Alexey Brodkin
This add DT bindings documentation for ARC PGU display controller. Signed-off-by: Alexey Brodkin Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Ian Campbell Cc: Kumar Gala Cc: [email protected] Cc: [email protected] --- Changes v1 -> v2: * Clean

[PATCH 4/4 v2] MAINTAINERS: Add maintainer for ARC PGU display controller

2016-03-03 Thread Alexey Brodkin
This updates MAINTEINERS file with information about maintainer of ARC PGU display controller driver. Signed-off-by: Alexey Brodkin Cc: [email protected] --- No changes since v1. MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS

[PATCH 1/4 v2] drm: Add support of ARC PGU display controller

2016-03-03 Thread Alexey Brodkin
ARC PGU could be found on some development boards from Synopsys. This is a simple byte streamer that reads data from a framebuffer and sends data to the single encoder. Signed-off-by: Alexey Brodkin Cc: David Airlie Cc: [email protected] Cc: [email protected]

[PATCH 3/4 v2] arc: axs10x - add support of ARC PGU

2016-03-03 Thread Alexey Brodkin
Synopsys DesignWare ARC SDP boards sport ARC SDP display controller attached to ADV7511 HDMI encoder. That change adds desctiption of both ARC PGU and ADV7511 in ARC SDP'd base-board Device Tree. Signed-off-by: Alexey Brodkin Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Ian Cam

[PATCH 0/4 v2] drm: Add support of ARC PGU display controller

2016-03-03 Thread Alexey Brodkin
ngs documentation * Added missing "pxlclk" clock in axs10x_mb.dtsi Cc: David Airlie Cc: [email protected] Cc: [email protected] Cc: Ian Campbell Cc: Kumar Gala Cc: [email protected] Cc: Mark Rutland Cc: Pawel Moll Cc: Rob Herring Cc: Vineet Gupta Alex

Re: [PATCH 2/4 v2] drm: Add DT bindings documentation for ARC PGU display controller

2016-03-07 Thread Alexey Brodkin
Hi Rob, On Fri, 2016-03-04 at 22:30 -0600, Rob Herring wrote: > On Thu, Mar 03, 2016 at 05:39:14PM +0300, Alexey Brodkin wrote: > > > > This add DT bindings documentation for ARC PGU display controller. > > > > Signed-off-by: Alexey Brodkin > > Cc: Rob Herring

Re: [PATCH] arc: use little endian accesses

2016-03-09 Thread Alexey Brodkin
Hi Vineet, On Thu, 2016-03-10 at 05:05 +, Vineet Gupta wrote: > +CC Noam > > On Wednesday 09 March 2016 10:51 PM, Lada Trimasova wrote: > > > > Memory access primitives should use cpu_to_le16, cpu_to_le32, le16_to_cpu > > and le32_to_cpu because it is not really guaranteed that drivers handl

Re: [PATCH 2/2] ARC: [*defconfig] No need to specify CONFIG_CROSS_COMPILE

2016-03-11 Thread Alexey Brodkin
ironment var or use the default for ENDIAN (per previous patch) > > No other arch carries them in defconfigs anyways ! > > Cc: Noam Camus > Cc: Alexey Brodkin > Cc: Anton Kolesov > Signed-off-by: Vineet Gupta > --- Acked-by: Alexey Brodkin ___

Re: [PATCH 1/2] ARC: [BE] Select correct CROSS_COMPILE prefix

2016-03-11 Thread Alexey Brodkin
Hi Vineet, On Fri, 2016-03-11 at 14:57 +0530, Vineet Gupta wrote: > This allows CONFIG_CPU_BIG_ENDIAN=y to build correctly out of the box, > w/o any other tweaks. > > Cc: Noam Camus > Cc: Alexey Brodkin > Cc: Anton Kolesov > Signed-off-by: Vineet Gupta > ---

[PATCH 0/4 v3] drm: Add support of ARC PGU display controller

2016-03-11 Thread Alexey Brodkin
d Airlie Cc: [email protected] Cc: [email protected] Cc: Ian Campbell Cc: Kumar Gala Cc: [email protected] Cc: Mark Rutland Cc: Pawel Moll Cc: Rob Herring Cc: Vineet Gupta Alexey Brodkin (4): drm: Add support of ARC PGU display controller drm: Add DT b

[PATCH 1/4 v3] drm: Add support of ARC PGU display controller

2016-03-11 Thread Alexey Brodkin
ARC PGU could be found on some development boards from Synopsys. This is a simple byte streamer that reads data from a framebuffer and sends data to the single encoder. Signed-off-by: Alexey Brodkin Cc: David Airlie Cc: [email protected] Cc: [email protected] Cc

[PATCH 3/4 v3] arc: axs10x - add support of ARC PGU

2016-03-11 Thread Alexey Brodkin
Synopsys DesignWare ARC SDP boards sport ARC SDP display controller attached to ADV7511 HDMI encoder. That change adds desctiption of both ARC PGU and ADV7511 in ARC SDP'd base-board Device Tree. Signed-off-by: Alexey Brodkin Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Ian Cam

[PATCH 2/4 v3] drm: Add DT bindings documentation for ARC PGU display controller

2016-03-11 Thread Alexey Brodkin
This add DT bindings documentation for ARC PGU display controller. Signed-off-by: Alexey Brodkin Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Ian Campbell Cc: Kumar Gala Cc: David Airlie Cc: [email protected] Cc: [email protected] Cc: linux-snps-arc

[PATCH 4/4 v3] MAINTAINERS: Add maintainer for ARC PGU display controller

2016-03-11 Thread Alexey Brodkin
This updates MAINTEINERS file with information about maintainer of ARC PGU display controller driver. Signed-off-by: Alexey Brodkin Cc: [email protected] Cc: [email protected] --- No changes v2 -> v3. No changes v1 -> v2. MAINTAINERS | 6 ++ 1 file c

Re: [PATCH 1/4 v3] drm: Add support of ARC PGU display controller

2016-03-14 Thread Alexey Brodkin
Hi Daniel, On Mon, 2016-03-14 at 08:00 +0100, Daniel Vetter wrote: > On Fri, Mar 11, 2016 at 06:42:36PM +0300, Alexey Brodkin wrote: > > > > ARC PGU could be found on some development boards from Synopsys. > > This is a simple byte streamer that reads data from a framebuff

[PATCH] ARC: axs10x - add Ethernet PHY description in .dts

2016-03-15 Thread Alexey Brodkin
not found eth0: Could not attach to PHY stmmac_open: Cannot attach to PHY (error: -19) --->8 Simplest solution is to add PHY description in board's .dts. And so we do here. Signed-off-by: Alexey Brodkin Cc: Rob Herring Cc: Phil R

Re: [PATCH] ARC: axs10x - add Ethernet PHY description in .dts

2016-03-15 Thread Alexey Brodkin
Hi Sergei, On Tue, 2016-03-15 at 17:38 +0300, Sergei Shtylyov wrote: > Hello. > > On 3/15/2016 12:29 PM, Alexey Brodkin wrote: > > > > > Following commit broke DW GMAC functionality on AXS10x boards: > > http://git.kernel.org/cgit/linux/kernel/git

Re: [PATCH 1/4 v3] drm: Add support of ARC PGU display controller

2016-03-15 Thread Alexey Brodkin
Hi Daniel, On Tue, 2016-03-15 at 09:10 +0100, Daniel Vetter wrote: > On Mon, Mar 14, 2016 at 11:15:59AM +0000, Alexey Brodkin wrote: > > > > On Mon, 2016-03-14 at 08:00 +0100, Daniel Vetter wrote: > > > > > > On Fri, Mar 11, 2016 at 06:42

Re: [PATCH v2] ARC: axs10x - add Ethernet PHY description in .dts

2016-03-18 Thread Alexey Brodkin
Hi Sergei, On Thu, 2016-03-17 at 13:58 +0300, Sergei Shtylyov wrote: > On 3/17/2016 12:41 PM, Alexey Brodkin wrote: > > > > > Following commit broke DW GMAC functionality on AXS10x boards: > > http://git.kernel.org/cgit/linux/kernel/git/torva

Re: [PATCH 1/4 v3] drm: Add support of ARC PGU display controller

2016-03-19 Thread Alexey Brodkin
Hi Daniel, On Fri, 2016-03-18 at 09:02 +0100, Daniel Vetter wrote: > On Thu, Mar 17, 2016 at 08:27:10PM +0000, Alexey Brodkin wrote: > > > > Hi Daniel, > > > > On Tue, 2016-03-15 at 16:59 +0100, Daniel Vetter wrote: > > > > > > On Tue, Mar 15, 2

Re: [PATCH 1/4 v3] drm: Add support of ARC PGU display controller

2016-03-19 Thread Alexey Brodkin
Hi Daniel, On Tue, 2016-03-15 at 16:59 +0100, Daniel Vetter wrote: > On Tue, Mar 15, 2016 at 03:24:46PM +0000, Alexey Brodkin wrote: > > On Tue, 2016-03-15 at 09:10 +0100, Daniel Vetter wrote: > > > On Mon, Mar 14, 2016 at 11:15:59AM +0000, Alexey Brodkin wrote: > > >

[PATCH v2] ARC: axs10x - add Ethernet PHY description in .dts

2016-03-19 Thread Alexey Brodkin
not found eth0: Could not attach to PHY stmmac_open: Cannot attach to PHY (error: -19) --->8 Simplest solution is to add PHY description in board's .dts. And so we do here. Signed-off-by: Alexey Brodkin Cc: Rob Herring Cc: Phil R

Re: [PATCH v2] ARC: axs10x - add Ethernet PHY description in .dts

2016-03-19 Thread Alexey Brodkin
Hi Sergei, On Thu, 2016-03-17 at 14:59 +0300, Sergei Shtylyov wrote: > Hello. > > On 3/17/2016 2:41 PM, Vineet Gupta wrote: > > > > > > > > > > > > > > > > > > > > Following commit broke DW GMAC functionality on AXS10x boards: > > > > > http://git.kernel.org/cgit/linux/kernel/git/torvalds/li

Re: [PATCH 2/4 v3] drm: Add DT bindings documentation for ARC PGU display controller

2016-03-24 Thread Alexey Brodkin
Hi Rob, On Mon, 2016-03-21 at 08:04 -0500, Rob Herring wrote: > On Fri, Mar 11, 2016 at 06:42:37PM +0300, Alexey Brodkin wrote: > > > > This add DT bindings documentation for ARC PGU display controller. > > > > Signed-off-by: Alexey Brodkin > > Cc: Rob Herring

[PATCH 3/5 v4] MAINTAINERS: Add maintainer for ARC PGU display controller

2016-03-24 Thread Alexey Brodkin
This updates MAINTEINERS file with information about maintainer of ARC PGU display controller driver. Signed-off-by: Alexey Brodkin Cc: [email protected] --- No changes v3 -> v4. No changes v2 -> v3. No changes v1 -> v2. MAINTAINERS | 6 ++ 1 file changed, 6 i

[PATCH 1/5 v4] drm: Add support of ARC PGU display controller

2016-03-24 Thread Alexey Brodkin
From: Carlos Palminha ARC PGU could be found on some development boards from Synopsys. This is a simple byte streamer that reads data from a framebuffer and sends data to the single encoder. Signed-off-by: Carlos Palminha Signed-off-by: Alexey Brodkin Cc: David Airlie Cc: dri-de

[PATCH 4/5 v4] arc: Add our own implementation of fb_pgprotect()

2016-03-24 Thread Alexey Brodkin
useless for other less traffic hungry processes. * Data written by user in FB will be immediately available for hardware (such as PGU etc) without requirements to flush data cache regularly. Signed-off-by: Alexey Brodkin Cc: [email protected] --- Changes v3 ->

[PATCH 0/5 v4] drm: Add support of ARC PGU display controller

2016-03-24 Thread Alexey Brodkin
: Vineet Gupta Cc: Jose Abreu Cc: Carlos Palminha Alexey Brodkin (4): drm: Add DT bindings documentation for ARC PGU display controller MAINTAINERS: Add maintainer for ARC PGU display controller arc: Add our own implementation of fb_pgprotect() arc: axs10x - add support of ARC PGU Ca

[PATCH 2/5 v4] drm: Add DT bindings documentation for ARC PGU display controller

2016-03-24 Thread Alexey Brodkin
This add DT bindings documentation for ARC PGU display controller. Signed-off-by: Alexey Brodkin Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Ian Campbell Cc: Kumar Gala Cc: [email protected] Cc: [email protected] --- Changes v3 -> v4: (addressing Ro

[PATCH 5/5 v4] arc: axs10x - add support of ARC PGU

2016-03-24 Thread Alexey Brodkin
Synopsys DesignWare ARC SDP boards sport ARC SDP display controller attached to ADV7511 HDMI encoder. That change adds desctiption of both ARC PGU and ADV7511 in ARC SDP'd base-board Device Tree. Signed-off-by: Alexey Brodkin Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Ian Cam

Re: [PATCH 1/5 v4] drm: Add support of ARC PGU display controller

2016-03-24 Thread Alexey Brodkin
e system] > > url: > https://github.com/0day-ci/linux/commits/Alexey-Brodkin/drm-Add-support-of-ARC-PGU-display-controller/20160325 > -005345 > base:   git://people.freedesktop.org/~airlied/linux.git drm-next > config: i386-allmodconfig (attached as .config) > reproduce: >   

[PATCH 0/5 v5] drm: Add support of ARC PGU display controller

2016-03-28 Thread Alexey Brodkin
ar Gala Cc: [email protected] Cc: Mark Rutland Cc: Pawel Moll Cc: Rob Herring Cc: Vineet Gupta Cc: Jose Abreu Cc: Carlos Palminha Alexey Brodkin (4): drm: Add DT bindings documentation for ARC PGU display controller MAINTAINERS: Add maintainer for ARC PGU display co

[PATCH 1/5 v5] drm: Add support of ARC PGU display controller

2016-03-28 Thread Alexey Brodkin
From: Carlos Palminha ARC PGU could be found on some development boards from Synopsys. This is a simple byte streamer that reads data from a framebuffer and sends data to the single encoder. Signed-off-by: Carlos Palminha Signed-off-by: Alexey Brodkin Cc: David Airlie Cc: dri-de

[PATCH 3/5 v5] MAINTAINERS: Add maintainer for ARC PGU display controller

2016-03-28 Thread Alexey Brodkin
This updates MAINTEINERS file with information about maintainer of ARC PGU display controller driver. Signed-off-by: Alexey Brodkin Cc: [email protected] --- No changes v4 -> v5. No changes v3 -> v4. No changes v2 -> v3. No changes v1 -> v2. MAINTAINERS | 6 ++

[PATCH 5/5 v5] arc: axs10x - add support of ARC PGU

2016-03-28 Thread Alexey Brodkin
Synopsys DesignWare ARC SDP boards sport ARC SDP display controller attached to ADV7511 HDMI encoder. That change adds desctiption of both ARC PGU and ADV7511 in ARC SDP'd base-board Device Tree. Signed-off-by: Alexey Brodkin Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Ian Cam

[PATCH 2/5 v5] drm: Add DT bindings documentation for ARC PGU display controller

2016-03-28 Thread Alexey Brodkin
This add DT bindings documentation for ARC PGU display controller. Signed-off-by: Alexey Brodkin Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Ian Campbell Cc: Kumar Gala Cc: [email protected] Cc: [email protected] Acked-by: Rob Herring --- Changes v4 ->

[PATCH 4/5 v5] arc: Add our own implementation of fb_pgprotect()

2016-03-28 Thread Alexey Brodkin
useless for other less traffic hungry processes. * Data written by user in FB will be immediately available for hardware (such as PGU etc) without requirements to flush data cache regularly. Signed-off-by: Alexey Brodkin Cc: Vineet Gupta Cc: [email protected] --- No

Re: [PATCH 2/4] ARC: axs10x: Update defconfigs so that audio is enabled

2016-03-28 Thread Alexey Brodkin
Hi Jose, On Mon, 2016-03-28 at 10:41 +0100, Jose Abreu wrote: > The defconfigs for the AXS boards were updated so that > ALSA SoC is enabled and also the audio for the ADV7511 > HDMI transmitter. > > Signed-off-by: Jose Abreu > --- >  arch/arc/configs/axs101_defconfig | 3 +++ >  arch/arc/con

Re: [PATCH 3/4] ASoC: dwc: Add I2S HDMI audio support using custom platform driver

2016-03-28 Thread Alexey Brodkin
Hi Jose, On Mon, 2016-03-28 at 10:41 +0100, Jose Abreu wrote: > HDMI audio support was added to the AXS board using an > I2S cpu driver and a custom platform driver. > > The platform driver supports two channels @ 16 bits with > rates 32k, 44.1k and 48k. ALSA Simple audio card is used to > glue t

Re: [PATCH 2/3 v2] ASoC: dwc: Add I2S HDMI audio support

2016-03-28 Thread Alexey Brodkin
Hi Jose, On Mon, 2016-03-28 at 15:36 +0100, Jose Abreu wrote: > HDMI audio support was added to the AXS board using an > I2S cpu driver and a custom platform driver. > > The platform driver supports two channels @ 16 bits with > rates 32k, 44.1k and 48k. ALSA Simple audio card is used to > glue t

Re: [PATCH] clk/arc: Add I2S PLL clock driver

2016-03-29 Thread Alexey Brodkin
Hi Jose, On Tue, 2016-03-29 at 11:56 +0100, Jose Abreu wrote: > The ARC SDP I2S clock can be programmed using a > specific PLL. > > This patch has the goal of adding a clock driver > that programs this PLL. > > At this moment the rate values are hardcoded in > a table but in the future it would

RE: [PATCH 4/5 v5] arc: Add our own implementation of fb_pgprotect()

2016-04-05 Thread Alexey Brodkin
Hi Vineet, > From: Alexey Brodkin [[email protected]] > Sent: Monday, March 28, 2016 2:36 PM > To: [email protected] > Cc: [email protected]; Alexey Brodkin; Vineet Gupta; > [email protected] > Subject: [PATCH 4/5 v5] arc: Add our

Re: [RESEND PATCH v4] clk/axs10x: Add I2S PLL clock driver

2016-04-11 Thread Alexey Brodkin
mplemented recalc_rate > > Changes v1 -> v2: > * Renamed folder to axs10x (as suggested by Alexey Brodkin) > * Added more supported rates [snip] > diff --git a/Documentation/devicetree/bindings/clock/i2s-pll-clock.txt > b/Documentation/devicetree/bindings/clock/i2s- &g

Re: [PATCH v2 02/30] Include generic parity.h in some architectures' bitops.h

2016-04-11 Thread Alexey Brodkin
Hi Zhaoxiu, On Wed, 2016-04-06 at 16:41 +0800, [email protected] wrote: > From: Zhaoxiu Zeng > > Use the generic version > > Signed-off-by: Zhaoxiu Zeng > --- >  arch/arc/include/asm/bitops.h  | 1 + >  arch/arm/include/asm/bitops.h  | 1 + >  arch/arm64/include/asm/bitops.h| 1 + >

Re: [RESEND PATCH v4] clk/axs10x: Add I2S PLL clock driver

2016-04-15 Thread Alexey Brodkin
Hi Stephen, On Mon, 2016-04-11 at 15:03 -0700, [email protected] wrote: > On 04/11, Alexey Brodkin wrote: > > > > On Mon, 2016-04-11 at 11:41 +0100, Jose Abreu wrote: > > > > > > + * warranty of any kind, whether express or implied. > > > + *

Allocation of frame buffer at a specific memory range or address

2016-04-15 Thread Alexey Brodkin
Hello, I'm wondering if there's a way to force kernel to allocate backing memory for frame buffer in a special location? A little bit of background below. I continue to work on DRM driver for ARC PGU, latest is v5 and available here - https://lkml.org/lkml/2016/3/28/170 In current state everythi

[PATCH 1/4 v6] drm: Add support of ARC PGU display controller

2016-04-19 Thread Alexey Brodkin
From: Carlos Palminha ARC PGU could be found on some development boards from Synopsys. This is a simple byte streamer that reads data from a framebuffer and sends data to the single encoder. Signed-off-by: Carlos Palminha Signed-off-by: Alexey Brodkin Cc: Daniel Vetter Cc: David Airlie Cc

[PATCH 0/4 v6] drm: Add support of ARC PGU display controller

2016-04-19 Thread Alexey Brodkin
nfradead.org Cc: Mark Rutland Cc: Pawel Moll Cc: Rob Herring Cc: Vineet Gupta Cc: Jose Abreu Cc: Carlos Palminha Alexey Brodkin (3): drm: Add DT bindings documentation for ARC PGU display controller MAINTAINERS: Add maintainer for ARC PGU display controller arc: axs10x - add suppor

[PATCH 4/4 v6] arc: axs10x - add support of ARC PGU

2016-04-19 Thread Alexey Brodkin
Synopsys DesignWare ARC SDP boards sport ARC SDP display controller attached to ADV7511 HDMI encoder. That change adds desctiption of both ARC PGU and ADV7511 in ARC SDP'd base-board Device Tree. Signed-off-by: Alexey Brodkin Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Ian Cam

[PATCH 3/4 v6] MAINTAINERS: Add maintainer for ARC PGU display controller

2016-04-19 Thread Alexey Brodkin
This updates MAINTEINERS file with information about maintainer of ARC PGU display controller driver. Signed-off-by: Alexey Brodkin Cc: [email protected] --- No changes v5 -> v6. No changes v4 -> v5. No changes v3 -> v4. No changes v2 -> v3. No chan

[PATCH 2/4 v6] drm: Add DT bindings documentation for ARC PGU display controller

2016-04-19 Thread Alexey Brodkin
This add DT bindings documentation for ARC PGU display controller. Signed-off-by: Alexey Brodkin Cc: Pawel Moll Cc: Mark Rutland Cc: Ian Campbell Cc: Kumar Gala Cc: [email protected] Cc: [email protected] Acked-by: Rob Herring --- No changes v5 -> v6. Changes

Re: [RESEND PATCH v4] clk/axs10x: Add I2S PLL clock driver

2016-04-20 Thread Alexey Brodkin
Hi Jose, Stephen, On Wed, 2016-04-20 at 10:47 +0100, Jose Abreu wrote: > Hi Stephen, > > > On 20-04-2016 02:54, Stephen Boyd wrote: > > > > On 04/19, Jose Abreu wrote: > > > > > > @Stephen: can you give some input so that I can submit a v6? > > > > > I don't prefer putting the second register

Re: [RESEND PATCH v4] clk/axs10x: Add I2S PLL clock driver

2016-04-21 Thread Alexey Brodkin
Hi Jose, On Thu, 2016-04-21 at 10:51 +0100, Jose Abreu wrote: > Hi Alexey, > > > > Otherwise, I still prefer two DTS files for the two different FPGA > > > > versions. At the least, please use ioremap for any pointers that > > > > you readl/writel here. > > > > > > > > Beyond that, we should ha

Re: [RESEND PATCH v4] clk/axs10x: Add I2S PLL clock driver

2016-04-21 Thread Alexey Brodkin
Hi Jose, On Thu, 2016-04-21 at 14:10 +0100, Jose Abreu wrote: > Hi Alexey, > > > On 21-04-2016 13:18, Alexey Brodkin wrote: > > > > Hi Jose, > > > > On Thu, 2016-04-21 at 10:51 +0100, Jose Abreu wrote: > > > > > > Hi Alexey, > >

Re: [PATCH 2/2 v6] arc: axs10x: Add DT bindings for I2S PLL Clock

2016-04-22 Thread Alexey Brodkin
compatible = "fixed-clock"; > + clock-frequency = <2700>; > + #clock-cells = <0>; > + }; > + >   i2cclk: i2cclk { >   c

Re: [PATCH 0/4 v6] drm: Add support of ARC PGU display controller

2016-04-22 Thread Alexey Brodkin
Hi David, On Tue, 2016-04-19 at 16:19 +0300, Alexey Brodkin wrote: > This series add support of ARC PGU display controller. > ARC PGU is a quite simple byte streamer that gets data from the framebuffer > and pushes it to hte connected encoder (DP or HDMI). > > It was tested on

[GIT PULL] drm: Add support of ARC PGU display controller

2016-04-26 Thread Alexey Brodkin
topic-arcpgu-v6 for you to fetch changes up to b8c1eca1e089e8f4247b19b73955c875bf7b18ae:   arc: axs10x - add support of ARC PGU (2016-04-26 18:26:54 +0300) Alexey Brodkin (3):   drm: Add DT bindings documentation for ARC PGU di

[PATCH 0/2] ARC: enable per-device dma and reserved memory in DT

2016-04-26 Thread Alexey Brodkin
This tiny series enbles support of generic per-device coherent dma memory and ability to specify reserved memory regions to be used in those per-device mappings. In particular this allowed us to move frame-buffer memory out of IOC aperture. Cc: [email protected] Alexey Brodkin (2

[PATCH 2/2] ARC: add support for reserved memory defined by device tree

2016-04-26 Thread Alexey Brodkin
Enable reserved memory initialization from device tree. Signed-off-by: Alexey Brodkin Cc: Grant Likely Cc: Marek Szyprowski Cc: [email protected] --- arch/arc/Kconfig | 1 + arch/arc/mm/init.c | 4 2 files changed, 5 insertions(+) diff --git a/arch/arc/Kconfig b/arch/arc

[PATCH 1/2] ARC: support generic per-device coherent dma mem

2016-04-26 Thread Alexey Brodkin
Signed-off-by: Alexey Brodkin Cc: [email protected] --- arch/arc/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arc/Kconfig b/arch/arc/Kconfig index 208aae0..61d69e6 100644 --- a/arch/arc/Kconfig +++ b/arch/arc/Kconfig @@ -37,6 +37,7 @@ config ARC select

[PATCH 0/2] drm/arcpgu: Get use of dedicated memory area for frame buffer

2016-04-27 Thread Alexey Brodkin
saves its bandwidth for other peripherals. Cc: Cc: Dave Airlie Cc: Daniel Vetter Cc: [email protected] Alexey Brodkin (2): drm/arcpgu: use dedicated memory area for frame buffer ARC: [axs10x] Specify reserved memory for frame buffer arch/arc/boot/dts/axc001.dtsi | 20

[PATCH 1/2] drm/arcpgu: use dedicated memory area for frame buffer

2016-04-27 Thread Alexey Brodkin
peripherals to use all perks of IOC. Signed-off-by: Alexey Brodkin Cc: Dave Airlie Cc: Daniel Vetter --- drivers/gpu/drm/arc/arcpgu_drv.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/gpu/drm/arc/arcpgu_drv.c b/drivers/gpu/drm/arc/arcpgu_drv.c index 5b35e5db..76e187a 100644 --- a

[PATCH 2/2] ARC: [axs10x] Specify reserved memory for frame buffer

2016-04-27 Thread Alexey Brodkin
sorts ARC770 CPU) IOC is not an option for a sake of keeping one DT description for the base-board (axs10x_mb.dtsi) we're still defining reserved memory location in the very end of DDR. Signed-off-by: Alexey Brodkin Cc: [email protected] --- arch/arc/boot/dts/axc001.dtsi

Re: [PATCH 2/2] ARC: [axs10x] Specify reserved memory for frame buffer

2016-04-28 Thread Alexey Brodkin
Hi Vineet, On Thu, 2016-04-28 at 09:56 +0530, Vineet Gupta wrote: [snip] > > > > diff --git a/arch/arc/boot/dts/axc001.dtsi b/arch/arc/boot/dts/axc001.dtsi > > index 420dcfd..ae6162d 100644 > > --- a/arch/arc/boot/dts/axc001.dtsi > > +++ b/arch/arc/boot/dts/axc001.dtsi > > @@ -95,6 +95,24 @@ >

[PATCH 0/2 v2] drm/arcpgu: Get use of dedicated memory area for frame buffer

2016-04-28 Thread Alexey Brodkin
saves its bandwidth for other peripherals. Cc: Dave Airlie Cc: Daniel Vetter Cc: [email protected] Changes v1 -> v2: * Reserved memory size bumped from 16Mb to 32Mb. * Reserved area in AXS103 boards moved to the very end of available DDR. Alexey Brodkin (2): drm/arcpgu:

[PATCH 1/2 v2] drm/arcpgu: use dedicated memory area for frame buffer

2016-04-28 Thread Alexey Brodkin
peripherals to use all perks of IOC. Signed-off-by: Alexey Brodkin Cc: Dave Airlie Cc: Daniel Vetter --- No changes v1 -> v2. drivers/gpu/drm/arc/arcpgu_drv.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/gpu/drm/arc/arcpgu_drv.c b/drivers/gpu/drm/arc/arcpgu_drv.c index 5b35e

[PATCH 2/2 v2] ARC: [axs10x] Specify reserved memory for frame buffer

2016-04-28 Thread Alexey Brodkin
sorts ARC770 CPU) IOC is not an option for a sake of keeping one DT description for the base-board (axs10x_mb.dtsi) we're still defining reserved memory location in the very end of DDR. Signed-off-by: Alexey Brodkin Cc: Vineet Gupta Cc: [email protected] --- Changes v1 -> v2: *

Re: [PATCH 2/2] ARC: [axs10x] Specify reserved memory for frame buffer

2016-04-28 Thread Alexey Brodkin
Hi Vineet, On Thu, 2016-04-28 at 19:26 +0530, Vineet Gupta wrote: > On Thursday 28 April 2016 07:16 PM, Alexey Brodkin wrote: > > > > > > > > > > > > > Note that the IOC start alignment needs to follow > > > > max(4k, size). What will be m

[GIT PULL] drm/arcpgu: use dedicated memory area for frame buffer

2016-04-29 Thread Alexey Brodkin
-arc-processors/linux.git topic-arcpgu-updates for you to fetch changes up to cb2ad5e5339c5122166265cea579cc6a356d46de:   ARC: [axs10x] Specify reserved memory for frame buffer (2016-04-29 14:34:13 +0300) -------- Alexey Brodkin (2):   

Re: [GIT PULL] drm/arcpgu: use dedicated memory area for frame buffer

2016-05-10 Thread Alexey Brodkin
Hi Dave, On Fri, 2016-04-29 at 11:36 +, Alexey Brodkin wrote: > Hi Dave, > > Please pull this mini-series that allows ARC PGU to use > dedicated memory location as framebuffer backing storage. > > v2 of that series was reviewed here > https://lists.freedesktop.org/ar

Re: [GIT PULL] drm/arcpgu: use dedicated memory area for frame buffer

2016-05-16 Thread Alexey Brodkin
Hi Dave, On Tue, 2016-05-10 at 09:51 +, Alexey Brodkin wrote: > Hi Dave, > > On Fri, 2016-04-29 at 11:36 +0000, Alexey Brodkin wrote: > > > > Hi Dave, > > > > Please pull this mini-series that allows ARC PGU to use > > dedicated memory location as f

[PATCH] arc: axs103_smp: Fix CPU frequency to 100MHz for dual-core

2016-05-16 Thread Alexey Brodkin
aving a hack for clock "downgrade" on early boot for quad-core hardware. Also note this change will break functionality of AXS103 v1.0 hardware. That means all users of AXS103 __must__ upgrade their boards with the most recent firmware. Signed-off-by: Alexey Brodkin --- ar

  1   2   3   4   5   6   7   >