Re: [V2 2/2] powerpc/512x: add LocalPlus Bus FIFO device driver

From: Rob Herring
Date: Wed Jul 10 2013 - 09:57:19 EST


On 07/10/2013 08:46 AM, Gerhard Sittig wrote:
> On Wed, Jul 10, 2013 at 14:21 +0400, Alexander Popov wrote:
>>
>> This is SCLPC device driver for the Freescale MPC512x.
>> It is needed for Direct Memory Access to the devices on LocalPlus Bus.
>>
>> Signed-off-by: Alexander Popov <a13xp0p0v88@xxxxxxxxx>
>> ---
>> arch/powerpc/boot/dts/mpc5121.dtsi | 8 +-
>> arch/powerpc/include/asm/mpc5121.h | 32 ++
>> arch/powerpc/platforms/512x/Kconfig | 6 +
>> arch/powerpc/platforms/512x/Makefile | 1 +
>> arch/powerpc/platforms/512x/mpc512x_lpbfifo.c | 485 ++++++++++++++++++++++++++
>> 5 files changed, 531 insertions(+), 1 deletion(-)
>> create mode 100644 arch/powerpc/platforms/512x/mpc512x_lpbfifo.c
>>
>> diff --git a/arch/powerpc/boot/dts/mpc5121.dtsi b/arch/powerpc/boot/dts/mpc5121.dtsi
>> index bd14c00..6e0b0c0 100644
>> --- a/arch/powerpc/boot/dts/mpc5121.dtsi
>> +++ b/arch/powerpc/boot/dts/mpc5121.dtsi
>> @@ -261,7 +261,13 @@
>> /* LocalPlus controller */
>> lpc@10000 {
>> compatible = "fsl,mpc5121-lpc";
>> - reg = <0x10000 0x200>;
>> + reg = <0x10000 0x100>;
>> + };
>> +
>> + sclpc@10100 {
>> + compatible = "fsl,mpc512x-lpbfifo";

The binding needs to be documented.

Rob

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/