* [PATCH v2 2/3] dt-bindings: arm: stm32: add extra SiP compatible for lxa, stm32mp157c-mc1
[not found] <20201110102552.7270-1-a.fatoum@pengutronix.de>
@ 2020-11-10 10:25 ` Ahmad Fatoum
2020-11-16 17:01 ` Rob Herring
2020-11-10 10:25 ` [PATCH v2 3/3] ARM: dts: stm32: lxa-mc1: add OSD32MP15x to list of compatibles Ahmad Fatoum
1 sibling, 1 reply; 4+ messages in thread
From: Ahmad Fatoum @ 2020-11-10 10:25 UTC (permalink / raw)
To: Maxime Coquelin, Alexandre Torgue
Cc: devicetree, Ahmad Fatoum, linux-kernel, Rob Herring, kernel,
linux-stm32, linux-arm-kernel
The Linux Automation MC-1 is built around an OSD32MP15x SiP with CPU,
RAM, PMIC, Oscillator and EEPROM. Adjust the binding, so the SiP
compatible is contained as well. This allows boot firmware to match
against it to apply fixups if necessary.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
v1 -> v2:
- split up binding and device tree change
---
Documentation/devicetree/bindings/arm/stm32/stm32.yaml | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/arm/stm32/stm32.yaml b/Documentation/devicetree/bindings/arm/stm32/stm32.yaml
index 009b424e456e..9127094f0208 100644
--- a/Documentation/devicetree/bindings/arm/stm32/stm32.yaml
+++ b/Documentation/devicetree/bindings/arm/stm32/stm32.yaml
@@ -40,7 +40,6 @@ properties:
- items:
- enum:
- arrow,stm32mp157a-avenger96 # Avenger96
- - lxa,stm32mp157c-mc1
- shiratech,stm32mp157a-iot-box # IoT Box
- shiratech,stm32mp157a-stinger96 # Stinger96
- st,stm32mp157c-ed1
@@ -52,6 +51,13 @@ properties:
- const: st,stm32mp157c-ev1
- const: st,stm32mp157c-ed1
- const: st,stm32mp157
+ - description: Octavo OSD32MP15x System-in-Package based boards
+ items:
+ - enum:
+ - lxa,stm32mp157c-mc1 # Linux Automation MC-1
+ - const: oct,stm32mp15xx-osd32
+ - enum:
+ - st,stm32mp157
- description: Odyssey STM32MP1 SoM based Boards
items:
- enum:
--
2.28.0
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH v2 3/3] ARM: dts: stm32: lxa-mc1: add OSD32MP15x to list of compatibles
[not found] <20201110102552.7270-1-a.fatoum@pengutronix.de>
2020-11-10 10:25 ` [PATCH v2 2/3] dt-bindings: arm: stm32: add extra SiP compatible for lxa, stm32mp157c-mc1 Ahmad Fatoum
@ 2020-11-10 10:25 ` Ahmad Fatoum
2020-11-17 14:26 ` Alexandre Torgue
1 sibling, 1 reply; 4+ messages in thread
From: Ahmad Fatoum @ 2020-11-10 10:25 UTC (permalink / raw)
To: Rob Herring, Maxime Coquelin, Alexandre Torgue
Cc: devicetree, Ahmad Fatoum, linux-kernel, kernel, linux-stm32,
linux-arm-kernel
Earlier commit modified the binding, so the SiP is to be specified
as well. Adjust the device tree accordingly.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
v1 -> v2:
- split up binding and device tree change
---
arch/arm/boot/dts/stm32mp157c-lxa-mc1.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/stm32mp157c-lxa-mc1.dts b/arch/arm/boot/dts/stm32mp157c-lxa-mc1.dts
index 1e5333fd437f..cda8e871f999 100644
--- a/arch/arm/boot/dts/stm32mp157c-lxa-mc1.dts
+++ b/arch/arm/boot/dts/stm32mp157c-lxa-mc1.dts
@@ -15,7 +15,7 @@
/ {
model = "Linux Automation MC-1 board";
- compatible = "lxa,stm32mp157c-mc1", "st,stm32mp157";
+ compatible = "lxa,stm32mp157c-mc1", "oct,stm32mp15xx-osd32", "st,stm32mp157";
aliases {
ethernet0 = ðernet0;
--
2.28.0
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 4+ messages in thread