On Mon, Jan 21, 2019 at 12:32:32PM +0300, Alexander Shiyan wrote: > >Понедельник, 21 января 2019, 11:55 +03:00 от Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>: > > > >On Sun, Jan 20, 2019 at 01:35:25PM +0300, Alexander Shiyan wrote: > >> This removes the stale mach/iomux-mx50.h include as there is no user of it. > >> > >> Signed-off-by: Alexander Shiyan < shc_work@xxxxxxx > > >> --- > >> arch/arm/mach-imx/include/mach/iomux-mx50.h | 943 ---------------------------- > >> 1 file changed, 943 deletions(-) > >> delete mode 100644 arch/arm/mach-imx/include/mach/iomux-mx50.h > > > >I prefer to keep this one around as it might be used to configure the > >UART (or other pads needed from lowlevel code) pads from lowlevel code. > > Can the <dt-bindings/../../src/arm/imx50-pinfunc.h> be used instead for such purposes, How would you use these values in C code? #define MX50_PAD_KEY_ROW1__GPIO4_3 0x02c 0x2d8 0x000 0x1 0x0 The defines lack a comma between the values to be usable from C code. If that would work somehow then yes, we could use these files. Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox