Message ID | 20170522140208.24652-21-javier@dowhile0.org (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show
Return-Path: <linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org> X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3wWsw66fYcz9s3s for <patchwork-incoming@ozlabs.org>; Tue, 23 May 2017 07:57:42 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=dowhile0-org.20150623.gappssmtp.com header.i=@dowhile0-org.20150623.gappssmtp.com header.b="a1sgL0nc"; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 3wWsw65T7qzDqgh for <patchwork-incoming@ozlabs.org>; Tue, 23 May 2017 07:57:42 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=dowhile0-org.20150623.gappssmtp.com header.i=@dowhile0-org.20150623.gappssmtp.com header.b="a1sgL0nc"; dkim-atps=neutral X-Original-To: linuxppc-dev@lists.ozlabs.org Delivered-To: linuxppc-dev@lists.ozlabs.org Received: from mail-wr0-x243.google.com (mail-wr0-x243.google.com [IPv6:2a00:1450:400c:c0c::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3wWgNR4f7QzDq5W for <linuxppc-dev@lists.ozlabs.org>; Tue, 23 May 2017 00:03:03 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=dowhile0-org.20150623.gappssmtp.com header.i=@dowhile0-org.20150623.gappssmtp.com header.b="a1sgL0nc"; dkim-atps=neutral Received: by mail-wr0-x243.google.com with SMTP id v42so7049220wrc.3 for <linuxppc-dev@lists.ozlabs.org>; Mon, 22 May 2017 07:03:03 -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=Meo31NDULQUDeP9kavRNHGJYfoHs7jEJK9tQLPkM7ug=; b=a1sgL0ncV38yZZWYF7ddjp7ogd2mHqiSnQgMhRT3U/Zn/o0F6lrbYnIatZuZcApI4N ow7tZ02vqw0HlPwhUYpWCkWTaALsyqNqcEqajiC3TWe0EavJaItnwVL9Fe33TKR+bHPY EXpkWi7EHDJf7GRVDUVV8GRqDo71DoR/FkBSQvbo3x6cU/doPRAWQwvBzHsSX5W/x++k 8ajI2uUi6sBihudRewcOsNStNw4v7SGB7lBPwiMpZCTvm/kkgKRKOEa1TkKJUKl1lf8U KVvJvF64X0kSUODTFnLFQMrMdXroXDRVMG2cm8fiqsT0AbYrIRyyWNszxItVU92jz8WD 5g2Q== 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=Meo31NDULQUDeP9kavRNHGJYfoHs7jEJK9tQLPkM7ug=; b=Qxb3su8d1E3ST7JMbKg7XgZ/v4JEnvfef4a/wttSpf+bh14TgHJOctzmINinRXqUCV 4nEyReiayMGE74Ga6IT5qzp0F0k2LW2IdWTc+YvR1SgzRbJmozY3NP6HBaZtM1Th6sFZ TFsRdQH3Meb13Kad84gk83WvzRE+f8i3TF6LBe1M89oxk5bYHVlwscf2nNwqUOAgiiM2 csImbCAVKoasnwRMdEvwxdVt1Pqb+nJiUSqhwZLZCQn7RhF9Sma2pJtZJhRKZb5mDIDu 7uXgIO1HdSWsaQYXxW9nifVUCvFTNjUfWu6YXwpMdNq353Y7pEKsYOLBdZbdvnSTUZtt 5Dhg== X-Gm-Message-State: AODbwcDGciKFPvbcX+8FvOVsodpyRRhlEEUhVp7jJuWcsy5ILygneu7+ 7XniXD6J9UskeSbw X-Received: by 10.223.169.34 with SMTP id u31mr14278938wrc.46.1495461780673; Mon, 22 May 2017 07:03:00 -0700 (PDT) Received: from localhost.localdomain ([90.68.25.6]) by smtp.gmail.com with ESMTPSA id m191sm33821774wmg.30.2017.05.22.07.02.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 22 May 2017 07:02:59 -0700 (PDT) From: Javier Martinez Canillas <javier@dowhile0.org> To: linux-kernel@vger.kernel.org Subject: [PATCH v4 20/20] powerpc/44x: Add generic compatible string for I2C EEPROM Date: Mon, 22 May 2017 16:02:08 +0200 Message-Id: <20170522140208.24652-21-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-Mailman-Approved-At: Tue, 23 May 2017 07:48:33 +1000 X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Linux on PowerPC Developers Mail List <linuxppc-dev.lists.ozlabs.org> List-Unsubscribe: <https://lists.ozlabs.org/options/linuxppc-dev>, <mailto:linuxppc-dev-request@lists.ozlabs.org?subject=unsubscribe> List-Archive: <http://lists.ozlabs.org/pipermail/linuxppc-dev/> List-Post: <mailto:linuxppc-dev@lists.ozlabs.org> List-Help: <mailto:linuxppc-dev-request@lists.ozlabs.org?subject=help> List-Subscribe: <https://lists.ozlabs.org/listinfo/linuxppc-dev>, <mailto:linuxppc-dev-request@lists.ozlabs.org?subject=subscribe> Cc: Mark Rutland <mark.rutland@arm.com>, Rob Herring <robh@kernel.org>, devicetree@vger.kernel.org, Wolfram Sang <wsa@the-dreams.de>, Rob Herring <robh+dt@kernel.org>, Paul Mackerras <paulus@samba.org>, Javier Martinez Canillas <javier@dowhile0.org>, linuxppc-dev@lists.ozlabs.org Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" <linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org> |
diff --git a/arch/powerpc/boot/dts/warp.dts b/arch/powerpc/boot/dts/warp.dts index e576ee85c42f..ea9053ef4819 100644 --- a/arch/powerpc/boot/dts/warp.dts +++ b/arch/powerpc/boot/dts/warp.dts @@ -238,7 +238,7 @@ /* This will create 52 and 53 */ at24@52 { - compatible = "at,24c04"; + compatible = "atmel,24c04"; reg = <0x52>; }; };
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/powerpc/boot/dts/warp.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)