hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/Documentation/devicetree/bindings/display/ssd1307fb.txt
....@@ -19,6 +19,7 @@
1919 - vbat-supply: The supply for VBAT
2020 - solomon,segment-no-remap: Display needs normal (non-inverted) data column
2121 to segment mapping
22
+ - solomon,col-offset: Offset of columns (COL/SEG) that the screen is mapped to.
2223 - solomon,com-seq: Display uses sequential COM pin configuration
2324 - solomon,com-lrremap: Display uses left-right COM pin remap
2425 - solomon,com-invdir: Display uses inverted COM pin scan direction
....@@ -27,6 +28,15 @@
2728 - solomon,prechargep2: Length of precharge period (phase 2) in clock cycles.
2829 This needs to be the higher, the higher the capacitance
2930 of the OLED's pixels is
31
+ - solomon,dclk-div: Clock divisor 1 to 16
32
+ - solomon,dclk-frq: Clock frequency 0 to 15, higher value means higher
33
+ frequency
34
+ - solomon,lookup-table: 8 bit value array of current drive pulse widths for
35
+ BANK0, and colors A, B, and C. Each value in range
36
+ of 31 to 63 for pulse widths of 32 to 64. Color D
37
+ is always width 64.
38
+ - solomon,area-color-enable: Display uses color mode
39
+ - solomon,low-power. Display runs in low power mode
3040
3141 [0]: Documentation/devicetree/bindings/pwm/pwm.txt
3242
....@@ -36,7 +46,6 @@
3646 reg = <0x3c>;
3747 pwms = <&pwm 4 3000>;
3848 reset-gpios = <&gpio2 7>;
39
- reset-active-low;
4049 };
4150
4251 ssd1306: oled@3c {
....@@ -44,8 +53,8 @@
4453 reg = <0x3c>;
4554 pwms = <&pwm 4 3000>;
4655 reset-gpios = <&gpio2 7>;
47
- reset-active-low;
4856 solomon,com-lrremap;
4957 solomon,com-invdir;
5058 solomon,com-offset = <32>;
59
+ solomon,lookup-table = /bits/ 8 <0x3f 0x3f 0x3f 0x3f>;
5160 };