Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp1931119ybc; Wed, 20 Nov 2019 06:24:53 -0800 (PST) X-Google-Smtp-Source: APXvYqwbWhDMkCzjtkICulSMO3SYLzqAufBHT7XUWYJVhuIkS/C1wfjKMqqa9QgZz5o8I4UHVZir X-Received: by 2002:a2e:9083:: with SMTP id l3mr3071140ljg.127.1574259893058; Wed, 20 Nov 2019 06:24:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574259893; cv=none; d=google.com; s=arc-20160816; b=tLpWrsJuGE+lkMUxjgrxOiWyXCIhbjYJeeo15XYc4mqxPqVx5NtTqPd2rcV0/ARs+p MMjeyKTTLBoy4nVgapAVHlBgCFiUCMQV9YXdPcknGyqbHVGn+3W5Tc+enoFfqRLiBwq0 Aini8cQYajn2LErP5ARfH3mmfZ+LvmX3zqFRtmghBCZDuJQr+hdEn1gu4Po/igydgsvc 82Potxgs3SgouqPijTSBP3DivIZaAbttXSbKjaiVoEGwiddD5DRmviYDnn/Xmx0rXIMj kvFLDdoqEwTaavgveh7ybGAkFQbfAJcYlKq3mkxo2F+JrrzRDk51dVFye4Jj+V6zdSzS qmJQ== 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=LS7jj1HIKvxgyHyZgfXU7kIDSCI29CxRcup6bkz0xxs=; b=NQIu/zjiKFl0Lb55VKE4lVKoP3rq/p90JZyT/qLp4HM3sher5IwWD62GBgd40jjm/j 4j47TEIginXXBWuhMVb13icz59Wwq4ftO7T0ke/0a1+oD13L8c7DiFIomIRCgemHJn/D CJv7PS9NdNStoNA40hHZKDmxi8wZn50mUMdjShAgFqkgfU9ANyPVsXs7js4PP8CdBbvD FFlW25nUFa/Kw6Xbv+ciFhRqWZdcarXvegGyXdrhqS5Z+4s/iblGYjVbTrpTt+07+gll RkWs/I/HWtb8l5hU7OhCJ1dQIMqfuHyrLwrRcvHp8wFd4WRPipxiZ7+1TXMjDuFpsI+2 2U3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=lOLy+t1U; 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 w32si17460390edc.443.2019.11.20.06.24.28; Wed, 20 Nov 2019 06:24:53 -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=lOLy+t1U; 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 S1731660AbfKTOV2 (ORCPT + 99 others); Wed, 20 Nov 2019 09:21:28 -0500 Received: from mail-wr1-f68.google.com ([209.85.221.68]:40708 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731181AbfKTOVU (ORCPT ); Wed, 20 Nov 2019 09:21:20 -0500 Received: by mail-wr1-f68.google.com with SMTP id q15so15561139wrw.7 for ; Wed, 20 Nov 2019 06:21:18 -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=LS7jj1HIKvxgyHyZgfXU7kIDSCI29CxRcup6bkz0xxs=; b=lOLy+t1UEdjZqFD3P7QqzpnA1t+QUe3z2C2PhubGVM1WveK1FYtTl8qbaE5mNeLVJB 6s6aDKzzbuZ5JOglZZIPE9rpWvEZmKeQ+ZJO/Twa1wjg5DIRQO7oF/sDcY0krKSkUwdg 0oDU19XvCeCb0byrTrDyCfh4NYiAfRAJQGBz92+RQo8IKUrPAQdfn9cSqsCLAEi05Er/ loijRwqaYkMGFUefPrD+qIsDTG1YvTH99ho8JcUv+2c8vaNxdIuwTYmOSQnvjifa39qa ZzuoPk1yxNCn01iBehSAPJLt9YGx2HeYznIW/BbdRgOezls7KFtXOjHAJKMTUV1lUD2D ZtmQ== 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=LS7jj1HIKvxgyHyZgfXU7kIDSCI29CxRcup6bkz0xxs=; b=SI+hjvl7C4WFWEKfEy3A2FEBH98ke9xe6bv2nbXh1ZgPl5ptugiFijcXwSaPduiAwB p7ydP3MciqtK4+ujPYix7/kG2LtzmTtRxH4AKFez0+2q4UaXb+t13ANqaafGRI4D1An7 YzvmfBg6sFX6H19ORKQab3gfP72JFZ7eq5dBUUK9Wm652w2HV0v3UN/OFsyZVHgSTIEB UH5l9jjRHhrEx4G5mElRkvWFGGm9tLa2lT2QbLbe9jlnN5zBeHgssHuD1Y+/+B3KBimA +lmcf5yIjSs7yj4K8e6jsb/T2kucBDdPv+nCaihqpRJ7jpUFLHwpDrAuBvNlgnYkueiu iShQ== X-Gm-Message-State: APjAAAUUzjaqVLWycF4yCvidUq4gtRnYvcGQQatfAM5vhnf1GOfoKBms QaFtyzsN+NgiVc2TMKSeK8kMhg== X-Received: by 2002:a05:6000:101:: with SMTP id o1mr3721410wrx.394.1574259677371; Wed, 20 Nov 2019 06:21:17 -0800 (PST) Received: from khouloud-ThinkPad-T470p.baylibre.local (laubervilliers-658-1-213-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.googlemail.com with ESMTPSA id a6sm34544352wrh.69.2019.11.20.06.21.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Nov 2019 06:21:16 -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 3/4] dt-bindings: at24: remove the optional property write-protect-gpios Date: Wed, 20 Nov 2019 15:20:37 +0100 Message-Id: <20191120142038.30746-4-ktouil@baylibre.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191120142038.30746-1-ktouil@baylibre.com> References: <20191120142038.30746-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 --- Documentation/devicetree/bindings/eeprom/at24.yaml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Documentation/devicetree/bindings/eeprom/at24.yaml b/Documentation/devicetree/bindings/eeprom/at24.yaml index e8778560d966..9894237ac432 100644 --- a/Documentation/devicetree/bindings/eeprom/at24.yaml +++ b/Documentation/devicetree/bindings/eeprom/at24.yaml @@ -145,11 +145,6 @@ 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 - address-width: allOf: - $ref: /schemas/types.yaml#/definitions/uint32 @@ -181,7 +176,6 @@ examples: compatible = "microchip,24c32", "atmel,24c32"; reg = <0x52>; pagesize = <32>; - wp-gpios = <&gpio1 3 0>; num-addresses = <8>; }; }; -- 2.17.1