RTEMS | aarch64/raspberrypi: Add SPI support (!103)

Ning Yang (@yangn0) gitlab at rtems.org
Wed Jul 10 04:39:41 UTC 2024




Ning Yang commented on a discussion on bsps/aarch64/raspberrypi/spi/spi.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/103#note_108981

 > +      ~(SPI_CPHA | SPI_CPOL | SPI_NO_CS)) != 0) {
 > +      return -EINVAL;
 > +    }
 > +
 > +    if (msg->cs >= bus->num_cs) {
 > +      return -EINVAL;
 > +    }
 > +
 > +    ++msg;
 > +    --n;
 > +  }
 > +
 > +  return 0;
 > +}
 > +
 > +#define GPU_CORE_CLOCK_RATE 500000000

![image](/uploads/a5ee2f882d2d1c9566f95ccd68f973d0/image.png)
https://www.raspberrypi.com/documentation/computers/config_txt.html#overclocking


I got the core rate through the raspberrypi documentation.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/103#note_108981
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20240710/3db99870/attachment-0001.htm>


More information about the bugs mailing list