Received: by 2002:a05:6500:1b45:b0:1f5:f2ab:c469 with SMTP id cz5csp236250lqb; Tue, 16 Apr 2024 14:14:16 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWPm3l/0zjTJpVyzwdnrSnM9AdcBUyHUIsqjqMVcB47C8GDsKk4hINYJeJeT/EEtqZFnJVYVE48wVouNKopi6vTNdXGygJw5HciltUXdQ== X-Google-Smtp-Source: AGHT+IEmA4JKPPC2j8tLD/m3Ifw9XnMNkWEPnoKTknS0W/EkSHV+HoU315KihZbJlAqQUpXTnBw+ X-Received: by 2002:a05:6871:33a2:b0:22e:8576:bcd8 with SMTP id ng34-20020a05687133a200b0022e8576bcd8mr16189477oac.42.1713302055846; Tue, 16 Apr 2024 14:14:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713302055; cv=pass; d=google.com; s=arc-20160816; b=GEPZYAkYxLynL16Jk/nlRo+fjlfnX4cOiLJa0PUsshURqF734lNz5WmykVS5DI5ZdO le54sCaSrbP2iZkDHfQ6BtTbW3dvz+gM0U2jVm6roZD9yesXIefPoqacWCuCZ5ZB/xUL 8TE4Yjpb8zntc7YykU/dXfUQl/R4lmVmlkgpQo/NXvtoBM2/jyK3NN2IajeN8ZApLOsT d/ZXAQcLCI7RmNtrjqy8572VqBXvw5G6P480PcYIhB1rsry39EkVZ/Iv85d54J43mg0z K6fAhO5WQcx5j4hUZ4TKeRTYvN9QC8EWX0IyRGSGlY+/WjfgzOLfpqYMLbjlvZEh5c0C M6bg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=dn04wT0JBm+obxx+kTlgG9j7vzEDda0ye02bvz0wRxM=; fh=J9liRaU7f5i0q/HPF7qOiEsYYfFVkv6fq0BFlWLQVbE=; b=e3JNmVnFC7Jk+iYRjCRvRgTkvq3mB59iHK5vGQsfZ7/GRxJMx657j6xLSynKstv0iX DDS2B7fz3k6gV6M1+DIAG+MNqmu/c/rILCQ7/yiBUdyn+1dDlzzQ8QzgpXDL8lji8UOk UskUo2cpeO9E5syV9kQkRogtc8x4S393e0pHmQLffICE66TbvkMJJVhp2O689sFVHvSQ cIgE1+bc/LahtSjH8g2PcyZqiKtlNBvec5QzCHPgCcD1g22RuLozK6xnpaMtoWlXe3tE M9yHyvl1yx63W7fq3sr9S88BYwWFx0AT1W9I0yHNk8Ud0Hlj6Sc7rMtycJI6PyBDLwHe qPIg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=sluXXdnc; arc=pass (i=1 dkim=pass dkdomain=bgdev-pl.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-147553-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-147553-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id n26-20020a63591a000000b005f073cd83a4si10063790pgb.211.2024.04.16.14.14.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Apr 2024 14:14:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-147553-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=sluXXdnc; arc=pass (i=1 dkim=pass dkdomain=bgdev-pl.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-147553-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-147553-linux.lists.archive=gmail.com@vger.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 84BC32837CB for ; Tue, 16 Apr 2024 21:14:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2E76A5D905; Tue, 16 Apr 2024 21:14:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bgdev-pl.20230601.gappssmtp.com header.i=@bgdev-pl.20230601.gappssmtp.com header.b="sluXXdnc" Received: from mail-lf1-f54.google.com (mail-lf1-f54.google.com [209.85.167.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 027B61E864 for ; Tue, 16 Apr 2024 21:14:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713302047; cv=none; b=oSJAxxOxr9XLx39C3zj775El2YJtvxW8h1xz7zEyGWNgBCOSsCYlSCoCzkU1DHeJOBWD8y/BOZ4I+MmwOz61fl2Yqqelvp0udnm2eOfpIhjIhL4Vq5+BoKvbrxbSmQzB5TMPm8mps1uqzwb9eiuv67YhMKgha4XjnjgqvPoqePc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713302047; c=relaxed/simple; bh=hYbx6PTsoNsyBmCWhe2uOm9re81gqj53ZsseQt9fWB4=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=aVFeXxlw05Y8I5NM/2kNZ1ztTk6sdA6FAik1m9Jyeh7AkDwE1PZX6toEvIIEdc8DuV1sK8J49JOyjgcMhqiohuOaP7FFdKKWCJhWTtQs9o+uWKjRxFwJ2l0X3SUc87aGcfrvx+3xDYsJcHnKU8JvszYq/Yo8UOUm5ZisescpBoA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=bgdev.pl; spf=none smtp.mailfrom=bgdev.pl; dkim=pass (2048-bit key) header.d=bgdev-pl.20230601.gappssmtp.com header.i=@bgdev-pl.20230601.gappssmtp.com header.b=sluXXdnc; arc=none smtp.client-ip=209.85.167.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=bgdev.pl Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=bgdev.pl Received: by mail-lf1-f54.google.com with SMTP id 2adb3069b0e04-516ef30b16eso5826293e87.3 for ; Tue, 16 Apr 2024 14:14:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20230601.gappssmtp.com; s=20230601; t=1713302044; x=1713906844; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=dn04wT0JBm+obxx+kTlgG9j7vzEDda0ye02bvz0wRxM=; b=sluXXdnc6zdIs4x9p+gDWVyfXHvhECnrb0kh/6H9CxC3yxUcvbKWCW0Ape+I8l0i9U W9ZeZobz1qmCW39geKwWfPYrDAlXPXVifNNvv0bawPASmEwmF/LA7J7lhrApjyRLiVdz 4TfEeajCgDREwrov0hKC7Oshdsam1q91u7msP2RoulU+sgsY5fMr97QSxD8uP8N59sWL Qx9+/BUHXLKoV7+5P2fzGXyBJ18ZWyTIXK51qTFC0RkJcsi16/6w7O8ixhVzxWcWUVfN wVla90dAB15OGkhRWafEYM+wi7txvBODZ5xK2eEAo1/bXudY99irrjauwtSz9rUBodwX fctg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713302044; x=1713906844; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=dn04wT0JBm+obxx+kTlgG9j7vzEDda0ye02bvz0wRxM=; b=kpNQJAMsLby2RxVCadJhTbqYo0+QR8Ffs0eC5ffhmiPQ4I8YsbP0SC+L+TAT8rVyDg nvYT0viixyVqrPlhZYyxiufEY+7cYpBY0vALRVM4fUKQoOmj4e5awkO4CwFwIhLosXOq 2jLavFTsy7Fgzf8X+ZJGhhXml7NvnWOwebzurw591/a20hj+uZXduxS3WL4e5MKVCh9l TJVri2UTrAIs8fdzg7j+FIxyJL1GphUC5IUurgrhZWRoDmnf9j4E6RjeDc9pmCNnHyw9 b/VyZ7lhwXMrAM+GQdLtU1Aik+a/V3uj0FAmBCdx7zeWXIgq2p9QM5wv6sev5lGt7OdK Ow0A== X-Forwarded-Encrypted: i=1; AJvYcCUWZRLUE2eSnYy/EdIkb+RUJXRtWm6AfGxyGfbswstPH8EBVP850zs3LM6F5CmasqrOOKo7FrLo+UnCrb5Q5jaBjG7kMoLCAevL4KWF X-Gm-Message-State: AOJu0YykqLmAlWZBJnD3seDxBE89q1uKWXR885qZuGDx/+sRImzbkYTh PQ3oWwIGfadYRvWKdyKdWDHC6mIElxV1TIfS423TwhVeWe9Df5A8YeqMN11yjpbDj5Q1QPO2F3s zLhsLg56fwGBPb+j1GI3ZVZcDuG6m+8WnvTPZJnEY86JZyuEV+ws= X-Received: by 2002:a19:8c49:0:b0:517:87ba:aff3 with SMTP id i9-20020a198c49000000b0051787baaff3mr9237406lfj.43.1713302044303; Tue, 16 Apr 2024 14:14:04 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240415131104.2807041-1-robh@kernel.org> In-Reply-To: <20240415131104.2807041-1-robh@kernel.org> From: Bartosz Golaszewski Date: Tue, 16 Apr 2024 23:13:53 +0200 Message-ID: Subject: Re: [PATCH] dt-bindings: eeprom: at24: Fix ST M24C64-D compatible schema To: Rob Herring Cc: Krzysztof Kozlowski , Conor Dooley , Alexander Stein , Marek Vasut , Conor Dooley , linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Apr 15, 2024 at 3:11=E2=80=AFPM Rob Herring wrote= : > > 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/Documen= tation/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 > Applied, thanks! Bart