Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1834006ybl; Thu, 19 Dec 2019 03:52:58 -0800 (PST) X-Google-Smtp-Source: APXvYqyQEGyCNYpoIEdkWgzbYDZeYUo7VkXaQUtzAbylH83OGbD/9hmWr5+f0sXamNwk/dwyZa23 X-Received: by 2002:a9d:624e:: with SMTP id i14mr8564896otk.371.1576756378783; Thu, 19 Dec 2019 03:52:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576756378; cv=none; d=google.com; s=arc-20160816; b=oVX7tC7Z/zTuIxCAPvihRTTrqOhUoO2zel4q1lAVuVUqTqamjtB1u1GvIz+jgnuq49 KsGk+cZEmOMt28lRKzegk9t83uwKulCn4vylU/NXRsilemARhs2URywfY325A2SllZXw R3vhNpIn98LTFQT1QbPEMNquy7IM7JFF1scI0KgNuSvD0S39Pd677Q/EpSI2aJWDGOjk Uw6q6DybtFPgOi30cnV6UpBKm93mAO11Ngt/HnvqZ8xFafyZzeyfNYFVycQJfivhIvS4 H93o5HetvudB2przitze6NU4aBjZt5GNHZf9CWcSKoRE4MEgMbn28N55NvClM2Qd/3X6 g/6g== 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=AAmtuAQbNmKpgdBhMy2Ze73suvWvpXU6jrmMX5iis4Q=; b=bjs01xEDZi91xAaHocYemqFk8ntakg+TaryT/xN4Ui0B3ZMC5Beo2rN3tF04gKcHnD qOQcA0XPxCqdIdFyHb+zjqu4XDdlfNZETFGuX9u9+5Bps6s2xCxpB9NR5GytVdGZcl6+ n7qIVt4+k8X4Na/jhSXsAabz6Z5TXP7rZHsEERLXge+a8g1EMyDF/u5AcZ49Py44mIbv 0GuukZJU1fXHpKlZecF1kXncWUfiSNZJYNAq0paFe3W6px5N5i8keUC9LdChNqsgayXB jS15O7w+mVRze+77p7cAP0lvveFHFULQNd9Ou31Led/3ffS3euIpEe9t5G97oEKiDNah vopA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=qqG6GlYA; 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 p22si3248127ota.43.2019.12.19.03.52.45; Thu, 19 Dec 2019 03:52:58 -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=qqG6GlYA; 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 S1726877AbfLSLwF (ORCPT + 99 others); Thu, 19 Dec 2019 06:52:05 -0500 Received: from mail-wm1-f66.google.com ([209.85.128.66]:50938 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726801AbfLSLwC (ORCPT ); Thu, 19 Dec 2019 06:52:02 -0500 Received: by mail-wm1-f66.google.com with SMTP id a5so5138084wmb.0 for ; Thu, 19 Dec 2019 03:52:01 -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=AAmtuAQbNmKpgdBhMy2Ze73suvWvpXU6jrmMX5iis4Q=; b=qqG6GlYAW6QWcnyGy5Ant+d9EOJyE6nBMn/VOmBi/Bg++y3R7RVE8b+qA5kckRDAX6 FuR+N9zCxcTejn9W7mVAEy1h2dgtnNIidZGn24sBRvktNXHfW30aU3H8i/m0pTJF9WF7 qkCjF3zz3O2iBTTjaA7b62PypLF/tSOnqmn3Dv4GoKcdzEAsIn5fpyYWOZPA3ljBhP4p GNcOE172cqKavnQAmTRsEcpP2pbCzuLEQoXE1OSxbGSeGWZCoKnJq5US6+gZykR9i9kG rGtlBa/HBganqd8ZifREk7e7RbtxBkF7jP90TeC2EQu9gKUu/22swrIfJT+0DqTk314h QNTA== 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=AAmtuAQbNmKpgdBhMy2Ze73suvWvpXU6jrmMX5iis4Q=; b=V94jFfDsONzyveMLVOIed3U7gNGVn7sfO2m7PrP5el/pYUJhxahKr1VKZXAUcrZOCG ER0EXy81DgAPPVKqktMsV8vv2hJGRiI2X/vvYV1ePotVQ5rHfbb98alA3UkNsyDqtuQ7 EIyMiB9YljAvo7QQNsotR0yIr2UmOC3i+vXXyQ9k2N6lpf1iiGANJSgi5XmmJ/EjuUYr OFnzLYPRR39L+pJMY2eOkVICwNcRflKwbC6T0t51IZC5G/gVsR7Yz1bRZDQebPk1ngVb OnpcxEvL0ey9BOLOv0vzs/VZkgGKsN+796+qYtTD3JDTGZ/kWGgxRjJJZS1rBxYGABKI LoVw== X-Gm-Message-State: APjAAAVfZ7tHOmEcXVrs0Eu2pUs5Ut0EqnH77LFF+JhWA+aJAYxDsC/V k/gemAGbEW0MtXdtAshFWCcYrQ== X-Received: by 2002:a1c:750f:: with SMTP id o15mr9734667wmc.161.1576756320738; Thu, 19 Dec 2019 03:52: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 k16sm6489660wru.0.2019.12.19.03.51.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Dec 2019 03:52:00 -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 v3 3/4] dt-bindings: at24: remove the optional property write-protect-gpios Date: Thu, 19 Dec 2019 12:51:40 +0100 Message-Id: <20191219115141.24653-4-ktouil@baylibre.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191219115141.24653-1-ktouil@baylibre.com> References: <20191219115141.24653-1-ktouil@baylibre.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org NVMEM framework is an interface for the at24 EEPROMs as well as for other drivers, instead of passing the wp-gpios over the different drivers each time, it would be better to pass it over the NVMEM subsystem once and for all. Removing the optional property form the device tree binding document. Signed-off-by: Khouloud Touil Reviewed-by: Linus Walleij --- Documentation/devicetree/bindings/eeprom/at24.yaml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/eeprom/at24.yaml b/Documentation/devicetree/bindings/eeprom/at24.yaml index e8778560d966..75de83708146 100644 --- a/Documentation/devicetree/bindings/eeprom/at24.yaml +++ b/Documentation/devicetree/bindings/eeprom/at24.yaml @@ -145,10 +145,7 @@ properties: over reads to the next slave address. Please consult the manual of your device. - wp-gpios: - description: - GPIO to which the write-protect pin of the chip is connected. - maxItems: 1 + wp-gpios: true address-width: allOf: @@ -181,7 +178,6 @@ examples: compatible = "microchip,24c32", "atmel,24c32"; reg = <0x52>; pagesize = <32>; - wp-gpios = <&gpio1 3 0>; num-addresses = <8>; }; }; -- 2.17.1