aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/leds/leds-sgm3140.yaml (follow)
AgeCommit message (Collapse)AuthorFilesLines
2020-06-11dt-bindings: Remove more cases of 'allOf' containing a '$ref'Rob Herring1-2/+1
Another round of 'allOf' removals that came in this cycle. json-schema versions draft7 and earlier have a weird behavior in that any keywords combined with a '$ref' are ignored (silently). The correct form was to put a '$ref' under an 'allOf'. This behavior is now changed in the 2019-09 json-schema spec and '$ref' can be mixed with other keywords. The json-schema library doesn't yet support this, but the tooling now does a fixup for this and either way works. This has been a constant source of review comments, so let's change this treewide so everyone copies the simpler syntax. Signed-off-by: Rob Herring <robh@kernel.org>
2020-04-27dt-bindings: leds: Add binding for sgm3140Luca Weiss1-0/+62
Add YAML devicetree binding for SGMICRO SGM3140 charge pump used for camera flash LEDs. Signed-off-by: Luca Weiss <luca@z3ntu.xyz> Reviewed-by: Dan Murphy <dmurphy@ti.com> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Pavel Machek <pavel@ucw.cz>