m>
Signed-off-by: Sekhar Nori <nsek...@ti.com>
Acked-by: Rob Herring <r...@kernel.org>
Signed-off-by: Faiz Abbas <faiz_ab...@ti.com>
---
Documentation/devicetree/bindings/net/can/m_can.txt | 9 +
1 file changed, 9 insertions(+)
diff --git a/Documentation/devicetree
With the version no longer required to allocate the net device, it can
be moved to probe and the alloc_m_can_dev() function can be simplified.
Therefore, move the allocation of net device to probe and change
alloc_m_can_dev() to setup_m_can_dev().
Signed-off-by: Faiz Abbas <faiz_ab...@ti.
e hclk as the interface clock using
pm_runtime calls must still provide a hclk in the
clocks property.
Support higher speed CAN-FD bitrate:
The community decided that data sampling point be used
for the secondary sampling point here
https://patchwork.kernel.org/patch/9909845/
Faiz Abbas (2):
can:
ence 2013 indicates that this TDC mode is
only needed for data bit rates above 2.5 Mbps. Therefore, only enable
this mode when the data bit rate is above 2.5 Mbps.
Signed-off-by: Franklin S Cooper Jr <fcoo...@ti.com>
Signed-off-by: Sekhar Nori <nsek...@ti.com>
Signed-off-by: Faiz Abbas &
SoCs that have the MCAN IP
to work with this driver.
Signed-off-by: Faiz Abbas <faiz_ab...@ti.com>
---
drivers/net/can/m_can/m_can.c | 100 ++
1 file changed, 62 insertions(+), 38 deletions(-)
diff --git a/drivers/net/can/m_can/m_can.c b/drivers/net/can
r Nori <nsek...@ti.com>
Acked-by: Rob Herring <r...@kernel.org>
Signed-off-by: Faiz Abbas <faiz_ab...@ti.com>
---
.../bindings/net/can/can-transceiver.txt | 24 ++
1 file changed, 24 insertions(+)
create mode 100644
Documentation/devicetree/bindings/net
Hi,
On Monday 15 January 2018 07:25 PM, Marc Kleine-Budde wrote:
> On 01/10/2018 11:55 AM, Faiz Abbas wrote:
>> From: Franklin S Cooper Jr <fcoo...@ti.com>
>>
>> Add support for CONFIG_PM which is the new way to handle managing clocks.
>>
>> Move th
Hi,
On Monday 15 January 2018 07:22 PM, Marc Kleine-Budde wrote:
> On 01/10/2018 11:55 AM, Faiz Abbas wrote:
>> With the version no longer required to allocate the net device, it can
>> be moved to probe and the alloc_m_can_dev() function can be simplified.
>>
>> The
Hi Rob,
On Friday 12 January 2018 01:50 AM, Rob Herring wrote:
> On Wed, Jan 10, 2018 at 4:55 AM, Faiz Abbas <faiz_ab...@ti.com> wrote:
>> From: Franklin S Cooper Jr <fcoo...@ti.com>
>>
>> Add information regarding can-transceiver binding. This is especially
&
;
Signed-off-by: Sekhar Nori <nsek...@ti.com>
Signed-off-by: Faiz Abbas <faiz_ab...@ti.com>
---
drivers/net/can/m_can/m_can.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/can/m_can/m_can.c b/drivers/net/can/m_can/m_can.c
index f4947a7..f72116e 100644
--- a/drivers/net
so add support for reading bitrate_max via the netlink interface.
Reviewed-by: Suman Anna <s-a...@ti.com>
Signed-off-by: Franklin S Cooper Jr <fcoo...@ti.com>
[nsek...@ti.com: fix build error with !CONFIG_OF]
Signed-off-by: Sekhar Nori <nsek...@ti.com>
Signed-off-by: Faiz
/patch/9909845/
Faiz Abbas (2):
can: m_can: Remove check for version when allocating m_can net device
can: m_can: Move allocation of net device to probe
Franklin S Cooper Jr (6):
can: dev: Add support for limiting configured bitrate
can: m_can: Add call to of_can_transceiver
can: m_can:
allocating the net device.
Signed-off-by: Faiz Abbas <faiz_ab...@ti.com>
---
drivers/net/can/m_can/m_can.c | 8 +---
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/drivers/net/can/m_can/m_can.c b/drivers/net/can/m_can/m_can.c
index f72116e..893edbb 100644
--- a/drivers/net/can
With the version no longer required to allocate the net device, it can
be moved to probe and the alloc_m_can_dev() function can be simplified.
Therefore, move the allocation of net device to probe and change
alloc_m_can_dev() to setup_m_can_dev().
Signed-off-by: Faiz Abbas <faiz_ab...@ti.
Sekhar Nori <nsek...@ti.com>
Signed-off-by: Faiz Abbas <faiz_ab...@ti.com>
---
drivers/net/can/m_can/m_can.c | 95 ---
1 file changed, 62 insertions(+), 33 deletions(-)
diff --git a/drivers/net/can/m_can/m_can.c b/drivers/net/can/m_can/m_can.c
ence 2013 indicates that this TDC mode is
only needed for data bit rates above 2.5 Mbps. Therefore, only enable
this mode when the data bit rate is above 2.5 Mbps.
Signed-off-by: Franklin S Cooper Jr <fcoo...@ti.com>
Signed-off-by: Sekhar Nori <nsek...@ti.com>
Signed-off-by: Faiz Abbas &
r Nori <nsek...@ti.com>
Signed-off-by: Faiz Abbas <faiz_ab...@ti.com>
---
.../bindings/net/can/can-transceiver.txt | 24 ++
1 file changed, 24 insertions(+)
create mode 100644
Documentation/devicetree/bindings/net/can/can-transceiver.txt
diff --git a/
m>
Signed-off-by: Sekhar Nori <nsek...@ti.com>
Signed-off-by: Faiz Abbas <faiz_ab...@ti.com>
---
Documentation/devicetree/bindings/net/can/m_can.txt | 9 +
1 file changed, 9 insertions(+)
diff --git a/Documentation/devicetree/bindings/net/can/m_can.txt
b/Documentation/dev
Hi,
On Wednesday 03 January 2018 08:47 PM, Marc Kleine-Budde wrote:
> On 01/03/2018 04:06 PM, Faiz Abbas wrote:
>> Hi,
>>
>> On Wednesday 03 January 2018 07:55 PM, Marc Kleine-Budde wrote:
>>> On 01/03/2018 01:39 PM, Faiz Abbas wrote:
>>>> On Tuesday 0
Hi,
On Wednesday 03 January 2018 07:55 PM, Marc Kleine-Budde wrote:
> On 01/03/2018 01:39 PM, Faiz Abbas wrote:
>> On Tuesday 02 January 2018 09:37 PM, Marc Kleine-Budde wrote:
>>> On 12/22/2017 02:31 PM, Faiz Abbas wrote:
>>>> From: Franklin S Cooper Jr <fcoo
Hi,
On Tuesday 02 January 2018 07:05 PM, Marc Kleine-Budde wrote:
> On 12/22/2017 02:31 PM, Faiz Abbas wrote:
>> From: Franklin S Cooper Jr <fcoo...@ti.com>
>>
>> During test transmitting using CAN-FD at high bitrates (> 2 Mbps)
>> would fail. Scoping the sign
Hi,
On Tuesday 02 January 2018 09:37 PM, Marc Kleine-Budde wrote:
> On 12/22/2017 02:31 PM, Faiz Abbas wrote:
>> From: Franklin S Cooper Jr <fcoo...@ti.com>
>>
>> Add support for PM Runtime which is the new way to handle managing clocks.
>> However, to avoid b
Hi,
On Tuesday 02 January 2018 09:45 PM, Marc Kleine-Budde wrote:
> On 12/22/2017 02:31 PM, Faiz Abbas wrote:
>> From: Franklin S Cooper Jr <fcoo...@ti.com>
>>
>> Various CAN or CAN-FD IP may be able to run at a faster rate than
>> what the transceiver the CAN no
Hi Marc,
On Tuesday 02 January 2018 06:30 PM, Marc Kleine-Budde wrote:
> On 12/22/2017 02:31 PM, Faiz Abbas wrote:
>> From: Franklin S Cooper Jr <fcoo...@ti.com>
>>
>> Various CAN or CAN-FD IP may be able to run at a faster rate than
>> what the transceiver the C
ed-off-by: Franklin S Cooper Jr <fcoo...@ti.com>
[nsek...@ti.com: fix build error with !CONFIG_OF]
Signed-off-by: Sekhar Nori <nsek...@ti.com>
Signed-off-by: Faiz Abbas <faiz_ab...@ti.com>
---
v6 changes:
fix build error with !CONFIG_OF
driv
r Nori <nsek...@ti.com>
Acked-by: Rob Herring <r...@kernel.org>
Signed-off-by: Faiz Abbas <faiz_ab...@ti.com>
---
.../bindings/net/can/can-transceiver.txt | 24 ++
1 file changed, 24 insertions(+)
create mode 100644
Documentation/devicetree/bindings/net
This patch series adds support for M_CAN on the TI Dra76
platform. Device tree patches will be sent separately.
A bunch of patches were sent before by
Franklin Cooper . I have clubbed the
series together and rebased to the latest kernel.
v6 changes:
Dropped the patches to make
ence 2013 indicates that this TDC mode is
only needed for data bit rates above 2.5 Mbps. Therefore, only enable
this mode when the data bit rate is above 2.5 Mbps.
Signed-off-by: Franklin S Cooper Jr <fcoo...@ti.com>
Signed-off-by: Sekhar Nori <nsek...@ti.com>
Signed-off-by: Faiz Abbas &
m>
Signed-off-by: Sekhar Nori <nsek...@ti.com>
Acked-by: Rob Herring <r...@kernel.org>
Signed-off-by: Faiz Abbas <faiz_ab...@ti.com>
---
Documentation/devicetree/bindings/net/can/m_can.txt | 9 +
1 file changed, 9 insertions(+)
diff --git a/Documentation/devicetree
;
Signed-off-by: Sekhar Nori <nsek...@ti.com>
Signed-off-by: Faiz Abbas <faiz_ab...@ti.com>
---
drivers/net/can/m_can/m_can.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/can/m_can/m_can.c b/drivers/net/can/m_can/m_can.c
index f4947a7..f72116e 100644
--- a/drivers/net
gement.
Therefore, this allows future Texas Instruments SoCs that have the MCAN IP
to work with this driver.
Signed-off-by: Franklin S Cooper Jr <fcoo...@ti.com>
[nsek...@ti.com: handle pm_runtime_get_sync() failure, fix some bugs]
Signed-off-by: Sekhar Nori <nsek...@ti.com>
Signed-off-by: F
31 matches
Mail list logo