Unverified Commit fa183433 authored by Rob Herring's avatar Rob Herring Committed by Mark Brown
Browse files

regulator: maxim,max8973: Drop Tegra specifics from example



There's no need to complicate examples with a platform specific macro.
It also complicates example parsing to figure out the number of interrupt
cells in examples (based on the bracketing).

Signed-off-by: default avatarRob Herring <robh@kernel.org>
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Link: https://lore.kernel.org/r/20220126231250.1635021-1-robh@kernel.org


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 8e9977e4
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -113,7 +113,7 @@ examples:
    };

  - |
    #include <dt-bindings/gpio/tegra-gpio.h>
    #include <dt-bindings/gpio/gpio.h>
    #include <dt-bindings/interrupt-controller/irq.h>

    i2c {
@@ -123,8 +123,7 @@ examples:
        regulator@1b {
            compatible = "maxim,max77621";
            reg = <0x1b>;
            interrupt-parent = <&gpio>;
            interrupts = <TEGRA_GPIO(Y, 1) IRQ_TYPE_LEVEL_LOW>;
            interrupts = <1 IRQ_TYPE_LEVEL_LOW>;

            regulator-always-on;
            regulator-boot-on;