mis-definition of SLEWCTRL_FAST in dt-bindings amxxxx header
Quoted 7 lines · Christian d'Heureuse
Hi Peter
I stumbled on the same error in
am33xx.has you described in September:
https://lists.yoctoproject.org/pipermail/meta-ti/2014-September/005211.htmlDid you get any reactions?
Just the follow-up theorizing it'd been fixed upstream. As of today, it's still wrong in both am33xx.h and am43xx.h when "upstream" means the torvalds master branch.
I keep hoping a TIer will step up, but if not I suppose somebody else has to do it.
Maybe E2E will yield results. http://e2e.ti.com/support/arm/sitara_arm/f/791/p/367445/1382229#1382229
Peter
Quoted 27 lines
The error is still in the current Linux source:
#define
SLEWCTRL_FAST(1 << 6)In the old Rowboat kernel, the definition was correct:
#define
AM33XX_SLEWCTRL_FAST(0 << 6)
#defineAM33XX_SLEWCTRL_SLOW(1 << 6)An in the AM335X Technical Reference Manual
http://www.ti.com/lit/ug/spruh73k/spruh73k.pdf
"slewctrl" bit:
"9.2.2 Pad Control Registers"
"9.3.1.50 conf_<module>_<pin> Register"According to https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/log/include/dt-bindings/pinctrl/am33xx.h the author is Florian Vaussard <[email protected]> and the committer is Benoit Cousson <[email protected]>. Maybe we could write one of them?
Christian
http://www.source-code.biz http://www.inventec.ch/chdh
Quoted 9 lines · Peter A. Bigot
Quoted 7 lines · Christian d'Heureuse
Hi Peter
I stumbled on the same error in
am33xx.has you described in September:
https://lists.yoctoproject.org/pipermail/meta-ti/2014-September/005211.htmlDid you get any reactions?
Quoted 8 lines
Just the follow-up theorizing it'd been fixed upstream. As of today, it's still wrong in both
am33xx.handam43xx.hwhen "upstream" means the torvalds master branch.I keep hoping a TIer will step up, but if not I suppose somebody else has to do it.
Maybe E2E will yield results. http://e2e.ti.com/support/arm/sitara_arm/f/791/p/367445/1382229#1382229
Peter,
For the record, here are 2 replies from one of our kernel developers (Cc-ed) that I received for my inquiries on your question back in September, stating it's in upstream, after which I closed it:
Quoted 9 lines
1. Should rather be SLEWCONTROL like DRA7 rather than
_FASTor_SLOW. that avoids all kind of messed up translation.OR should define both
_FASTand SLOW for all SoCs equally..2. Even better - if the change - like this one is already present in upstream kernel(which in this case is actually in upstream) - ask the public person to directly ask on linux-omap mailing list (public).
Since meta-ti is not specifically a kernel mailing list, there's less chance to get it resolved through here. Please use corresponding upstream mailing lists - [email protected] is the closest one here, or either [email protected] or [email protected] or even E2E forums.
You wouldn't send this to Debian, Ubuntu or even Buildroot mailing lists, would you? Similarly, this list is for OpenEmbedded/Yocto layer - the best I can do is forward questions and answers back and forth, which is not very efficient. So, reporting this on one of the kernel lists would have yelded better results, I'd say, since that's where kernel devs are hanging out - they don't usually frequent Yocto lists, unfortunately.
Best regards,
Signature · 1 line
Denys
Quoted 35 lines
Quoted 29 lines
The error is still in the current Linux source:
#define
SLEWCTRL_FAST(1 << 6)In the old Rowboat kernel, the definition was correct:
#define
AM33XX_SLEWCTRL_FAST(0 << 6)
#defineAM33XX_SLEWCTRL_SLOW(1 << 6)An in the AM335X Technical Reference Manual
http://www.ti.com/lit/ug/spruh73k/spruh73k.pdf
"slewctrl" bit:
"9.2.2 Pad Control Registers"
"9.3.1.50 conf_<module>_<pin> Register"According to https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/log/include/dt-bindings/pinctrl/am33xx.h
the author is
Florian Vaussard <[email protected]> and the committer is
Benoit Cousson <[email protected]>. Maybe we could write
one of them?Christian
http://www.source-code.biz http://www.inventec.ch/chdhSignature · 4 lines
_______________________________________________ meta-ti mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-ti
Quoted 39 lines · Denys Dmytriyenko
Quoted 8 lines · Peter A. Bigot
Quoted 7 lines · Christian d'Heureuse
Hi Peter
I stumbled on the same error in
am33xx.has you described in September:
https://lists.yoctoproject.org/pipermail/meta-ti/2014-September/005211.htmlDid you get any reactions?
Quoted 8 lines
Just the follow-up theorizing it'd been fixed upstream. As of today, it's still wrong in both
am33xx.handam43xx.hwhen "upstream" means the torvalds master branch.I keep hoping a TIer will step up, but if not I suppose somebody else has to do it.
Maybe E2E will yield results. http://e2e.ti.com/support/arm/sitara_arm/f/791/p/367445/1382229#1382229
Peter,
For the record, here are 2 replies from one of our kernel developers (Cc-ed) that I received for my inquiries on your question back in September, stating it's in upstream, after which I closed it:
Quoted 8 lines
1. Should rather be SLEWCONTROL like DRA7 rather than
_FASTor_SLOW. that avoids all kind of messed up translation.OR should define both
_FASTand SLOW for all SoCs equally..2. Even better - if the change - like this one is already present in upstream kernel(which in this case is actually in upstream) - ask the public person to directly ask on linux-omap mailing list (public).
Since meta-ti is not specifically a kernel mailing list, there's less chance to get it resolved through here. Please use corresponding upstream mailing lists - [email protected] is the closest one here, or either [email protected] or [email protected] or even E2E forums.
Quoted 6 lines
You wouldn't send this to Debian, Ubuntu or even Buildroot mailing lists, would you? Similarly, this list is for OpenEmbedded/Yocto layer - the best I can do is forward questions and answers back and forth, which is not very efficient. So, reporting this on one of the kernel lists would have yelded better results, I'd say, since that's where kernel devs are hanging out - they don't usually frequent Yocto lists, unfortunately.
OK. I understand it's out of scope for you and you're frustrated too; thanks for trying. There are enough people aware of it now who should have some stake in getting it fixed that I'm not going to search out other places to report it.
Peter