[PATCH linux dev-4.7 00/12] aspeed-smc: add support for AST2500 and DMA transfers

Cédric Le Goater clg at kaod.org
Mon Oct 17 17:46:03 AEDT 2016


On 10/17/2016 07:14 AM, Joel Stanley wrote:
> On Fri, Oct 14, 2016 at 11:07 PM, Cédric Le Goater <clg at kaod.org> wrote:
>> Hello,
>>
>> This patchset adds to the current aspeed SMC driver the register
>> settings enabling support for the AST2500. Some initial work is done
>> on the segment registers to provide a better configuration of the
>> mapping windows on the flash modules but this area clearly needs more
>> work to be solid.
> 
> Thanks for sending these out. I have a few comments that I'll give you
> a chance to respond to, but then we will apply this to dev-4.7 so
> teams who require flash support have it ready to go.
>
> At that point, I suggest we send it upstream for comment in it's current state.

As a big one patch I suppose ? 

I would like to cleanup the probe function first before. This is just 
code shuffling so I will send something soon making sure that the 
result passes checkpatch --strict at least. 

Thanks,

C. 
 
> Cheers,
> 
> Joel
> 
>>
>> Also, a first version of DMA read/write is provided. But the speed
>> results are not very satisfying so they are disabled by default. You
>>
>> Thanks,
>>
>> C.
>>
>> Cédric Le Goater (7):
>>   ARM: dts: aspeed-g5: update ast2500 evb with new spi-nor binding
>>   mtd: spi-nor: aspeed: make locking more explicit
>>   mtd: spi-nor: aspeed: introduce a device under aspeed_smc_controller
>>   mtd: spi-nor: aspeed: add DMA support to smc controller
>>   ARM: dts: aspeed: update SMC controller nodes supporting DMAs
>>   mtd: spi-nor: aspeed: use property "aspeed,fmc-has-dma"
>>   mtd: spi-nor: aspeed: use fast read when doing DMAs
>>
>> Milton Miller (5):
>>   mtd: spi-nor: support for Aspeed AST2500 SoC
>>   mtd: spi-nor: aspeed: Manage the segment address registers
>>   mtd: spi-nor: Add Micronix mx66l1g45g spi flash
>>   ARM: dts: aspeed-g5: update for new spi-nor binding
>>   ARM: dts: aspeed-g5: update witherspoon for new spi-nor binding
>>
>>  .../devicetree/bindings/mtd/aspeed-smc.txt         |  32 +-
>>  arch/arm/boot/dts/aspeed-ast2500-evb.dts           |  28 +-
>>  arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts      |   2 +
>>  arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts   |  28 +-
>>  arch/arm/boot/dts/aspeed-g5.dtsi                   |  65 +++
>>  drivers/mtd/spi-nor/aspeed-smc.c                   | 449 +++++++++++++++++----
>>  drivers/mtd/spi-nor/spi-nor.c                      |   1 +
>>  7 files changed, 499 insertions(+), 106 deletions(-)
>>
>> --
>> 2.7.4
>>



More information about the openbmc mailing list