Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp597273ybl; Wed, 4 Dec 2019 07:51:20 -0800 (PST) X-Google-Smtp-Source: APXvYqyTpcgh088534apECIwBbFVRwFlyfmAIVJvD9UFOCRDgJ10Gihgh23UB5zo7bEQ5JDk7/3k X-Received: by 2002:a9d:173:: with SMTP id 106mr2949591otu.205.1575474680436; Wed, 04 Dec 2019 07:51:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575474680; cv=none; d=google.com; s=arc-20160816; b=NtFkOOsZNSvcTsYp1zy3o1yBUNnAe9ZBdUEvktrtT96BqpdWU0N+DZ/w5uFYJbMBvx VnKPYxX9wHyQliPzwSn58VhYtAG8K5BGjmxJP1ig+f2egusrof2XLVdOozboalSh4gi4 HlIMLiDEXOftjqqB3dQzjWGnf9zQIYTGFOomz97eurGr543gNF+xRYVtp0b4TGLf9jW6 kWRkgp5Y3USPi4OQPheYIaEDekhhgAy1Hq4PH+zL7i/Qld8HHKO6+iNgwYy5oUhKgy98 3fC6sELGub05BYWbIX3wr3wXKfR7/M6R5tNBXiorKMhPe6MzdSdDbtxknMG9zMjUym9X +7gA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=6sPha/wbJhMAM5wPncZACHp8KjMdGhsy8S0M1rRpaf8=; b=uHbE+gOi2om0WQD9YRed1y/Pg+zbv0t3/zla2wQRpHKi1hZp50kfHHnG9/FuNzEVZ4 L0iwVnUgFQnCXbVC8pbmrLlF71mqjD0qU64IBbSFRUkMzZXcQ424g88IAFeVKgWnVlu4 4EKxysQIMPg2X0hEZyqovxMurP0cHY99iYXGefytG5JOOi280Z2PSdOLM8Rl2IGOIEYv h4y4xHCjB2XJeSPqs4TWojgprW5k2N80l0hTBYNi+tY49qOOhJKiIp7iSVTqpoXdjGJs QsXfZMSM/HkFuYkNfCyUSjeyRvUA/2P+DbAUQ45AP/e32R61UnuKFpxBqNDvAGgcthjW fbhQ== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w4si3550500otq.144.2019.12.04.07.51.06; Wed, 04 Dec 2019 07:51:20 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728235AbfLDPWi (ORCPT + 99 others); Wed, 4 Dec 2019 10:22:38 -0500 Received: from mail-oi1-f194.google.com ([209.85.167.194]:46805 "EHLO mail-oi1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727828AbfLDPWi (ORCPT ); Wed, 4 Dec 2019 10:22:38 -0500 Received: by mail-oi1-f194.google.com with SMTP id a124so7129800oii.13; Wed, 04 Dec 2019 07:22:38 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=6sPha/wbJhMAM5wPncZACHp8KjMdGhsy8S0M1rRpaf8=; b=gsNNINqimOgoSGUwTJcVOyF7p1n+l9fsQ3+4gcj9pUpuhR6ChUtK4Aq/bDAyc1LvzX RriT5wsksI/51e1+1YgYoIvFpolFxPkaVAelpKHEzKBIzrRBvCo9kg7OSU6TmfC6bfWZ gU6N1zua9Xxae+xEQLBQwv4owbBcBHM3VpK11H94wt5P1cUARTQlrEmOs9esI6J42rtK 21ITaiPpYsbPU0ZrCEVf4FG3imFC1kqpQ1SOk/BCIKei5F/j+AWsnbv0TPRFcHcUa2/g ZiUP4z5xWvMTLON+0P6gUCKyYYjTdb+WlgmBeigtm7SrDo9DKlr+75Tm8YFYwGyDpHyX Ie8A== X-Gm-Message-State: APjAAAXIrs2UZacmwlkf+oavtZanFIaK+7UEjHbydGKG1bA7N+zCYxIa 8hJAbbsCqgwvHE/PxyK9BA== X-Received: by 2002:aca:b986:: with SMTP id j128mr3137425oif.16.1575472957574; Wed, 04 Dec 2019 07:22:37 -0800 (PST) Received: from localhost (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id c204sm2388795oia.14.2019.12.04.07.22.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Dec 2019 07:22:37 -0800 (PST) Date: Wed, 4 Dec 2019 09:22:36 -0600 From: Rob Herring To: Khouloud Touil Cc: bgolaszewski@baylibre.com, mark.rutland@arm.com, srinivas.kandagatla@linaro.org, baylibre-upstreaming@groups.io, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-i2c@vger.kernel.org, linus.walleij@linaro.org Subject: Re: [PATCH 3/4] dt-bindings: at24: remove the optional property write-protect-gpios Message-ID: <20191204152236.GA22464@bogus> References: <20191120142038.30746-1-ktouil@baylibre.com> <20191120142038.30746-4-ktouil@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191120142038.30746-4-ktouil@baylibre.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 20, 2019 at 03:20:37PM +0100, Khouloud Touil wrote: > 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 > - At least 'wp-gpios: true' is still needed or you need to reference the common definition in nvmem.yaml. The reason being is every possible property (and child node) needs to be listed so we can have errors on any that aren't. Rob