Re: [PATCH] dt-bindings: pmic: mt6366: add binding document

From: Krzysztof Kozlowski
Date: Wed May 11 2022 - 11:36:44 EST


On 10/05/2022 09:56, Rex-BC Chen wrote:
>> +examples:
>> + - |
>> + pmic {
>> + regulators {
>> + mt6366_vdram1_reg: buck_vdram1 {
>> + regulator-name = "vdram1";
>> + regulator-min-microvolt = <500000>;
>> + regulator-max-microvolt = <2087500>;
>> + regulator-ramp-delay = <12500>;
>> + regulator-enable-ramp-delay = <0>;
>> + regulator-always-on;
>> + regulator-allowed-modes = <0 1>;
>
> should be two space instead of 4 space?
> mt6366_vdram1_reg: buck_vdram1 {
> regulator-name = "vdram1";
> ...
> };
>
> There is the same issue for this example.

Indentation is four spaces.
https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git/tree/Documentation/devicetree/bindings/writing-schema.rst?h=for-next&id=7a150b0d850e37e7bdfc87459edd0ff302f67478#n111


Best regards,
Krzysztof