public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Extend dtc with data type handling
@ 2013-12-13 16:49 Tomasz Figa
       [not found] ` < 1386953352-25402-2-git-send-email-t.figa@samsung.com>
       [not found] ` <1386953352-25402-1-git-send-email-t.figa-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
  0 siblings, 2 replies; 11+ messages in thread
From: Tomasz Figa @ 2013-12-13 16:49 UTC (permalink / raw)
  To: devicetree-u79uwXL29TY76Z2rM5mHXA
  Cc: Jason Cooper, Stephen Warren, Rob Herring, Ian Campbell,
	Olof Johansson, Grant Likely, Benoit Cousson, David Gibson,
	Tomasz Figa

This series intends to extend dtc with appropriate infrastructure
to handle property data types. First, dtc is modified to preserve
type information when parsing DTS. Then type guessing is implemented
for flat and fs trees where type data is not available. After that,
DTS generation code is modified to use only type information when
printing property data.

Effect of this is the ability to implement checks for data types
of properties. Also, as a side effect, it's now possible to do
almost 1:1 dts <=> dts passes (not very useful, but shows that
things are working well).

Tomasz Figa (3):
  dtc: Keep type information from DTS
  dtc: Inject guessed type information in case of flat and fs trees
  dtc: Use type information when printing tree source

 data.c       |  62 +++++++++++++++++++++++-
 dtc-parser.y |  47 ++++++++++++++-----
 dtc.h        |  12 +++++
 flattree.c   |   2 +-
 fstree.c     |   6 ++-
 livetree.c   |  16 +++++--
 treesource.c | 150 +++++++++++++++++++++++++++++++++--------------------------
 7 files changed, 209 insertions(+), 86 deletions(-)

-- 
1.8.4.3

--
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

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2014-01-22  4:49 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-13 16:49 [PATCH 0/3] Extend dtc with data type handling Tomasz Figa
     [not found] ` < 1386953352-25402-2-git-send-email-t.figa@samsung.com>
     [not found] ` <1386953352-25402-1-git-send-email-t.figa-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2013-12-13 16:49   ` [PATCH 1/3] dtc: Keep type information from DTS Tomasz Figa
     [not found]     ` <1386953352-25402-2-git-send-email-t.figa-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2013-12-16 18:08       ` Stephen Warren
     [not found]         ` <52AF41A1.3000508-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-12-23 19:16           ` Tomasz Figa
2014-01-21 12:06           ` Grant Likely
     [not found]             ` <20140121120606.A2E7CC4054E-WNowdnHR2B42iJbIjFUEsiwD8/FfD2ys@public.gmane.org>
2014-01-22  4:49               ` David Gibson
2013-12-13 16:49   ` [PATCH 2/3] dtc: Inject guessed type information in case of flat and fs trees Tomasz Figa
2013-12-13 16:49   ` [PATCH 3/3] dtc: Use type information when printing tree source Tomasz Figa
2013-12-23 12:08   ` [PATCH 0/3] Extend dtc with data type handling David Gibson
     [not found]     ` <20131223120814.GE12407-RXTfZT5YzpxwFLYp8hBm2A@public.gmane.org>
2013-12-23 19:00       ` Tomasz Figa
2013-12-24 11:57         ` David Gibson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox