Re: [RFC PATCH] can: m_can: Support higher speed CAN-FD bitrates

2017-10-19 Thread Franklin S Cooper Jr
On 10/19/2017 09:55 AM, Marc Kleine-Budde wrote: > On 10/19/2017 03:54 PM, Franklin S Cooper Jr wrote: >> On 10/19/2017 06:32 AM, Marc Kleine-Budde wrote: >>> On 10/19/2017 01:09 PM, Sekhar Nori wrote: >>>> On Thursday 19 October 2017 02:43 PM, Marc Kleine-Budde wr

Re: [RFC PATCH] can: m_can: Support higher speed CAN-FD bitrates

2017-10-19 Thread Franklin S Cooper Jr
On 10/19/2017 09:55 AM, Marc Kleine-Budde wrote: > On 10/19/2017 03:54 PM, Franklin S Cooper Jr wrote: >> On 10/19/2017 06:32 AM, Marc Kleine-Budde wrote: >>> On 10/19/2017 01:09 PM, Sekhar Nori wrote: >>>> On Thursday 19 October 2017 02:43 PM, Marc Kleine-Budde wr

Re: [RFC PATCH] can: m_can: Support higher speed CAN-FD bitrates

2017-10-19 Thread Franklin S Cooper Jr
On 10/19/2017 06:32 AM, Marc Kleine-Budde wrote: > On 10/19/2017 01:09 PM, Sekhar Nori wrote: >> On Thursday 19 October 2017 02:43 PM, Marc Kleine-Budde wrote: >>> On 10/19/2017 07:07 AM, Sekhar Nori wrote: >>> Sounds reasonable. What's the status of this series? >> >> I have had

Re: [RFC PATCH] can: m_can: Support higher speed CAN-FD bitrates

2017-10-19 Thread Franklin S Cooper Jr
On 10/19/2017 06:32 AM, Marc Kleine-Budde wrote: > On 10/19/2017 01:09 PM, Sekhar Nori wrote: >> On Thursday 19 October 2017 02:43 PM, Marc Kleine-Budde wrote: >>> On 10/19/2017 07:07 AM, Sekhar Nori wrote: >>> Sounds reasonable. What's the status of this series? >> >> I have had

Re: [RFC PATCH] can: m_can: Support higher speed CAN-FD bitrates

2017-10-18 Thread Franklin S Cooper Jr
On 10/18/2017 08:24 AM, Sekhar Nori wrote: > Hi Marc, > > On Wednesday 18 October 2017 06:14 PM, Marc Kleine-Budde wrote: >> On 09/21/2017 02:48 AM, Franklin S Cooper Jr wrote: >>> >>> >>> On 09/20/2017 04:37 PM, Mario Hüttel wrote: >>>>

Re: [RFC PATCH] can: m_can: Support higher speed CAN-FD bitrates

2017-10-18 Thread Franklin S Cooper Jr
On 10/18/2017 08:24 AM, Sekhar Nori wrote: > Hi Marc, > > On Wednesday 18 October 2017 06:14 PM, Marc Kleine-Budde wrote: >> On 09/21/2017 02:48 AM, Franklin S Cooper Jr wrote: >>> >>> >>> On 09/20/2017 04:37 PM, Mario Hüttel wrote: >>>>

Re: [v2,1/3] can: m_can: Make hclk optional

2017-09-21 Thread Franklin S Cooper Jr
On 09/21/2017 09:08 AM, Sekhar Nori wrote: > On Thursday 21 September 2017 06:01 AM, Franklin S Cooper Jr wrote: >> >> >> On 08/24/2017 03:00 AM, Sekhar Nori wrote: >>> + some OMAP folks and Linux OMAP list >>> >>> On Tuesday 25 July 2017 04:21 AM

Re: [v2,1/3] can: m_can: Make hclk optional

2017-09-21 Thread Franklin S Cooper Jr
On 09/21/2017 09:08 AM, Sekhar Nori wrote: > On Thursday 21 September 2017 06:01 AM, Franklin S Cooper Jr wrote: >> >> >> On 08/24/2017 03:00 AM, Sekhar Nori wrote: >>> + some OMAP folks and Linux OMAP list >>> >>> On Tuesday 25 July 2017 04:21 AM

Re: [RFC PATCH] can: m_can: Support higher speed CAN-FD bitrates

2017-09-20 Thread Franklin S Cooper Jr
On 09/20/2017 04:37 PM, Mario Hüttel wrote: > > > On 09/20/2017 10:19 PM, Franklin S Cooper Jr wrote: >> Hi Wenyou, >> >> On 09/17/2017 10:47 PM, Yang, Wenyou wrote: >>> >>> On 2017/9/14 13:06, Sekhar Nori wrote: >>>> On Thursd

Re: [RFC PATCH] can: m_can: Support higher speed CAN-FD bitrates

2017-09-20 Thread Franklin S Cooper Jr
On 09/20/2017 04:37 PM, Mario Hüttel wrote: > > > On 09/20/2017 10:19 PM, Franklin S Cooper Jr wrote: >> Hi Wenyou, >> >> On 09/17/2017 10:47 PM, Yang, Wenyou wrote: >>> >>> On 2017/9/14 13:06, Sekhar Nori wrote: >>>> On Thursd

Re: [v2,3/3] can: m_can: Add PM Runtime

2017-09-20 Thread Franklin S Cooper Jr
sed devices to handle clock management. >> 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> > > Thanks, > Sekhar > >> --- >> driv

Re: [v2,3/3] can: m_can: Add PM Runtime

2017-09-20 Thread Franklin S Cooper Jr
sed devices to handle clock management. >> Therefore, this allows future Texas Instruments SoCs that have the MCAN IP >> to work with this driver. >> >> Signed-off-by: Franklin S Cooper Jr > > Thanks, > Sekhar > >> --- >> drivers/net/can/m_can/m_ca

