Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp2199005rwa; Mon, 22 Aug 2022 04:05:04 -0700 (PDT) X-Google-Smtp-Source: AA6agR7IIVZ1bR4p2AqVJtCiEClbG80s9zMiE0toe0ZwXsBAHKklNSqcrLrCtpd5Xmwni6/5d9/l X-Received: by 2002:a17:903:22c6:b0:172:cad9:403 with SMTP id y6-20020a17090322c600b00172cad90403mr12945541plg.123.1661166303494; Mon, 22 Aug 2022 04:05:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661166303; cv=none; d=google.com; s=arc-20160816; b=oNaazr2zDrWi+Ue2I1hJRrJrk9Y+XtIgiJgr6c5wO6XYbwvfIQqZDiAn5ZKCTQFCc+ knWTuw2A5AZj7w0RiPusf4OK/1++iAJMWEz3BDeoBXL8hgmnkSLsbZ8I9eCl5yD3pIfk 42H6717I4TomPH/QBuL6Po6e2yyIXUg+5c3VPriG+/0awj/m1sjpk48XCmbwBy5qKwAq 1FirPgsRPXFDr5fF1cRb1BodTEMSUlB5W5aWmP230h/8OGr9fEA1cbi5yvauYPG3KYJ3 GIuqrundx0oEs9Gz64eNieJ+61WgvShTAatlxnLZ54qTNKN5xjcbcH9fzUREe8WlW4lM dCEQ== 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=7s4PF8RXbYEqzbeQRRYuac3gOnJi1NGTK0dQaORCsDM=; b=oqfcj1QYdvldWK64YcQdCZ3BIAehAf09TSXMtnPTvOL4Rw95D3HEVowop2aOv8sn25 DGkbPoTXsSKZJ+tM0mmBNdQ0YeJKJhDK1zog/hfxDLJRC2uUkOA2/U6Jeyozn8qXc3ol WvPbnUaD/n9fZKKXshvrB17ixVLotqG48wL22kX2ifdIjFhwmYErpo4f/C9bCLEfsquP V+LlXL8/4M1rOQcIpEwrEQSpivSBDRMYUObuqNhtmseJEHOp15ecDsB3P1kjDJDFojWx oLN0iouhVnwpwFtldl7dur6dje2Xm1jV7f2ehFR5kORCKxQdKC4n5qGx/G1n/pldfW/I SvGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=Riw5dd7l; 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 q18-20020a170902f79200b001726a59e2desi11337588pln.133.2022.08.22.04.04.52; Mon, 22 Aug 2022 04:05:03 -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=Riw5dd7l; 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 S234276AbiHVK7G (ORCPT + 99 others); Mon, 22 Aug 2022 06:59:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50090 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234249AbiHVK67 (ORCPT ); Mon, 22 Aug 2022 06:58:59 -0400 Received: from smtp-fw-9103.amazon.com (smtp-fw-9103.amazon.com [207.171.188.200]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9278C3123A; Mon, 22 Aug 2022 03:58:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1661165937; x=1692701937; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=7s4PF8RXbYEqzbeQRRYuac3gOnJi1NGTK0dQaORCsDM=; b=Riw5dd7lqsS6ee91GmGMLqcdtTahtBKnneBP1Gte6mTIBgsRwkXXAucU 1WDP2pNsnz+U03havLObtz6LkXCJ7IlnSBq8jAbq+E/X9oHnzu7aZzV32 SOapGBCYgxy3hX3+J0/lLnOH+HSwA8eEINh1GSurG2Z+h0nrpVu9Lcfzu w=; X-IronPort-AV: E=Sophos;i="5.93,254,1654560000"; d="scan'208";a="1046875127" Received: from pdx4-co-svc-p1-lb2-vlan3.amazon.com (HELO email-inbound-relay-iad-1a-b09d0114.us-east-1.amazon.com) ([10.25.36.214]) by smtp-border-fw-9103.sea19.amazon.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Aug 2022 10:58:35 +0000 Received: from EX13MTAUWA001.ant.amazon.com (iad12-ws-svc-p26-lb9-vlan3.iad.amazon.com [10.40.163.38]) by email-inbound-relay-iad-1a-b09d0114.us-east-1.amazon.com (Postfix) with ESMTPS id 27E6D8150F; Mon, 22 Aug 2022 10:58:32 +0000 (UTC) Received: from EX19D013UWA003.ant.amazon.com (10.13.138.202) by EX13MTAUWA001.ant.amazon.com (10.43.160.118) with Microsoft SMTP Server (TLS) id 15.0.1497.38; Mon, 22 Aug 2022 10:58:32 +0000 Received: from EX13MTAUWA001.ant.amazon.com (10.43.160.58) by EX19D013UWA003.ant.amazon.com (10.13.138.202) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA) id 15.2.1118.12; Mon, 22 Aug 2022 10:58:32 +0000 Received: from dev-dsk-farbere-1a-46ecabed.eu-west-1.amazon.com (172.19.116.181) by mail-relay.amazon.com (10.43.160.118) with Microsoft SMTP Server id 15.0.1497.38 via Frontend Transport; Mon, 22 Aug 2022 10:58:32 +0000 Received: by dev-dsk-farbere-1a-46ecabed.eu-west-1.amazon.com (Postfix, from userid 14301484) id A00FD4C8B; Mon, 22 Aug 2022 10:58:30 +0000 (UTC) From: Eliav Farber To: , , , , , , , CC: , , , , , , , , , , , , Subject: [PATCH v2 0/2] add power-supply control to enable eeprom usage Date: Mon, 22 Aug 2022 10:58:28 +0000 Message-ID: <20220822105830.22790-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, RCVD_IN_MSPIKE_H2,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 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.txt | 3 ++ drivers/misc/eeprom/at24.c | 41 +++++++++++++++++++ 2 files changed, 44 insertions(+) -- 2.37.1