Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp31668ybl; Tue, 7 Jan 2020 01:31:13 -0800 (PST) X-Google-Smtp-Source: APXvYqz/iYVpOxKty2Fy4sJEAkv1Y3ztCTknIUb+MdfYriv7a6USWcxcbrv5r4EGWykoMqMX5qPa X-Received: by 2002:a9d:12f1:: with SMTP id g104mr124529802otg.334.1578389473246; Tue, 07 Jan 2020 01:31:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578389473; cv=none; d=google.com; s=arc-20160816; b=bDtTRL5dVyBkDfA35cOTcDStISTxmU7/xK6krwmAvKnYAJKervgHrSvs8DcvUNwljx kEuBhVIxKbOrFAbWdz/VSEt/d0R6Bvx8msjEfUwq7HX6ks2rEbevRWPE8mIdJv6N3f5h CQL0DnyoSY2h+wqr4tV1T+UsaJexSuXHhBvhSEMfHkDKgcDr6LIZeTnJjUffVurjEFZ9 ZSvg4uStRO6dpDfLntZ2pd4aSGtbm50XKX3J2kvGewn420dAwVmkEGfHtvgQeWbKl0cs BNJZ5sBKNvhjjMHO+2O+HT2PFSsnxnVYUS0c2gCZKr2p6LYO4WNWB5tsdHSFdePy3Lt3 heNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=+zVKW7Z5M1Pn7ywv7BWmy0SCc1R2kgjLBm9t5CbmGWk=; b=inULVyTAR86ByqbWaeuBeyEX1TudCf7PQy21xeoxcKSUh5n3XC+TC7B4tJMzViusJb vHJdCSHkAmsYmewu9El34gqjpWoVNKXyGEgrCBI/37f/LAtK24QEh4SZraDwyFiII9Pn XpxqSwJGR8yWGa9MTwt1Wm/8RaclGuupXxJo5OyPhcB38WbRqYmPN3BWEhBq1C9dg7N1 S+0wat15epQQ1nKSrCitijS27ILEU15GccE4RhD0pXYAPQeMotVm1jcLvpm4IVbMCxaH HrqzP6du5etIZ6rF074TJHsnJ0BFqBZPx6Mkqe7pzKS/Ly08QLjdVecCrHmDCqnNTIb1 yiqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=wrc9Vunk; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z24si30049821otm.101.2020.01.07.01.31.00; Tue, 07 Jan 2020 01:31:13 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=wrc9Vunk; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727798AbgAGJaI (ORCPT + 99 others); Tue, 7 Jan 2020 04:30:08 -0500 Received: from mail-wr1-f66.google.com ([209.85.221.66]:37626 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727787AbgAGJaC (ORCPT ); Tue, 7 Jan 2020 04:30:02 -0500 Received: by mail-wr1-f66.google.com with SMTP id w15so40484921wru.4 for ; Tue, 07 Jan 2020 01:30:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=+zVKW7Z5M1Pn7ywv7BWmy0SCc1R2kgjLBm9t5CbmGWk=; b=wrc9Vunkf4kLN6VeE6wbLPENMS2ZJ6WvBJ9FOqaCha+aFRBq8jwO2D+dWW0Po9UlSB m4OMbLNHzaslQEOhWEZLB8BFsfCjsXzZNmKLXz5vbFz16holUT73n9DsSW+jZCW6sD5K rbm7sx71LQv//oeVvgBfnLNojja2Xyn2b/dvteq5fLWIgwH6B1SLASLfLtRl3EGbeXFP EgLJWpoO5oGARy5WsqipPieuVxPvjrGLc1Rc7QVEnw/kxaxwGbC0CLAi3UOMyL9WjvAG W+KvUlDBJHkFSzLnsAHwBMWFCa5pw1j4exCsyU5HJaiyf7i8a5MaM8zBhtfJ4XHtQgEo ALGA== 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=+zVKW7Z5M1Pn7ywv7BWmy0SCc1R2kgjLBm9t5CbmGWk=; b=n0L2BSE9d1bZFRHl093I8L0D/ydzAj2tQ3SNoX2xH5GmZHKozt9yTAXu35Y6zpuUt2 AnCAcIMUXjKrVZQfPz7w8qGM5RkivJZE+Zi2zHyCJqfzrSsfT9cpJvz4j77v5mOXyvB7 ML2XXTeZhLKp4ApOxXga0bDqCHP1YzaeDy6avatqtwIosZ3Gz8XK/F7pVHcgdwbPh2aa 7IokKjyanvm5JJeJMibH7yWilWWrzFwnPkosZe7nunxtmpLWZU1VbZpQSSvmmogJeNyw Npg1mx1huN254UbtiSoe57vVkGT+Ww/6cLFL824d9cgRGqYqbHl3itFj1CVfbH2q8jqH dpoQ== X-Gm-Message-State: APjAAAWI6E8izXoXL0XD066lHof501BN+3+JZ3oMuTDpc1MLkKfSFD6D wVxr+46vV3QFpXV8dhsf/lh/OA== X-Received: by 2002:adf:f3d0:: with SMTP id g16mr112185389wrp.2.1578389400207; Tue, 07 Jan 2020 01:30:00 -0800 (PST) Received: from localhost.localdomain (i16-les01-ntr-213-44-229-207.sfr.lns.abo.bbox.fr. [213.44.229.207]) by smtp.googlemail.com with ESMTPSA id x14sm25959969wmj.42.2020.01.07.01.29.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jan 2020 01:29:59 -0800 (PST) From: Khouloud Touil To: bgolaszewski@baylibre.com, robh+dt@kernel.org, mark.rutland@arm.com, srinivas.kandagatla@linaro.org, baylibre-upstreaming@groups.io Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-i2c@vger.kernel.org, linus.walleij@linaro.org, Khouloud Touil Subject: [PATCH v4 4/5] dt-bindings: at25: add reference for the wp-gpios property Date: Tue, 7 Jan 2020 10:29:21 +0100 Message-Id: <20200107092922.18408-5-ktouil@baylibre.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200107092922.18408-1-ktouil@baylibre.com> References: <20200107092922.18408-1-ktouil@baylibre.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org As the at25 uses the NVMEM subsystem, and the property is now being handled, adding reference for it in the device tree binding document, which allows to specify the GPIO line to which the write-protect pin is connected. Signed-off-by: Khouloud Touil --- Documentation/devicetree/bindings/eeprom/at25.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/eeprom/at25.txt b/Documentation/devicetree/bindings/eeprom/at25.txt index 42577dd113dd..fcacd97abd0a 100644 --- a/Documentation/devicetree/bindings/eeprom/at25.txt +++ b/Documentation/devicetree/bindings/eeprom/at25.txt @@ -20,6 +20,7 @@ Optional properties: - spi-cpha : SPI shifted clock phase, as per spi-bus bindings. - spi-cpol : SPI inverse clock polarity, as per spi-bus bindings. - read-only : this parameter-less property disables writes to the eeprom +- wp-gpios : GPIO to which the write-protect pin of the chip is connected Obsolete legacy properties can be used in place of "size", "pagesize", "address-width", and "read-only": @@ -36,6 +37,7 @@ Example: spi-max-frequency = <5000000>; spi-cpha; spi-cpol; + wp-gpios = <&gpio1 3 0>; pagesize = <64>; size = <32768>; -- 2.17.1