From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757228AbdJMIWR (ORCPT ); Fri, 13 Oct 2017 04:22:17 -0400 Received: from mail-wm0-f50.google.com ([74.125.82.50]:49046 "EHLO mail-wm0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756683AbdJMIWO (ORCPT ); Fri, 13 Oct 2017 04:22:14 -0400 X-Google-Smtp-Source: AOwi7QCC9c1oG2M3hn9ijguKwGT4HensgupzpEU4sY8BsxbCF1h1SVw+qqZYEdlTY82lG0/ZKQJubg== From: Jerome Brunet To: Wolfram Sang , Kevin Hilman , Carlo Caione Cc: Jerome Brunet , linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] i2c: meson: use generic compatible Date: Fri, 13 Oct 2017 10:22:06 +0200 Message-Id: <20171013082206.31632-1-jbrunet@baylibre.com> X-Mailer: git-send-email 2.13.6 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The meson i2c driver seems to be compatible with more SoCs than initially thought. Let's use the most generic compatible he have in DT instead of the gxbb specific one Signed-off-by: Jerome Brunet --- Documentation/devicetree/bindings/i2c/i2c-meson.txt | 2 +- drivers/i2c/busses/i2c-meson.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/i2c/i2c-meson.txt b/Documentation/devicetree/bindings/i2c/i2c-meson.txt index 611b934c7e10..e6a563443e26 100644 --- a/Documentation/devicetree/bindings/i2c/i2c-meson.txt +++ b/Documentation/devicetree/bindings/i2c/i2c-meson.txt @@ -1,7 +1,7 @@ Amlogic Meson I2C controller Required properties: - - compatible: must be "amlogic,meson6-i2c" or "amlogic,meson-gxbb-i2c" + - compatible: must be "amlogic,meson6-i2c" or "amlogic,meson-gx-i2c" - reg: physical address and length of the device registers - interrupts: a single interrupt specifier - clocks: clock for the device diff --git a/drivers/i2c/busses/i2c-meson.c b/drivers/i2c/busses/i2c-meson.c index 88d15b92ec35..7b238d8c19af 100644 --- a/drivers/i2c/busses/i2c-meson.c +++ b/drivers/i2c/busses/i2c-meson.c @@ -442,7 +442,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" }, + { .compatible = "amlogic,meson-gx-i2c" }, { }, }; MODULE_DEVICE_TABLE(of, meson_i2c_match); -- 2.13.6