[PATCH 0/3] Extend dtc with data type handling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux