Samsung S6E8AA5X01 is an AMOLED MIPI DSI panel controller. Document the
compatible and devicetree properties of this panel driver. Timings are
provided through the devicetree node as panels are available in
different sizes.
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Kaustabh Chakraborty <kauschluss@disroot.org>
---
.../bindings/display/panel/samsung,s6e8aa5x01.yaml | 78 ++++++++++++++++++++++
1 file changed, 78 insertions(+)
diff --git a/Documentation/devicetree/bindings/display/panel/samsung,s6e8aa5x01.yaml b/Documentation/devicetree/bindings/display/panel/samsung,s6e8aa5x01.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..23dae6e961ae01c99de93bf4b4a067f2953f8edf
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/panel/samsung,s6e8aa5x01.yaml
@@ -0,0 +1,78 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/display/panel/samsung,s6e8aa5x01.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Samsung S6E8AA5X01 display panel controller
+
+maintainers:
+ - Kaustabh Chakraborty <kauschluss@disroot.org>
+
+allOf:
+ - $ref: panel-common.yaml#
+
+properties:
+ compatible:
+ const: samsung,s6e8aa5x01
+
+ reg:
+ maxItems: 1
+
+ vdd-supply:
+ description: core voltage supply
+
+ vci-supply:
+ description: voltage supply for analog circuits
+
+ reset-gpios: true
+ width-mm: true
+ height-mm: true
+ panel-timing: true
+
+required:
+ - compatible
+ - reg
+ - width-mm
+ - height-mm
+ - panel-timing
+
+additionalProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/gpio/gpio.h>
+
+ dsi {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ panel@0 {
+ compatible = "samsung,s6e8aa5x01";
+ reg = <0>;
+
+ vdd-supply = <&panel_vdd_reg>;
+ vci-supply = <&panel_vci_reg>;
+
+ reset-gpios = <&gpd3 4 GPIO_ACTIVE_HIGH>;
+
+ width-mm = <62>;
+ height-mm = <128>;
+
+ panel-timing {
+ clock-frequency = <73094400>;
+
+ hactive = <720>;
+ hsync-len = <2>;
+ hfront-porch = <62>;
+ hback-porch = <26>;
+
+ vactive = <1480>;
+ vsync-len = <2>;
+ vfront-porch = <12>;
+ vback-porch = <10>;
+ };
+ };
+ };
+
+...
--
2.49.0
On 25/06/2025 14:41, Kaustabh Chakraborty wrote: > Samsung S6E8AA5X01 is an AMOLED MIPI DSI panel controller. Document the > compatible and devicetree properties of this panel driver. Timings are > provided through the devicetree node as panels are available in > different sizes. Wait, why ? Why not multiple compatibles ? Neil > > Acked-by: Conor Dooley <conor.dooley@microchip.com> > Signed-off-by: Kaustabh Chakraborty <kauschluss@disroot.org> > --- > .../bindings/display/panel/samsung,s6e8aa5x01.yaml | 78 ++++++++++++++++++++++ > 1 file changed, 78 insertions(+) > > diff --git a/Documentation/devicetree/bindings/display/panel/samsung,s6e8aa5x01.yaml b/Documentation/devicetree/bindings/display/panel/samsung,s6e8aa5x01.yaml > new file mode 100644 > index 0000000000000000000000000000000000000000..23dae6e961ae01c99de93bf4b4a067f2953f8edf > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/panel/samsung,s6e8aa5x01.yaml > @@ -0,0 +1,78 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/display/panel/samsung,s6e8aa5x01.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Samsung S6E8AA5X01 display panel controller > + > +maintainers: > + - Kaustabh Chakraborty <kauschluss@disroot.org> > + > +allOf: > + - $ref: panel-common.yaml# > + > +properties: > + compatible: > + const: samsung,s6e8aa5x01 > + > + reg: > + maxItems: 1 > + > + vdd-supply: > + description: core voltage supply > + > + vci-supply: > + description: voltage supply for analog circuits > + > + reset-gpios: true > + width-mm: true > + height-mm: true > + panel-timing: true > + > +required: > + - compatible > + - reg > + - width-mm > + - height-mm > + - panel-timing > + > +additionalProperties: false > + > +examples: > + - | > + #include <dt-bindings/gpio/gpio.h> > + > + dsi { > + #address-cells = <1>; > + #size-cells = <0>; > + > + panel@0 { > + compatible = "samsung,s6e8aa5x01"; > + reg = <0>; > + > + vdd-supply = <&panel_vdd_reg>; > + vci-supply = <&panel_vci_reg>; > + > + reset-gpios = <&gpd3 4 GPIO_ACTIVE_HIGH>; > + > + width-mm = <62>; > + height-mm = <128>; > + > + panel-timing { > + clock-frequency = <73094400>; > + > + hactive = <720>; > + hsync-len = <2>; > + hfront-porch = <62>; > + hback-porch = <26>; > + > + vactive = <1480>; > + vsync-len = <2>; > + vfront-porch = <12>; > + vback-porch = <10>; > + }; > + }; > + }; > + > +... >
On 2025-06-30 15:29, Neil Armstrong wrote: > On 25/06/2025 14:41, Kaustabh Chakraborty wrote: >> Samsung S6E8AA5X01 is an AMOLED MIPI DSI panel controller. Document >> the >> compatible and devicetree properties of this panel driver. Timings are >> provided through the devicetree node as panels are available in >> different sizes. > > Wait, why ? Why not multiple compatibles ? The panel dimensions is the only thing which differs. The model name, controller, registers, and functionality are supposedly all similar, so I believe this is fine... > > Neil > >> >> Acked-by: Conor Dooley <conor.dooley@microchip.com> >> Signed-off-by: Kaustabh Chakraborty <kauschluss@disroot.org> >> --- >> .../bindings/display/panel/samsung,s6e8aa5x01.yaml | 78 >> ++++++++++++++++++++++ >> 1 file changed, 78 insertions(+) >> >> diff --git >> a/Documentation/devicetree/bindings/display/panel/samsung,s6e8aa5x01.yaml >> b/Documentation/devicetree/bindings/display/panel/samsung,s6e8aa5x01.yaml >> new file mode 100644 >> index >> 0000000000000000000000000000000000000000..23dae6e961ae01c99de93bf4b4a067f2953f8edf >> --- /dev/null >> +++ >> b/Documentation/devicetree/bindings/display/panel/samsung,s6e8aa5x01.yaml >> @@ -0,0 +1,78 @@ >> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) >> +%YAML 1.2 >> +--- >> +$id: >> http://devicetree.org/schemas/display/panel/samsung,s6e8aa5x01.yaml# >> +$schema: http://devicetree.org/meta-schemas/core.yaml# >> + >> +title: Samsung S6E8AA5X01 display panel controller >> + >> +maintainers: >> + - Kaustabh Chakraborty <kauschluss@disroot.org> >> + >> +allOf: >> + - $ref: panel-common.yaml# >> + >> +properties: >> + compatible: >> + const: samsung,s6e8aa5x01 >> + >> + reg: >> + maxItems: 1 >> + >> + vdd-supply: >> + description: core voltage supply >> + >> + vci-supply: >> + description: voltage supply for analog circuits >> + >> + reset-gpios: true >> + width-mm: true >> + height-mm: true >> + panel-timing: true >> + >> +required: >> + - compatible >> + - reg >> + - width-mm >> + - height-mm >> + - panel-timing >> + >> +additionalProperties: false >> + >> +examples: >> + - | >> + #include <dt-bindings/gpio/gpio.h> >> + >> + dsi { >> + #address-cells = <1>; >> + #size-cells = <0>; >> + >> + panel@0 { >> + compatible = "samsung,s6e8aa5x01"; >> + reg = <0>; >> + >> + vdd-supply = <&panel_vdd_reg>; >> + vci-supply = <&panel_vci_reg>; >> + >> + reset-gpios = <&gpd3 4 GPIO_ACTIVE_HIGH>; >> + >> + width-mm = <62>; >> + height-mm = <128>; >> + >> + panel-timing { >> + clock-frequency = <73094400>; >> + >> + hactive = <720>; >> + hsync-len = <2>; >> + hfront-porch = <62>; >> + hback-porch = <26>; >> + >> + vactive = <1480>; >> + vsync-len = <2>; >> + vfront-porch = <12>; >> + vback-porch = <10>; >> + }; >> + }; >> + }; >> + >> +... >>
On Mon, Jun 30, 2025 at 05:18:22PM +0000, Kaustabh Chakraborty wrote: > On 2025-06-30 15:29, Neil Armstrong wrote: > > On 25/06/2025 14:41, Kaustabh Chakraborty wrote: > > > Samsung S6E8AA5X01 is an AMOLED MIPI DSI panel controller. Document > > > the > > > compatible and devicetree properties of this panel driver. Timings are > > > provided through the devicetree node as panels are available in > > > different sizes. > > > > Wait, why ? Why not multiple compatibles ? > > The panel dimensions is the only thing which differs. The model name, > controller, registers, and functionality are supposedly all similar, so > I believe this is fine... I'd say, it is typical to have a controller to be used by different panels. However usually those panels have different names or IDs. Please follow the typical way of handling such a situation and use panel IDs for compatibles. -- With best wishes Dmitry
On Mon, Jun 30, 2025 at 05:18:22PM +0000, Kaustabh Chakraborty wrote: > On 2025-06-30 15:29, Neil Armstrong wrote: > > On 25/06/2025 14:41, Kaustabh Chakraborty wrote: > > > Samsung S6E8AA5X01 is an AMOLED MIPI DSI panel controller. Document > > > the > > > compatible and devicetree properties of this panel driver. Timings are > > > provided through the devicetree node as panels are available in > > > different sizes. > > > > Wait, why ? Why not multiple compatibles ? > > The panel dimensions is the only thing which differs. The model name, > controller, registers, and functionality are supposedly all similar, so > I believe this is fine... If only the dimensions change, then width-mm and height-mm would be enough, right? Maxime
On 2025-07-03 09:01, Maxime Ripard wrote: > On Mon, Jun 30, 2025 at 05:18:22PM +0000, Kaustabh Chakraborty wrote: >> On 2025-06-30 15:29, Neil Armstrong wrote: >> > On 25/06/2025 14:41, Kaustabh Chakraborty wrote: >> > > Samsung S6E8AA5X01 is an AMOLED MIPI DSI panel controller. Document >> > > the >> > > compatible and devicetree properties of this panel driver. Timings are >> > > provided through the devicetree node as panels are available in >> > > different sizes. >> > >> > Wait, why ? Why not multiple compatibles ? >> >> The panel dimensions is the only thing which differs. The model name, >> controller, registers, and functionality are supposedly all similar, >> so >> I believe this is fine... > > If only the dimensions change, then width-mm and height-mm would be > enough, right? Sorry, meant panel resolution. > > Maxime
© 2016 - 2025 Red Hat, Inc.