From: Hans J. Koch on
On Fri, May 28, 2010 at 01:42:18PM +0200, Marc Kleine-Budde wrote:
> Signed-off-by: Marc Kleine-Budde <mkl(a)pengutronix.de>
> ---
> arch/arm/mach-mx3/devices.c | 40 ++++++++++++++++++++++++++++++++++++++++
> arch/arm/mach-mx3/devices.h | 2 ++
> 2 files changed, 42 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/mach-mx3/devices.c b/arch/arm/mach-mx3/devices.c
> index db7acd6..0e1e20b 100644
> --- a/arch/arm/mach-mx3/devices.c
> +++ b/arch/arm/mach-mx3/devices.c
> @@ -127,6 +127,46 @@ struct platform_device mxc_uart_device4 = {
> };
> #endif /* CONFIG_ARCH_MX31 */
>
> +#ifdef CONFIG_ARCH_MX35
> +static struct resource mxc_can_1_resources[] = {
> + {
> + .start = 0x53fe4000,
> + .end = 0x53fe7fff,
> + .flags = IORESOURCE_MEM,
> + }, {
> + .start = 43,
> + .end = 43,
> + .flags = IORESOURCE_IRQ,
> + }
> +};
> +
> +struct platform_device mxc_can_device0 = {
> + .name = "flexcan",

Did you also post the flexcan driver itself somewhere? I've got such a device
on my desk right now, and would be willing to test that. I've made some tests
with Sascha's old version, but it's not really satisfying...

Thanks,
Hans
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
From: Marc Kleine-Budde on
Hans J. Koch wrote:
> On Fri, May 28, 2010 at 01:42:18PM +0200, Marc Kleine-Budde wrote:
>> Signed-off-by: Marc Kleine-Budde <mkl(a)pengutronix.de>
>> ---
>> arch/arm/mach-mx3/devices.c | 40 ++++++++++++++++++++++++++++++++++++++++
>> arch/arm/mach-mx3/devices.h | 2 ++
>> 2 files changed, 42 insertions(+), 0 deletions(-)
>>
>> diff --git a/arch/arm/mach-mx3/devices.c b/arch/arm/mach-mx3/devices.c
>> index db7acd6..0e1e20b 100644
>> --- a/arch/arm/mach-mx3/devices.c
>> +++ b/arch/arm/mach-mx3/devices.c
>> @@ -127,6 +127,46 @@ struct platform_device mxc_uart_device4 = {
>> };
>> #endif /* CONFIG_ARCH_MX31 */
>>
>> +#ifdef CONFIG_ARCH_MX35
>> +static struct resource mxc_can_1_resources[] = {
>> + {
>> + .start = 0x53fe4000,
>> + .end = 0x53fe7fff,
>> + .flags = IORESOURCE_MEM,
>> + }, {
>> + .start = 43,
>> + .end = 43,
>> + .flags = IORESOURCE_IRQ,
>> + }
>> +};
>> +
>> +struct platform_device mxc_can_device0 = {
>> + .name = "flexcan",
>
> Did you also post the flexcan driver itself somewhere? I've got such a device
> on my desk right now, and would be willing to test that. I've made some tests
> with Sascha's old version, but it's not really satisfying...

It's not yet posted, I'm currently restructuring the driver with regards
to the set_bittiming and control mode discussion on the socketcan ML.

cheers, Marc

--
Pengutronix e.K. | Marc Kleine-Budde |
Industrial Linux Solutions | Phone: +49-231-2826-924 |
Vertretung West/Dortmund | Fax: +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |