Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp1426533lqp; Mon, 15 Apr 2024 06:25:30 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWMySNWxJ+MKsBpxUfVfPQ7JR3/yl+n8v92SWNTg1RY/pIWdSI+b2dtia9jQHKBORnD8x7m2LyuoW+q1whGbLXnuM8HMwfEN7uzRcpMsA== X-Google-Smtp-Source: AGHT+IHV4MnPmbOmBm2hT1YkNPemMQ2+i9mBVUyAwHMa9iRP3G5ZdvzV8WQMH9lMSyZHaLX08HSz X-Received: by 2002:a17:906:4a98:b0:a51:affc:ad66 with SMTP id x24-20020a1709064a9800b00a51affcad66mr8178985eju.12.1713187529866; Mon, 15 Apr 2024 06:25:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713187529; cv=pass; d=google.com; s=arc-20160816; b=hBsnyl9T23gQtDMzlytbSYfUFoBhnX49ubN+aa1XFIKdjKAQfV5eluKwkhzeH6aY8Z n9vxl8OKOJE9Nvwhat30Tu1yIxKX8BY+67FnNX+x8+rIATT9fEc4+65tVj7gL1SGZvji Cho62ZngHmfrk3w0X5X9v5nj/or0LjDeDZIRsFsG/vMa4dcSja3ekmuAYgLIcgjxXDSS JCziANFOB0S+b9NHBdIh0irGxu46vvfK1IC37rrL7ARXllWOjAweht0NFFwyVVYS5NE4 FoKqPmJa3g4E5JnlDLKgpV72YDjkbLhn7pQ+ploI5GpdXuud1h1b7PhpnXzytmVCFqse rxuQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=rL3E52GI5JLuyd8htoe4q5yR+WQOv3ukiq7THxvLFM8=; fh=PNFPshFPk/KPGeAYC9KewH9zvrAs5WX8Pcl3eQQ9HSc=; b=Vgrhv2Hd/h1Y9HhazLlLUmYA5iqtXoNQOrScVQArCqLNViv3wkCxs+z76Z/dxYI/jo jXqagkVwgXfYc45FSQ5WiolDslxsraSki19mWj5tL29eepycAbGzueyLG4i4bSHh/i+V uMuAw0adDUG/xsD8mOBfox+g8QnmqDhzyhVdbQO700LXWh+E9H3q2CHgTeDAVlc+yyXs Vq59bLhdPn09kd3cAWgtB/OExhBN/RsIGth+lQ9r6vAHnUdXTpx8B+xtO4cz5jSAgZMv 4H8yQKkvKCaZjaXJfPFPOtbglc+++HT3w7N5BoQUrQIMiNVqq6V71poNCnn9Y7/a+lAj zQAg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gyxomfaO; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-145231-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-145231-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id o2-20020a170906774200b00a4e280e4e0asi4602739ejn.714.2024.04.15.06.25.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Apr 2024 06:25:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-145231-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gyxomfaO; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-145231-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-145231-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 947A31F220DB for ; Mon, 15 Apr 2024 13:25:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 62E3F7F482; Mon, 15 Apr 2024 13:11:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="gyxomfaO" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 81A8D6FE0D; Mon, 15 Apr 2024 13:11:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713186682; cv=none; b=QFmJchkg0D/K0VJUsZWLRxtkxbubLJ5mSUrrjlRSlox1uIs3cWDBnlOnwxk3GbEOEDNd7p/2b4Nf+4IJtrebG2mE8N8MLpfUZ4wc/CRdO1hxMUyc5e6pcYTIoTUiJTUVsOm5HFwyur2mJZRz3zsy+WcKZ3YhUzeDw4rcKosljrY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713186682; c=relaxed/simple; bh=ncGh+t4xmi5GVWUdHHtJGEdjbtmWOCqArQu2Lu0BqM8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=QKNToaaBceo3JYgIMp+4Kq6QySu//j9ekSPB5kjt9xPz7NByFw2kZVn0kpZvsIkQWz9k13MqefdCQCahq0YIDbB+Z7miZMQhr+MMyEYYI84/4ij8VjcO0sS7HAhtC4bV/D/hetFrm0aLfbwBF6LbdgB/tfV0OhRTFRR73G+TGtc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=gyxomfaO; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id D5ED3C113CC; Mon, 15 Apr 2024 13:11:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1713186682; bh=ncGh+t4xmi5GVWUdHHtJGEdjbtmWOCqArQu2Lu0BqM8=; h=From:To:Cc:Subject:Date:From; b=gyxomfaOzOtUSxkGZxTpBLqUJN1GpMbQ24yINQLR+a3+C6iZyKaJbT5gE+bnt8es7 E2SvB0qcUr3fuOm2GMcmAH/rmkZZRZwvJ3ApaR3eM9s8bfiA3WjiXpg7yWNUgts+4l sXFgLl5x6e8KzbNqMdMXi4L2BFgntB/H6UQY+qEm40l213bIAMc7XAzw+OeYLnpdfe Ybflh03IdYVd9CWsBQCcOo9qv4f6zMj1fCDM9stVoYhNMMD/AhADINM4AS27wkptrr AVUmWe7ZSVNApVD1fNcYBvJOlT22qTyItyfoCxGHXFDJQ9AKXIElfOpCfAwJh3P0Jg GhqEhLjFPKkCw== From: Rob Herring To: Bartosz Golaszewski , Krzysztof Kozlowski , Conor Dooley , Alexander Stein , Marek Vasut Cc: Conor Dooley , linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] dt-bindings: eeprom: at24: Fix ST M24C64-D compatible schema Date: Mon, 15 Apr 2024 08:11:03 -0500 Message-ID: <20240415131104.2807041-1-robh@kernel.org> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The schema for the ST M24C64-D compatible string doesn't work. Validation fails as the 'd-wl' suffix is not added to the preceeding schema which defines the entries and vendors. The actual users are incorrect as well because the vendor is listed as Atmel whereas the part is made by ST. As this part doesn't appear to have multiple vendors, move it to its own entry. Fixes: 0997ff1fc143 ("dt-bindings: at24: add ST M24C64-D Additional Write lockable page") Fixes: c761068f484c ("dt-bindings: at24: add ST M24C32-D Additional Write lockable page") Signed-off-by: Rob Herring --- Documentation/devicetree/bindings/eeprom/at24.yaml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/eeprom/at24.yaml b/Documentation/devicetree/bindings/eeprom/at24.yaml index 1812ef31d5f1..3c36cd0510de 100644 --- a/Documentation/devicetree/bindings/eeprom/at24.yaml +++ b/Documentation/devicetree/bindings/eeprom/at24.yaml @@ -68,14 +68,10 @@ properties: pattern: cs16$ - items: pattern: c32$ - - items: - pattern: c32d-wl$ - items: pattern: cs32$ - items: pattern: c64$ - - items: - pattern: c64d-wl$ - items: pattern: cs64$ - items: @@ -136,6 +132,7 @@ properties: - renesas,r1ex24128 - samsung,s524ad0xd1 - const: atmel,24c128 + - pattern: '^atmel,24c(32|64)d-wl$' # Actual vendor is st label: description: Descriptive name of the EEPROM. -- 2.43.0