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: 115712 Delivered-To: patch@linaro.org Received: by 10.80.163.170 with SMTP id s39csp467567edb; Fri, 13 Oct 2017 01:22:18 -0700 (PDT) X-Received: by 10.84.211.3 with SMTP id b3mr696962pli.292.1507882938118; Fri, 13 Oct 2017 01:22:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507882938; cv=none; d=google.com; s=arc-20160816; b=xApA14w6VYzmt1CtqGVjEUfUFtrpWciBdJQvhpqKn2LguDAI75YdlBcLexBsMJjQLV db+6dqrFRw838RPhZdj1Xtx2mGijmYZam8uFq8S2861ctqZeXrQxYAJbiZunEVkOpQIK 5tmASyXPLWmFRNicX+IQjuMuADUzjxaD5XO9wzPNI6kTjALGT9O226nr4bVFx581MtPi O4Rlns3sN4DneiEWYfyGyA+QhJlEEdysKTT3xi0vwWnG9O6GRHPJbEp5LUMmCo5XjveS 2LwMhw2Dw5fV26pe8o0K+wClYHnkyqFiZbl7yajaDRQxX5dZadckHqTG763mTjAAfx4L o0WQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=emZfaodAamSlwlksNXEYbe5OvzlQkcQdzuFTKOr2Cy0=; b=zsjTU2AX6HLi5QVCT476lQ9cV71HBsugalAtdGgGYRRI4IjddCV9vXYwcnj16GRCbS 4Fj6DJpi6I/rziaYF/yEynntY4V2v/wuEkaj8h+/bMkXolEibNcgiVrZoRo7g2Lj/+dZ 9uzzVQYxDJqouoWKbMTmGaqCesCotShCnFP1CU47rlLM6lGQ7t7ybjuV4aKv1r4kZ52Z RjPYzSGwbfUqYm9+9W9fsIjADR7AN58t0qmBTh0+hunEYcUuNNsfCCwh6DgvfJY8lW4c 7kGvcNVBkOnIvkcuGS0WSuiaSTC5fznrTpBd7gJfSLYZthGkuO9sdYZtgkZuxr06xvlF xBWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=Ltpk97yJ; spf=pass (google.com: best guess record for domain of linux-i2c-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-i2c-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f186si275051pgc.744.2017.10.13.01.22.17; Fri, 13 Oct 2017 01:22:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-i2c-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=Ltpk97yJ; spf=pass (google.com: best guess record for domain of linux-i2c-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-i2c-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756736AbdJMIWQ (ORCPT + 3 others); 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(-) -- 2.13.6 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);