[PATCH v9 2/2] arm-soc: Add support for tango4 platforms
khilman at kernel.org
Thu Nov 19 11:32:34 PST 2015
Marc Gonzalez <marc_gonzalez at sigmadesigns.com> writes:
> Kevin Hilman wrote:
>> Marc Gonzalez wrote:
>>> Add support for Sigma Designs ARM-based Tango4 "Secure Media Processor"
>>> platforms (i.e. smp8734, smp8756, smp8758, smp8759) built around the
>>> Cortex-A9 MPCore r3p0 (all dual-core, except the 8756).
>>> Support for older MIPS-based platforms can be found elsewhere:
>>> Signed-off-by: Marc Gonzalez <marc_gonzalez at sigmadesigns.com>
>>> arch/arm/Kconfig | 2 ++
>>> arch/arm/Makefile | 1 +
>>> arch/arm/mach-tangox/Kconfig | 12 ++++++++++++
>>> arch/arm/mach-tangox/Makefile | 2 ++
>>> arch/arm/mach-tangox/setup.c | 32 ++++++++++++++++++++++++++++++++
>>> arch/arm/mach-tangox/smc.S | 9 +++++++++
>>> arch/arm/mach-tangox/smc.h | 5 +++++
>> Potential bike-shed fodder, but, a dumb question: is the family name
>> actually "tangox" or is the "x" for the number (tango3, tango4, etc.)
>> Assuming it's the later based on usage throughout the patch, I think
>> it'd be better to just use "tango" throughout instead of tangox.
> I should just change tangox to tango everywhere?
> This port supports tango4. I will submit a tango5 port in 2016.
> Does that change anything?
Probably not. I'm assuming it's an SoC in the same family, so the goal
should be to support both from the same mach dir. Most of the "real"
support should end up in drivers/* and DT descriptions, so the mach
directory should stay very small.
>> Also a MAINTAINERS file entry is appropriate for this new platform
>> support (as scripts/checkpatch.pl should have told you.)
> Thanks for pointing that out. I'll send a v10.
> Are these the only issues in your opinion?
I have a couple comments, I'll reply separately.
More information about the linux-arm-kernel