From patchwork Mon Mar 6 18:56:55 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 9607303 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 B3C8C602B4 for ; Mon, 6 Mar 2017 18:58:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BAF0A275A2 for ; Mon, 6 Mar 2017 18:58:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id ABD5A27F4B; Mon, 6 Mar 2017 18:58:09 +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=-6.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 49D82275A2 for ; Mon, 6 Mar 2017 18:58:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753414AbdCFS6I (ORCPT ); Mon, 6 Mar 2017 13:58:08 -0500 Received: from mail-it0-f68.google.com ([209.85.214.68]:32916 "EHLO mail-it0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753330AbdCFS6H (ORCPT ); Mon, 6 Mar 2017 13:58:07 -0500 Received: by mail-it0-f68.google.com with SMTP id g138so2351143itb.0 for ; Mon, 06 Mar 2017 10:57:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=mIIFUTbKjR2w2Z6w27jTMXXSYiiOVQGc+QZlmgd1bVY=; b=RHVleXDmEwbvw/eQHUzd7AeSZNH5dsWqT3uavG5F/T2qSEQAlNm1XSMdJf33YdBg3e RnkuAdX1zA0ZuytxjhGzQw1Hgk5+yhrJ4s9VprMN59Pcw2MbFXrTUMEjy8gKY69K+SUy Rwd9YP/WSmvugg9l4AR+JNLVOczaYKP9iJsX0/egAPGy7NzDFfsjlTMRX1oR9ExbPV06 D+c27h+aM8geopinNgAX/wt1TTzY/F+4GCiuQJ7JRDLotF1sr14BLhrDWU5H6PmaAFvL NkCoCuhkmZS5BMPd+pD/2tEWOf/7wMkP9jselIMi/anDJaNrdfEWzdmLO7mvsx2ZXj+o 2w2Q== 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=mIIFUTbKjR2w2Z6w27jTMXXSYiiOVQGc+QZlmgd1bVY=; b=nC+2ZLLcGcIliLo70JJxlRVXdKndh1cLGk8rsfR7BudIVRvryudZDDjaS3yTiRf45M AYSIv1hyRHvhAzAmS/Ho1Cw9jNgMRQZ4UyCbKxJMXakYw2N9E+V4Vn7JWtR7mioFtixU +4j29VOqJ4cpz6LtCIR6GzC1RJAvw+4DP3gBJ+3LdNrqlpU6rFrj5RINhDoYgt/CGW8S SIeMKmUhHhGGDa4zrFGmyoAlC1KNkz6boAT05NtN/wCwZ0OlFz2j1O2xJ0pxCFYL7RGs eIj7L9/Y06IqdSqpkTmNhc688pRslOMUFH6K8sO0atfJQjbqynzhuk1W41jmWUp4H5t5 OyWA== X-Gm-Message-State: AMke39k0qJsfb9YhnCDbdrwHKycVbpjOBJ93g+jl58K2tL3bDXMatTlTqDHVRDgNzg1ypA== X-Received: by 10.36.82.22 with SMTP id d22mr17169738itb.0.1488826620312; Mon, 06 Mar 2017 10:57:00 -0800 (PST) Received: from logic-VirtualBox.logicpd.com ([174.46.170.158]) by smtp.gmail.com with ESMTPSA id j14sm6509762itd.0.2017.03.06.10.56.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 06 Mar 2017 10:56:59 -0800 (PST) From: aford173@gmail.com To: linux-omap@vger.kernel.org, tony@atomide.com Cc: Adam Ford Subject: [PATCH] ARM: dts: OMAP3: Fix MFG ID EEPROM Date: Mon, 6 Mar 2017 12:56:55 -0600 Message-Id: <1488826615-23927-1-git-send-email-aford173@gmail.com> X-Mailer: git-send-email 2.7.4 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Adam Ford The manufacturing information is stored in the EEPROM. This chip is an AT24C64 not not (nor has it ever been) 24C02. This patch will correctly address the EEPROM to read the entire contents and not just 256 bytes (of 0xff). Fixes: 5e3447a29a38 ("ARM: dts: LogicPD Torpedo: Add AT24 EEPROM Support") Signed-off-by: Adam Ford diff --git a/arch/arm/boot/dts/logicpd-torpedo-som.dtsi b/arch/arm/boot/dts/logicpd-torpedo-som.dtsi index 8f9a69c..efe5399 100644 --- a/arch/arm/boot/dts/logicpd-torpedo-som.dtsi +++ b/arch/arm/boot/dts/logicpd-torpedo-som.dtsi @@ -121,7 +121,7 @@ &i2c3 { clock-frequency = <400000>; at24@50 { - compatible = "at24,24c02"; + compatible = "atmel,24c64"; readonly; reg = <0x50>; };