On Mon, Dec 22, 2025 at 12:32:10AM +0100, Marijn Suijten wrote:
> Document the Samsung SOFEF01-M Display-Driver-IC and 1080x2520@60Hz
> command-mode DSI panels found in many Sony phones:
> - Sony Xperia 5 (kumano bahamut): amb609tc01
> - Sony Xperia 10 II (seine pdx201): ams597ut01
> - Sony Xperia 10 III (lena pdx213): ams597ut04
> - Sony Xperia 10 IV (murray pdx225): ams597ut05
> - Sony Xperia 10 V (zambezi pdx235): ams605dk01
> - Sony Xperia 10 VI (columbia pdx246): ams605dk01
>
> Signed-off-by: Marijn Suijten <[email protected]>
> ---
> .../bindings/display/panel/samsung,sofef01-m.yaml | 120
> +++++++++++++++++++++
> MAINTAINERS | 5 +
> 2 files changed, 125 insertions(+)
>
> diff --git
> a/Documentation/devicetree/bindings/display/panel/samsung,sofef01-m.yaml
> b/Documentation/devicetree/bindings/display/panel/samsung,sofef01-m.yaml
> new file mode 100644
> index 000000000000..a8ff5223677c
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/display/panel/samsung,sofef01-m.yaml
> @@ -0,0 +1,120 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/display/panel/samsung,sofef01-m.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Samsung SOFEF01-M DDI for 1080x2520@60Hz 6.0"/6.1" OLED DSI panels
> +
> +maintainers:
> + - Marijn Suijten <[email protected]>
> +
> +description: |
> + Samsung SOFEF01-M Display-Driver-IC found in multiple Sony smartphones,
> paired with
> + the following panel:
> + - Sony Xperia 5 (kumano bahamut): amb609tc01
> + - Sony Xperia 10 II (seine pdx201): ams597ut01
> + - Sony Xperia 10 III (lena pdx213): ams597ut04
> + - Sony Xperia 10 IV (murray pdx225): ams597ut05
> + - Sony Xperia 10 V (zambezi pdx235): ams605dk01
> + - Sony Xperia 10 VI (columbia pdx246): ams605dk01
> +
> + The assembly features a Samsung touchscreen compatible with
> + samsung,s6sy761.
> +
> +allOf:
> + - $ref: panel-common.yaml#
> +
> + - if:
> + properties:
> + compatible:
> + const: samsung,sofef01-m-amb609tc01
> + then:
> + properties:
> + vci-supply:
> + description: DisplayIC Operation supply (3.0V)
The error reported is on the wrong patch. Not sure why, but the problem
is here. With 'additionalProperties: false', this property is not
factored in and is considered unknown. That can be fixed using
'unevaluatedProperties', but instead, move this to the top level
'properties'.
> +
> + required:
> + - vci-supply
> +
> + else:
> + properties:
> + vci-supply: false
> +
> +properties:
> + compatible:
> + enum:
> + - samsung,sofef01-m-amb609tc01 # 6.1"
> + - samsung,sofef01-m-ams597ut01 # 6.0"
> + - samsung,sofef01-m-ams597ut04 # 6.0"
> + - samsung,sofef01-m-ams597ut05 # 6.0"
> + - samsung,sofef01-m-ams605dk01 # 6.1"
> +
> + port: true
> +
> + reg:
> + maxItems: 1
> + description: DSI virtual channel
> +
> + reset-gpios: true
> +
> + vddio-supply:
> + description: I/O voltage supply (1.8V)
> +
> +required:
> + - compatible
> + - port
> + - reg
> + - reset-gpios
> + - vddio-supply
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + #include <dt-bindings/gpio/gpio.h>
> +
> + dsi {
> + #address-cells = <1>;
> + #size-cells = <0>;
> + panel@0 {
> + compatible = "samsung,sofef01-m-amb609tc01";
> + reg = <0>;
> +
> + reset-gpios = <&tlmm 6 GPIO_ACTIVE_LOW>;
> +
> + vci-supply = <&vreg_l17a_3p0>;
> + vddio-supply = <&vreg_l14a_1p8>;
> +
> + port {
> + endpoint {
> + remote-endpoint = <&dsi0_out>;
> + };
> + };
> + };
> + };
> +
> + - |
> + #include <dt-bindings/gpio/gpio.h>
> +
> + dsi {
> + #address-cells = <1>;
> + #size-cells = <0>;
> + panel@0 {
> + compatible = "samsung,sofef01-m-ams597ut01";
> + reg = <0>;
> +
> + reset-gpios = <&tlmm 90 GPIO_ACTIVE_LOW>;
> +
> + vddio-supply = <&pm6125_l12>;
> +
> + port {
> + endpoint {
> + remote-endpoint = <&dsi0_out>;
> + };
> + };
> + };
> + };
The first example is enough.