forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resync master with latest Linus upstream
- Loading branch information
Showing
91 changed files
with
1,243 additions
and
906 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
57 changes: 57 additions & 0 deletions
57
Documentation/devicetree/bindings/leds/qcom,pm8058-led.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/leds/qcom,pm8058-led.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Qualcomm PM8058 PMIC LED | ||
|
||
maintainers: | ||
- Krzysztof Kozlowski <[email protected]> | ||
|
||
description: | | ||
The Qualcomm PM8058 contains an LED block for up to six LEDs:: three normal | ||
LEDs, two "flash" LEDs and one "keypad backlight" LED. The names are quoted | ||
because sometimes these LED drivers are used for wildly different things than | ||
flash or keypad backlight:: their names are more of a suggestion than a | ||
hard-wired usecase. | ||
Hardware-wise the different LEDs support slightly different output currents. | ||
The "flash" LEDs do not need to charge nor do they support external triggers. | ||
They are just powerful LED drivers. | ||
allOf: | ||
- $ref: common.yaml# | ||
|
||
properties: | ||
compatible: | ||
enum: | ||
- qcom,pm8058-led | ||
- qcom,pm8058-keypad-led | ||
- qcom,pm8058-flash-led | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
required: | ||
- compatible | ||
- reg | ||
|
||
unevaluatedProperties: false | ||
|
||
examples: | ||
- | | ||
#include <dt-bindings/leds/common.h> | ||
pmic { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
led@131 { | ||
compatible = "qcom,pm8058-led"; | ||
reg = <0x131>; | ||
label = "pm8058:red"; | ||
color = <LED_COLOR_ID_RED>; | ||
default-state = "off"; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,8 @@ description: | | |
maintainers: | ||
- Dmitry Osipenko <[email protected]> | ||
|
||
$ref: /schemas/power/supply/power-supply.yaml | ||
|
||
properties: | ||
compatible: | ||
items: | ||
|
@@ -22,15 +24,13 @@ properties: | |
reg: | ||
maxItems: 1 | ||
|
||
monitored-battery: true | ||
power-supplies: true | ||
system-power-controller: true | ||
|
||
required: | ||
- compatible | ||
- reg | ||
|
||
additionalProperties: false | ||
unevaluatedProperties: false | ||
|
||
examples: | ||
- | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
Documentation/devicetree/bindings/power/reset/restart-handler.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/power/reset/restart-handler.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Restart and shutdown handler generic binding | ||
|
||
maintainers: | ||
- Sebastian Reichel <[email protected]> | ||
|
||
description: | ||
Restart and shutdown handler device is responsible for powering off the | ||
system, e.g. my cutting off the power. System might have several restart | ||
handlers, which usually are tried from most precise to last resort. | ||
|
||
properties: | ||
priority: | ||
$ref: /schemas/types.yaml#/definitions/uint32 | ||
description: | | ||
A priority ranging from 0 to 255 according to the following guidelines:: | ||
0:: Restart handler of last resort, with limited restart capabilities. | ||
128:: Typical, default restart handler; use if no other restart handler | ||
is expected to be available, and/or if restart functionality is | ||
sufficient to restart the entire system. | ||
255:: Highest priority restart handler, will preempt all other restart handlers. | ||
minimum: 0 | ||
maximum: 255 | ||
|
||
additionalProperties: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,8 @@ title: Ingenic JZ47xx battery bindings | |
maintainers: | ||
- Artur Rojek <[email protected]> | ||
|
||
$ref: power-supply.yaml# | ||
|
||
properties: | ||
compatible: | ||
oneOf: | ||
|
@@ -28,8 +30,6 @@ properties: | |
|
||
monitored-battery: | ||
description: > | ||
phandle to a "simple-battery" compatible node. | ||
This property must be a phandle to a node using the format described | ||
in battery.yaml, with the following properties being required: | ||
- voltage-min-design-microvolt: drained battery voltage, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.