From patchwork Thu Jun 15 18:54:03 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Martinez Canillas X-Patchwork-Id: 776403 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3wpXnw3mJNz9s71 for ; Fri, 16 Jun 2017 04:58:12 +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="Dk1RkcmY"; dkim-atps=neutral Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752037AbdFOSyb (ORCPT ); Thu, 15 Jun 2017 14:54:31 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:33014 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751812AbdFOSy3 (ORCPT ); Thu, 15 Jun 2017 14:54:29 -0400 Received: by mail-wm0-f67.google.com with SMTP id f90so1279515wmh.0 for ; Thu, 15 Jun 2017 11:54:28 -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=3bgiv2VXeU8G47cg+McwKSctvXnFK1Tb6Wm0YFjDnmA=; b=Dk1RkcmY8nEv84jqFy+s90MY9tTcGCFgJCh3fWSv3LRDITD3gqvkT0KVfVt9JjQagd ryw+sPDCPDoZ5cN+6H7mF05D4dKJQ+QpB7BJ7m1UkM9ofYWSuC+44cJbQJe5rzqu0X5h kPh8/8XjeZ4pGQMH8mq+iuM1y3Qdfc/taBKL/pP7Gl/F7jSM4j8F4vWEqXxaWPBLgGrb //Jyx2s+srgdYuQa9Ls18WUknO118aaOcWUCCB/F5LEzUqK+zjSVn5JwgVHMcVNYSLIz QbXL/thxWhtavGJdJlvZLzWHCstBcCWQXHAnQlWRJGlkALPvp5JL4nVX09uY4//gkqGU e+EQ== 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=3bgiv2VXeU8G47cg+McwKSctvXnFK1Tb6Wm0YFjDnmA=; b=uEjquFhwcoumtpMcFBgiLg98cV+qVpgHvzTq5+C/UpAntUXDZ4QuHM62qipK+yqREv qF1aCkZruDA7AZlLrsDfg5cnnFoO/bpPAL8AfP3B8ipElBRtyyCw+w/hD1Hs0OGp4y04 hjk6jprmzdBfC5NGu7+k3ZCYYtDd9qPtSITOIZO1acKKUJiJbqFMlZpiO2y8dbzPFaSX 3ViMvGJWUlR7RpAwHmaYcaiEOklhR4KK5HsNSZibhoqiZYQI2x8MbmmMKo0xk/Neo6wx ajmfJbuF49FxyCgfCI52CcsKejhQmIHfmwjrDHoD2PEgEzTni7Bb866Cv/OJ6YPEk2cT k5SA== X-Gm-Message-State: AKS2vOw2dWIQ/eu5+mjTMxeC6odT/0vQAMp8H+Md7zCop2DlHTQEx8qT aaFJ1cna8Q65ZrfJ X-Received: by 10.28.185.7 with SMTP id j7mr4646360wmf.74.1497552868081; Thu, 15 Jun 2017 11:54:28 -0700 (PDT) Received: from localhost.localdomain ([90.68.25.6]) by smtp.gmail.com with ESMTPSA id 3sm39252wru.50.2017.06.15.11.54.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 Jun 2017 11:54:27 -0700 (PDT) From: Javier Martinez Canillas To: linux-kernel@vger.kernel.org Cc: Wolfram Sang , Rob Herring , Javier Martinez Canillas , Simon Horman , Sekhar Nori , David Lechner , devicetree@vger.kernel.org, Rob Herring , Mark Rutland Subject: [RESEND PATCH v5 01/16] dt-bindings: i2c: eeprom: Document vendor to be used and deprecated ones Date: Thu, 15 Jun 2017 20:54:03 +0200 Message-Id: <20170615185418.13980-2-javier@dowhile0.org> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170615185418.13980-1-javier@dowhile0.org> References: <20170615185418.13980-1-javier@dowhile0.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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. Document in the Device Tree binding document that this manufacturer should be used as the generic fallback. Also document the deprecated vendors. Suggested-by: Wolfram Sang Suggested-by: Rob Herring Signed-off-by: Javier Martinez Canillas Acked-by: Rob Herring --- Changes in v5: - Only deprecate the atmel variants at25 and at (Geert Uytterhoeven). Changes in v4: - Document the manufacturers that have been deprecated (Rob Herring). Changes in v3: None Changes in v2: None Documentation/devicetree/bindings/eeprom/eeprom.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/eeprom/eeprom.txt b/Documentation/devicetree/bindings/eeprom/eeprom.txt index 5696eb508e95..afc04589eadf 100644 --- a/Documentation/devicetree/bindings/eeprom/eeprom.txt +++ b/Documentation/devicetree/bindings/eeprom/eeprom.txt @@ -16,8 +16,12 @@ Required properties: "renesas,r1ex24002" + The following manufacturers values have been deprecated: + "at", "at24" + If there is no specific driver for , a generic - driver based on is selected. Possible types are: + device with and manufacturer "atmel" should be used. + Possible types are: "24c00", "24c01", "24c02", "24c04", "24c08", "24c16", "24c32", "24c64", "24c128", "24c256", "24c512", "24c1024", "spd"