[RFC] ARM: memory: da8xx-ddrctl: new driver

2016-10-25 Thread Bartosz Golaszewski
2016-10-24 19:00 GMT+02:00 Mark Rutland : > On Mon, Oct 24, 2016 at 06:46:36PM +0200, Bartosz Golaszewski wrote: >> + >> + dev = &pdev->dev; >> + node = dev->of_node; >> + >> + /* Find the board name. */ >> + for (parent = node; >> + !of_node_is_root(parent); >> +

[RFC] ARM: memory: da8xx-ddrctl: new driver

2016-10-24 Thread Bartosz Golaszewski
Create a new driver for the da8xx DDR2/mDDR controller and implement support for writing to the Peripheral Bus Burst Priority Register. Signed-off-by: Bartosz Golaszewski --- .../memory-controllers/ti-da8xx-ddrctl.txt | 20 +++ drivers/memory/Kconfig | 8 +

[RFC] ARM: memory: da8xx-ddrctl: new driver

2016-10-24 Thread Mark Rutland
On Mon, Oct 24, 2016 at 10:35:30AM -0700, Kevin Hilman wrote: > Hi Mark, > > Mark Rutland writes: > > On Mon, Oct 24, 2016 at 06:46:36PM +0200, Bartosz Golaszewski wrote: > >> +static int da8xx_ddrctl_probe(struct platform_device *pdev) > >> +{ > >> + const struct da8xx_ddrctl_config_knob *knob;

[RFC] ARM: memory: da8xx-ddrctl: new driver

2016-10-24 Thread Mark Rutland
On Mon, Oct 24, 2016 at 06:46:36PM +0200, Bartosz Golaszewski wrote: > Create a new driver for the da8xx DDR2/mDDR controller and implement > support for writing to the Peripheral Bus Burst Priority Register. > > Signed-off-by: Bartosz Golaszewski > --- > .../memory-controllers/ti-da8xx-ddrctl.t

[RFC] ARM: memory: da8xx-ddrctl: new driver

2016-10-24 Thread Kevin Hilman
On Mon, Oct 24, 2016 at 11:41 AM, Kevin Hilman wrote: > Mark Rutland writes: > >> On Mon, Oct 24, 2016 at 10:35:30AM -0700, Kevin Hilman wrote: >>> Hi Mark, >>> >>> Mark Rutland writes: >>> > On Mon, Oct 24, 2016 at 06:46:36PM +0200, Bartosz Golaszewski wrote: >>> >> +static int da8xx_ddrctl_pro

[RFC] ARM: memory: da8xx-ddrctl: new driver

2016-10-24 Thread Kevin Hilman
Mark Rutland writes: > On Mon, Oct 24, 2016 at 10:35:30AM -0700, Kevin Hilman wrote: >> Hi Mark, >> >> Mark Rutland writes: >> > On Mon, Oct 24, 2016 at 06:46:36PM +0200, Bartosz Golaszewski wrote: >> >> +static int da8xx_ddrctl_probe(struct platform_device *pdev) >> >> +{ >> >> + const struct

[RFC] ARM: memory: da8xx-ddrctl: new driver

2016-10-24 Thread Kevin Hilman
Hi Mark, Mark Rutland writes: > On Mon, Oct 24, 2016 at 06:46:36PM +0200, Bartosz Golaszewski wrote: >> Create a new driver for the da8xx DDR2/mDDR controller and implement >> support for writing to the Peripheral Bus Burst Priority Register. >> >> Signed-off-by: Bartosz Golaszewski >> --- >>