Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp2349903rwe; Sun, 28 Aug 2022 09:09:49 -0700 (PDT) X-Google-Smtp-Source: AA6agR5C09uMbTr9zRZEUB2v/Hlhhp4ER20Zan7rOZmuS2+/gCqpEFRm+F4JpebNunHs4jZ+qjyY X-Received: by 2002:a17:902:d2c1:b0:172:c1af:fd26 with SMTP id n1-20020a170902d2c100b00172c1affd26mr12682578plc.4.1661702989426; Sun, 28 Aug 2022 09:09:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661702989; cv=none; d=google.com; s=arc-20160816; b=CWTCTeVwkCWRty9ANRZAjyqdu1f++ALbUxircTSTFQhS3W73D65b1a6WhPr0h51hpV m5Adkio4MPhlgGKijaIpBSGweVqELe37frSrXvyuvlOSbWFYvKX8XeZp+sC/phhpWvRa T5J2I21JQYeHcDbWvptiNLaCEZORp5wlD/GpWRnqERTd04F3PHwwQIrOGE1BRK3CaMr6 MKr3wkrttOYtbV6a3HTV17Te2WDjn+ak2XSTHBmU5BB3xO/nPX0s12cSZNA4IZnV+hAX 8h9uZ2PAyNnN9i+zNBwjtO3v+p3HCf2j4SXjpB+RjXrVRzdTVLqjExV/PBEN0Zc/9fIS lnIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=2gu/k3/W/Upcjh0+g5rzekrCdIVryRGg8BmX2HEtuLE=; b=NACxAz3FiiOGemxOjO3vXfUO7gOSg6vhRjw4Waz3aYsa72zEdCkBYL0BRFXttpz3Gs ltT5sHTuvdZIrbdjpxWD94qrHC6p6NKqrF/+LZgNzNLQ9ExJEP+KqZD28pbRYl5KtTS8 rV5gHRQhv1QRfW8yAxeD3DglcAAF7pNEoLmhCkZ7yf4V8IdzOpG6suZVQ64+rgt9fqnV MP2LEoBdSbW/GLKMWKF7AFXKQs8raxgnqPeZM44xjgtPBgmbj+K01aFhD3ZmEji5j5GI TNMd57zcPPub4Er8r3fW6rfB6kI5U/fhsRiSA7+djaNceEIWOCtgFQlSo9qlTxJQ1Z9u PVuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=Akj2uc+F; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o22-20020a170902779600b00172b94c1b3csi6551595pll.139.2022.08.28.09.09.37; Sun, 28 Aug 2022 09:09:49 -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; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=Akj2uc+F; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230013AbiH1Ptq (ORCPT + 99 others); Sun, 28 Aug 2022 11:49:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47018 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229999AbiH1Ptn (ORCPT ); Sun, 28 Aug 2022 11:49:43 -0400 Received: from smtp-fw-6001.amazon.com (smtp-fw-6001.amazon.com [52.95.48.154]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 964ED33435; Sun, 28 Aug 2022 08:49:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1661701783; x=1693237783; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=2gu/k3/W/Upcjh0+g5rzekrCdIVryRGg8BmX2HEtuLE=; b=Akj2uc+Fg667vesEkXwD0UnoHzE5ggjQh4XLgDwM3nuRheSW9M+8VqdP QNAauG5j6/TJupL8faMODPP127ul86bnmb9ea5cc6+Fk9XldJraMvmOSD 9WH8XmnR5wwF6lyJJlsQwXAgL8RQxb0c2OJfFNv59CBZi3IovrH2OKvLY c=; Received: from iad12-co-svc-p1-lb1-vlan2.amazon.com (HELO email-inbound-relay-pdx-2a-e6c05252.us-west-2.amazon.com) ([10.43.8.2]) by smtp-border-fw-6001.iad6.amazon.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Aug 2022 15:49:31 +0000 Received: from EX13MTAUEB001.ant.amazon.com (pdx1-ws-svc-p6-lb9-vlan2.pdx.amazon.com [10.236.137.194]) by email-inbound-relay-pdx-2a-e6c05252.us-west-2.amazon.com (Postfix) with ESMTPS id 960AC44ADA; Sun, 28 Aug 2022 15:49:29 +0000 (UTC) Received: from EX13D08UEB002.ant.amazon.com (10.43.60.107) by EX13MTAUEB001.ant.amazon.com (10.43.60.96) with Microsoft SMTP Server (TLS) id 15.0.1497.38; Sun, 28 Aug 2022 15:49:05 +0000 Received: from EX13MTAUEA001.ant.amazon.com (10.43.61.82) by EX13D08UEB002.ant.amazon.com (10.43.60.107) with Microsoft SMTP Server (TLS) id 15.0.1497.38; Sun, 28 Aug 2022 15:49:05 +0000 Received: from dev-dsk-farbere-1a-46ecabed.eu-west-1.amazon.com (172.19.116.181) by mail-relay.amazon.com (10.43.61.243) with Microsoft SMTP Server id 15.0.1497.38 via Frontend Transport; Sun, 28 Aug 2022 15:49:05 +0000 Received: by dev-dsk-farbere-1a-46ecabed.eu-west-1.amazon.com (Postfix, from userid 14301484) id D8CA84BB6; Sun, 28 Aug 2022 15:49:04 +0000 (UTC) From: Eliav Farber To: , , , , , , , CC: , , , , , , , , , , , , Subject: [PATCH v3 0/2] add power-supply control to enable eeprom usage Date: Sun, 28 Aug 2022 15:49:02 +0000 Message-ID: <20220828154904.20477-1-farbere@amazon.com> X-Mailer: git-send-email 2.37.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Spam-Status: No, score=-11.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,USER_IN_DEF_SPF_WL autolearn=ham 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 First patch describes the new binding property. Second patch adds the functionality to the driver. Change between v3 and v2: - Apply on top of v6.0-rc1. Change between v2 and v1: - Use a gpio regulator for power-supply control. Eliav Farber (2): dt-bindings: at24: add new optional power-supply property eeprom: at24: add support for power-supply control .../devicetree/bindings/eeprom/at24.yaml | 4 ++ drivers/misc/eeprom/at24.c | 40 +++++++++++++++++++ 2 files changed, 44 insertions(+) -- 2.37.1