From patchwork Wed Jun 19 07:22:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrei Simion X-Patchwork-Id: 13703482 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 BFE07C27C79 for ; Wed, 19 Jun 2024 07:24:11 +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=u4xBmxlgWIGKe2nze/DnFRecbbL2XPPyNZ+uq48c6Es=; b=mEX6guoatBUjK8GuX769dqK8hK GeGiaM8/6QvXJzD1G995JJoaAiSMZkVq0C71+y4igyMdpDnYWA/Bzgr/I5LZSsj7c7baGd1r9QHuk kthvOR9IXfLm0Ui82CerrPnQKiAjdT6fCmYsvtJdWO+xSjbH0d7ognFrIKdXjUn+TPa+JxtKNc8PH thUE418lx1wu6jJOBDgK3HXB0UuHBfJT6U8kPIVNAC5ZxiPy/cqp4CoN3voyqozFF4NUEmYTiakdj e/hfapp59N1Vd5dAB/0x5LrxC0vOxwa8Gv9S2RWiRUdAYHQ7UJXjd3fiejLW4rd0sBi8KAD2KcISi Entz0CdQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sJpfi-00000000BDj-2eW7; Wed, 19 Jun 2024 07:23:58 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sJpfH-00000000B3s-3cou for linux-arm-kernel@lists.infradead.org; Wed, 19 Jun 2024 07:23:48 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1718781811; x=1750317811; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=p1887b9iD5BlnBSAk0HwLOV/I/hhD4A89kd/poNXHMY=; b=WT0ZOpukFPXZl/YRQ+9fZGnQUTedzxkF6eBvrmCp33Fdhlw/rcrblgfK qafslMgYIvCTUQnIvN+BMkX9nkqysiywNfyHu/HihE7xZUykFs7B561En n6/5W9U6VX6+GK8K3PV5Xb3Qffu3H1ihZePfV//7eyF7hWrdungd8qMqT xkxkOf5jNu5z/QbPWLOgDFXtWoPH8qqSexaPq6th0Yl398qNK/pZFymWg /azpi7zSOJOAekxb6rNrZNXeMWdxZR9ih83MBxa1PnGOJXZfkg/bD76ig Ive0ICooEQ3pE+BWzz4zf3UKTJ/VvkvpC4gJI7DqMvSigTknaJydUBsKK Q==; X-CSE-ConnectionGUID: HPQiKEpwSfeQRjMG7YWokQ== X-CSE-MsgGUID: i/IVfxG/SvC9fIX3Tzf8CA== X-IronPort-AV: E=Sophos;i="6.08,249,1712646000"; d="scan'208";a="30691781" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa1.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 19 Jun 2024 00:23:26 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.85.144) 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, 19 Jun 2024 00:23:08 -0700 Received: from ROB-ULT-M76677.microchip.com (10.10.85.11) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Wed, 19 Jun 2024 00:23:05 -0700 From: Andrei Simion To: , , , , , , , , CC: , , , , Andrei Simion Subject: [PATCH 3/3] dt-bindings: eeprom: at24: Add at24,mac02e4 and at24,mac02e6 Date: Wed, 19 Jun 2024 10:22:31 +0300 Message-ID: <20240619072231.6876-4-andrei.simion@microchip.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240619072231.6876-1-andrei.simion@microchip.com> References: <20240619072231.6876-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-20240619_002339_091361_20B7A169 X-CRM114-Status: UNSURE ( 9.67 ) X-CRM114-Notice: Please train this message. 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 Update regex check and add pattern to match both EEPROMs. Signed-off-by: Andrei Simion --- Documentation/devicetree/bindings/eeprom/at24.yaml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/eeprom/at24.yaml b/Documentation/devicetree/bindings/eeprom/at24.yaml index 3c36cd0510de..46daa662f6e7 100644 --- a/Documentation/devicetree/bindings/eeprom/at24.yaml +++ b/Documentation/devicetree/bindings/eeprom/at24.yaml @@ -18,7 +18,7 @@ select: properties: compatible: contains: - pattern: "^atmel,(24(c|cs|mac)[0-9]+|spd)$" + pattern: "^atmel,(24(c|cs|mac)[0-9]+[a-z0-9]*|spd)$" required: - compatible @@ -37,8 +37,8 @@ properties: - allOf: - minItems: 1 items: - - pattern: "^(atmel|catalyst|microchip|nxp|ramtron|renesas|rohm|st),(24(c|cs|lc|mac)[0-9]+|spd)$" - - pattern: "^atmel,(24(c|cs|mac)[0-9]+|spd)$" + - pattern: "^(atmel|catalyst|microchip|nxp|ramtron|renesas|rohm|st),(24(c|cs|lc|mac)[0-9]+[a-z0-9]*|spd)$" + - pattern: "^atmel,(24(c|cs|mac)[0-9]+[a-z0-9]*|spd)$" - oneOf: - items: pattern: c00$ @@ -54,6 +54,10 @@ properties: pattern: mac402$ - items: pattern: mac602$ + - items: + pattern: mac02e4$ + - items: + pattern: mac02e6$ - items: pattern: c04$ - items: