apple,summit.yaml 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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/apple,summit.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Apple "Summit" display panel
  7. maintainers:
  8. - Sasha Finkelstein <fnkl.kernel@gmail.com>
  9. description:
  10. An OLED panel used as a touchbar on certain Apple laptops.
  11. Contains a backlight device, which controls brightness of the panel itself.
  12. The backlight common properties are included for this reason
  13. allOf:
  14. - $ref: panel-common.yaml#
  15. - $ref: /schemas/leds/backlight/common.yaml#
  16. properties:
  17. compatible:
  18. items:
  19. - enum:
  20. - apple,j293-summit
  21. - apple,j493-summit
  22. - const: apple,summit
  23. reg:
  24. maxItems: 1
  25. required:
  26. - compatible
  27. - reg
  28. - max-brightness
  29. - port
  30. unevaluatedProperties: false
  31. examples:
  32. - |
  33. dsi {
  34. #address-cells = <1>;
  35. #size-cells = <0>;
  36. panel@0 {
  37. compatible = "apple,j293-summit", "apple,summit";
  38. reg = <0>;
  39. max-brightness = <255>;
  40. port {
  41. endpoint {
  42. remote-endpoint = <&dfr_bridge_out>;
  43. };
  44. };
  45. };
  46. };
  47. ...