6.6-ti kernel omap.h and device tree, missing beaglebone patches?

If your talking about:

Mainline:

#define AM33XX_IOPAD(pa, val)		OMAP_IOPAD_OFFSET((pa), 0x0800) (val) (0)
#define AM33XX_PADCONF(pa, conf, mux)	OMAP_IOPAD_OFFSET((pa), 0x0800) (conf) (mux)

vs:

#define AM33XX_IOPAD(pa, val)		OMAP_IOPAD_OFFSET((pa), 0x0800) (val)
#define AM33XX_PADCONF(pa, dir, mux)	OMAP_IOPAD_OFFSET((pa), 0x0800) ((dir) | (mux))

These two changes were made in mainline back in 2020 in v5.9.x merge: Making sure you're not a bot!

In general overlays “built” before that commit are not compatible with overlays “built” after that commit..

We get around that issue by having kernel specific branches of GitHub - beagleboard/BeagleBoard-DeviceTrees · GitHub and tell users, if you want a working overlay use that repo to build it..

Regards,

2 Likes