mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-01 06:33:07 +00:00
dt-bindings: i2c: st,stm32-i2c: Make each example a separate entry
Each independent example should be a separate entry. This allows for 'interrupts' to have different cell sizes. Signed-off-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20220106183037.1443931-1-robh@kernel.org
This commit is contained in:
parent
8b31766c7a
commit
f364d2c622
1 changed files with 6 additions and 0 deletions
|
@ -112,6 +112,9 @@ examples:
|
|||
clocks = <&rcc 0 149>;
|
||||
};
|
||||
|
||||
- |
|
||||
#include <dt-bindings/mfd/stm32f7-rcc.h>
|
||||
#include <dt-bindings/clock/stm32fx-clock.h>
|
||||
//Example 2 (with st,stm32f7-i2c compatible)
|
||||
i2c@40005800 {
|
||||
compatible = "st,stm32f7-i2c";
|
||||
|
@ -124,6 +127,9 @@ examples:
|
|||
clocks = <&rcc 1 CLK_I2C1>;
|
||||
};
|
||||
|
||||
- |
|
||||
#include <dt-bindings/mfd/stm32f7-rcc.h>
|
||||
#include <dt-bindings/clock/stm32fx-clock.h>
|
||||
//Example 3 (with st,stm32mp15-i2c compatible on stm32mp)
|
||||
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
||||
#include <dt-bindings/clock/stm32mp1-clks.h>
|
||||
|
|
Loading…
Reference in a new issue