mirror of
https://github.com/torvalds/linux.git
synced 2026-05-22 22:22:08 +02:00
dt-bindings: power: supply: Correct indentation and style in DTS example
DTS example in the bindings should be indented with 2- or 4-spaces and aligned with opening '- |'. Correct mixtures of the style or any other indentations to use preferred 4-spaces. No functional changes here, but saves some comments during reviews of new patches built on the existing code. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: Rob Herring (Arm) <robh@kernel.org> Link: https://lore.kernel.org/r/20250318081428.33979-1-krzysztof.kozlowski@linaro.org Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
This commit is contained in:
parent
ca3d2ea523
commit
1e3e2cf2df
|
|
@ -87,28 +87,28 @@ unevaluatedProperties: false
|
|||
examples:
|
||||
- |
|
||||
bat: battery {
|
||||
compatible = "simple-battery";
|
||||
constant-charge-current-max-microamp = <4000000>;
|
||||
constant-charge-voltage-max-microvolt = <8400000>;
|
||||
precharge-current-microamp = <160000>;
|
||||
charge-term-current-microamp = <160000>;
|
||||
compatible = "simple-battery";
|
||||
constant-charge-current-max-microamp = <4000000>;
|
||||
constant-charge-voltage-max-microvolt = <8400000>;
|
||||
precharge-current-microamp = <160000>;
|
||||
charge-term-current-microamp = <160000>;
|
||||
};
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
#include <dt-bindings/interrupt-controller/irq.h>
|
||||
i2c {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
bq25980: charger@65 {
|
||||
compatible = "ti,bq25980";
|
||||
reg = <0x65>;
|
||||
interrupt-parent = <&gpio1>;
|
||||
interrupts = <16 IRQ_TYPE_EDGE_FALLING>;
|
||||
ti,watchdog-timeout-ms = <0>;
|
||||
ti,sc-ocp-limit-microamp = <2000000>;
|
||||
ti,sc-ovp-limit-microvolt = <17800000>;
|
||||
monitored-battery = <&bat>;
|
||||
};
|
||||
bq25980: charger@65 {
|
||||
compatible = "ti,bq25980";
|
||||
reg = <0x65>;
|
||||
interrupt-parent = <&gpio1>;
|
||||
interrupts = <16 IRQ_TYPE_EDGE_FALLING>;
|
||||
ti,watchdog-timeout-ms = <0>;
|
||||
ti,sc-ocp-limit-microamp = <2000000>;
|
||||
ti,sc-ovp-limit-microvolt = <17800000>;
|
||||
monitored-battery = <&bat>;
|
||||
};
|
||||
};
|
||||
|
||||
...
|
||||
|
|
|
|||
|
|
@ -48,14 +48,14 @@ examples:
|
|||
#include <dt-bindings/iio/adc/ingenic,adc.h>
|
||||
|
||||
simple_battery: battery {
|
||||
compatible = "simple-battery";
|
||||
voltage-min-design-microvolt = <3600000>;
|
||||
voltage-max-design-microvolt = <4200000>;
|
||||
compatible = "simple-battery";
|
||||
voltage-min-design-microvolt = <3600000>;
|
||||
voltage-max-design-microvolt = <4200000>;
|
||||
};
|
||||
|
||||
ingenic-battery {
|
||||
compatible = "ingenic,jz4740-battery";
|
||||
io-channels = <&adc INGENIC_ADC_BATTERY>;
|
||||
io-channel-names = "battery";
|
||||
monitored-battery = <&simple_battery>;
|
||||
compatible = "ingenic,jz4740-battery";
|
||||
io-channels = <&adc INGENIC_ADC_BATTERY>;
|
||||
io-channel-names = "battery";
|
||||
monitored-battery = <&simple_battery>;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -61,13 +61,13 @@ additionalProperties: false
|
|||
examples:
|
||||
- |
|
||||
i2c {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
charger: battery-charger@68 {
|
||||
compatible = "lltc,ltc4162-l";
|
||||
reg = <0x68>;
|
||||
lltc,rsnsb-micro-ohms = <10000>;
|
||||
lltc,rsnsi-micro-ohms = <16000>;
|
||||
lltc,cell-count = <2>;
|
||||
};
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
charger: battery-charger@68 {
|
||||
compatible = "lltc,ltc4162-l";
|
||||
reg = <0x68>;
|
||||
lltc,rsnsb-micro-ohms = <10000>;
|
||||
lltc,rsnsi-micro-ohms = <16000>;
|
||||
lltc,cell-count = <2>;
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -37,8 +37,8 @@ examples:
|
|||
#include <dt-bindings/interrupt-controller/irq.h>
|
||||
|
||||
i2c {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
charger@69 {
|
||||
compatible = "maxim,max77705-charger";
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user