Skip to content

Commit c3c46ac

Browse files
robherringpH5
authored andcommitted
dt-bindings: reset: hisilicon,hi3660-reset: Drop providers and consumers from example
Binding examples should generally only cover what the binding covers. A provider binding doesn't need to show consumers and vice-versa. The hisilicon,hi3660-reset binding example has both, so let's drop them. This also fixes an undocumented (by schema) compatible warning for "hisilicon,hi3660-iomcu". Signed-off-by: Rob Herring <robh@kernel.org> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20231128214759.3975428-1-robh@kernel.org Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
1 parent e4916e7 commit c3c46ac

1 file changed

Lines changed: 1 addition & 24 deletions

File tree

Documentation/devicetree/bindings/reset/hisilicon,hi3660-reset.yaml

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -50,32 +50,9 @@ additionalProperties: false
5050

5151
examples:
5252
- |
53-
#include <dt-bindings/interrupt-controller/irq.h>
54-
#include <dt-bindings/interrupt-controller/arm-gic.h>
55-
#include <dt-bindings/clock/hi3660-clock.h>
56-
57-
iomcu: iomcu@ffd7e000 {
58-
compatible = "hisilicon,hi3660-iomcu", "syscon";
59-
reg = <0xffd7e000 0x1000>;
60-
};
61-
62-
iomcu_rst: iomcu_rst_controller {
53+
iomcu_rst_controller {
6354
compatible = "hisilicon,hi3660-reset";
6455
hisilicon,rst-syscon = <&iomcu>;
6556
#reset-cells = <2>;
6657
};
67-
68-
/* Specifying reset lines connected to IP modules */
69-
i2c@ffd71000 {
70-
compatible = "snps,designware-i2c";
71-
reg = <0xffd71000 0x1000>;
72-
interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
73-
#address-cells = <1>;
74-
#size-cells = <0>;
75-
clock-frequency = <400000>;
76-
clocks = <&crg_ctrl HI3660_CLK_GATE_I2C0>;
77-
resets = <&iomcu_rst 0x20 3>;
78-
pinctrl-names = "default";
79-
pinctrl-0 = <&i2c0_pmx_func &i2c0_cfg_func>;
80-
};
8158
...

0 commit comments

Comments
 (0)