* [PATCH v2 2/3] dt-bindings: arm: stm32: add extra SiP compatible for lxa,stm32mp157c-mc1
2020-11-10 10:25 [PATCH v2 1/3] dt-bindings: vendor-prefixes: document Octavo Systems oct prefix Ahmad Fatoum
@ 2020-11-10 10:25 ` Ahmad Fatoum
2020-11-16 17:01 ` [PATCH v2 2/3] dt-bindings: arm: stm32: add extra SiP compatible for lxa, stm32mp157c-mc1 Rob Herring
2020-11-10 10:25 ` [PATCH v2 3/3] ARM: dts: stm32: lxa-mc1: add OSD32MP15x to list of compatibles Ahmad Fatoum
2020-11-16 17:00 ` [PATCH v2 1/3] dt-bindings: vendor-prefixes: document Octavo Systems oct prefix Rob Herring
2 siblings, 1 reply; 6+ messages in thread
From: Ahmad Fatoum @ 2020-11-10 10:25 UTC (permalink / raw)
To: Maxime Coquelin, Alexandre Torgue
Cc: kernel, Ahmad Fatoum, Rob Herring, devicetree, linux-stm32,
linux-arm-kernel, linux-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
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH v2 2/3] dt-bindings: arm: stm32: add extra SiP compatible for lxa, stm32mp157c-mc1
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-16 17:01 ` Rob Herring
0 siblings, 0 replies; 6+ messages in thread
From: Rob Herring @ 2020-11-16 17:01 UTC (permalink / raw)
To: Ahmad Fatoum
Cc: linux-stm32, linux-kernel, devicetree, linux-arm-kernel,
Rob Herring, Maxime Coquelin, kernel, Alexandre Torgue
On Tue, 10 Nov 2020 11:25:50 +0100, Ahmad Fatoum wrote:
> 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(-)
>
Acked-by: Rob Herring <robh@kernel.org>
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH v2 3/3] ARM: dts: stm32: lxa-mc1: add OSD32MP15x to list of compatibles
2020-11-10 10:25 [PATCH v2 1/3] dt-bindings: vendor-prefixes: document Octavo Systems oct prefix Ahmad Fatoum
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
2020-11-16 17:00 ` [PATCH v2 1/3] dt-bindings: vendor-prefixes: document Octavo Systems oct prefix Rob Herring
2 siblings, 1 reply; 6+ messages in thread
From: Ahmad Fatoum @ 2020-11-10 10:25 UTC (permalink / raw)
To: Rob Herring, Maxime Coquelin, Alexandre Torgue
Cc: kernel, Ahmad Fatoum, devicetree, linux-stm32, linux-arm-kernel,
linux-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
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH v2 3/3] ARM: dts: stm32: lxa-mc1: add OSD32MP15x to list of compatibles
2020-11-10 10:25 ` [PATCH v2 3/3] ARM: dts: stm32: lxa-mc1: add OSD32MP15x to list of compatibles Ahmad Fatoum
@ 2020-11-17 14:26 ` Alexandre Torgue
0 siblings, 0 replies; 6+ messages in thread
From: Alexandre Torgue @ 2020-11-17 14:26 UTC (permalink / raw)
To: Ahmad Fatoum, Rob Herring, Maxime Coquelin
Cc: kernel, devicetree, linux-stm32, linux-arm-kernel, linux-kernel
Hi Ahmad
On 11/10/20 11:25 AM, Ahmad Fatoum wrote:
> 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;
>
Series applied on stm32-next.
Regards
Alex
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH v2 1/3] dt-bindings: vendor-prefixes: document Octavo Systems oct prefix
2020-11-10 10:25 [PATCH v2 1/3] dt-bindings: vendor-prefixes: document Octavo Systems oct prefix Ahmad Fatoum
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 ` [PATCH v2 3/3] ARM: dts: stm32: lxa-mc1: add OSD32MP15x to list of compatibles Ahmad Fatoum
@ 2020-11-16 17:00 ` Rob Herring
2 siblings, 0 replies; 6+ messages in thread
From: Rob Herring @ 2020-11-16 17:00 UTC (permalink / raw)
To: Ahmad Fatoum; +Cc: Neeraj Dantu, kernel, linux-kernel, devicetree, Rob Herring
On Tue, 10 Nov 2020 11:25:49 +0100, Ahmad Fatoum wrote:
> Octavo Systems is an American company specializing in design and
> manufacturing of System-in-Package devices.
>
> The prefix is already in use for the Octavo Systems OSD3358-SM-RED
> device tree, but was so far undocumented. Fix this.
>
> Cc: Neeraj Dantu <neeraj.dantu@octavosystems.com>
> Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
> ---
> v1 -> v2:
> - new patch, suggested by Rob
> ---
> Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
> 1 file changed, 2 insertions(+)
>
Acked-by: Rob Herring <robh@kernel.org>
^ permalink raw reply [flat|nested] 6+ messages in thread