Devicetree
 help / color / mirror / Atom feed
From: "Lothar Waßmann" <LW-bxm8fMRDkQLDiMYJYoSAnRvVK+yQ3ZXh@public.gmane.org>
To: Shawn Guo <shawn.guo-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-arm-kernel-bounces-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	Rob Herring <rob.herring-bsGFqQB8/DxBDgjK7y7TUQ@public.gmane.org>,
	Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
Subject: Re: [PATCH RESEND] ARM: dts: tx28: restructure and update DTS file
Date: Mon, 23 Sep 2013 11:37:53 +0200	[thread overview]
Message-ID: <21056.3057.588078.866996@ipc1.ka-ro> (raw)
In-Reply-To: <20130922064124.GB31787-rvtDTF3kK1ictlrPMvKcciBecyulp+rMXqFh9Ls21Oc@public.gmane.org>

Hi,

Shawn Guo writes:
> On Thu, Sep 19, 2013 at 08:59:50AM +0200, Lothar Waßmann wrote:
> > Update the Ka-Ro TX28 DTS file.
> > 
> > - add Copyright header
> > - use label references for better readability
> > - sort the entries alphabetically
> > - add some aliases used by U-Boot to modify the DT data
> > 
> > This patch requires the patch "ARM: dts: mxs: add pinctrl header files"
> > to be applied.
> 
> The dependency of applying should generally go below '---', so that it
> does not appear in the final commit log.
> 
OK.

> > 
> > Signed-off-by: Lothar Waßmann <LW-bxm8fMRDkQLDiMYJYoSAnRvVK+yQ3ZXh@public.gmane.org>
> > ---
> >  arch/arm/boot/dts/imx28-tx28.dts |  720 +++++++++++++++++++++++++++++++++-----
> >  1 files changed, 637 insertions(+), 83 deletions(-)
> > 
> > diff --git a/arch/arm/boot/dts/imx28-tx28.dts b/arch/arm/boot/dts/imx28-tx28.dts
> > index 37be532..b7c79fb 100644
> > --- a/arch/arm/boot/dts/imx28-tx28.dts
> > +++ b/arch/arm/boot/dts/imx28-tx28.dts
> > @@ -1,106 +1,139 @@
> > +/*
> > + * Copyright 2012 Shawn Guo <shawn.guo-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
> > + * Copyright 2013 Lothar Waßmann <LW-bxm8fMRDkQLDiMYJYoSAnRvVK+yQ3ZXh@public.gmane.org>
> > + *
> > + * The code contained herein is licensed under the GNU General Public
> > + * License. You may obtain a copy of the GNU General Public License
> > + * Version 2 at the following locations:
> > + *
> > + * http://www.opensource.org/licenses/gpl-license.html
> > + * http://www.gnu.org/copyleft/gpl.html
> > + */
> > +
> >  /dts-v1/;
> > -/include/ "imx28.dtsi"
> > +#include "imx28.dtsi"
> 
> The change should belong to patch "ARM: dts: mxs: modify mx23/mx28 dts
> files to use pinctrl headers".  Otherwise, build of imx28-tx28.dtb will
> break right there.
> 
> I have fixed it when apply that patch.  You may want to rebase this
> patch on my imx/dt branch with this change dropped.
> 
Thanks, I'll resend the patch soon.

> > +		/* sample keymap */
> > +		linux,keymap = <
> > +			0x00000074 /* row 0, col 0, KEY_POWER */
> > +			0x00010052 /* row 0, col 1, KEY_KP0 */
> > +			0x0002004f /* row 0, col 2, KEY_KP1 */
> > +			0x00030050 /* row 0, col 3, KEY_KP2 */
> > +			0x01000051 /* row 1, col 0, KEY_KP3 */
> > +			0x0101004b /* row 1, col 1, KEY_KP4 */
> > +			0x0102004c /* row 1, col 2, KEY_KP5 */
> > +			0x0103004d /* row 1, col 3, KEY_KP6 */
> > +			0x02000047 /* row 2, col 0, KEY_KP7 */
> > +			0x02010048 /* row 2, col 1, KEY_KP8 */
> > +			0x02020049 /* row 2, col 2, KEY_KP9 */
> > +		>;
> 
> Can the macros in include/dt-bindings/input/input.h help here?
> 
Not really. They only specify keycodes while I need the keycode OR'ed
with the row/col numbers here. All other DTS files using linux,keymap
also specify the hex codes directly.


Lothar Waßmann
-- 
___________________________________________________________

Ka-Ro electronics GmbH | Pascalstraße 22 | D - 52076 Aachen
Phone: +49 2408 1402-0 | Fax: +49 2408 1402-10
Geschäftsführer: Matthias Kaussen
Handelsregistereintrag: Amtsgericht Aachen, HRB 4996

www.karo-electronics.de | info-AvR2QvxeiV7DiMYJYoSAnRvVK+yQ3ZXh@public.gmane.org
___________________________________________________________
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2013-09-23  9:37 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-19  6:59 [PATCH RESEND 0/3] ARM: dts: mxs: add pinctrl header files Lothar Waßmann
     [not found] ` <1379573990-27556-1-git-send-email-LW-bxm8fMRDkQLDiMYJYoSAnRvVK+yQ3ZXh@public.gmane.org>
2013-09-19  6:59   ` [PATCH RESEND 1/3] " Lothar Waßmann
2013-09-19  6:59   ` [PATCH RESEND 2/3] ARM: dts: mxs: modify mx23/mx28 dts files to use pinctrl headers Lothar Waßmann
2013-09-19  6:59   ` [PATCH RESEND 3/3] ARM: dts: mxs: modify mx23/mx28 dts files to use padconfig defines Lothar Waßmann
2013-09-19  6:59   ` [PATCH RESEND] ARM: dts: tx28: restructure and update DTS file Lothar Waßmann
     [not found]     ` <1379573990-27556-5-git-send-email-LW-bxm8fMRDkQLDiMYJYoSAnRvVK+yQ3ZXh@public.gmane.org>
2013-09-22  6:41       ` Shawn Guo
     [not found]         ` <20130922064124.GB31787-rvtDTF3kK1ictlrPMvKcciBecyulp+rMXqFh9Ls21Oc@public.gmane.org>
2013-09-23  9:37           ` Lothar Waßmann [this message]
2013-09-23 10:20           ` [PATCH v4] " Lothar Waßmann
     [not found]             ` <1379931648-12448-1-git-send-email-LW-bxm8fMRDkQLDiMYJYoSAnRvVK+yQ3ZXh@public.gmane.org>
2013-09-24 14:27               ` Shawn Guo
2013-09-22  6:11   ` [PATCH RESEND 0/3] ARM: dts: mxs: add pinctrl header files Shawn Guo

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=21056.3057.588078.866996@ipc1.ka-ro \
    --to=lw-bxm8fmrdkqldimyjyosanrvvk+yq3zxh@public.gmane.org \
    --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-arm-kernel-bounces-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
    --cc=rob.herring-bsGFqQB8/DxBDgjK7y7TUQ@public.gmane.org \
    --cc=shawn.guo-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
    --cc=swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org \
    /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