Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp2833385rwa; Mon, 22 Aug 2022 14:59:56 -0700 (PDT) X-Google-Smtp-Source: AA6agR7bIbg+MQKCeAZXg/VKX5T6E0qqUoZmWODfbPyOnkIkS2zXvwzDK1ZZ53xQxw300luPqoQe X-Received: by 2002:a63:cf44:0:b0:42a:277:1cb8 with SMTP id b4-20020a63cf44000000b0042a02771cb8mr18255838pgj.198.1661205596577; Mon, 22 Aug 2022 14:59:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661205596; cv=none; d=google.com; s=arc-20160816; b=bnyUEUZp+FXEktbDDt6NEd7HE9S3I2ysmnmeEbPnB7hFTh79AxZEiSU5S4pidm/TDC 73F/1hf619Etyeyr3rgCSFVcqfS0N2ZyRStSq/DCdTqBL47xKeF33kSA0gBavSkKaXpm k72+aqQ9yn0mouCX7XdMtwJRvxo2+rYbTwSFq1lY1Oy4o5nLAvEFefUezJgTe8PBxQnH sSyGIwsUiFFBhsjwtJ/fKI8P/78aKaZmyDFF9JwXqLMFuV7uF1iOT6VoKtcxWSgVG/sB RMM/wneyM5vR4D74wG7neb+6Z7mzwc1+uI2p284nYsKMeZuINtq2Un+XBeZF30hwNz5F koow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=APAtt9ytTbBFoOR/hSOqBGYHXMVpfceVk0Ug71Kbs9M=; b=SsfBU8kNWrEjaciQ2h1G9bM0tgBJ9xgvcsQKEk1uXz/H7aI5az8ooSXcSwiEhAHKdf m2LOgZamiuHa4Ba0RMhWegW5f6uCK3zAUQaAatKt2Lu32xmfgVPaNc+zAaWb7rwmdtpz 8mFit6/zgBeN75cnFF0vaW7Yn9/5IPIVUFiTdOp/yeRDLCT2GxAmbq4kY3jI6Kt1ji/6 c6Ps6DDWOw2rg/PEZLZF44b0KY6NqL1cMyE4snbljbOqaH7l4X8xtgB8onGsF0B5AQyI foVib2fVsx8ViOtofXg+QdIXqof3Tf8BMvlxPZTK2QUxcQ+emHmSvth9MVaO28U6Npa8 U15w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q9-20020a056a00084900b0052d48fddef5si10582235pfk.49.2022.08.22.14.59.39; Mon, 22 Aug 2022 14:59:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238346AbiHVVq1 (ORCPT + 99 others); Mon, 22 Aug 2022 17:46:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41592 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232172AbiHVVq0 (ORCPT ); Mon, 22 Aug 2022 17:46:26 -0400 Received: from mail-oi1-f179.google.com (mail-oi1-f179.google.com [209.85.167.179]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B4844564E6; Mon, 22 Aug 2022 14:46:25 -0700 (PDT) Received: by mail-oi1-f179.google.com with SMTP id a133so6045611oif.4; Mon, 22 Aug 2022 14:46:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc; bh=APAtt9ytTbBFoOR/hSOqBGYHXMVpfceVk0Ug71Kbs9M=; b=0+3gJi2ZRXccgq2uwy0dsjnSPMqfXoD5e/ZA5KgQQkwwfaRDQv7cb5XmtvLQ4lpmWJ DjDYw6S1na4xuo5eeJsRNcpzWC2LXg4ruciEAvGU/U2m8SBVjPkpAZw6S1xr85AopW9J M7Bl45PU5V9dQNK6vDSC/YTIkvYajb+9LZLmc3aA93Zmmy+ouo6Ba3/7kWSI5URHgz3Z EFs9nXEuNJ4+rjSOSu9kp2aNVtpafMSofkXvECqXIeLjwivdqRyc4CDXPmXw530rS5QA CTrfhvbf2qJCn5wPfoMIa2i55/iB+a7H5BnFJA6ZePNF21o3a6QNuzAufzzuzqrsK7LM nSFg== X-Gm-Message-State: ACgBeo3vsI2tB19yXaR43ENm4YmVBNooXpWGQqld5napfa1nJv9u4Rpj RK1FtccXmsYu1BUlqiPS+7JkcO4Y/w== X-Received: by 2002:a05:6808:118d:b0:2f9:ee54:8d05 with SMTP id j13-20020a056808118d00b002f9ee548d05mr130398oil.273.1661204785005; Mon, 22 Aug 2022 14:46:25 -0700 (PDT) Received: from robh.at.kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id z36-20020a056870d6a400b0011856117469sm3259108oap.10.2022.08.22.14.46.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Aug 2022 14:46:24 -0700 (PDT) Received: (nullmailer pid 911465 invoked by uid 1000); Mon, 22 Aug 2022 21:46:23 -0000 Date: Mon, 22 Aug 2022 16:46:23 -0500 From: Rob Herring To: Eliav Farber Cc: brgl@bgdev.pl, mark.rutland@arm.com, arnd@arndb.de, gregkh@linuxfoundation.org, linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, talel@amazon.com, hhhawa@amazon.com, jonnyc@amazon.com, hanochu@amazon.com, ronenk@amazon.com, itamark@amazon.com, shellykz@amazon.com, shorer@amazon.com, amitlavi@amazon.com, almogbs@amazon.com, dkl@amazon.com, dwmw@amazon.co.uk Subject: Re: [PATCH v2 1/2] dt-bindings: at24: add new optional power-supply property Message-ID: <20220822214623.GA907654-robh@kernel.org> References: <20220822105830.22790-1-farbere@amazon.com> <20220822105830.22790-2-farbere@amazon.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220822105830.22790-2-farbere@amazon.com> X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 22, 2022 at 10:58:29AM +0000, Eliav Farber wrote: > Boards using the AT24 EEPROMs might have a GPIO that controls the power > supply of the chip, and it must be set to enable the usage of it. > > Add a new optional property to the device tree binding document, which > allows to specify a GPIO regulator for the pin that controls the power. > > On Linux this means that we need to enable the GPIO at the beginning of > probe function, before trying to access the chip. > > Signed-off-by: Eliav Farber > --- > V1 -> V2: > Change pointed out by Rob Herring: > - Use a gpio regulator for power-supply control. > > Documentation/devicetree/bindings/eeprom/at24.txt | 3 +++ > 1 file changed, 3 insertions(+) This file doesn't exist any more. Use the latest -rc1 kernel unless there is a reason you need a different (even later) base. Rob