Re: [PATCH] ARM: dts: da850: Add missing pin muxing for the UARTs
From: Karl Beldan <hidden>
Date: 2016-08-25 14:15:10
On Thu, Aug 25, 2016 at 07:12:16PM +0530, Sekhar Nori wrote:
On Wednesday 24 August 2016 02:08 PM, Karl Beldan wrote:quoted
On Tue, Aug 23, 2016 at 04:46:03PM +0530, Sekhar Nori wrote:quoted
On Tuesday 23 August 2016 04:39 PM, Sekhar Nori wrote:quoted
On Friday 05 August 2016 04:30 AM, Kevin Hilman wrote:quoted
Karl Beldan [off-list ref] writes:quoted
On Thu, Aug 04, 2016 at 12:20:27PM -0700, Kevin Hilman wrote:quoted
Karl Beldan [off-list ref] writes:quoted
This adds 2 pinctrl groups (rtscts, rxtx) for each of the 3 UARTs. Signed-off-by: Karl Beldan <redacted>Should da850-evm be updated to use the serial2_rxtx_pins also?I could not find the EVM schematics on the net and I only have an LCDK, but according to the code it should, however I can't tell whether flow control pins are used.Ok, let's just leave it for now, since it's working fine. Sekhar can fix that up if he can dig up the schematics.Looks like the flow control pins are being used for McASP also on the EVM. So lets leave the EVM as-is.Rather, the EVM dts file should be updated to use serial2_rxtx_pins like the LCDK. Right now it seems to be relying on bootloader to serial2 setup pimux correctly. I can make a patch to fix that. Or if you can do it, that will be great too.Indeed ATM the EVM relies on the bootloader to setup the pin muxing. I just checked the uart pins routing of the EVM, the dts: - should reclaim serial2_rxtx_pins and serial2_rtscts_pinsCan you please clarify what you mean by dts should "reclaim". You mean move the pins from da850.dtsi to da850-evm.dts or something else?
No, in the part you are replying to I am not referring to moving the pins but reclaiming them. The pins are declared in the dtsi, as they should. Eg. the LCDK dts reclaims serial2_rxtx_pins but doesn't reclaim serial2_rtscts_pins while their declarations remain in the dtsi. The purpose of this part was to clarify what I saw on the schematics because your emails include the following 2 statements:
quoted
quoted
quoted
Looks like the flow control pins are being used for McASP also on the EVM. So lets leave the EVM as-is.
quoted
quoted
Rather, the EVM dts file should be updated to use serial2_rxtx_pins like the LCDK. Right now it seems to be relying on bootloader to serial2
My email was to inform that it concerns the flow control pins of the UART1 only and that the UART2 flow control pins are not concerned and, since they are dedicated to the UART2, should be reclaimed unlike in the LCDK. Karl