ssd1307fb.txt 761 B

123456789101112131415161718192021222324
  1. * Solomon SSD1307 Framebuffer Driver
  2. Required properties:
  3. - compatible: Should be "solomon,ssd1307fb-<bus>". The only supported bus for
  4. now is i2c.
  5. - reg: Should contain address of the controller on the I2C bus. Most likely
  6. 0x3c or 0x3d
  7. - pwm: Should contain the pwm to use according to the OF device tree PWM
  8. specification [0]
  9. - reset-gpios: Should contain the GPIO used to reset the OLED display
  10. Optional properties:
  11. - reset-active-low: Is the reset gpio is active on physical low?
  12. [0]: Documentation/devicetree/bindings/pwm/pwm.txt
  13. Examples:
  14. ssd1307: oled@3c {
  15. compatible = "solomon,ssd1307fb-i2c";
  16. reg = <0x3c>;
  17. pwms = <&pwm 4 3000>;
  18. reset-gpios = <&gpio2 7>;
  19. reset-active-low;
  20. };