From patchwork Fri Oct 13 08:22:06 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 825274 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-i2c-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=baylibre-com.20150623.gappssmtp.com header.i=@baylibre-com.20150623.gappssmtp.com header.b="Ltpk97yJ"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3yD10p4r7qz9s7h for ; Fri, 13 Oct 2017 19:22:18 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756736AbdJMIWQ (ORCPT ); Fri, 13 Oct 2017 04:22:16 -0400 Received: from mail-wm0-f52.google.com ([74.125.82.52]:48031 "EHLO mail-wm0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754655AbdJMIWO (ORCPT ); Fri, 13 Oct 2017 04:22:14 -0400 Received: by mail-wm0-f52.google.com with SMTP id t69so19277251wmt.2 for ; Fri, 13 Oct 2017 01:22:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=emZfaodAamSlwlksNXEYbe5OvzlQkcQdzuFTKOr2Cy0=; b=Ltpk97yJo9/zTUJpP195o/hpsVCEDf64DcsvvF14S9ejxdSskEG6SEIfZw5xoW4Qmx DpA9l5hZ0JSoIb8oCPlp2hEhsQOYwCoorRblK5vo+taRciZl3VJLZ7yuJXKiDCBETHSe +zgguY+Mw8s2UTXNpA/b5egGwnseqM4LR+TCoCbKkQ+wgMt5dx0YvbhEymMY4vZ3WMwr nLDyE5pSjiTVEiwuAmKIMhRuD+kLx2mGIPN73o22WS/rjqwK1vBOZRFAGxkhfZaxBV+G JfT3y5Laz5Jnw1s9GCLKy6ys7duFsvQu3V03Na5qp6IyJJR106fovEg91N4nfF2FwPWD RCBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=emZfaodAamSlwlksNXEYbe5OvzlQkcQdzuFTKOr2Cy0=; b=YZBcDdRSOjV1caxzaQCTGc3lI2e3z2N8jnyvp9GzTy6pjiA/oVZMF+wHemSAsWsNrr wVoGAvwLxOSt6iSeQu3+/R3jWsGtWtuYvI7ySxf0Z7wZw77Q+EUJ/Ca2PXcugcUemfuQ YvvmOmkF4kCPhQ8LSh/FqpJPCyWyXimV9k3S3oqrA9PYmu34uJiRYA+jK5SNkEqnQO88 jEGuF5eLmgTWUc6uzMb7G3FvWDzbbgdRRHdBL8eMkofeZ6klcn6/Do6KSX70z5VuQv/T ssWDp/+/zyM6XUKn4qGVYrddNMZIKV8hqh+oB5KGywWJeRvV0jz4MX4CYqJHM75EzTj2 17lA== X-Gm-Message-State: AMCzsaUxv18PA5luDmtU6OeQtpxq8TsHarp84Zdz83fL5Xon0BwyEaCs ToN3SrPVM/yFR4tKMO27PzpzfA== X-Google-Smtp-Source: AOwi7QCC9c1oG2M3hn9ijguKwGT4HensgupzpEU4sY8BsxbCF1h1SVw+qqZYEdlTY82lG0/ZKQJubg== X-Received: by 10.223.199.205 with SMTP id y13mr695288wrg.71.1507882933314; Fri, 13 Oct 2017 01:22:13 -0700 (PDT) Received: from localhost.localdomain (cag06-3-82-243-161-21.fbx.proxad.net. [82.243.161.21]) by smtp.googlemail.com with ESMTPSA id c45sm477266wrg.97.2017.10.13.01.22.12 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 13 Oct 2017 01:22:12 -0700 (PDT) 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-i2c-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-i2c@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);