* [PATCH 1/8] dt-bindings: mfd: stm32f7: Add binding definition for DSI
2023-12-29 13:51 [PATCH 0/8] Add display support for stm32f769-disco board Dario Binacchi
@ 2023-12-29 13:51 ` Dario Binacchi
2024-01-01 14:04 ` Conor Dooley
2023-12-29 13:51 ` [PATCH 2/8] ARM: dts: stm32: add DSI support on stm32f769 Dario Binacchi
` (4 subsequent siblings)
5 siblings, 1 reply; 12+ messages in thread
From: Dario Binacchi @ 2023-12-29 13:51 UTC (permalink / raw)
To: linux-kernel
Cc: linux-amarula, Alexandre Torgue, Dario Binacchi, Conor Dooley,
Krzysztof Kozlowski, Lee Jones, Maxime Coquelin, Rob Herring,
devicetree, linux-arm-kernel, linux-stm32
Add binding definition for MIPI DSI Host controller.
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
---
include/dt-bindings/mfd/stm32f7-rcc.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/dt-bindings/mfd/stm32f7-rcc.h b/include/dt-bindings/mfd/stm32f7-rcc.h
index 8d73a9c51e2b..a4e4f9271395 100644
--- a/include/dt-bindings/mfd/stm32f7-rcc.h
+++ b/include/dt-bindings/mfd/stm32f7-rcc.h
@@ -108,6 +108,7 @@
#define STM32F7_RCC_APB2_SAI1 22
#define STM32F7_RCC_APB2_SAI2 23
#define STM32F7_RCC_APB2_LTDC 26
+#define STM32F7_RCC_APB2_DSI 27
#define STM32F7_APB2_RESET(bit) (STM32F7_RCC_APB2_##bit + (0x24 * 8))
#define STM32F7_APB2_CLOCK(bit) (STM32F7_RCC_APB2_##bit + 0xA0)
--
2.43.0
^ permalink raw reply related [flat|nested] 12+ messages in thread* Re: [PATCH 1/8] dt-bindings: mfd: stm32f7: Add binding definition for DSI
2023-12-29 13:51 ` [PATCH 1/8] dt-bindings: mfd: stm32f7: Add binding definition for DSI Dario Binacchi
@ 2024-01-01 14:04 ` Conor Dooley
0 siblings, 0 replies; 12+ messages in thread
From: Conor Dooley @ 2024-01-01 14:04 UTC (permalink / raw)
To: Dario Binacchi
Cc: linux-kernel, linux-amarula, Alexandre Torgue, Conor Dooley,
Krzysztof Kozlowski, Lee Jones, Maxime Coquelin, Rob Herring,
devicetree, linux-arm-kernel, linux-stm32
[-- Attachment #1: Type: text/plain, Size: 270 bytes --]
On Fri, Dec 29, 2023 at 02:51:16PM +0100, Dario Binacchi wrote:
> Add binding definition for MIPI DSI Host controller.
>
> Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Cheers,
Conor.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* [PATCH 2/8] ARM: dts: stm32: add DSI support on stm32f769
2023-12-29 13:51 [PATCH 0/8] Add display support for stm32f769-disco board Dario Binacchi
2023-12-29 13:51 ` [PATCH 1/8] dt-bindings: mfd: stm32f7: Add binding definition for DSI Dario Binacchi
@ 2023-12-29 13:51 ` Dario Binacchi
2023-12-29 13:51 ` [PATCH 3/8] ARM: dts: stm32: rename mmc_vcard to vcc-3v3 on stm32f769-disco Dario Binacchi
` (3 subsequent siblings)
5 siblings, 0 replies; 12+ messages in thread
From: Dario Binacchi @ 2023-12-29 13:51 UTC (permalink / raw)
To: linux-kernel
Cc: linux-amarula, Alexandre Torgue, Dario Binacchi, Conor Dooley,
Krzysztof Kozlowski, Maxime Coquelin, Rob Herring, devicetree,
linux-arm-kernel, linux-stm32
Add support for MIPI DSI Host controller. Since MIPI DSI is not
available on stm32f746, the patch adds the "stm32f769.dtsi" file
containing the dsi node inside.
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
---
arch/arm/boot/dts/st/stm32f769.dtsi | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
create mode 100644 arch/arm/boot/dts/st/stm32f769.dtsi
diff --git a/arch/arm/boot/dts/st/stm32f769.dtsi b/arch/arm/boot/dts/st/stm32f769.dtsi
new file mode 100644
index 000000000000..e09184f7079c
--- /dev/null
+++ b/arch/arm/boot/dts/st/stm32f769.dtsi
@@ -0,0 +1,21 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * Copyright (c) 2023 Dario Binacchi <dario.binacchi@amarulasolutions.com>
+ */
+
+#include "stm32f746.dtsi"
+
+/ {
+ soc {
+ dsi: dsi@40016c00 {
+ compatible = "st,stm32-dsi";
+ reg = <0x40016c00 0x800>;
+ interrupts = <98>;
+ clocks = <&rcc 1 CLK_F769_DSI>, <&clk_hse>;
+ clock-names = "pclk", "ref";
+ resets = <&rcc STM32F7_APB2_RESET(DSI)>;
+ reset-names = "apb";
+ status = "disabled";
+ };
+ };
+};
--
2.43.0
^ permalink raw reply related [flat|nested] 12+ messages in thread* [PATCH 3/8] ARM: dts: stm32: rename mmc_vcard to vcc-3v3 on stm32f769-disco
2023-12-29 13:51 [PATCH 0/8] Add display support for stm32f769-disco board Dario Binacchi
2023-12-29 13:51 ` [PATCH 1/8] dt-bindings: mfd: stm32f7: Add binding definition for DSI Dario Binacchi
2023-12-29 13:51 ` [PATCH 2/8] ARM: dts: stm32: add DSI support on stm32f769 Dario Binacchi
@ 2023-12-29 13:51 ` Dario Binacchi
2023-12-29 13:51 ` [PATCH 4/8] ARM: dts: stm32: add display support " Dario Binacchi
` (2 subsequent siblings)
5 siblings, 0 replies; 12+ messages in thread
From: Dario Binacchi @ 2023-12-29 13:51 UTC (permalink / raw)
To: linux-kernel
Cc: linux-amarula, Alexandre Torgue, Dario Binacchi, Conor Dooley,
Krzysztof Kozlowski, Maxime Coquelin, Rob Herring, devicetree,
linux-arm-kernel, linux-stm32
In the schematics of document UM2033, the power supply for the micro SD
card is the same 3v3 voltage that is used to power other devices on the
board. By generalizing the name of the voltage regulator, it can be
referenced by other nodes in the device tree without creating
misunderstandings.
This patch is preparatory for future developments.
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
---
arch/arm/boot/dts/st/stm32f769-disco.dts | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/arm/boot/dts/st/stm32f769-disco.dts b/arch/arm/boot/dts/st/stm32f769-disco.dts
index 5d12ae25b327..8632bd866272 100644
--- a/arch/arm/boot/dts/st/stm32f769-disco.dts
+++ b/arch/arm/boot/dts/st/stm32f769-disco.dts
@@ -92,9 +92,9 @@ usbotg_hs_phy: usb-phy {
clock-names = "main_clk";
};
- mmc_vcard: mmc_vcard {
+ vcc_3v3: vcc_3v3 {
compatible = "regulator-fixed";
- regulator-name = "mmc_vcard";
+ regulator-name = "vcc_3v3";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
};
@@ -128,7 +128,7 @@ &rtc {
&sdio2 {
status = "okay";
- vmmc-supply = <&mmc_vcard>;
+ vmmc-supply = <&vcc_3v3>;
cd-gpios = <&gpioi 15 GPIO_ACTIVE_LOW>;
broken-cd;
pinctrl-names = "default", "opendrain", "sleep";
--
2.43.0
^ permalink raw reply related [flat|nested] 12+ messages in thread* [PATCH 4/8] ARM: dts: stm32: add display support on stm32f769-disco
2023-12-29 13:51 [PATCH 0/8] Add display support for stm32f769-disco board Dario Binacchi
` (2 preceding siblings ...)
2023-12-29 13:51 ` [PATCH 3/8] ARM: dts: stm32: rename mmc_vcard to vcc-3v3 on stm32f769-disco Dario Binacchi
@ 2023-12-29 13:51 ` Dario Binacchi
2023-12-29 13:51 ` [PATCH 5/8] dt-bindings: nt35510: add compatible for FRIDA FRD400B25025-A-CTK Dario Binacchi
2023-12-29 13:51 ` [PATCH 6/8] ARM: dts: add stm32f769-disco-mb1225-revb03-mb1166-reva09 Dario Binacchi
5 siblings, 0 replies; 12+ messages in thread
From: Dario Binacchi @ 2023-12-29 13:51 UTC (permalink / raw)
To: linux-kernel
Cc: linux-amarula, Alexandre Torgue, Dario Binacchi, Conor Dooley,
Krzysztof Kozlowski, Maxime Coquelin, Rob Herring, devicetree,
linux-arm-kernel, linux-stm32
The patch adds display support on the stm32f769-disco board.
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
---
arch/arm/boot/dts/st/stm32f769-disco.dts | 72 +++++++++++++++++++++++-
1 file changed, 71 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/st/stm32f769-disco.dts b/arch/arm/boot/dts/st/stm32f769-disco.dts
index 8632bd866272..d1eb5f9c78bf 100644
--- a/arch/arm/boot/dts/st/stm32f769-disco.dts
+++ b/arch/arm/boot/dts/st/stm32f769-disco.dts
@@ -41,7 +41,7 @@
*/
/dts-v1/;
-#include "stm32f746.dtsi"
+#include "stm32f769.dtsi"
#include "stm32f769-pinctrl.dtsi"
#include <dt-bindings/input/input.h>
#include <dt-bindings/gpio/gpio.h>
@@ -60,6 +60,19 @@ memory@c0000000 {
reg = <0xC0000000 0x1000000>;
};
+ reserved-memory {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ ranges;
+
+ linux,dma {
+ compatible = "shared-dma-pool";
+ linux,dma-default;
+ no-map;
+ size = <0x100000>;
+ };
+ };
+
aliases {
serial0 = &usart1;
};
@@ -85,6 +98,13 @@ button-0 {
};
};
+ panel_backlight: panel-backlight {
+ compatible = "gpio-backlight";
+ gpios = <&gpioi 14 GPIO_ACTIVE_HIGH>;
+ default-on;
+ status = "okay";
+ };
+
usbotg_hs_phy: usb-phy {
#phy-cells = <0>;
compatible = "usb-nop-xceiv";
@@ -114,6 +134,46 @@ &clk_hse {
clock-frequency = <25000000>;
};
+&dsi {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ status = "okay";
+
+ ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ port@0 {
+ reg = <0>;
+ dsi_in: endpoint {
+ remote-endpoint = <<dc_out_dsi>;
+ };
+ };
+
+ port@1 {
+ reg = <1>;
+ dsi_out: endpoint {
+ remote-endpoint = <&dsi_panel_in>;
+ };
+ };
+ };
+
+ panel0: panel-dsi@0 {
+ compatible = "orisetech,otm8009a";
+ reg = <0>; /* dsi virtual channel (0..3) */
+ reset-gpios = <&gpioj 15 GPIO_ACTIVE_LOW>;
+ power-supply = <&vcc_3v3>;
+ backlight = <&panel_backlight>;
+ status = "okay";
+
+ port {
+ dsi_panel_in: endpoint {
+ remote-endpoint = <&dsi_out>;
+ };
+ };
+ };
+};
+
&i2c1 {
pinctrl-0 = <&i2c1_pins_b>;
pinctrl-names = "default";
@@ -122,6 +182,16 @@ &i2c1 {
status = "okay";
};
+<dc {
+ status = "okay";
+
+ port {
+ ltdc_out_dsi: endpoint@0 {
+ remote-endpoint = <&dsi_in>;
+ };
+ };
+};
+
&rtc {
status = "okay";
};
--
2.43.0
^ permalink raw reply related [flat|nested] 12+ messages in thread* [PATCH 5/8] dt-bindings: nt35510: add compatible for FRIDA FRD400B25025-A-CTK
2023-12-29 13:51 [PATCH 0/8] Add display support for stm32f769-disco board Dario Binacchi
` (3 preceding siblings ...)
2023-12-29 13:51 ` [PATCH 4/8] ARM: dts: stm32: add display support " Dario Binacchi
@ 2023-12-29 13:51 ` Dario Binacchi
2023-12-29 16:21 ` Rob Herring
` (2 more replies)
2023-12-29 13:51 ` [PATCH 6/8] ARM: dts: add stm32f769-disco-mb1225-revb03-mb1166-reva09 Dario Binacchi
5 siblings, 3 replies; 12+ messages in thread
From: Dario Binacchi @ 2023-12-29 13:51 UTC (permalink / raw)
To: linux-kernel
Cc: linux-amarula, Alexandre Torgue, Dario Binacchi, Conor Dooley,
Daniel Vetter, David Airlie, Jessica Zhang, Krzysztof Kozlowski,
Linus Walleij, Maarten Lankhorst, Maxime Ripard, Neil Armstrong,
Rob Herring, Sam Ravnborg, Thomas Zimmermann, devicetree,
dri-devel
The patch adds the FRIDA FRD400B25025-A-CTK panel, which belongs to the
Novatek NT35510-based panel family.
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
---
.../display/panel/novatek,nt35510.yaml | 20 +++++++++++--------
1 file changed, 12 insertions(+), 8 deletions(-)
diff --git a/Documentation/devicetree/bindings/display/panel/novatek,nt35510.yaml b/Documentation/devicetree/bindings/display/panel/novatek,nt35510.yaml
index bc92928c805b..511b93a376b7 100644
--- a/Documentation/devicetree/bindings/display/panel/novatek,nt35510.yaml
+++ b/Documentation/devicetree/bindings/display/panel/novatek,nt35510.yaml
@@ -14,14 +14,18 @@ allOf:
properties:
compatible:
- items:
- - const: hydis,hva40wv1
- - const: novatek,nt35510
- description: This indicates the panel manufacturer of the panel
- that is in turn using the NT35510 panel driver. The compatible
- string determines how the NT35510 panel driver shall be configured
- to work with the indicated panel. The novatek,nt35510 compatible shall
- always be provided as a fallback.
+ oneOf:
+ items:
+ - const: hydis,hva40wv1
+ - const: novatek,nt35510
+ items:
+ - const: frida,frd400b25025
+ - const: novatek,nt35510
+ description: This indicates the panel manufacturer of the panel
+ that is in turn using the NT35510 panel driver. The compatible
+ string determines how the NT35510 panel driver shall be configured
+ to work with the indicated panel. The novatek,nt35510 compatible shall
+ always be provided as a fallback.
reg: true
reset-gpios: true
vdd-supply:
--
2.43.0
^ permalink raw reply related [flat|nested] 12+ messages in thread* Re: [PATCH 5/8] dt-bindings: nt35510: add compatible for FRIDA FRD400B25025-A-CTK
2023-12-29 13:51 ` [PATCH 5/8] dt-bindings: nt35510: add compatible for FRIDA FRD400B25025-A-CTK Dario Binacchi
@ 2023-12-29 16:21 ` Rob Herring
2023-12-29 17:34 ` Linus Walleij
2024-01-01 5:26 ` kernel test robot
2 siblings, 0 replies; 12+ messages in thread
From: Rob Herring @ 2023-12-29 16:21 UTC (permalink / raw)
To: Dario Binacchi
Cc: Daniel Vetter, Krzysztof Kozlowski, David Airlie, Sam Ravnborg,
devicetree, Maxime Ripard, Jessica Zhang, Linus Walleij,
Alexandre Torgue, Rob Herring, Conor Dooley, Maarten Lankhorst,
linux-amarula, Thomas Zimmermann, dri-devel, linux-kernel,
Neil Armstrong
On Fri, 29 Dec 2023 14:51:20 +0100, Dario Binacchi wrote:
> The patch adds the FRIDA FRD400B25025-A-CTK panel, which belongs to the
> Novatek NT35510-based panel family.
>
> Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
> ---
>
> .../display/panel/novatek,nt35510.yaml | 20 +++++++++++--------
> 1 file changed, 12 insertions(+), 8 deletions(-)
>
My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check'
on your patch (DT_CHECKER_FLAGS is new in v5.13):
yamllint warnings/errors:
./Documentation/devicetree/bindings/display/panel/novatek,nt35510.yaml:21:7: [error] duplication of key "items" in mapping (key-duplicates)
dtschema/dtc warnings/errors:
make[2]: *** Deleting file 'Documentation/devicetree/bindings/display/panel/novatek,nt35510.example.dts'
Documentation/devicetree/bindings/display/panel/novatek,nt35510.yaml:21:7: found duplicate key "items" with value "[]" (original value: "[]")
make[2]: *** [Documentation/devicetree/bindings/Makefile:26: Documentation/devicetree/bindings/display/panel/novatek,nt35510.example.dts] Error 1
make[2]: *** Waiting for unfinished jobs....
./Documentation/devicetree/bindings/display/panel/novatek,nt35510.yaml:21:7: found duplicate key "items" with value "[]" (original value: "[]")
/builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/display/panel/novatek,nt35510.yaml: ignoring, error parsing file
make[1]: *** [/builds/robherring/dt-review-ci/linux/Makefile:1424: dt_binding_check] Error 2
make: *** [Makefile:234: __sub-make] Error 2
doc reference errors (make refcheckdocs):
See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20231229135154.675946-6-dario.binacchi@amarulasolutions.com
The base for the series is generally the latest rc1. A different dependency
should be noted in *this* patch.
If you already ran 'make dt_binding_check' and didn't see the above
error(s), then make sure 'yamllint' is installed and dt-schema is up to
date:
pip3 install dtschema --upgrade
Please check and re-submit after running the above command yourself. Note
that DT_SCHEMA_FILES can be set to your schema file to speed up checking
your schema. However, it must be unset to test all examples with your schema.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 5/8] dt-bindings: nt35510: add compatible for FRIDA FRD400B25025-A-CTK
2023-12-29 13:51 ` [PATCH 5/8] dt-bindings: nt35510: add compatible for FRIDA FRD400B25025-A-CTK Dario Binacchi
2023-12-29 16:21 ` Rob Herring
@ 2023-12-29 17:34 ` Linus Walleij
2023-12-30 11:27 ` Dario Binacchi
2024-01-01 5:26 ` kernel test robot
2 siblings, 1 reply; 12+ messages in thread
From: Linus Walleij @ 2023-12-29 17:34 UTC (permalink / raw)
To: Dario Binacchi
Cc: linux-kernel, linux-amarula, Alexandre Torgue, Conor Dooley,
Daniel Vetter, David Airlie, Jessica Zhang, Krzysztof Kozlowski,
Maarten Lankhorst, Maxime Ripard, Neil Armstrong, Rob Herring,
Sam Ravnborg, Thomas Zimmermann, devicetree, dri-devel
Hi Dario,
thanks for your patch!
On Fri, Dec 29, 2023 at 2:52 PM Dario Binacchi
<dario.binacchi@amarulasolutions.com> wrote:
> The patch adds the FRIDA FRD400B25025-A-CTK panel, which belongs to the
> Novatek NT35510-based panel family.
>
> Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
(...)
> + oneOf:
> + items:
> + - const: hydis,hva40wv1
> + - const: novatek,nt35510
> + items:
> + - const: frida,frd400b25025
> + - const: novatek,nt35510
You need a dash in from of each "items:" for that to work.
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 5/8] dt-bindings: nt35510: add compatible for FRIDA FRD400B25025-A-CTK
2023-12-29 17:34 ` Linus Walleij
@ 2023-12-30 11:27 ` Dario Binacchi
0 siblings, 0 replies; 12+ messages in thread
From: Dario Binacchi @ 2023-12-30 11:27 UTC (permalink / raw)
To: Linus Walleij
Cc: linux-kernel, linux-amarula, Alexandre Torgue, Conor Dooley,
Daniel Vetter, David Airlie, Jessica Zhang, Krzysztof Kozlowski,
Maarten Lankhorst, Maxime Ripard, Neil Armstrong, Rob Herring,
Sam Ravnborg, Thomas Zimmermann, devicetree, dri-devel
Hi Linus,
On Fri, Dec 29, 2023 at 6:34 PM Linus Walleij <linus.walleij@linaro.org> wrote:
>
> Hi Dario,
>
> thanks for your patch!
>
> On Fri, Dec 29, 2023 at 2:52 PM Dario Binacchi
> <dario.binacchi@amarulasolutions.com> wrote:
>
> > The patch adds the FRIDA FRD400B25025-A-CTK panel, which belongs to the
> > Novatek NT35510-based panel family.
> >
> > Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
> (...)
>
>
> > + oneOf:
> > + items:
> > + - const: hydis,hva40wv1
> > + - const: novatek,nt35510
> > + items:
> > + - const: frida,frd400b25025
> > + - const: novatek,nt35510
>
> You need a dash in from of each "items:" for that to work.
Thanks for your help.
Regards
Dario
>
> Yours,
> Linus Walleij
--
Dario Binacchi
Senior Embedded Linux Developer
dario.binacchi@amarulasolutions.com
__________________________________
Amarula Solutions SRL
Via Le Canevare 30, 31100 Treviso, Veneto, IT
T. +39 042 243 5310
info@amarulasolutions.com
www.amarulasolutions.com
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 5/8] dt-bindings: nt35510: add compatible for FRIDA FRD400B25025-A-CTK
2023-12-29 13:51 ` [PATCH 5/8] dt-bindings: nt35510: add compatible for FRIDA FRD400B25025-A-CTK Dario Binacchi
2023-12-29 16:21 ` Rob Herring
2023-12-29 17:34 ` Linus Walleij
@ 2024-01-01 5:26 ` kernel test robot
2 siblings, 0 replies; 12+ messages in thread
From: kernel test robot @ 2024-01-01 5:26 UTC (permalink / raw)
To: Dario Binacchi, linux-kernel
Cc: oe-kbuild-all, dri-devel, Neil Armstrong, Conor Dooley,
Krzysztof Kozlowski, Sam Ravnborg, devicetree, linux-amarula,
Alexandre Torgue, Maxime Ripard, Rob Herring, Thomas Zimmermann,
Jessica Zhang, Dario Binacchi, David Airlie
Hi Dario,
kernel test robot noticed the following build warnings:
[auto build test WARNING on atorgue-stm32/stm32-next]
[also build test WARNING on drm-misc/drm-misc-next lee-mfd/for-mfd-next robh/for-next linus/master v6.7-rc7 next-20231222]
[cannot apply to lee-mfd/for-mfd-fixes]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Dario-Binacchi/dt-bindings-mfd-stm32f7-Add-binding-definition-for-DSI/20231229-215601
base: https://git.kernel.org/pub/scm/linux/kernel/git/atorgue/stm32.git stm32-next
patch link: https://lore.kernel.org/r/20231229135154.675946-6-dario.binacchi%40amarulasolutions.com
patch subject: [PATCH 5/8] dt-bindings: nt35510: add compatible for FRIDA FRD400B25025-A-CTK
:::::: branch date: 20 hours ago
:::::: commit date: 20 hours ago
compiler: loongarch64-linux-gcc (GCC) 13.2.0
reproduce: (https://download.01.org/0day-ci/archive/20231230/202312301748.2BRGs7Xs-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/r/202312301748.2BRGs7Xs-lkp@intel.com/
dtcheck warnings: (new ones prefixed by >>)
>> Documentation/devicetree/bindings/display/panel/novatek,nt35510.yaml:21:7: [error] duplication of key "items" in mapping (key-duplicates)
--
>> Documentation/devicetree/bindings/display/panel/novatek,nt35510.yaml:21:7: found duplicate key "items" with value "[]" (original value: "[]")
Documentation/devicetree/bindings/iio/pressure/honeywell,mprls0025pa.yaml: properties:honeywell,pmin-pascal: '$ref' should not be valid under {'const': '$ref'}
hint: Standard unit suffix properties don't need a type $ref
from schema $id: http://devicetree.org/meta-schemas/core.yaml#
Documentation/devicetree/bindings/iio/pressure/honeywell,mprls0025pa.yaml: properties:honeywell,pmax-pascal: '$ref' should not be valid under {'const': '$ref'}
hint: Standard unit suffix properties don't need a type $ref
from schema $id: http://devicetree.org/meta-schemas/core.yaml#
--
>> Documentation/devicetree/bindings/display/panel/novatek,nt35510.yaml: ignoring, error parsing file
Documentation/devicetree/bindings/net/snps,dwmac.yaml: mac-mode: missing type definition
vim +/items +21 Documentation/devicetree/bindings/display/panel/novatek,nt35510.yaml
5ce96fe032f43e Linus Walleij 2020-02-23 8
5ce96fe032f43e Linus Walleij 2020-02-23 9 maintainers:
5ce96fe032f43e Linus Walleij 2020-02-23 10 - Linus Walleij <linus.walleij@linaro.org>
5ce96fe032f43e Linus Walleij 2020-02-23 11
5ce96fe032f43e Linus Walleij 2020-02-23 12 allOf:
5ce96fe032f43e Linus Walleij 2020-02-23 13 - $ref: panel-common.yaml#
5ce96fe032f43e Linus Walleij 2020-02-23 14
5ce96fe032f43e Linus Walleij 2020-02-23 15 properties:
5ce96fe032f43e Linus Walleij 2020-02-23 16 compatible:
859f1d9e26606c Dario Binacchi 2023-12-29 17 oneOf:
5ce96fe032f43e Linus Walleij 2020-02-23 18 items:
5ce96fe032f43e Linus Walleij 2020-02-23 19 - const: hydis,hva40wv1
5ce96fe032f43e Linus Walleij 2020-02-23 20 - const: novatek,nt35510
859f1d9e26606c Dario Binacchi 2023-12-29 @21 items:
859f1d9e26606c Dario Binacchi 2023-12-29 22 - const: frida,frd400b25025
859f1d9e26606c Dario Binacchi 2023-12-29 23 - const: novatek,nt35510
5ce96fe032f43e Linus Walleij 2020-02-23 24 description: This indicates the panel manufacturer of the panel
5ce96fe032f43e Linus Walleij 2020-02-23 25 that is in turn using the NT35510 panel driver. The compatible
5ce96fe032f43e Linus Walleij 2020-02-23 26 string determines how the NT35510 panel driver shall be configured
5ce96fe032f43e Linus Walleij 2020-02-23 27 to work with the indicated panel. The novatek,nt35510 compatible shall
5ce96fe032f43e Linus Walleij 2020-02-23 28 always be provided as a fallback.
5ce96fe032f43e Linus Walleij 2020-02-23 29 reg: true
5ce96fe032f43e Linus Walleij 2020-02-23 30 reset-gpios: true
5ce96fe032f43e Linus Walleij 2020-02-23 31 vdd-supply:
5ce96fe032f43e Linus Walleij 2020-02-23 32 description: regulator that supplies the vdd voltage
5ce96fe032f43e Linus Walleij 2020-02-23 33 vddi-supply:
5ce96fe032f43e Linus Walleij 2020-02-23 34 description: regulator that supplies the vddi voltage
5ce96fe032f43e Linus Walleij 2020-02-23 35 backlight: true
5ce96fe032f43e Linus Walleij 2020-02-23 36
5ce96fe032f43e Linus Walleij 2020-02-23 37 required:
5ce96fe032f43e Linus Walleij 2020-02-23 38 - compatible
5ce96fe032f43e Linus Walleij 2020-02-23 39 - reg
5ce96fe032f43e Linus Walleij 2020-02-23 40
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 12+ messages in thread
* [PATCH 6/8] ARM: dts: add stm32f769-disco-mb1225-revb03-mb1166-reva09
2023-12-29 13:51 [PATCH 0/8] Add display support for stm32f769-disco board Dario Binacchi
` (4 preceding siblings ...)
2023-12-29 13:51 ` [PATCH 5/8] dt-bindings: nt35510: add compatible for FRIDA FRD400B25025-A-CTK Dario Binacchi
@ 2023-12-29 13:51 ` Dario Binacchi
5 siblings, 0 replies; 12+ messages in thread
From: Dario Binacchi @ 2023-12-29 13:51 UTC (permalink / raw)
To: linux-kernel
Cc: linux-amarula, Alexandre Torgue, Dario Binacchi, Andre Przywara,
Conor Dooley, Krzysztof Kozlowski, Leonard Göhrs,
Linus Walleij, Maxime Coquelin, Olivier Moysan, Rob Herring,
Sean Nyekjaer, Tony Lindgren, devicetree, linux-arm-kernel,
linux-stm32
As reported in the section 8.3 (i. e. Board revision history) of document
UM2033 (i. e. Discovery kit with STM32F769NI MCU) these are the changes
related to the board revisions addressed by the patch:
- Board MB1225 revision B-03:
- Memory MICRON MT48LC4M32B2B5-6A replaced by ISSI IS42S32400F-6BL
- Board MB1166 revision A-09:
- LCD FRIDA FRD397B25009-D-CTK replaced by FRIDA FRD400B25025-A-CTK
The patch only adds the DTS support for the new display which belongs to
to the Novatek NT35510-based panel family.
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
---
arch/arm/boot/dts/st/Makefile | 1 +
.../stm32f769-disco-mb1225-revb03-mb1166-reva09.dts | 13 +++++++++++++
2 files changed, 14 insertions(+)
create mode 100644 arch/arm/boot/dts/st/stm32f769-disco-mb1225-revb03-mb1166-reva09.dts
diff --git a/arch/arm/boot/dts/st/Makefile b/arch/arm/boot/dts/st/Makefile
index 7892ad69b441..390dbd300a57 100644
--- a/arch/arm/boot/dts/st/Makefile
+++ b/arch/arm/boot/dts/st/Makefile
@@ -23,6 +23,7 @@ dtb-$(CONFIG_ARCH_STM32) += \
stm32f469-disco.dtb \
stm32f746-disco.dtb \
stm32f769-disco.dtb \
+ stm32f769-disco-mb1225-revb03-mb1166-reva09.dts \
stm32429i-eval.dtb \
stm32746g-eval.dtb \
stm32h743i-eval.dtb \
diff --git a/arch/arm/boot/dts/st/stm32f769-disco-mb1225-revb03-mb1166-reva09.dts b/arch/arm/boot/dts/st/stm32f769-disco-mb1225-revb03-mb1166-reva09.dts
new file mode 100644
index 000000000000..ff7ff32371d0
--- /dev/null
+++ b/arch/arm/boot/dts/st/stm32f769-disco-mb1225-revb03-mb1166-reva09.dts
@@ -0,0 +1,13 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * Copyright (c) 2023 Dario Binacchi <dario.binacchi@amarulasolutions.com>
+ */
+
+#include "stm32f769-disco.dts"
+
+&panel0 {
+ compatible = "frida,frd400b25025", "novatek,nt35510";
+ vddi-supply = <&vcc_3v3>;
+ vdd-supply = <&vcc_3v3>;
+ /delete-property/power-supply;
+};
--
2.43.0
^ permalink raw reply related [flat|nested] 12+ messages in thread