From patchwork Wed Jul 3 08:47:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrei Simion X-Patchwork-Id: 13721533 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 82998C2BD09 for ; Wed, 3 Jul 2024 08:49:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type: Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID:Date :Subject:CC:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=AYkpGStUVS1hjGEnKBpLU9WwiT9ZkN6+zD9kFq+cXig=; b=Ef7IXuHXyojWsCe99PChhb1Qmz WyarXJQPErtog38P3IrVjasJCfwCjkXjRv9IQYvFuIeNWVcHhozQf6BtzCPR7UF7TmzwLBMTlP8zE nYlFXBfbCGmiQ8Q/sj1SvktXh273fm5A/xdI8O8ZqdxOwXw0Ibpz2Xa9LKIibLNOSBxoxDKoqkiPc iAWdZMU0LLRNiOWnxtC9nCX7Dx+kX8UNYYq3pH/SCdHfGyg/RXX858Af2Zw36ATEGn/LQpPKQOOZm wwTo2jhLiGBecEScOcLTU5NRZu/VOTXO3pKx+24Ku4BZEpIZFSV7P2OS0ARlkQ6DrmZwLpn0oFOXn iVrWUD6w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sOvfo-00000009TUX-1VqL; Wed, 03 Jul 2024 08:49:08 +0000 Received: from esa.microchip.iphmx.com ([68.232.154.123]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sOvfH-00000009TH8-07tY for linux-arm-kernel@lists.infradead.org; Wed, 03 Jul 2024 08:48:36 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1719996514; x=1751532514; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=hkCQd1grkSXjq749gl/KZxjV8DnGi4H2CmXCRKQAUWU=; b=KB2smPI/gen47Bs/9xKQxUjH8YG3AgeSOuzGEvF301G42XA4+3QMHl08 IPTDj5+21CvZy6Qzes08dYaX3HQ78wd48hBrkFLC7JYw96kFfcolBaSJs +UympEgyQgDYoU8c2x932TEPjYFV1XVDgVglJTDnyX3uufPegWTEgnrd9 tVZUJK2Tp9TUDd0FkPnBCE4mkyylom3MJjGzjLDrRM+GbrGyuBxoqsMd9 ONM1a+71lp6zjVS9Ny9Vkxg/4vWXYA+TPyRErgZsxJrok0Md1fVvLTZUK D9dmvjciOdjaqSdf1Sf167ccM2H1Pvm6unL/RGTbK+SO+yEJpzqC/OZOX A==; X-CSE-ConnectionGUID: s71X572eQVinIeDMsyDqRg== X-CSE-MsgGUID: 5FRwwSPJSdyu4F+Y3OQNSQ== X-IronPort-AV: E=Sophos;i="6.09,181,1716274800"; d="scan'208";a="196193660" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa6.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 03 Jul 2024 01:48:31 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Wed, 3 Jul 2024 01:48:08 -0700 Received: from ROB-ULT-M76677.microchip.com (10.10.85.11) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Wed, 3 Jul 2024 01:48:05 -0700 From: Andrei Simion To: , , , , , , , , CC: , , , , Andrei Simion , Conor Dooley Subject: [PATCH v4 3/3] dt-bindings: eeprom: at24: Add Microchip 24AA025E48/24AA025E64 Date: Wed, 3 Jul 2024 11:47:04 +0300 Message-ID: <20240703084704.197697-4-andrei.simion@microchip.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240703084704.197697-1-andrei.simion@microchip.com> References: <20240703084704.197697-1-andrei.simion@microchip.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240703_014835_271206_6C7344DA X-CRM114-Status: GOOD ( 11.36 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add support for compatible Microchip 24AA025E48/24AA025E64 EEPROMs. Reviewed-by: Conor Dooley Signed-off-by: Andrei Simion --- v3 -> v4: - change the rule to select compatible v2 -> v3: - commit subject changed to reference Microchip 24AA025E48/24AA025E64 - drop pattern: mac02e4$ and mac02e6$ and a-z from regex - add these two devices down at the bottom - added Reviewed-by v1 -> v2: - change pattern into "^atmel,(24(c|cs|mac)[a-z0-9]+|spd)$" to keep simpler --- Documentation/devicetree/bindings/eeprom/at24.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/eeprom/at24.yaml b/Documentation/devicetree/bindings/eeprom/at24.yaml index 3c36cd0510de..4d46b8c5439d 100644 --- a/Documentation/devicetree/bindings/eeprom/at24.yaml +++ b/Documentation/devicetree/bindings/eeprom/at24.yaml @@ -18,7 +18,9 @@ select: properties: compatible: contains: - pattern: "^atmel,(24(c|cs|mac)[0-9]+|spd)$" + anyOf: + - pattern: "^atmel,(24(c|cs|mac)[0-9]+|spd)$" + - enum: ["microchip,24aa025e48", "microchip,24aa025e64"] required: - compatible @@ -132,6 +134,10 @@ properties: - renesas,r1ex24128 - samsung,s524ad0xd1 - const: atmel,24c128 + - items: + - const: microchip,24aa025e48 + - items: + - const: microchip,24aa025e64 - pattern: '^atmel,24c(32|64)d-wl$' # Actual vendor is st label: