Message ID | 20170522140208.24652-5-javier@dowhile0.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> 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 DF28C601C2 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 22 May 2017 14:06:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CFC9727861 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 22 May 2017 14:06:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C47E328691; Mon, 22 May 2017 14:06:43 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID 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 3B78127861 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 22 May 2017 14:06:43 +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:References: In-Reply-To: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:List-Owner; bh=NQFqezfmFvCE1NYiKjWp3ANc7f+kzskaGRra1n/wquA=; b=CQ0yo1QAOQRRWixxXyxNsYfPve n63glGVxXOa7alXS/iRIjDiQtkXjfGIx3z5l2yzx790KpEaEkiGbVBcsZEt7DAEl4CeH0x3hJPmxW 3Rxj63IqE2yFetbtvapSfP8IHJwC11YKgs68ACHHN/k0NWjIaQQSRRHzHowy0ZyabEGqplIXEOD1Y 1+R10AfWrZO3eghfCrBARN0j+JcRiM653NrHhaWkZVi9gHyXZp1AnsyDAjYy5RofaOI4BFIptBm8a kuUg3lI0ZrpyhotBQxrQcS4x0dgLPvr58oiYQZtuGc0OdBLC7WaavBjIPsNBtuYRsdIw8kCBkmYcg WRllgVEw==; 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 1dCnys-0002UO-5K; Mon, 22 May 2017 14:06:42 +0000 Received: from casper.infradead.org ([2001:770:15f::2]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dCnvI-0005iE-5R for linux-arm-kernel@bombadil.infradead.org; Mon, 22 May 2017 14:03:00 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=E9m8WrkSH7799KuknetL8AssgAU191DZ52hsgpshQKA=; b=UJlhNHcoZPXG3RfzLQGzZDo7k Jp3qXmyXKFIIraOMFVtdjkmLD3Nq2GlXJ5jeDgflpOfWglo37n0rpmyLMsBkYsyn1zBqGhEtHtvFU WUp9RoBjXLNQUITBqayU6rINCvklSNu3GgIMnSaBXFEgaGeiwSAUJc/lfQuYuI/B4CA3uML7u2H45 Z97999Tt2MAjTueJL4Enbqoi4ZXbtgKhuFAf0aKrHx+FI3lC3QbDcq4tKsnr0SeQqZYvyqUucsiM8 GvxQxqm0EZxh1+VvpRT5xMhZhneiNiDAJAuwJ+/G+EOtvBKegb26lE83MnRumhOJ28+rogtLLhvXe 0DaDIJOXQ==; Received: from mail-wr0-x242.google.com ([2a00:1450:400c:c0c::242]) by casper.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dCnvE-0001GI-Im for linux-arm-kernel@lists.infradead.org; Mon, 22 May 2017 14:02:58 +0000 Received: by mail-wr0-x242.google.com with SMTP id j27so582433wre.2 for <linux-arm-kernel@lists.infradead.org>; Mon, 22 May 2017 07:02:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dowhile0-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=E9m8WrkSH7799KuknetL8AssgAU191DZ52hsgpshQKA=; b=ygp4Ssa9RDa8UhOHNmlFIYLkjA26OWw26rPBjwLmeWZb9MHgqstcJzaK8dnZM6DaF/ 69qkF6cFRT+9lkulcJPXdu6Vjj7yxg+q3xUYCK1vziLMfXJkCkGPY8P/p5/cx4V3akrI nh5HMV4PjgDSRuW0qKakXIKRlZ1k01Ip5g++u3wPaVskorsTrJtCA2imqXD2KM+Xg5rF ly1t/5LmOgLhm23ktYLBG4ueH7vMNy4bA1W9rDEcr+3UNL1FQ/j3kM0bn5hJ/gjbgPwg VZxgN8ZjKvhRqUnggxmVUKx4w+al6pq6ooBdlnWPILwU/ISvjJe3eooFI3+712mG+kIY S20Q== 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:in-reply-to :references; bh=E9m8WrkSH7799KuknetL8AssgAU191DZ52hsgpshQKA=; b=mHbUT1wERCtjdKlLOZSHkCIX3rvVe++PuedFGzjcAuy6Q6l4pqQgn2Mf+8sMfSTcts TBcYYMKjY7oyHkF1YzxiIwxNNHbtt3JY1pwpDDFp+Vm2dNtv6TDPF7m/XJrPEwxpcH8J fSqGtIV5Y9Zzboudb71KyEkhPzXfF9m6WswuH9++2Rnj14Uk6MIC6WwvJOk319KfF9dM TnVD9KgPhUWTOnkgajyTTcIGnhXfeZQodgnFB4HXjFcZbb7yJ9inl6lfuHq2Cr5hd1c1 HcZ3BWlTtgBE9/VxND4JnX5DAFaNhf+Ub/3bpna7wVGnUl5nLtw5Cl9N/8GMqD1D5ZAq uzaw== X-Gm-Message-State: AODbwcDSIVJb029CZ/22a+VXgNlPQTyCHP0psvjQIU+BULQFAD7vRi4g YtJgjKtByjHq9Lsj X-Received: by 10.223.131.196 with SMTP id 62mr14112264wre.162.1495461753653; Mon, 22 May 2017 07:02:33 -0700 (PDT) Received: from localhost.localdomain ([90.68.25.6]) by smtp.gmail.com with ESMTPSA id m191sm33821774wmg.30.2017.05.22.07.02.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 22 May 2017 07:02:32 -0700 (PDT) From: Javier Martinez Canillas <javier@dowhile0.org> To: linux-kernel@vger.kernel.org Subject: [PATCH v4 04/20] ARM: dts: turris-omnia: Add generic compatible string for I2C EEPROM Date: Mon, 22 May 2017 16:01:52 +0200 Message-Id: <20170522140208.24652-5-javier@dowhile0.org> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170522140208.24652-1-javier@dowhile0.org> References: <20170522140208.24652-1-javier@dowhile0.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170522_150256_695928_35869001 X-CRM114-Status: GOOD ( 17.68 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: Mark Rutland <mark.rutland@arm.com>, Rob Herring <robh@kernel.org>, Jason Cooper <jason@lakedaemon.net>, devicetree@vger.kernel.org, Wolfram Sang <wsa@the-dreams.de>, Russell King <linux@armlinux.org.uk>, Rob Herring <robh+dt@kernel.org>, Andrew Lunn <andrew@lunn.ch>, Gregory Clement <gregory.clement@free-electrons.com>, Javier Martinez Canillas <javier@dowhile0.org>, linux-arm-kernel@lists.infradead.org, Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/arch/arm/boot/dts/armada-385-turris-omnia.dts b/arch/arm/boot/dts/armada-385-turris-omnia.dts index 28eede180e4f..be16ce39fb3d 100644 --- a/arch/arm/boot/dts/armada-385-turris-omnia.dts +++ b/arch/arm/boot/dts/armada-385-turris-omnia.dts @@ -171,7 +171,7 @@ /* leds device (in STM32F0) at address 0x2b */ eeprom@54 { - compatible = "at,24c64"; + compatible = "atmel,24c64"; reg = <0x54>; /* The EEPROM contains data for bootloader.
The at24 driver allows to register I2C EEPROM chips using different vendor and devices, but the I2C subsystem does not take the vendor into account when matching using the I2C table since it only has device entries. But when matching using an OF table, both the vendor and device has to be taken into account so the driver defines only a set of compatible strings using the "atmel" vendor as a generic fallback for compatible I2C devices. So add this generic fallback to the device node compatible string to make the device to match the driver using the OF device ID table. Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org> --- Changes in v4: - Only use the atmel manufacturer in the compatible string instead of keeping the deprecated ones (Rob Herring). Changes in v3: None Changes in v2: None arch/arm/boot/dts/armada-385-turris-omnia.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)