Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5273

Advanced users • Re: AMA0 RS-485 mode

$
0
0
"If you want help to understand the problem then it would be wise to try options which are suggested to you, otherwise people lose interest very quickly."
Full understand, I checked, same. We can forgot about this because I need to have hardware RS485 but big thanks that you tried to help

Do you know why I am able to manage GPIO to work with the AMBA driver in Linux 5.10, but it seems to be a problem in version 6.6? In 5.10, I was able to add code below to function pl011_probe

Code:

ret = devm_gpio_request(&dev->dev, MOO_GPIO_NO, "pl011-serial");if (ret < 0) {pr_err("gpio_req says nay\n");return ret;}ret = gpio_direction_output(MOO_GPIO_NO, 1);if (ret < 0) {pr_err("gpio_dir says nay\n");return ret;}
but now return

Code:

[    5.760375] uart-pl011 fe201000.serial: there is not valid maps for state default[    5.760625] uart-pl011 fe201000.serial: cts_event_workaround enabled

Statistics: Posted by m4xell — Tue Jul 09, 2024 9:02 am



Viewing all articles
Browse latest Browse all 5273

Trending Articles