From: Ishu Brar <[email protected]> Document the Samsung AMS644VK04, a 6.44 inch 1080x2400 MIPI DSI command mode AMOLED panel with DSC that supports 60 Hz and 90 Hz. It is used in the OnePlus Nord (SM7250). The panel is powered by three supplies and has a reset GPIO.
Signed-off-by: Ishu Brar <[email protected]> --- .../bindings/display/panel/samsung,ams644vk04.yaml | 76 ++++++++++++++++++++++ MAINTAINERS | 6 ++ 2 files changed, 82 insertions(+) diff --git a/Documentation/devicetree/bindings/display/panel/samsung,ams644vk04.yaml b/Documentation/devicetree/bindings/display/panel/samsung,ams644vk04.yaml new file mode 100644 index 000000000..50f8c516b --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/samsung,ams644vk04.yaml @@ -0,0 +1,76 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/samsung,ams644vk04.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Samsung AMS644VK04 1080x2400 MIPI-DSI Panel + +maintainers: + - Ishu Brar <[email protected]> + +description: + The Samsung AMS644VK04 is a 6.44 inch 1080x2400 MIPI-DSI command mode AMOLED + panel with DSC, supporting 60 Hz and 90 Hz refresh rates. It is used in the + OnePlus Nord. + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + const: samsung,ams644vk04 + + reg: + maxItems: 1 + + vddio-supply: + description: I/O voltage rail (1.8 V) + + vdd-supply: + description: Panel logic voltage rail (3.0 V) + + vout-supply: + description: Panel supply rail (1.28 V) + + reset-gpios: true + port: true + +required: + - compatible + - reg + - vddio-supply + - vdd-supply + - vout-supply + - reset-gpios + - port + +additionalProperties: false + +examples: + - | + #include <dt-bindings/gpio/gpio.h> + + dsi { + #address-cells = <1>; + #size-cells = <0>; + + panel@0 { + compatible = "samsung,ams644vk04"; + reg = <0>; + + vddio-supply = <&vreg_l13a_1p8>; + vdd-supply = <&vreg_l18a_3p0>; + vout-supply = <&vreg_l7a_1p28>; + + reset-gpios = <&pm8150l_gpios 3 GPIO_ACTIVE_LOW>; + + port { + panel_in: endpoint { + remote-endpoint = <&mdss_dsi0_out>; + }; + }; + }; + }; + +... diff --git a/MAINTAINERS b/MAINTAINERS index a08087fb6..1eec53b0e 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -8462,6 +8462,12 @@ S: Maintained F: Documentation/devicetree/bindings/display/panel/raydium,rm69220.yaml F: drivers/gpu/drm/panel/panel-raydium-rm69220.c +DRM DRIVER FOR SAMSUNG AMS644VK04 PANEL +M: Ishu Brar <[email protected]> +S: Maintained +T: git https://gitlab.freedesktop.org/drm/misc/kernel.git +F: Documentation/devicetree/bindings/display/panel/samsung,ams644vk04.yaml + DRM DRIVER FOR SAMSUNG DB7430 PANELS M: Linus Walleij <[email protected]> S: Maintained -- 2.56.0
