Skip to content

Commit fa18343

Browse files
robherringbroonie
authored andcommitted
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: Rob Herring <robh@kernel.org> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> Link: https://lore.kernel.org/r/20220126231250.1635021-1-robh@kernel.org Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 8e9977e commit fa18343

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

Documentation/devicetree/bindings/regulator/maxim,max8973.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ examples:
113113
};
114114
115115
- |
116-
#include <dt-bindings/gpio/tegra-gpio.h>
116+
#include <dt-bindings/gpio/gpio.h>
117117
#include <dt-bindings/interrupt-controller/irq.h>
118118
119119
i2c {
@@ -123,8 +123,7 @@ examples:
123123
regulator@1b {
124124
compatible = "maxim,max77621";
125125
reg = <0x1b>;
126-
interrupt-parent = <&gpio>;
127-
interrupts = <TEGRA_GPIO(Y, 1) IRQ_TYPE_LEVEL_LOW>;
126+
interrupts = <1 IRQ_TYPE_LEVEL_LOW>;
128127
129128
regulator-always-on;
130129
regulator-boot-on;

0 commit comments

Comments
 (0)