i2c: meson: add gxbb compatible string
authorNeil Armstrong <narmstrong@baylibre.com>
Wed, 14 Sep 2016 09:49:16 +0000 (11:49 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 15 Sep 2016 19:37:16 +0000 (21:37 +0200)
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Acked-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Documentation/devicetree/bindings/i2c/i2c-meson.txt
drivers/i2c/busses/i2c-meson.c

index 682f9a6f766e8d74232bf5e1c4a85cf2db7f1a6c..386357d1aab05de652675bf6ed19c0dc22b50709 100644 (file)
@@ -1,7 +1,7 @@
 Amlogic Meson I2C controller
 
 Required properties:
- - compatible: must be "amlogic,meson6-i2c"
+ - compatible: must be "amlogic,meson6-i2c" or "amlogic,meson-gxbb-i2c"
  - reg: physical address and length of the device registers
  - interrupts: a single interrupt specifier
  - clocks: clock for the device
index 8570e6dbd0db2c0b5b7a3715bb75ac3fd80408a3..2aa61bbbd307b9aead3730e137bbf5b95e29a366 100644 (file)
@@ -472,6 +472,7 @@ static int meson_i2c_remove(struct platform_device *pdev)
 
 static const struct of_device_id meson_i2c_match[] = {
        { .compatible = "amlogic,meson6-i2c" },
+       { .compatible = "amlogic,meson-gxbb-i2c" },
        { },
 };
 MODULE_DEVICE_TABLE(of, meson_i2c_match);