From: Faiz Abbas
Add support for implementing transceiver node as phy. The max_bitrate is
obtained by getting a phy attribute.
Signed-off-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
---
drivers/net/can/m_can/m_can.c | 10 ++
drivers/net/can/m_can/m_can.h | 2
using
the phy node.
Document the above implementation in the bosch mcan bindings
Signed-off-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
Acked-by: Rob Herring
---
Documentation/devicetree/bindings/net/can/bosch,m_can.yaml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/Documentation
The following series of patches add support for implementing the
transceiver as a phy of m_can_platform driver.
TCAN1042 has a standby signal that needs to be pulled high for
sending/receiving messages[1]. TCAN1043 has a enable signal along with
standby signal that needs to be pulled up for sendin
Hi all,
On 15/04/21 9:16 pm, Aswath Govindraju wrote:
> The following series of patches add support for implementing the
> transceiver as a phy of m_can_platform driver.
>
> TCAN1042 has a standby signal that needs to be pulled high for
> sending/receiving messages[1]. TCAN10
From: Faiz Abbas
Add support for implementing transceiver node as phy. The max_bitrate is
obtained by getting a phy attribute.
Signed-off-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
---
drivers/net/can/m_can/m_can.c | 10 ++
drivers/net/can/m_can/m_can.h | 2
using
the phy node.
Document the above implementation in the bosch mcan bindings
Signed-off-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
---
Documentation/devicetree/bindings/net/can/bosch,m_can.yaml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/Documentation/devicetree/bindings
The following series of patches add support for implementing the
transceiver as a phy of m_can_platform driver.
TCAN1042 has a standby signal that needs to be pulled high for
sending/receiving messages[1]. TCAN1043 has a enable signal along with
standby signal that needs to be pulled up for sendin
using
the phy node.
Document the above implementation in the bosch mcan bindings
Signed-off-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
---
Documentation/devicetree/bindings/net/can/bosch,m_can.yaml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/Documentation/devicetree/bindings
The following series of patches add support for implementing the
transceiver as a phy of m_can_platform driver.
TCAN1042 has a standby signal that needs to be pulled high for
sending/receiving messages[1]. TCAN1043 has a enable signal along with
standby signal that needs to be pulled up for sendin
From: Faiz Abbas
Add support for implementing transceiver node as phy. The max_bitrate is
obtained by getting a phy attribute.
Signed-off-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
---
drivers/net/can/m_can/m_can.c | 10 ++
drivers/net/can/m_can/m_can.h | 2
Hi all,
On 15/04/21 8:36 pm, Aswath Govindraju wrote:
> The following series of patches add support for implementing the
> transceiver as a phy of m_can_platform driver.
>
> TCAN1042 has a standby signal that needs to be pulled high for
> sending/receiving messages[1]. TCAN10
Hi all,
On 15/04/21 8:36 pm, Aswath Govindraju wrote:
> The following series of patches add support for implementing the
> transceiver as a phy of m_can_platform driver.
>
> TCAN1042 has a standby signal that needs to be pulled high for
> sending/receiving messages[1]. TCAN10
Hi Marc,
On 15/04/21 1:08 pm, Marc Kleine-Budde wrote:
> On 15.04.2021 11:57:20, Aswath Govindraju wrote:
>> Hi Marc,
>>
>> On 14/04/21 9:03 pm, Marc Kleine-Budde wrote:
>>> On 14.04.2021 19:35:18, Aswath Govindraju wrote:
>>>> Add binding docu
Hi Marc,
On 14/04/21 9:03 pm, Marc Kleine-Budde wrote:
> On 14.04.2021 19:35:18, Aswath Govindraju wrote:
>> Add binding documentation for TI TCAN104x CAN transceivers.
>>
>> Signed-off-by: Aswath Govindraju
>> ---
>> .../bindings/phy/
From: Faiz Abbas
Add support for implementing transceiver node as phy. The max_bitrate is
obtained by getting a phy attribute.
Signed-off-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
---
drivers/net/can/m_can/m_can.c | 18 ++
drivers/net/can/m_can/m_can.h
using
the phy node.
Document the above implementation in the bosch mcan bindings
Signed-off-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
---
Documentation/devicetree/bindings/net/can/bosch,m_can.yaml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/Documentation/devicetree/bindings
In some subsystems (eg. CAN, SPI), the max link rate supported can be less
than 1 Mbps and if the unit for max_link_rate is Mbps then it can't be
used. Therefore, leave the decision of units to be used, to the producer
and consumer.
Signed-off-by: Aswath Govindraju
---
include/linux/phy/
Add API for devm_of_phy_optional_get_by_index, to obtain a reference to an
optional phy by index.
Signed-off-by: Aswath Govindraju
---
drivers/phy/phy-core.c | 26 ++
include/linux/phy/phy.h | 2 ++
2 files changed, 28 insertions(+)
diff --git a/drivers/phy/phy-core.c
lose
respectively
- Moved the check for max_bit_rate to generice transceiver driver
[1] - https://www.ti.com/lit/ds/symlink/tcan1042h.pdf
[2] - https://www.ti.com/lit/ds/symlink/tcan1043-q1.pdf
Aswath Govindraju (4):
phy: core: Reword the comment specifying the units of max_link_rate to
be
modes. It also gets the phy
attribute max_link_rate for the usage of CAN drivers.
Signed-off-by: Aswath Govindraju
---
MAINTAINERS | 1 +
drivers/phy/Kconfig | 9 ++
drivers/phy/Makefile | 1 +
drivers/phy/phy-can-transceiver.c | 146
Add binding documentation for TI TCAN104x CAN transceivers.
Signed-off-by: Aswath Govindraju
---
.../bindings/phy/ti,tcan104x-can.yaml | 56 +++
MAINTAINERS | 1 +
2 files changed, 57 insertions(+)
create mode 100644 Documentation
Hi Marc,
On 13/04/21 6:45 pm, Rob Herring wrote:
> On Tue, Apr 13, 2021 at 2:41 AM Marc Kleine-Budde wrote:
>>
>> On 12.04.2021 12:49:56, Rob Herring wrote:
>>> On Mon, Apr 12, 2021 at 12:19:30PM +0200, Marc Kleine-Budde wrote:
>>>> On 4/9/21 3:40 PM, Aswath
Hi Rob,
On 12/04/21 11:21 pm, Rob Herring wrote:
> On Fri, Apr 09, 2021 at 07:10:53PM +0530, Aswath Govindraju wrote:
>> From: Faiz Abbas
>>
>> Some transceivers need a configuration step (for example, pulling the
>> standby or enable lines) for them to start sending m
Hi Marc,
On 12/04/21 3:48 pm, Marc Kleine-Budde wrote:
> On 4/9/21 3:40 PM, Aswath Govindraju wrote:
>> The driver adds support for generic CAN transceivers. Currently
>> the modes supported by this driver are standby and normal modes for TI
>> TCAN1042 and TCAN1043 CAN tr
From: Faiz Abbas
Add support for implementing transceiver node as phy. The max_bitrate is
obtained by getting a phy attribute.
Signed-off-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
---
drivers/net/can/m_can/m_can_platform.c | 25 +
1 file changed, 25 insertions
using
the phy node.
Document the above implementation in the bosch mcan bindings
Signed-off-by: Faiz Abbas
Signed-off-by: Aswath Govindraju
---
Documentation/devicetree/bindings/net/can/bosch,m_can.yaml | 6 ++
1 file changed, 6 insertions(+)
diff --git a/Documentation/devicetree/bindings
properties for indicating gpio pin numbers
to which standby and enable signals are connected.
Patch 2 adds a generic driver to support CAN transceivers.
Patches 3 & 4 add support for implementing the transceiver as a phy of
m_can_platform driver.
Aswath Govindraju (2):
dt-bindings: phy: Add bin
Add binding documentation for TI TCAN104x CAN transceivers.
Signed-off-by: Aswath Govindraju
---
.../bindings/phy/ti,tcan104x-can.yaml | 56 +++
1 file changed, 56 insertions(+)
create mode 100644 Documentation/devicetree/bindings/phy/ti,tcan104x-can.yaml
diff --git a
modes. It also gets the phy
attribute max_link_rate for the usage of m_can drivers.
Signed-off-by: Aswath Govindraju
---
drivers/phy/Kconfig | 9 ++
drivers/phy/Makefile | 1 +
drivers/phy/phy-can-transceiver.c | 140 ++
3 files changed
29 matches
Mail list logo