Hello Gedare,
moving the pinmux driver from libbsd to RTEMS is a good direction. It
avoids the double initialization of the pins that we currently have for
that BSP.
I planned to test the patches in the next few days.
Best regards
Christian
Am 15.03.21 um 21:04 schrieb Gedare Bloom:
Christian,
Can you please provide comments on this patch series and the TI pinmux
removal from libbsd?
thanks
On Sat, Mar 13, 2021 at 4:02 AM G S Niteesh Babu <niteesh...@gmail.com> wrote:
The following series of patches import and port the beagle
pinmux driver from FreeBSD to RTEMS.
Porting this driver will avoid double initialization of
pin multiplexers once during RTEMS initialization and second
time during libBSD initialization.
UPDATE #3782
G S Niteesh Babu (4):
bsps/shared/ofw: Add rtems_ofw_is_node_compatible
bsp/beagle: Import Beagle pinmux from FreeBSD
bsps/beagle: Added SOC detection using FDT
bsp/beagle: Ported Beagle pinmux driver to RTEMS
bsps/arm/beagle/start/bsp-soc-detect.c | 55 ++
bsps/arm/beagle/start/bsp-soc-detect.h | 38 ++
bsps/arm/beagle/start/bspstart.c | 54 +-
.../arm/ti/am335x/am335x_scm_padconf.h | 47 ++
bsps/include/arm/ti/ti_cpuid.h | 48 ++
bsps/include/arm/ti/ti_pinmux.h | 87 +++
bsps/include/ofw/ofw.h | 17 +
.../sys/arm/ti/am335x/am335x_scm_padconf.c | 307 ++++++++++
bsps/shared/freebsd/sys/arm/ti/ti_pinmux.c | 574 ++++++++++++++++++
bsps/shared/ofw/ofw.c | 12 +
spec/build/bsps/arm/beagle/obj.yml | 1 +
spec/build/bsps/obj.yml | 6 +
12 files changed, 1240 insertions(+), 6 deletions(-)
create mode 100644 bsps/arm/beagle/start/bsp-soc-detect.c
create mode 100644 bsps/arm/beagle/start/bsp-soc-detect.h
create mode 100644 bsps/include/arm/ti/am335x/am335x_scm_padconf.h
create mode 100644 bsps/include/arm/ti/ti_cpuid.h
create mode 100644 bsps/include/arm/ti/ti_pinmux.h
create mode 100644 bsps/shared/freebsd/sys/arm/ti/am335x/am335x_scm_padconf.c
create mode 100644 bsps/shared/freebsd/sys/arm/ti/ti_pinmux.c
--
2.17.1
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel
--
--------------------------------------------
embedded brains GmbH
Herr Christian MAUDERER
Dornierstr. 4
82178 Puchheim
Germany
email: christian.maude...@embedded-brains.de
phone: +49-89-18 94 741 - 18
fax: +49-89-18 94 741 - 08
Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel