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: 10003699 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id E2ACF60325 for ; Fri, 13 Oct 2017 08:22:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D27AD28D1A for ; Fri, 13 Oct 2017 08:22:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C730328FE2; Fri, 13 Oct 2017 08:22:57 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id D969628D1A for ; Fri, 13 Oct 2017 08:22:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=UKO3/djCg7aZttef/ApJml8wg6Nh2EhivJsoG7Q9K8Y=; b=OAs cWnXrEvJJhnFwC7Z+3cIueBYnpGS9t3PnSpHTrNBHe1yDibRevkWhRHw/wA1VxdlHpmRtECC7M6fQ 2fG5xIrkvJrHRKnJqkpnXSsW+1fLmgCCDURNkD3Zjf1tOZnOs1quwU6r5UarY0LKrfToKUyrvvYUy 8hjb9PnRWFbeYqVRw1XvS0/ipt2mdtiZlTj66HKxGkyeyiIo6zrpR0kaV5z5jOvBFaIGOacxnv1G5 sZU9p1JIXfCiMYH4KFl41Q9wVs6P3dr6oRylxDhqc0yrU6TSf+m9Ag3+aJA0wBpRspUBYaaHXHwRw kF8949UMLELzTJGhR+GGpe8iGhGDfmw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1e2vEw-0003qQ-9q; Fri, 13 Oct 2017 08:22:42 +0000 Received: from mail-wm0-x230.google.com ([2a00:1450:400c:c09::230]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1e2vEp-0003l0-6B for linux-arm-kernel@lists.infradead.org; Fri, 13 Oct 2017 08:22:39 +0000 Received: by mail-wm0-x230.google.com with SMTP id q124so19283797wmb.0 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=Ee6VKczHMpxXb79zZO1VtbtrwiLReYlsqXoOTFO41+SGRpOhl+dbM2H43UFPvO+uy6 PYFAb7xiCK+GJTYWBUkXKvxvXN5eSHX0SOBMzol31BLiaegZKuofG0uT50nDijmCan22 Kuw/IiJTuCpvkKFIvJUYRt06ZeK0dLwnDov8ZU4YVrsCUUKwwq/sp84LizgAQw1ffysI 9gNXnO6WJkHYdgUT+PcPAPrpeCCqqTHO4MW9DXQkMeKA8qS+iFkypm6HXgRqH1JQPRMQ yPokMQZd7WQcq0E87Rctjj0SGMgD8I9wawKs6eWtz/HXafpAy0hIVJL45DIU7MPVhbEo E5CQ== X-Gm-Message-State: AMCzsaViILOtUgf6ScqodMnWgLq1Unv8br6gHTffrg9GmqXZewDhkQPc kU1FksOrL/gyKKYalGQfcOysrQ== 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171013_012235_524523_7A14C6A4 X-CRM114-Status: GOOD ( 11.20 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-i2c@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Jerome Brunet MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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);