0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/display/panel/sony,tulip-truly-nt35521.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Sony Tulip Truly NT35521 5.24" 1280x720 MIPI-DSI Panel
0008
0009 maintainers:
0010 - Shawn Guo <shawn.guo@linaro.org>
0011
0012 description: |
0013 The Sony Tulip Truly NT35521 is a 5.24" 1280x720 MIPI-DSI panel, which
0014 can be found no Sony Xperia M4 phone. The panel backlight is managed
0015 through DSI link.
0016
0017 allOf:
0018 - $ref: panel-common.yaml#
0019
0020 properties:
0021 compatible:
0022 const: sony,tulip-truly-nt35521
0023
0024 reg: true
0025
0026 positive5-supply:
0027 description: Positive 5V supply
0028
0029 negative5-supply:
0030 description: Negative 5V supply
0031
0032 reset-gpios: true
0033
0034 enable-gpios: true
0035
0036 port: true
0037
0038 required:
0039 - compatible
0040 - reg
0041 - positive5-supply
0042 - negative5-supply
0043 - reset-gpios
0044 - enable-gpios
0045 - port
0046
0047 additionalProperties: false
0048
0049 examples:
0050 - |
0051 #include <dt-bindings/gpio/gpio.h>
0052
0053 dsi {
0054 #address-cells = <1>;
0055 #size-cells = <0>;
0056
0057 panel@0 {
0058 compatible = "sony,tulip-truly-nt35521";
0059 reg = <0>;
0060 positive5-supply = <&positive5_reg>;
0061 negative5-supply = <&negative5_reg>;
0062 reset-gpios = <&msmgpio 25 GPIO_ACTIVE_LOW>;
0063 enable-gpios = <&msmgpio 10 GPIO_ACTIVE_HIGH>;
0064
0065 port {
0066 panel_in: endpoint {
0067 remote-endpoint = <&dsi0_out>;
0068 };
0069 };
0070 };
0071 };
0072 ...