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: 825275 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@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=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (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 3yD1162N3Pz9sPm for ; Fri, 13 Oct 2017 19:22:34 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754655AbdJMIWR (ORCPT ); Fri, 13 Oct 2017 04:22:17 -0400 Received: from mail-wm0-f46.google.com ([74.125.82.46]:50417 "EHLO mail-wm0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756708AbdJMIWO (ORCPT ); Fri, 13 Oct 2017 04:22:14 -0400 Received: by mail-wm0-f46.google.com with SMTP id u138so19232349wmu.5 for ; Fri, 13 Oct 2017 01:22:14 -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=s6KZ1ceijG+0GIMM6zwdS0b0pQBEZOOHhXjKylPBuVxb171julqvFCo66+GOoIvWnz GP0fX01JxjQn/BwD4kYhGQXU5Sn9ArijUehT69VvrXYg0ZfnglolDdo7bMTK/7rS5GFr ECuE+8lgfx0HAj8Mcy/1scFh6lIxbac/DKCpsVpL2u05SKQM2jAtL85at54LPDO/Z27l /HqhVYHfk49oi/BMSPsFd28ZPhREqi302psiERk76bHc64DaC3nXnEmDIcCnsPoeqDZP ECUmmRGHjwbmYoUc+XnJhpVqa00ogOTEJjE2n6aPXBX8eaJG5xwmluJJzAYUGpHYigYE Yolw== X-Gm-Message-State: AMCzsaUMl+Kmhmdmjk7UPVTBLp1D+Uz8A38SLnani3tKpEkwL8XmfoBu ftRO0crBdya9B5+TybT/DvHIyA== 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: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@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);