Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp19095424ybl; Fri, 3 Jan 2020 15:45:31 -0800 (PST) X-Google-Smtp-Source: APXvYqz9e425grpMNKJeP73oOvhXXWJ3EGDtUJA0o+djegKzk6XjezIPK98NFsiZ5CbWE0Tx+HVQ X-Received: by 2002:a9d:4f0a:: with SMTP id d10mr86001648otl.85.1578095131214; Fri, 03 Jan 2020 15:45:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578095131; cv=none; d=google.com; s=arc-20160816; b=ZJgPsbl8lPjRd0UdLRaeJ13AuMvkDhbs8y1gclDRktq3fEJHC9XLzX6YXAntS0NdZb OYAgExBcI7tyFGexuvscRcCwUfAc2JYx72ErpaGXjaGmed156Oyv+3Pcbff7arw4yquj ECWTUNk6tSZnuBJ+3xjAwXTbNhaBUklCxkND6MgIE0nk1axqFWCL5/kdpaVr3N7SeLeL nTg46nexo8iamnsUZ2U1XFn6rARrBuDok7s3n8+cT/+Y0lZQNG+i+llcVcoOpJbve5EU OHxrS5c+R59NQv0K1V4XF/OBjT8qrPSYaKpFF4MtzE5FQ0Qm4uTAH6KVMT4HoTdTufri bE+A== 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=oHVJcbfywZ2wbBBx9DgqhrtkzwrTvD4xChukN5BH1kY=; b=buuISqp3JP9yMeaQc5zakL00J7rAPsykj2Imo7cRD2AL3KfqAUPriXSCiBieZ5ilbB cn8f7AkQWy4QcvZup9+PEH8pvD7BYqa3AdLj4Yamy628WltKahb+k1r4BvGUlqbPSi6P 3pMN/8SYvvtAPfv/FK9Fp8l0DP+Mx7aTFP6X8dXq898vIDndbdpRyjB29WD1CrBmoAMT YT1xu7FLyCccTeC84V/Gk5iM0qsC07hCnj1HQrY1uyJvj8ulb6CeKnn16K5vYDBwX/uN YTWu+BPT4NcjQmHLwG6tyyYl3qAXrD0qmwqbkrrqG432HGbfeWgkUXfDc3PBvcnbc3YN xYOw== 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 y6si24847030oih.217.2020.01.03.15.45.17; Fri, 03 Jan 2020 15:45:31 -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 S1726380AbgACXo3 (ORCPT + 99 others); Fri, 3 Jan 2020 18:44:29 -0500 Received: from mail-il1-f194.google.com ([209.85.166.194]:36420 "EHLO mail-il1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726229AbgACXo2 (ORCPT ); Fri, 3 Jan 2020 18:44:28 -0500 Received: by mail-il1-f194.google.com with SMTP id b15so37986019iln.3 for ; Fri, 03 Jan 2020 15:44:28 -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=oHVJcbfywZ2wbBBx9DgqhrtkzwrTvD4xChukN5BH1kY=; b=aWa9DmXbrzJeX0JMNCjRNxi8NYUCuUttQRtX9qmIyA/lt+fqk/voar2ms2R6Dw/Lrl V/UMV6dTa+6OcuIgU0bf8JLTFDNlYmxpW0TTHhclMLNmCUVMb+OD03UqAQQ0DSaGIvQR wQ1xVK/V3jNszfeQHiJV5vKPQonv4Xvq8u1T82gw6iVylfskUjEsTdeq3tC5L8tgckkg Bne/T8kJVcKMD5sOm7JIcPXBwC7VcyjCEv8YDQ4lJ5aCm44pKBbA6WvzSUxtGhy7Aiqg Y8GB/pdyE09Y1bVyGl90pKG5RpUc+WuLk8nnK2ZAPQ04gVibIUFXQ4pbPXlHkRRIqdy5 umtA== X-Gm-Message-State: APjAAAUbgsZ5W7vsHOgmO5U0hpCWq1I8fcJD4Qj2vyg9nPy1mwqTQ1Rc FQs1KERRNCGueZCxh0x91Vo5UD0= X-Received: by 2002:a92:d241:: with SMTP id v1mr58830649ilg.177.1578095067621; Fri, 03 Jan 2020 15:44:27 -0800 (PST) Received: from rob-hp-laptop ([64.188.179.251]) by smtp.gmail.com with ESMTPSA id y9sm15218778ion.54.2020.01.03.15.44.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Jan 2020 15:44:26 -0800 (PST) Received: from rob (uid 1000) (envelope-from rob@rob-hp-laptop) id 2219b7 by rob-hp-laptop (DragonFly Mail Agent v0.11); Fri, 03 Jan 2020 16:44:25 -0700 Date: Fri, 3 Jan 2020 16:44:25 -0700 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 v3 3/4] dt-bindings: at24: remove the optional property write-protect-gpios Message-ID: <20200103234425.GA17746@bogus> References: <20191219115141.24653-1-ktouil@baylibre.com> <20191219115141.24653-4-ktouil@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191219115141.24653-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 Thu, Dec 19, 2019 at 12:51:40PM +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 > 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>; This is still valid, why is it being removed? > num-addresses = <8>; > }; > }; > -- > 2.17.1 >