Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6796AC07E95 for ; Sun, 4 Jul 2021 19:31:38 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DC75B610A0 for ; Sun, 4 Jul 2021 19:31:37 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DC75B610A0 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 347A782B20; Sun, 4 Jul 2021 21:31:36 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="fDrbXcKP"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C3C5C82B4E; Sun, 4 Jul 2021 21:31:34 +0200 (CEST) Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 199CD82B20 for ; Sun, 4 Jul 2021 21:31:31 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=marek.vasut@gmail.com Received: by mail-wr1-x433.google.com with SMTP id i8so19405560wrc.0 for ; Sun, 04 Jul 2021 12:31:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=cnmab4lis71l7L+272VPMIsOjIcu1MCqFFFaegAHMk8=; b=fDrbXcKPhYHM++WC47pX8RfprhSTNspdvhQMq2NOizfN9xHIH0aikx6tQe8A1aUoe4 cYuiq/mFN+kp8PX+B+9qCT50SiuhPbaJehJ7z80mS3KTiTnOvJL/HmkiNEFHikSdLBfd kBwss1sGOc1UFBuG9PALrQgS8WC0L585LpGIvVxO0jJqkgYZodsw1vHc2z7d4GuC81mJ KynpY8ZH4sEBqt6UlPZE6Fvj7QTaQDQlf6/2PhwGo9B7EfuTto9meSDwAoUn3+p3ACyJ bieqXo3aUleX7G6cbC3Awr0dovZ7Rhty+ryR/QJBErn26srLRGXl1Qxd1PAWQpqEIwOM FI6Q== 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:mime-version :content-transfer-encoding; bh=cnmab4lis71l7L+272VPMIsOjIcu1MCqFFFaegAHMk8=; b=juZAG6TZCBgB+SYjxAfNLt7huRjOpoZMXgPX7WbCewouXdrRDBcyai+FvDCvJnzFks Sm+b9B7zm1JiO6gSIb0ZRMei2zR4bF4wIa+Uxi8tkRB5KTJjLaNGM6iSRv+5vZ/Oi7bU ueKUoR6c4ztUfdZSg6j80TobaGmnTeiXuvH8NfzUbhyPb7rvm7TkOPTPiH5whu3OXcXG rKxrWXTpJbrFAuiLWz8xiWKZuLfMTQt/kBYJUmXnVEFC1Ql2RTrFRMMvHp/1Ot7yNTKB TruBrIW4dzkB5FNQ2dmYjZSZp+jFMltQ8Ei2ivHyIjnXhxVudgrTcDObaR/7N5hSP3Hp AwHw== X-Gm-Message-State: AOAM531c6n+AS+0+e2w41RDOQ2PopwJU6+yZZLNQsHzrCQJc62Hz9A3b mk/yR5dAwaz09a3XueP7DPm8D/EN6Pc= X-Google-Smtp-Source: ABdhPJxTWDIzco2OcR4L7F+2sZzM12uBKkxYT8Qm33xfLdoXrqMedJqOfx8+njkzWw/qbFEWSNudZw== X-Received: by 2002:a05:6000:144f:: with SMTP id v15mr1007510wrx.375.1625427090609; Sun, 04 Jul 2021 12:31:30 -0700 (PDT) Received: from tr.lan (ip-89-176-112-137.net.upcbroadband.cz. [89.176.112.137]) by smtp.gmail.com with ESMTPSA id a21sm6409001wmj.5.2021.07.04.12.31.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Jul 2021 12:31:30 -0700 (PDT) From: Marek Vasut X-Google-Original-From: Marek Vasut To: u-boot@lists.denx.de Cc: Marek Vasut , Heiko Schocher , Michal Simek Subject: [PATCH] misc: i2c_eeprom: Add atmel,24c01 to the list Date: Sun, 4 Jul 2021 21:31:18 +0200 Message-Id: <20210704193118.84243-1-marek.vasut+renesas@gmail.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean Linux kernel binding is using atmel,24c01 compatible string. On the other hand there is atmel,24c01a which is not listed in the kernel. Add compatible string without "a" suffix to be compatible with Linux kernel binding. Signed-off-by: Marek Vasut Cc: Heiko Schocher Cc: Michal Simek --- drivers/misc/i2c_eeprom.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/misc/i2c_eeprom.c b/drivers/misc/i2c_eeprom.c index 5926c91a2e..99eff8442a 100644 --- a/drivers/misc/i2c_eeprom.c +++ b/drivers/misc/i2c_eeprom.c @@ -262,6 +262,7 @@ static const struct i2c_eeprom_drv_data atmel24c512_data = { static const struct udevice_id i2c_eeprom_std_ids[] = { { .compatible = "i2c-eeprom", (ulong)&eeprom_data }, { .compatible = "microchip,24aa02e48", (ulong)&mc24aa02e48_data }, + { .compatible = "atmel,24c01", (ulong)&atmel24c01a_data }, { .compatible = "atmel,24c01a", (ulong)&atmel24c01a_data }, { .compatible = "atmel,24c02", (ulong)&atmel24c02_data }, { .compatible = "atmel,24c04", (ulong)&atmel24c04_data }, -- 2.30.2