mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Alexander Shiyan <shc_work@mail.ru>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH 02/10] ARM: imx: delete unused mach/iomux-mx50.h
Date: Mon, 21 Jan 2019 10:37:17 +0100	[thread overview]
Message-ID: <20190121093717.mjhcuj7f753sqtpw@pengutronix.de> (raw)
In-Reply-To: <1548063152.777528564@f475.i.mail.ru>

On Mon, Jan 21, 2019 at 12:32:32PM +0300, Alexander Shiyan wrote:
> >Понедельник, 21 января 2019, 11:55 +03:00 от Sascha Hauer <s.hauer@pengutronix.de>:
> >
> >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@mail.ru >
> >> ---
> >>  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@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2019-01-21  9:37 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-20 10:35 [PATCH 01/10] ARM: mvebu: delete unused mach/kirkwood.h Alexander Shiyan
2019-01-20 10:35 ` [PATCH 02/10] ARM: imx: delete unused mach/iomux-mx50.h Alexander Shiyan
2019-01-21  8:55   ` Sascha Hauer
2019-01-21  9:32     ` Alexander Shiyan
2019-01-21  9:37       ` Sascha Hauer [this message]
2019-01-20 10:35 ` [PATCH 03/10] ARM: omap: delete unused mach/am33xx-devices.h Alexander Shiyan
2019-01-20 10:35 ` [PATCH 04/10] ARM: imx: delete unused mach/devices-imx50.h Alexander Shiyan
2019-01-20 10:35 ` [PATCH 05/10] ARM: imx: delete unused mach/clock-imx1.h Alexander Shiyan
2019-01-20 10:35 ` [PATCH 06/10] ARM: mvebu: delete unused mach/dove.h Alexander Shiyan
2019-01-20 10:35 ` [PATCH 07/10] PPC: delete unused asm/e300.h Alexander Shiyan
2019-01-20 10:35 ` [PATCH 08/10] PPC: delete unused asm/mc146818rtc.h Alexander Shiyan
2019-01-20 10:35 ` [PATCH 09/10] ARM: at91: delete unused mach/sama5d3_matrix.h Alexander Shiyan
2019-01-20 10:35 ` [PATCH 10/10] ARM: netx: delete unused netx-devices.h Alexander Shiyan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190121093717.mjhcuj7f753sqtpw@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=shc_work@mail.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox