OSDN Git Service

dt-bindings: display: ssd1307fb: Deprecate "-i2c" compatible strings
authorJavier Martinez Canillas <javierm@redhat.com>
Tue, 19 Apr 2022 21:48:19 +0000 (23:48 +0200)
committerJavier Martinez Canillas <javierm@redhat.com>
Wed, 20 Apr 2022 16:47:40 +0000 (18:47 +0200)
commit36bf0611600dd3187fe478833ba804e7976fcae5
treec8ba8d160f51f726fac3a2a823d45b8bbd799f23
parentb76ecff8317eed4818fdd449bacc81e05534f88b
dt-bindings: display: ssd1307fb: Deprecate "-i2c" compatible strings

The current compatible strings for SSD130x I2C controllers contain both an
"fb" and "-i2c" suffixes. It seems to indicate that are for a fbdev driver
and also that are for devices that can be accessed over an I2C bus.

But a DT is supposed to describe the hardware and not Linux implementation
details. So let's deprecate those compatible strings and add new ones that
only contain the vendor and device name, without any of these suffixes.

These will just describe the device and can be matched by both I2C and SPI
DRM drivers. The required properties should still be enforced for old ones.

While being there, just drop the "sinowealth,sh1106-i2c" compatible string
since that was never present in a released Linux version.

Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Acked-by: Mark Brown <broonie@kernel.org>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20220419214824.335075-2-javierm@redhat.com
Documentation/devicetree/bindings/display/solomon,ssd1307fb.yaml