samsung,sofef00.yaml 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/display/panel/samsung,sofef00.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Samsung SOFEF00 AMOLED DDIC
  7. description: The SOFEF00 is display driver IC with connected panel.
  8. maintainers:
  9. - David Heidelberg <david@ixit.cz>
  10. allOf:
  11. - $ref: panel-common.yaml#
  12. properties:
  13. compatible:
  14. items:
  15. - enum:
  16. # Samsung 6.01 inch, 1080x2160 pixels, 18:9 ratio
  17. - samsung,sofef00-ams601nt22
  18. # Samsung 6.28 inch, 1080x2280 pixels, 19:9 ratio
  19. - samsung,sofef00-ams628nw01
  20. - const: samsung,sofef00
  21. reg:
  22. maxItems: 1
  23. poc-supply:
  24. description: POC regulator
  25. vci-supply:
  26. description: VCI regulator
  27. vddio-supply:
  28. description: VDD regulator
  29. required:
  30. - compatible
  31. - reset-gpios
  32. - poc-supply
  33. - vci-supply
  34. - vddio-supply
  35. unevaluatedProperties: false
  36. examples:
  37. - |
  38. #include <dt-bindings/gpio/gpio.h>
  39. dsi {
  40. #address-cells = <1>;
  41. #size-cells = <0>;
  42. panel@0 {
  43. compatible = "samsung,sofef00-ams628nw01", "samsung,sofef00";
  44. reg = <0>;
  45. vddio-supply = <&vreg_l14a_1p88>;
  46. vci-supply = <&s2dos05_buck1>;
  47. poc-supply = <&s2dos05_ldo1>;
  48. te-gpios = <&tlmm 10 GPIO_ACTIVE_HIGH>;
  49. reset-gpios = <&tlmm 6 GPIO_ACTIVE_HIGH>;
  50. pinctrl-0 = <&panel_active>;
  51. pinctrl-1 = <&panel_suspend>;
  52. pinctrl-names = "default", "sleep";
  53. port {
  54. panel_in: endpoint {
  55. remote-endpoint = <&mdss_dsi0_out>;
  56. };
  57. };
  58. };
  59. };
  60. ...