Re: [v2,1/3] can: m_can: Make hclk optional

2017-09-20 Thread Franklin S Cooper Jr
re a restriction in OMAP architecture against passing the > interface clock also in the 'clocks' property in DT. I have not tried it > myself, but wonder if you hit an issue that led to this patch. No but not passing the interface clock is typical. > >> >> Signed-off-by: Fr

Re: [v2,1/3] can: m_can: Make hclk optional

2017-09-20 Thread Franklin S Cooper Jr
re a restriction in OMAP architecture against passing the > interface clock also in the 'clocks' property in DT. I have not tried it > myself, but wonder if you hit an issue that led to this patch. No but not passing the interface clock is typical. > >> >> Signed-off-by: Fr

Re: [PATCH v2 1/3] can: m_can: Make hclk optional

2017-09-20 Thread Franklin S Cooper Jr
al clock. However, I haven't seen drivers verify that this kind of constraint is properly met. Personally I think its a valid fault but one that can be ignored from the driver perspective. > > Regards > > Mario > >> >> Signed-off-by: Franklin S Cooper Jr <fcoo...@

Re: [PATCH v2 1/3] can: m_can: Make hclk optional

2017-09-20 Thread Franklin S Cooper Jr
al clock. However, I haven't seen drivers verify that this kind of constraint is properly met. Personally I think its a valid fault but one that can be ignored from the driver perspective. > > Regards > > Mario > >> >> Signed-off-by: Franklin S Cooper Jr >&g

Re: [RFC PATCH] can: m_can: Support higher speed CAN-FD bitrates

2017-09-20 Thread Franklin S Cooper Jr
Hi Wenyou, On 09/17/2017 10:47 PM, Yang, Wenyou wrote: > > > On 2017/9/14 13:06, Sekhar Nori wrote: >> On Thursday 14 September 2017 03:28 AM, Franklin S Cooper Jr wrote: >>> >>> On 08/18/2017 02:39 PM, Franklin S Cooper Jr wrote: >>>> During test

Re: [RFC PATCH] can: m_can: Support higher speed CAN-FD bitrates

2017-09-20 Thread Franklin S Cooper Jr
Hi Wenyou, On 09/17/2017 10:47 PM, Yang, Wenyou wrote: > > > On 2017/9/14 13:06, Sekhar Nori wrote: >> On Thursday 14 September 2017 03:28 AM, Franklin S Cooper Jr wrote: >>> >>> On 08/18/2017 02:39 PM, Franklin S Cooper Jr wrote: >>>> During test

Re: [RFC PATCH] can: m_can: Support higher speed CAN-FD bitrates

2017-09-13 Thread Franklin S Cooper Jr
On 08/18/2017 02:39 PM, Franklin S Cooper Jr wrote: > During test transmitting using CAN-FD at high bitrates (4 Mbps) only > resulted in errors. Scoping the signals I noticed that only a single bit > was being transmitted and with a bit more investigation realized the actual > MCAN

Re: [RFC PATCH] can: m_can: Support higher speed CAN-FD bitrates

2017-09-13 Thread Franklin S Cooper Jr
On 08/18/2017 02:39 PM, Franklin S Cooper Jr wrote: > During test transmitting using CAN-FD at high bitrates (4 Mbps) only > resulted in errors. Scoping the signals I noticed that only a single bit > was being transmitted and with a bit more investigation realized the actual > MCAN

[PATCH v4 1/2] i2c: davinci: Add PM Runtime Support

2017-09-11 Thread Franklin S Cooper Jr
66AK2G has I2C instances that are not apart of the ALWAYS_ON power domain unlike other Keystone 2 SoCs and OMAPL138. Therefore, pm_runtime is required to insure the power domain used by the specific I2C instance is properly turned on along with its functional clock. Signed-off-by: Franklin S

[PATCH v4 1/2] i2c: davinci: Add PM Runtime Support

2017-09-11 Thread Franklin S Cooper Jr
66AK2G has I2C instances that are not apart of the ALWAYS_ON power domain unlike other Keystone 2 SoCs and OMAPL138. Therefore, pm_runtime is required to insure the power domain used by the specific I2C instance is properly turned on along with its functional clock. Signed-off-by: Franklin S

[PATCH v4 2/2] dt-bindings: i2c: i2c-davinci: Update binding for 66AK2Gx pwr dm property

2017-09-11 Thread Franklin S Cooper Jr
Add pm-domains property which is required for 66AK2Gx. Also document 66AK2G unique clocks property usage. Signed-off-by: Franklin S Cooper Jr <fcoo...@ti.com> Acked-by: Rob Herring <r...@kernel.org> Acked-by: Sekhar Nori <nsek...@ti.com> --- Documentation/devicetree/bindings/i

[PATCH v4 2/2] dt-bindings: i2c: i2c-davinci: Update binding for 66AK2Gx pwr dm property

2017-09-11 Thread Franklin S Cooper Jr
Add pm-domains property which is required for 66AK2Gx. Also document 66AK2G unique clocks property usage. Signed-off-by: Franklin S Cooper Jr Acked-by: Rob Herring Acked-by: Sekhar Nori --- Documentation/devicetree/bindings/i2c/i2c-davinci.txt | 12 1 file changed, 12 insertions

[PATCH v4 0/2] i2c: davinci: Add PM Runtime Support needed by 66AK2G

2017-09-11 Thread Franklin S Cooper Jr
Version 2 changes: Moved ordering of pm runtime calls Version 3 changes: Dropped first patch since it was pulled in. Remove clk = NULL statements Fix error path Version 4 changes: Fix typo in commit message Fix error path Franklin S Cooper Jr (2): i2c: davinci: Add PM Runtime Support dt

[PATCH v4 0/2] i2c: davinci: Add PM Runtime Support needed by 66AK2G

