[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-can
Subject:    Re: [PATCH 1/2] dt-binding: can: mcp2517fd: document device tree bindings
From:       Patrick Menschel <menschel.p () posteo ! de>
Date:       2017-11-30 17:49:08
Message-ID: 1ac487f7-17e3-c8a0-0f99-8138fe867373 () posteo ! de
[Download RAW message or body]

Am 30.11.2017 um 17:58 schrieb kernel@martin.sperl.org:
>
>> drivers/tty/serial/max310x.c
>> Documentation/devicetree/bindings/serial/maxim,max310x.txt
>> Look for "#ifdef CONFIG_GPIOLIB".
> This is a gpio-controller, for which this is what I would implement.
>
Hi,

you are mistaken about that, max310x chips are spi to uart bridges with
strong ties to rs485 which is very similar to CAN except for the missing
arbitration in hardware. Max14830 has GPIOs with clocking support, so
this chip's driver also fused the main function with secondary gpio
functions.
https://datasheets.maximintegrated.com/en/ds/MAX14830.pdf

Anyway I'm curious what is best practice for this sort of configuration.

Regards,
Patrick


["smime.p7s" (application/pkcs7-signature)]
--
To unsubscribe from this list: send the line "unsubscribe linux-can" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic