From mboxrd@z Thu Jan 1 00:00:00 1970 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=-9.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,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 ED79FC43603 for ; Thu, 19 Dec 2019 11:52:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BF4D424650 for ; Thu, 19 Dec 2019 11:52:10 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=baylibre-com.20150623.gappssmtp.com header.i=@baylibre-com.20150623.gappssmtp.com header.b="qqG6GlYA" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726882AbfLSLwG (ORCPT ); Thu, 19 Dec 2019 06:52:06 -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-Google-Smtp-Source: APXvYqzjVhP3Y12GG4svF/VrPG1fzw/EFP/eOEdG7OkhHgzsTpjMflFQ9be2Am3CAuixA0asvw2iPw== 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