2017-09-11 Thread Franklin S Cooper Jr
Version 2 changes: Moved ordering of pm runtime calls Version 3 changes: Dropped first patch since it was pulled in. Remove clk = NULL statements Fix error path Version 4 changes: Fix typo in commit message Fix error path Franklin S Cooper Jr (2): i2c: davinci: Add PM Runtime Support dt

Re: [PATCH v3 1/2] i2c: davinci: Add PM Runtime Support

2017-09-11 Thread Franklin S Cooper Jr
On 09/11/2017 06:29 AM, Sekhar Nori wrote: > On Friday 08 September 2017 11:24 PM, Franklin S Cooper Jr wrote: >> 66AK2G has I2C instances that are not apart of the ALWAYS_ON power domain >> like other Keystone 2 SoCs and OMAPL138. Therefore, pm_runtime > > unlike ? >

Re: [PATCH v3 1/2] i2c: davinci: Add PM Runtime Support

2017-09-11 Thread Franklin S Cooper Jr
On 09/11/2017 06:29 AM, Sekhar Nori wrote: > On Friday 08 September 2017 11:24 PM, Franklin S Cooper Jr wrote: >> 66AK2G has I2C instances that are not apart of the ALWAYS_ON power domain >> like other Keystone 2 SoCs and OMAPL138. Therefore, pm_runtime > > unlike ? >

[PATCH 3/3] ARM: dts: keystone-k2g-evm: add bindings for SPI NOR flash

2017-09-08 Thread Franklin S Cooper Jr
From: Murali Karicheri <m-kariche...@ti.com> K2G EVM has n25q128a13 SPI NOR flash on SPI1. Enable SPI1 in the DT node as well as add a subnode for the SPI NOR. Signed-off-by: Murali Karicheri <m-kariche...@ti.com> Signed-off-by: Franklin S Cooper Jr <fcoo...@ti.com> ---

[PATCH 1/3] dt-bindings: spi: spi-davinci: Update binding for 66AK2Gx pwr dm property

2017-09-08 Thread Franklin S Cooper Jr
Add pm-domains property which is required for 66AK2Gx. Also document 66AK2G unique clocks property usage. Signed-off-by: Franklin S Cooper Jr <fcoo...@ti.com> --- Documentation/devicetree/bindings/spi/spi-davinci.txt | 10 ++ 1 file changed, 10 insertions(+) diff --git a/Documen

[PATCH 3/3] ARM: dts: keystone-k2g-evm: add bindings for SPI NOR flash

2017-09-08 Thread Franklin S Cooper Jr
From: Murali Karicheri K2G EVM has n25q128a13 SPI NOR flash on SPI1. Enable SPI1 in the DT node as well as add a subnode for the SPI NOR. Signed-off-by: Murali Karicheri Signed-off-by: Franklin S Cooper Jr --- arch/arm/boot/dts/keystone-k2g-evm.dts | 37 ++ 1

[PATCH 1/3] dt-bindings: spi: spi-davinci: Update binding for 66AK2Gx pwr dm property

2017-09-08 Thread Franklin S Cooper Jr
Add pm-domains property which is required for 66AK2Gx. Also document 66AK2G unique clocks property usage. Signed-off-by: Franklin S Cooper Jr --- Documentation/devicetree/bindings/spi/spi-davinci.txt | 10 ++ 1 file changed, 10 insertions(+) diff --git a/Documentation/devicetree

[PATCH 0/3] ARM: dts: keystone-k2g-evm: Add SPI nodes and enable SPI1 on K2G EVM

2017-09-08 Thread Franklin S Cooper Jr
Update the binding document to indicate the required requirements for 66AK2G. In addition add the proper SPI nodes for 66AK2G. For K2G EVM enable SPI1 which is used for the on board SPI NOR. Franklin S Cooper Jr (1): dt-bindings: spi: spi-davinci: Update binding for 66AK2Gx pwr dm property

[PATCH 0/3] ARM: dts: keystone-k2g-evm: Add SPI nodes and enable SPI1 on K2G EVM

2017-09-08 Thread Franklin S Cooper Jr
Update the binding document to indicate the required requirements for 66AK2G. In addition add the proper SPI nodes for 66AK2G. For K2G EVM enable SPI1 which is used for the on board SPI NOR. Franklin S Cooper Jr (1): dt-bindings: spi: spi-davinci: Update binding for 66AK2Gx pwr dm property

[PATCH 2/3] ARM: dts: keystone-k2g: Add SPI nodes

2017-09-08 Thread Franklin S Cooper Jr
From: Vitaly Andrianov <vita...@ti.com> Add nodes for the various SPI instances. Signed-off-by: Vitaly Andrianov <vita...@ti.com> Signed-off-by: Franklin S Cooper Jr <fcoo...@ti.com> --- arch/arm/boot/dts/keystone-k2g.dtsi | 48 +

[PATCH 2/3] ARM: dts: keystone-k2g: Add SPI nodes

2017-09-08 Thread Franklin S Cooper Jr
From: Vitaly Andrianov Add nodes for the various SPI instances. Signed-off-by: Vitaly Andrianov Signed-off-by: Franklin S Cooper Jr --- arch/arm/boot/dts/keystone-k2g.dtsi | 48 + 1 file changed, 48 insertions(+) diff --git a/arch/arm/boot/dts/keystone

[PATCH v2 2/2] ARM: dts: k2g-evm: Enable USB 0 and 1

2017-09-08 Thread Franklin S Cooper Jr
From: Roger Quadros <rog...@ti.com> Enable USB 0 which will be used as a host port and USB 1 which will be used in peripheral mode. Signed-off-by: Roger Quadros <rog...@ti.com> Signed-off-by: Murali Karicheri <m-kariche...@ti.com> Signed-off-by: Franklin S Cooper Jr <fcoo

[PATCH v2 2/2] ARM: dts: k2g-evm: Enable USB 0 and 1

2017-09-08 Thread Franklin S Cooper Jr
From: Roger Quadros Enable USB 0 which will be used as a host port and USB 1 which will be used in peripheral mode. Signed-off-by: Roger Quadros Signed-off-by: Murali Karicheri Signed-off-by: Franklin S Cooper Jr --- arch/arm/boot/dts/keystone-k2g-evm.dts | 26 ++ 1

[PATCH v2 1/2] ARM: dts: k2g: Add USB instances

2017-09-08 Thread Franklin S Cooper Jr
From: Vitaly Andrianov <vita...@ti.com> Add nodes for both USB instances supported by 66AK2G. Signed-off-by: Franklin S Cooper Jr <fcoo...@ti.com> --- arch/arm/boot/dts/keystone-k2g.dtsi | 56 + 1 file changed, 56 insertions(+) diff --git a/arch/

[PATCH v2 1/2] ARM: dts: k2g: Add USB instances

2017-09-08 Thread Franklin S Cooper Jr
From: Vitaly Andrianov Add nodes for both USB instances supported by 66AK2G. Signed-off-by: Franklin S Cooper Jr --- arch/arm/boot/dts/keystone-k2g.dtsi | 56 + 1 file changed, 56 insertions(+) diff --git a/arch/arm/boot/dts/keystone-k2g.dtsi b/arch/arm

[PATCH v2 0/2] ARM: dts: keystone-k2g-evm: Add USB nodes and enable USB on K2G EVM

2017-09-08 Thread Franklin S Cooper Jr
Add USB nodes to 66AK2G dtsi. Also enable the two USB nodes that are on the K2G EVM. Roger Quadros (1): ARM: dts: k2g-evm: Enable USB 0 and 1 Vitaly Andrianov (1): ARM: dts: k2g: Add USB instances arch/arm/boot/dts/keystone-k2g-evm.dts | 26

[PATCH v2 0/2] ARM: dts: keystone-k2g-evm: Add USB nodes and enable USB on K2G EVM

2017-09-08 Thread Franklin S Cooper Jr
Add USB nodes to 66AK2G dtsi. Also enable the two USB nodes that are on the K2G EVM. Roger Quadros (1): ARM: dts: k2g-evm: Enable USB 0 and 1 Vitaly Andrianov (1): ARM: dts: k2g: Add USB instances arch/arm/boot/dts/keystone-k2g-evm.dts | 26

[PATCH v2 2/2] ARM: dts: keystone-k2g-evm: Add I2C EEPROM DT entry

2017-09-08 Thread Franklin S Cooper Jr
From: Murali Karicheri <m-kariche...@ti.com> K2G EVM has an onboard I2C EEPROM connected to I2C0. This patch adds the necessary DT entry for the AT24CM01 EEPROM. Signed-off-by: Murali Karicheri <m-kariche...@ti.com> Signed-off-by: Franklin S Cooper Jr <fcoo...@ti.com> ---

[PATCH v2 2/2] ARM: dts: keystone-k2g-evm: Add I2C EEPROM DT entry

2017-09-08 Thread Franklin S Cooper Jr
From: Murali Karicheri K2G EVM has an onboard I2C EEPROM connected to I2C0. This patch adds the necessary DT entry for the AT24CM01 EEPROM. Signed-off-by: Murali Karicheri Signed-off-by: Franklin S Cooper Jr --- arch/arm/boot/dts/keystone-k2g-evm.dts | 19 +++ 1 file changed

[PATCH v2 0/2] ARM: dts: keystone-k2g-evm: Add I2C nodes and enable I2C0 on K2G EVM

2017-09-08 Thread Franklin S Cooper Jr
Add I2C DT nodes for 66AK2G. Also enable I2C0 in K2G EVM which is needed to access the I2C EEPROM. Version 2 changes: No real changes. Split patches into their own patchset Murali Karicheri (1): ARM: dts: keystone-k2g-evm: Add I2C EEPROM DT entry Vitaly Andrianov (1): ARM: dts:

[PATCH v2 1/2] ARM: dts: keystone-k2g: Add I2C nodes

2017-09-08 Thread Franklin S Cooper Jr
From: Vitaly Andrianov <vita...@ti.com> Add nodes for the various I2C instances. Signed-off-by: Vitaly Andrianov <vita...@ti.com> Signed-off-by: Franklin S Cooper Jr <fcoo...@ti.com> Reviewed-by: Grygorii Strashko <grygorii.stras...@ti.com> --- arch/arm/boot/dt

[PATCH v2 0/2] ARM: dts: keystone-k2g-evm: Add I2C nodes and enable I2C0 on K2G EVM

2017-09-08 Thread Franklin S Cooper Jr
Add I2C DT nodes for 66AK2G. Also enable I2C0 in K2G EVM which is needed to access the I2C EEPROM. Version 2 changes: No real changes. Split patches into their own patchset Murali Karicheri (1): ARM: dts: keystone-k2g-evm: Add I2C EEPROM DT entry Vitaly Andrianov (1): ARM: dts:

[PATCH v2 1/2] ARM: dts: keystone-k2g: Add I2C nodes

2017-09-08 Thread Franklin S Cooper Jr
From: Vitaly Andrianov Add nodes for the various I2C instances. Signed-off-by: Vitaly Andrianov Signed-off-by: Franklin S Cooper Jr Reviewed-by: Grygorii Strashko --- arch/arm/boot/dts/keystone-k2g.dtsi | 36 1 file changed, 36 insertions(+) diff --git

[PATCH v3 0/2] ARM: dts: keystone-k2g: Add I2C support for 66AK2G

2017-09-08 Thread Franklin S Cooper Jr
Version 2 changes: Moved ordering of pm runtime calls Version 3 changes: Dropped first patch since it was pulled in. Remove clk = NULL statements Fix error path Franklin S Cooper Jr (2): i2c: davinci: Add PM Runtime Support dt-bindings: i2c: i2c-davinci: Update binding for 66AK2Gx pwr dm

[PATCH v3 0/2] ARM: dts: keystone-k2g: Add I2C support for 66AK2G

2017-09-08 Thread Franklin S Cooper Jr
Version 2 changes: Moved ordering of pm runtime calls Version 3 changes: Dropped first patch since it was pulled in. Remove clk = NULL statements Fix error path Franklin S Cooper Jr (2): i2c: davinci: Add PM Runtime Support dt-bindings: i2c: i2c-davinci: Update binding for 66AK2Gx pwr dm

[PATCH v3 1/2] i2c: davinci: Add PM Runtime Support

2017-09-08 Thread Franklin S Cooper Jr
66AK2G has I2C instances that are not apart of the ALWAYS_ON power domain like other Keystone 2 SoCs and OMAPL138. Therefore, pm_runtime is required to insure the power domain used by the specific I2C instance is properly turned on along with its functional clock. Signed-off-by: Franklin S Cooper

[PATCH v3 1/2] i2c: davinci: Add PM Runtime Support

2017-09-08 Thread Franklin S Cooper Jr
66AK2G has I2C instances that are not apart of the ALWAYS_ON power domain like other Keystone 2 SoCs and OMAPL138. Therefore, pm_runtime is required to insure the power domain used by the specific I2C instance is properly turned on along with its functional clock. Signed-off-by: Franklin S Cooper

[PATCH v3 2/2] dt-bindings: i2c: i2c-davinci: Update binding for 66AK2Gx pwr dm property

2017-09-08 Thread Franklin S Cooper Jr
Add pm-domains property which is required for 66AK2Gx. Also document 66AK2G unique clocks property usage. Signed-off-by: Franklin S Cooper Jr <fcoo...@ti.com> Acked-by: Rob Herring <r...@kernel.org> Acked-by: Sekhar Nori <nsek...@ti.com> --- Documentation/devicetree/bindings/i

[PATCH v3 2/2] dt-bindings: i2c: i2c-davinci: Update binding for 66AK2Gx pwr dm property

2017-09-08 Thread Franklin S Cooper Jr
Add pm-domains property which is required for 66AK2Gx. Also document 66AK2G unique clocks property usage. Signed-off-by: Franklin S Cooper Jr Acked-by: Rob Herring Acked-by: Sekhar Nori --- Documentation/devicetree/bindings/i2c/i2c-davinci.txt | 12 1 file changed, 12 insertions

Re: [PATCH v3] serial: 8250_of: Add basic PM runtime support

2017-08-23 Thread Franklin S Cooper Jr
On 08/23/2017 01:34 AM, Sekhar Nori wrote: > On Monday 21 August 2017 10:29 PM, Franklin S Cooper Jr wrote: >> >> >> On 08/21/2017 07:20 AM, Sekhar Nori wrote: >>> On Thursday 17 August 2017 02:25 AM, Franklin S Cooper Jr wrote: >>>> 66AK2G UART inst

Re: [PATCH v3] serial: 8250_of: Add basic PM runtime support

2017-08-23 Thread Franklin S Cooper Jr
On 08/23/2017 01:34 AM, Sekhar Nori wrote: > On Monday 21 August 2017 10:29 PM, Franklin S Cooper Jr wrote: >> >> >> On 08/21/2017 07:20 AM, Sekhar Nori wrote: >>> On Thursday 17 August 2017 02:25 AM, Franklin S Cooper Jr wrote: >>>> 66AK2G UART inst

Re: [PATCH v2 2/3] i2c: davinci: Add PM Runtime Support

2017-08-21 Thread Franklin S Cooper Jr
On 08/21/2017 04:05 AM, Sekhar Nori wrote: > On Thursday 17 August 2017 03:47 AM, Franklin S Cooper Jr wrote: > >> @@ -802,7 +821,6 @@ static int davinci_i2c_probe(struct platform_device >> *pdev) >> dev->clk = devm_clk_get(>dev, NULL); >> if (IS_E

Re: [PATCH v2 2/3] i2c: davinci: Add PM Runtime Support

2017-08-21 Thread Franklin S Cooper Jr
On 08/21/2017 04:05 AM, Sekhar Nori wrote: > On Thursday 17 August 2017 03:47 AM, Franklin S Cooper Jr wrote: > >> @@ -802,7 +821,6 @@ static int davinci_i2c_probe(struct platform_device >> *pdev) >> dev->clk = devm_clk_get(>dev, NULL); >> if (IS_E

Re: [PATCH v3] serial: 8250_of: Add basic PM runtime support

2017-08-21 Thread Franklin S Cooper Jr
On 08/21/2017 07:20 AM, Sekhar Nori wrote: > On Thursday 17 August 2017 02:25 AM, Franklin S Cooper Jr wrote: >> 66AK2G UART instances are not apart of the ALWAYS_ON power domain. >> Therefore, pm_runtime calls must be made to properly insure the appropriate >> power d

Re: [PATCH v3] serial: 8250_of: Add basic PM runtime support

2017-08-21 Thread Franklin S Cooper Jr
On 08/21/2017 07:20 AM, Sekhar Nori wrote: > On Thursday 17 August 2017 02:25 AM, Franklin S Cooper Jr wrote: >> 66AK2G UART instances are not apart of the ALWAYS_ON power domain. >> Therefore, pm_runtime calls must be made to properly insure the appropriate >> power d

[PATCH v5 2/4] dt-bindings: can: can-transceiver: Document new binding

2017-08-18 Thread Franklin S Cooper Jr
Add documentation to describe usage of the new can-transceiver binding. This new binding is applicable for any CAN device therefore it exists as its own document. Signed-off-by: Franklin S Cooper Jr <fcoo...@ti.com> Acked-by: Rob Herring <r...@kernel.org> --- Version 5 changes: Rem

[PATCH v5 2/4] dt-bindings: can: can-transceiver: Document new binding

2017-08-18 Thread Franklin S Cooper Jr
Add documentation to describe usage of the new can-transceiver binding. This new binding is applicable for any CAN device therefore it exists as its own document. Signed-off-by: Franklin S Cooper Jr Acked-by: Rob Herring --- Version 5 changes: Remove @ symbol from can-transceiver example

[PATCH v5 4/4] can: m_can: Add call to of_can_transceiver

2017-08-18 Thread Franklin S Cooper Jr
Add call to new generic functions that provides support via a binding to limit the arbitration rate and/or data rate imposed by the physical transceiver connected to the MCAN peripheral. Signed-off-by: Franklin S Cooper Jr <fcoo...@ti.com> --- drivers/net/can/m_can/m_can.c | 2 ++ 1 file c

[PATCH v5 4/4] can: m_can: Add call to of_can_transceiver

2017-08-18 Thread Franklin S Cooper Jr
Add call to new generic functions that provides support via a binding to limit the arbitration rate and/or data rate imposed by the physical transceiver connected to the MCAN peripheral. Signed-off-by: Franklin S Cooper Jr --- drivers/net/can/m_can/m_can.c | 2 ++ 1 file changed, 2 insertions

[PATCH v5 0/4] can: Support transceiver based bit rate limit

2017-08-18 Thread Franklin S Cooper Jr
a subnode and not a property in documentation Version 3 changes: Switch from having two "max bitrates" to one universal bitrate. Version 2 changes: Rename function Define proper variable default Drop unit address Move check to changelink function Reword commit message Reword documentation Fra

[PATCH v5 0/4] can: Support transceiver based bit rate limit

2017-08-18 Thread Franklin S Cooper Jr
a subnode and not a property in documentation Version 3 changes: Switch from having two "max bitrates" to one universal bitrate. Version 2 changes: Rename function Define proper variable default Drop unit address Move check to changelink function Reword commit message Reword documentation Fra

[PATCH v5 3/4] dt-bindings: can: m_can: Document new can transceiver binding

2017-08-18 Thread Franklin S Cooper Jr
Add information regarding can-transceiver binding. This is especially important for MCAN since the IP allows CAN FD mode to run significantly faster than what most transceivers are capable of. Signed-off-by: Franklin S Cooper Jr <fcoo...@ti.com> Acked-by: Rob Herring <r...@kernel.org>

[PATCH v5 3/4] dt-bindings: can: m_can: Document new can transceiver binding

2017-08-18 Thread Franklin S Cooper Jr
Add information regarding can-transceiver binding. This is especially important for MCAN since the IP allows CAN FD mode to run significantly faster than what most transceivers are capable of. Signed-off-by: Franklin S Cooper Jr Acked-by: Rob Herring --- Remove @ symbol from can-transceiver

[PATCH v5 1/4] can: dev: Add support for limiting configured bitrate

2017-08-18 Thread Franklin S Cooper Jr
for a can-transceiver node that can be reused by other CAN peripheral drivers to determine for both CAN and CAN-FD what the max bitrate that can be used. If the user tries to configure CAN to pass these maximum bitrates it will throw an error. Signed-off-by: Franklin S Cooper Jr <fcoo...@ti.

[PATCH v5 1/4] can: dev: Add support for limiting configured bitrate

2017-08-18 Thread Franklin S Cooper Jr
for a can-transceiver node that can be reused by other CAN peripheral drivers to determine for both CAN and CAN-FD what the max bitrate that can be used. If the user tries to configure CAN to pass these maximum bitrates it will throw an error. Signed-off-by: Franklin S Cooper Jr --- Version 5

[RFC PATCH] can: m_can: Support higher speed CAN-FD bitrates

2017-08-18 Thread Franklin S Cooper Jr
/dbitrate)/2*(Func Clk Freq). Additional CAN-CIA's "Bit Time Requirements for CAN FD" document indicates that this TDC mode is only needed for data bit rates above 2.5 Mbps. Therefore, only enable this mode and only set TDCO when the data bit rate is above 2.5 Mbps. Signed-off-by: Franklin S

[RFC PATCH] can: m_can: Support higher speed CAN-FD bitrates

2017-08-18 Thread Franklin S Cooper Jr
/dbitrate)/2*(Func Clk Freq). Additional CAN-CIA's "Bit Time Requirements for CAN FD" document indicates that this TDC mode is only needed for data bit rates above 2.5 Mbps. Therefore, only enable this mode and only set TDCO when the data bit rate is above 2.5 Mbps. Signed-off-by: Franklin S

Re: [PATCH v4 1/4] can: dev: Add support for limiting configured bitrate

2017-08-17 Thread Franklin S Cooper Jr
Hi, On 08/10/2017 10:29 AM, Marc Kleine-Budde wrote: > Hello, > > sorry for stepping in late > > On 08/10/2017 02:59 AM, Franklin S Cooper Jr wrote: >> Various CAN or CAN-FD IP may be able to run at a faster rate than >> what the transceiver the CAN node is

Re: [PATCH v4 1/4] can: dev: Add support for limiting configured bitrate

2017-08-17 Thread Franklin S Cooper Jr
Hi, On 08/10/2017 10:29 AM, Marc Kleine-Budde wrote: > Hello, > > sorry for stepping in late > > On 08/10/2017 02:59 AM, Franklin S Cooper Jr wrote: >> Various CAN or CAN-FD IP may be able to run at a faster rate than >> what the transceiver the CAN node is

Re: [PATCH v4 1/4] can: dev: Add support for limiting configured bitrate

2017-08-17 Thread Franklin S Cooper Jr
On 08/10/2017 05:05 AM, Sergei Shtylyov wrote: > Hello! > > On 8/10/2017 3:59 AM, Franklin S Cooper Jr wrote: > >> Various CAN or CAN-FD IP may be able to run at a faster rate than >> what the transceiver the CAN node is connected to. This can lead to >> u

Re: [PATCH v4 1/4] can: dev: Add support for limiting configured bitrate

2017-08-17 Thread Franklin S Cooper Jr
On 08/10/2017 05:05 AM, Sergei Shtylyov wrote: > Hello! > > On 8/10/2017 3:59 AM, Franklin S Cooper Jr wrote: > >> Various CAN or CAN-FD IP may be able to run at a faster rate than >> what the transceiver the CAN node is connected to. This can lead to >> u

Re: [PATCH v2 1/2] usb: dwc3: keystone: Add PM_RUNTIME Support to DWC3 Keystone USB driver

2017-08-17 Thread Franklin S Cooper Jr
On 08/17/2017 07:04 AM, Felipe Balbi wrote: > > Hi, > > Franklin S Cooper Jr <fcoo...@ti.com> writes: >> For 66AK2Gx there is a requirement to use PM Runtime to properly manage >> clocks and the power domains. Therefore, add PM runtime support. Remove >>

Re: [PATCH v2 1/2] usb: dwc3: keystone: Add PM_RUNTIME Support to DWC3 Keystone USB driver

2017-08-17 Thread Franklin S Cooper Jr
On 08/17/2017 07:04 AM, Felipe Balbi wrote: > > Hi, > > Franklin S Cooper Jr writes: >> For 66AK2Gx there is a requirement to use PM Runtime to properly manage >> clocks and the power domains. Therefore, add PM runtime support. Remove >> legacy clock

[PATCH v2 0/3] ARM: dts: keystone-k2g: Add I2C support for 66AK2G

2017-08-16 Thread Franklin S Cooper Jr
Version 2 changes: Moved ordering of pm runtime calls Franklin S Cooper Jr (3): i2c: davinci: Preserve return value of devm_clk_get i2c: davinci: Add PM Runtime Support dt-bindings: i2c: i2c-davinci: Update binding for 66AK2Gx pwr dm property .../devicetree/bindings/i2c/i2c-davinci.txt

[PATCH v2 0/3] ARM: dts: keystone-k2g: Add I2C support for 66AK2G

2017-08-16 Thread Franklin S Cooper Jr
Version 2 changes: Moved ordering of pm runtime calls Franklin S Cooper Jr (3): i2c: davinci: Preserve return value of devm_clk_get i2c: davinci: Add PM Runtime Support dt-bindings: i2c: i2c-davinci: Update binding for 66AK2Gx pwr dm property .../devicetree/bindings/i2c/i2c-davinci.txt

[PATCH v2 2/3] i2c: davinci: Add PM Runtime Support

2017-08-16 Thread Franklin S Cooper Jr
66AK2G has I2C instances that are not apart of the ALWAYS_ON power domain like other Keystone 2 SoCs and OMAPL138. Therefore, pm_runtime is required to insure the power domain used by the specific I2C instance is properly turned on along with its functional clock. Signed-off-by: Franklin S Cooper

[PATCH v2 2/3] i2c: davinci: Add PM Runtime Support

2017-08-16 Thread Franklin S Cooper Jr
66AK2G has I2C instances that are not apart of the ALWAYS_ON power domain like other Keystone 2 SoCs and OMAPL138. Therefore, pm_runtime is required to insure the power domain used by the specific I2C instance is properly turned on along with its functional clock. Signed-off-by: Franklin S Cooper

[PATCH v2 3/3] dt-bindings: i2c: i2c-davinci: Update binding for 66AK2Gx pwr dm property

2017-08-16 Thread Franklin S Cooper Jr
Add pm-domains property which is required for 66AK2Gx. Also document 66AK2G unique clocks property usage. Signed-off-by: Franklin S Cooper Jr <fcoo...@ti.com> Acked-by: Rob Herring <r...@kernel.org> --- Documentation/devicetree/bindings/i2c/i2c-davinci.txt | 12 1 file

[PATCH v2 3/3] dt-bindings: i2c: i2c-davinci: Update binding for 66AK2Gx pwr dm property

2017-08-16 Thread Franklin S Cooper Jr
Add pm-domains property which is required for 66AK2Gx. Also document 66AK2G unique clocks property usage. Signed-off-by: Franklin S Cooper Jr Acked-by: Rob Herring --- Documentation/devicetree/bindings/i2c/i2c-davinci.txt | 12 1 file changed, 12 insertions(+) diff --git

[PATCH v2 1/3] i2c: davinci: Preserve return value of devm_clk_get

2017-08-16 Thread Franklin S Cooper Jr
by devm_clk_get to be passed through and not overwritten. Signed-off-by: Franklin S Cooper Jr <fcoo...@ti.com> Reviewed-by: Grygorii Strashko <grygorii.stras...@ti.com> --- drivers/i2c/busses/i2c-davinci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2

[PATCH v2 1/3] i2c: davinci: Preserve return value of devm_clk_get

2017-08-16 Thread Franklin S Cooper Jr
by devm_clk_get to be passed through and not overwritten. Signed-off-by: Franklin S Cooper Jr Reviewed-by: Grygorii Strashko --- drivers/i2c/busses/i2c-davinci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/busses/i2c-davinci.c b/drivers/i2c/busses/i2c-davinci.c

[PATCH v2 2/2] dt-bindings: usb: keystone-usb: Update bindings pm and clocks properties

2017-08-16 Thread Franklin S Cooper Jr
Update various properties to properly indicate their requirement depending on the SoC. Signed-off-by: Franklin S Cooper Jr <fcoo...@ti.com> --- Version 2: Clarify clock requirements in binding document Documentation/devicetree/bindings/usb/keystone-usb.txt | 17 +++-- 1 file c

[PATCH v2 2/2] dt-bindings: usb: keystone-usb: Update bindings pm and clocks properties

2017-08-16 Thread Franklin S Cooper Jr
Update various properties to properly indicate their requirement depending on the SoC. Signed-off-by: Franklin S Cooper Jr --- Version 2: Clarify clock requirements in binding document Documentation/devicetree/bindings/usb/keystone-usb.txt | 17 +++-- 1 file changed, 15 insertions

[PATCH v2 0/2] ARM: dts: k2g: Add support for USB instances on 66AK2G

2017-08-16 Thread Franklin S Cooper Jr
Add support for 66AK2G usb instances. However, the driver needs to be updated to support PM_RUNTIME. This update has been validated to work on K2L and boot tested on K2HK and K2E. Version 2: Clarify clock properties requirements in binding document Franklin S Cooper Jr (2): usb: dwc3: keystone

[PATCH v2 0/2] ARM: dts: k2g: Add support for USB instances on 66AK2G

2017-08-16 Thread Franklin S Cooper Jr
Add support for 66AK2G usb instances. However, the driver needs to be updated to support PM_RUNTIME. This update has been validated to work on K2L and boot tested on K2HK and K2E. Version 2: Clarify clock properties requirements in binding document Franklin S Cooper Jr (2): usb: dwc3: keystone

[PATCH v2 1/2] usb: dwc3: keystone: Add PM_RUNTIME Support to DWC3 Keystone USB driver

2017-08-16 Thread Franklin S Cooper Jr
For 66AK2Gx there is a requirement to use PM Runtime to properly manage clocks and the power domains. Therefore, add PM runtime support. Remove legacy clock api's calls since other users of this driver worked without these clock apis calls. Signed-off-by: Franklin S Cooper Jr <fcoo...@ti.

[PATCH v2 1/2] usb: dwc3: keystone: Add PM_RUNTIME Support to DWC3 Keystone USB driver

2017-08-16 Thread Franklin S Cooper Jr
For 66AK2Gx there is a requirement to use PM Runtime to properly manage clocks and the power domains. Therefore, add PM runtime support. Remove legacy clock api's calls since other users of this driver worked without these clock apis calls. Signed-off-by: Franklin S Cooper Jr --- drivers/usb

[PATCH v3] serial: 8250_of: Add basic PM runtime support

2017-08-16 Thread Franklin S Cooper Jr
66AK2G UART instances are not apart of the ALWAYS_ON power domain. Therefore, pm_runtime calls must be made to properly insure the appropriate power domains needed by UART are on. Keep legacy clk api calls since other users of this driver may not support PM runtime. Signed-off-by: Franklin S

[PATCH v3] serial: 8250_of: Add basic PM runtime support

2017-08-16 Thread Franklin S Cooper Jr
66AK2G UART instances are not apart of the ALWAYS_ON power domain. Therefore, pm_runtime calls must be made to properly insure the appropriate power domains needed by UART are on. Keep legacy clk api calls since other users of this driver may not support PM runtime. Signed-off-by: Franklin S

Re: [PATCH v2 3/4] can: m_can: Update documentation to mention new fixed transceiver binding

2017-08-09 Thread Franklin S Cooper Jr
Hi Rob, On 08/03/2017 12:07 PM, Rob Herring wrote: > On Mon, Jul 24, 2017 at 06:05:20PM -0500, Franklin S Cooper Jr wrote: >> Add information regarding fixed transceiver binding. This is especially >> important for MCAN since the IP allows CAN FD mode to run significantly >>

Re: [PATCH v2 3/4] can: m_can: Update documentation to mention new fixed transceiver binding

2017-08-09 Thread Franklin S Cooper Jr
Hi Rob, On 08/03/2017 12:07 PM, Rob Herring wrote: > On Mon, Jul 24, 2017 at 06:05:20PM -0500, Franklin S Cooper Jr wrote: >> Add information regarding fixed transceiver binding. This is especially >> important for MCAN since the IP allows CAN FD mode to run significantly >>

[PATCH v4 4/4] can: m_can: Add call to of_can_transceiver

2017-08-09 Thread Franklin S Cooper Jr
Add call to new generic functions that provides support via a binding to limit the arbitration rate and/or data rate imposed by the physical transceiver connected to the MCAN peripheral. Signed-off-by: Franklin S Cooper Jr <fcoo...@ti.com> --- drivers/net/can/m_can/m_can.c | 2 ++ 1 file c

[PATCH v4 4/4] can: m_can: Add call to of_can_transceiver

2017-08-09 Thread Franklin S Cooper Jr
Add call to new generic functions that provides support via a binding to limit the arbitration rate and/or data rate imposed by the physical transceiver connected to the MCAN peripheral. Signed-off-by: Franklin S Cooper Jr --- drivers/net/can/m_can/m_can.c | 2 ++ 1 file changed, 2 insertions

[PATCH v4 0/4] can: Support transceiver based bit rate limit

2017-08-09 Thread Franklin S Cooper Jr
itrates" to one universal bitrate. Version 2 changes: Rename function Define proper variable default Drop unit address Move check to changelink function Reword commit message Reword documentation Franklin S Cooper Jr (4): can: dev: Add support for limiting configured bitrate dt-bindings:

[PATCH v4 0/4] can: Support transceiver based bit rate limit

2017-08-09 Thread Franklin S Cooper Jr
itrates" to one universal bitrate. Version 2 changes: Rename function Define proper variable default Drop unit address Move check to changelink function Reword commit message Reword documentation Franklin S Cooper Jr (4): can: dev: Add support for limiting configured bitrate dt-bindings:

  1   2   3   4   5   6   7   8   >