Yang Zhang created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1469
Project:Branches: Chloe/rtems:fix-beagle-gpio-clear to rtems/rtos/rtems:main Author: Yang Zhang ## Summary bsps/arm/beagle: Fix GPIO output clear bug AM335X_GPIO_CLEARDATAOUT and AM335X_GPIO_SETDATAOUT are write-1-to-clear and write-1-to-set registers. Reading either register returns the current GPIO_DATAOUT state. Using mmio_set() performed a read-modify-write on these registers. For CLEARDATAOUT, this wrote 1s for all currently active output pins, causing all set pins in the bank to be unintentionally cleared whenever any single pin was cleared. Fix this by using mmio_write() instead of mmio_set() to write only the target pin mask directly without reading back the current output state. Fixes #5235. ## Generative AI <!-- If you have used AI please use the "AI Contribution" template otherwise leave this blank see our fulls statement at https://www.rtems.org/generative-ai/--> <!-- Default settings, if it is a dropdown it will set after submission --> -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1469 You're receiving this email because of your account on gitlab.rtems.org. Unsubscribe from this thread: https://gitlab.rtems.org/-/sent_notifications/5-8gjccu3zqsg8nt6tny7bo0920-1d/unsubscribe | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | Help: https://gitlab.rtems.org/help
_______________________________________________ bugs mailing list [email protected] http://lists.rtems.org/mailman/listinfo/bugs
