Message ID | 20170522140208.24652-14-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 2F243601C2 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 22 May 2017 14:08:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1F105284F3 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 22 May 2017 14:08:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1307728697; Mon, 22 May 2017 14:08:38 +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 98B1A284F3 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 22 May 2017 14:08:37 +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=loBM0SGrZvYvfNvTeFc392yQJYP4ehehBuV7oq+4e70=; b=aY785c7BmHaP9GNRh1Ujtl8huv YWsvVS4V87pnpoGwukCLv5eF5zOgra0FQ7+6NCaZ5LtJ6asQNkfBHv+37VFUX3abzKf+mO2zMQHOI 7PzULHKwLhVxR+hceFOC3kWbpNP25hAVpYgpkDHe7zTsy9RPWReMcJlzmBGct9jiLOHjCCHitcUmp /UJYuuQkp7m/lSFP+pL0wgbQKwAdOGdN/MKKC6DFk4MDpatiZ+OOtcIPqG3EIUGiIBZJaLz6MwxVw ubkrKKxt/FOqYbypOrfsC1ibKw0Ak0DtUAz054ANEX3BdQM+pZbPA6pCIxA4Jk8GA03rd1/SBTrXw yvdCswGg==; 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 1dCo0i-0004i3-FF; Mon, 22 May 2017 14:08:36 +0000 Received: from casper.infradead.org ([2001:770:15f::2]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dCnvT-0005sK-L5 for linux-arm-kernel@bombadil.infradead.org; Mon, 22 May 2017 14:03:11 +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=ZIQqERbZmqZcA7j2DfDllqQmlqhWsNh1iVGCAiHi7vw=; b=hr89ZhOFfj7vwqNckp7zXJRCZ zH2aRLhsclRCS8Wauf28tjeAkRHoxFYnkzhCYCu2E2V/9tewbxia18eDTTQQHbYfF6gXch6yXuSz1 l8EliqPG6AN6R+lan+3GSCrAym005hxdFW1x5qQB4lrsiTDJY5QzHbLbrq2TP/MGRcdyYnJmp+HKL YK81oh71w1DvxjEl/T/QjQS+w5UvJfCda7V6Kxl70hOyH0jHumEZDCfP6yVQlM8+ZDeG+EH2V2ei+ 9PB5/DBK5MPVLQRnAXHiWBs4BzqAudDcKSqPxHb+djgNb9+je2O/vNACAfCGlKslgwdTE8A+QFFpV KrAJbZJWg==; Received: from mail-wr0-x241.google.com ([2a00:1450:400c:c0c::241]) by casper.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dCnvO-0001Gr-BT for linux-arm-kernel@lists.infradead.org; Mon, 22 May 2017 14:03:10 +0000 Received: by mail-wr0-x241.google.com with SMTP id j27so583060wre.2 for <linux-arm-kernel@lists.infradead.org>; Mon, 22 May 2017 07:02:49 -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=ZIQqERbZmqZcA7j2DfDllqQmlqhWsNh1iVGCAiHi7vw=; b=YIfXgibQDAPz2IyhnvYWdqwkyk0xDHRW99Zqp4QkFTSHUJZgvNaVYJMybf2FH3oTHO 8ioHnwkj4qsuBca8m+siF+kDDuxQEJLcxScmgA8wjdyxJpfaYMywwCDM0ZrLR4VVnbBC AcJj5Az43N9o4qK9fqiqkbTGiT6fKuHD4Os+EqXes4p4ZWsHrszWhSK8kyWLo42Ub30M 7xw/sNFU2ChO5Kq41Axc34u5lMnZuuTva6wI4BFGZsLPwCLEMoL1sy5EJa4St/iJ+1en 8u1mTx7ibJ+BeDxMB9TZVD+q2ZYpCMBxNJzuqYYNuAvP4Fbo8/L8lLmikqyqyisemViU gmIg== 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=ZIQqERbZmqZcA7j2DfDllqQmlqhWsNh1iVGCAiHi7vw=; b=TVh2boEDQd7fotSjdAYAFnEZBnptKAYtbEoQ3A8zzIl9fNpae9sjyrERJv4rrxgl2Q oUyxcBtmCIck1bxOnuBaldxBtOooECGccSfpTJzLMqddSw5d4M2NzQe3m3+fuhSbp6uF 5Z0CdkcWkV/HSO/bk85iMx4X60L29NLjP7qh5Qsp9xrKXf44jEWB3s9O6O8RGROsI14/ HW+lnFRR1bO2QgBDRwTGoPb31+MbqVwREOMKRVx4krfDa9V1TbsHSGNKjPkxAG29NUHN 5PECXggYGj+dCy1FKv8upl74GjKdivmN+cScqy1byAcQXr/Tw2WBXuZbA8cveH7/v6Dl KnNA== X-Gm-Message-State: AODbwcBnspFaUgCmKU3XBHaxnWJV1TvR9SprZtZL+MuQ85pYrlLJ+pZV QMr9ah/yNhtQvcGD X-Received: by 10.223.131.67 with SMTP id 61mr11004747wrd.37.1495461768555; Mon, 22 May 2017 07:02:48 -0700 (PDT) Received: from localhost.localdomain ([90.68.25.6]) by smtp.gmail.com with ESMTPSA id m191sm33821774wmg.30.2017.05.22.07.02.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 22 May 2017 07:02:47 -0700 (PDT) From: Javier Martinez Canillas <javier@dowhile0.org> To: linux-kernel@vger.kernel.org Subject: [PATCH v4 13/20] ARM: dts: zynq: Add generic compatible string for I2C EEPROM Date: Mon, 22 May 2017 16:02:01 +0200 Message-Id: <20170522140208.24652-14-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_150307_336098_02AAB8AD X-CRM114-Status: GOOD ( 19.00 ) 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>, devicetree@vger.kernel.org, Rob Herring <robh@kernel.org>, Wolfram Sang <wsa@the-dreams.de>, Michal Simek <michal.simek@xilinx.com>, Russell King <linux@armlinux.org.uk>, Rob Herring <robh+dt@kernel.org>, linux-arm-kernel@lists.infradead.org, Javier Martinez Canillas <javier@dowhile0.org>, =?UTF-8?q?S=C3=B6ren=20Brinkmann?= <soren.brinkmann@xilinx.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/zynq-zc702.dts b/arch/arm/boot/dts/zynq-zc702.dts index 0cdad2cc8b78..f8c840f7118f 100644 --- a/arch/arm/boot/dts/zynq-zc702.dts +++ b/arch/arm/boot/dts/zynq-zc702.dts @@ -136,7 +136,7 @@ #size-cells = <0>; reg = <2>; eeprom@54 { - compatible = "at,24c08"; + compatible = "atmel,24c08"; reg = <0x54>; }; }; diff --git a/arch/arm/boot/dts/zynq-zc706.dts b/arch/arm/boot/dts/zynq-zc706.dts index ad4bb06dba25..76492be4a912 100644 --- a/arch/arm/boot/dts/zynq-zc706.dts +++ b/arch/arm/boot/dts/zynq-zc706.dts @@ -92,7 +92,7 @@ #size-cells = <0>; reg = <2>; eeprom@54 { - compatible = "at,24c08"; + compatible = "atmel,24c08"; reg = <0x54>; }; };
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/zynq-zc702.dts | 2 +- arch/arm/boot/dts/zynq-zc706.dts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)