-
Notifications
You must be signed in to change notification settings - Fork 6.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Microchip XEC rtos timer should be using values coming from DTS #17775
Labels
area: Devicetree
area: Drivers
area: Timer
Timer
bug
The issue is a bug, or the PR is fixing a bug
priority: low
Low impact/importance bug
Comments
tbursztyka
added
bug
The issue is a bug, or the PR is fixing a bug
area: Drivers
area: Timer
Timer
labels
Jul 25, 2019
tbursztyka
pushed a commit
to tbursztyka/zephyr
that referenced
this issue
Aug 27, 2019
irq and irq priority must be taken from DTS generated configuration macros. Seems like driver requires the priority to be set to 1, thus setting it to 1 in the relevant dtsi file. Fixes zephyrproject-rtos#17775 Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
@albertofloyd @dcpleung @franciscomunoz can you please look it that? it seems part of it was already addressed? |
dcpleung
added a commit
to dcpleung/zephyr
that referenced
this issue
Mar 11, 2020
Use DT_INST_* instead of the hard-coded macro from the HAL, as DT_INST_* are preferred. Fixes zephyrproject-rtos#17775 Signed-off-by: Daniel Leung <daniel.leung@intel.com>
nashif
pushed a commit
that referenced
this issue
Mar 12, 2020
Use DT_INST_* instead of the hard-coded macro from the HAL, as DT_INST_* are preferred. Fixes #17775 Signed-off-by: Daniel Leung <daniel.leung@intel.com>
hakehuang
pushed a commit
to hakehuang/zephyr
that referenced
this issue
Mar 18, 2020
Use DT_INST_* instead of the hard-coded macro from the HAL, as DT_INST_* are preferred. Fixes zephyrproject-rtos#17775 Signed-off-by: Daniel Leung <daniel.leung@intel.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area: Devicetree
area: Drivers
area: Timer
Timer
bug
The issue is a bug, or the PR is fixing a bug
priority: low
Low impact/importance bug
Though dts/arm/microchip/mec1501hsz.dtsi provide the right values (base address, irq...), code source found in drivers/timer/mchp_xec_rtos_timer.c use none of these.
Using HAL is nice in case of a lot of code being already written and drivers can then make a good use of it, but things like macros for base address, IRQ ... not really
The text was updated successfully, but these errors were encountered: