Comments (4)
I don't think any such thing exists for .dts files. Something like that should probably live within dtc, not this project, as it could re-use the parsing logic.
We need something too now for DT schema files. There's tools/yaml-format in this repo that mainly just does a round trip thru ruamel, but it doesn't quite format how I'd like it to. There's also yamllint, but I haven't looked at it.
from dt-schema.
With dtc I'm sure you refer to this tool right? It supports dts
as an output, however not linting. At OpenWrt many dts
files contain comments, so converting back and forth for linting isn't feasible.
However, should I close this issue and reopen it at dtc
?
from dt-schema.
That's a mirror. The "official" repo is: https://git.kernel.org/pub/scm/utils/dtc/dtc.git
I didn't say dtc supported linting. It can output .dts files, but you loose a lot more than comments.
I don't mind leaving the issue open here to track it. There's no issue tracking for dtc. You might want to raise the issue on [email protected] list.
from dt-schema.
Thanks, I sent a mail asking the same question. I'll update this issue once something happens
from dt-schema.
Related Issues (20)
- KeyError: 0 on MIPS loongson64 DTS HOT 1
- Non-MMIO interrupt-controller nodes are illegal HOT 3
- DT_SCHEMA_FILES=Documentation/full/path stopped working HOT 1
- Raising the jsonschema cap to allow 4.18.* HOT 2
- jsonschema 4.18 migration HOT 2
- Crash in is_int_array_schema() HOT 1
- KeyError: 'type' HOT 1
- How to install from git HOT 5
- No warnings for unmatched compatibles ("-m") HOT 1
- PCI Bus binding reference link is dead HOT 1
- Local installation instruction not working HOT 1
- Missing stdin-path in chosen node schema HOT 2
- `if:properties:foo:contains:` can be true if property is not present HOT 2
- PCI binding: External interrupt-parent HOT 4
- Fail to validate DT with jsonschema>3 HOT 4
- Old example YAML files break dt-doc-validate / dt-mk-schema HOT 4
- tools/dt-doc-validate seems to fail HOT 2
- TypeError: 'str' object does not support item assignment HOT 3
- True is not of type 'integer', 'string' HOT 1
- TypeError: unhashable type: 'dict' HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dt-schema.