]> git.baikalelectronics.ru Git - kernel.git/commit
can: flexcan: add support for PE clock source select
authorDong Aisheng <aisheng.dong@nxp.com>
Thu, 13 Dec 2018 07:08:00 +0000 (07:08 +0000)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Wed, 24 Jul 2019 08:31:55 +0000 (10:31 +0200)
commit2bb750b90f4a84f2e3c259c9c94ad4266f9c4015
treeba985d49c5bd51db29eb86923934eac84904701e
parent6dac339ee27a9b3fce1ad2e75baf77c82220f8e8
can: flexcan: add support for PE clock source select

Add support to select the clock source for CAN Protocol Engine (PE).
It's SoC Implementation dependent. Refer to RM for detailed definition
of each SoC. We select clock source 1 (peripheral clock) by default in
driver now, this patch adds support to parse the clock source from the DT.

Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: Joakim Zhang <qiangqing.zhang@nxp.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/flexcan.c