Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp478012lqt; Thu, 6 Jun 2024 09:01:19 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUAjc13L2G+Z1Qs/jkoRTqKZZkL1H8pQ+LuUzxf0VQ5jykMc4J7TqOxTly/vq5aEkCpw6P7K2AH3Q5r5Lj5BNa52uYXPkuNrb4vr4ru3Q== X-Google-Smtp-Source: AGHT+IEwSL8+TDQ/XGDGGqvSsX2vJ4C5isZk4j+6jdOb2aohedWVbgvbxxO5bi4wtlqFhOtph/Ct X-Received: by 2002:a2e:be0d:0:b0:2df:eee9:c71f with SMTP id 38308e7fff4ca-2eadce1e858mr1149061fa.7.1717689679188; Thu, 06 Jun 2024 09:01:19 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717689679; cv=pass; d=google.com; s=arc-20160816; b=NCgZkc9vgjNfHtx69b8jE7tOugIB2B5ewV/5jA6PKeU8hSJlXRO0W1z1KD5riebKyd Wefkj7/QPlFW5ss9ABvzzC1/9rlaftqHe6c2FHnQaRtOKVXI0flsZ7cfF8YYyQvZ9qJv bde8WZ5RC+s8KOY5nVB6JAiUMMOI8PYVKFJxGGNytIaemKxAI7lEVQDJQaI/oMR0Uabc QSU9KYzN0s3BQzGP/CCZW3SOADmEIsqsGzIAa+2dJW1sOo9EKQ+Jebis+fSMwO0hfNKq I4u1XhRRfm3KY4FdPyP80g/Qt0BKoynHsJTHyAPc7ld+AVbTHYvqQcrLNRyGx54EQ5fl r7tw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=sqVHQEDwVAxjqpqFdMyKgszMsUmj5y9aSsv6Guy/rJ4=; fh=yO0ESJSxohmpouUFl/8NhJAXVBKjQXiWXBCFFPNP40o=; b=wp0PtvljVQwRF4DdsRlp0A9tw4yFylu1JlBPNS+Tcm1guyWUJE3iRpjYxDozD+IcpZ hHI4qFbQVu+N9dtRQ40wKECHjNYZVHals10HWZ08Y7I4BUEoHeCfVFHRHZDemBeZRuxb GF+cSs6kd9g/VAf2mV38FxTjrojagDoIVY0OqAHCV1K1Tl2hr83GgIWKoUnvW+pktDYb uPB2n9/lnxYMszWUbGuNLVQQ+0EMtnNYIvQnOg2mMm/tPAqmMY5M/Ib9yTtlPXrjEJNv xkM3klP7diDs5RulkPWUT91zUlxpC3pjNwiTMC6I+pijItyrdlADEjSHPsTV1jB0CWkG 3CZg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=JYuTk84F; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-204632-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-204632-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.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 4fb4d7f45d1cf-57aae0c5d93si822776a12.109.2024.06.06.09.01.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jun 2024 09:01:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-204632-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=@chromium.org header.s=google header.b=JYuTk84F; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-204632-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-204632-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.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 E01C91F2388A for ; Thu, 6 Jun 2024 16:01:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 13FE8197A8E; Thu, 6 Jun 2024 16:01:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="JYuTk84F" Received: from mail-qv1-f53.google.com (mail-qv1-f53.google.com [209.85.219.53]) (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 D3C20153511 for ; Thu, 6 Jun 2024 16:01:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.53 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717689668; cv=none; b=p2Ogcd4uiZKPqTycjpAS7+1DJfV2j/WAXeKTUsFsYWEwlKubB/nHeE1ZuIWWJ9+tsIvJqyGfiwEjwC86oKg7qrm+lbhidms1Hxvwu5lMVvPowFduiugkcHC9b3NuFETFsbDzPcKiL/OCeHvhLC0LMR3kJjvd4RIe7qKFl6YEhFs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717689668; c=relaxed/simple; bh=sqVHQEDwVAxjqpqFdMyKgszMsUmj5y9aSsv6Guy/rJ4=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=K/tfYyu84PAnXUVCN/FBxl4ORHBavFnFLFrG5vp2T6V0OrdF2lnuepIyIHS2qbd6T80lyreJhUYMu9HLhYe66mpeGlAXZ+P/7iwQxk5sYYJ2R3N+dZJCrtS/frkDoRZzSBbj4xpGxWBB7zHDip9WxRAXwQRM1bA5enVCGUPTufQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=JYuTk84F; arc=none smtp.client-ip=209.85.219.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Received: by mail-qv1-f53.google.com with SMTP id 6a1803df08f44-6b041fa2a54so8614376d6.2 for ; Thu, 06 Jun 2024 09:01:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1717689666; x=1718294466; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=sqVHQEDwVAxjqpqFdMyKgszMsUmj5y9aSsv6Guy/rJ4=; b=JYuTk84FY4wVZ61V1rkIolMSSdhpuqsB5A0wznMf/x8TOHU1E7z1NMzXQrDA24zmwJ rJUfGF6zSNIPKRUUC/NqyvsZLE4eTlvv8CjeWW3I2JG0FpaoVtvWxh6UeAUGDXUK+B+U jVTnXoy7A8Cyf/8dHQMRPrMBEEhIe9t5K0Ho4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717689666; x=1718294466; h=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=sqVHQEDwVAxjqpqFdMyKgszMsUmj5y9aSsv6Guy/rJ4=; b=XQhL4BERrVbPn5peaXDgzRCa14tyTZ8V3gLu2W+daRxXmz1n6QAlzq7g9FrLSl0S6Q V2vGx/oFKesYymQPEOzIB+JiNJKki8lAAkZYolwBweh2LYBHIY0OraRWZ+iUjMhEld3y TEYS5G/q2xnalHlgkpm46mTw02IUvQ/rervdgzv26+s1PFWFMYlt0cTnmtg0cOJ4tiAo PeV6IBHk9KbvkDPiYV6ulSX699AWBzEvHxYpxrVNRoEpOL+4U4IsZ22MxGs40Uxg5Fqn suzVSCVp2tFJFkoloW/DOMlWZTBSZ8C9XjA1gsENHFmsLZqihx46+cqKlxddUnlSgQBK NyJQ== X-Forwarded-Encrypted: i=1; AJvYcCVqI68fp8EEcFD6+/214dr270oWU7FsgeaQeuuN9AjkaCxsdNKRw9L2AD4PfuQA6sJtZ+jzEQWZD950bFpQgCpxgxKrk8znpJH71qYN X-Gm-Message-State: AOJu0Yw8bqFCVCvoXoqpVbAhxd1H7PnbM7w/DZmYUwH+1AAfHIi9kxW0 jLBgOcD1Ms3n07l/kprxgsNSdzSaPTFaJ5OZ0opwdo1OypX1dBehNHEW+KHRUZN+tXOPnT2PpNR XkADcmemgDKidMPUsERQ/7A2yLmMIpLujC8nM X-Received: by 2002:a05:6214:2c0d:b0:6ad:63c3:12fe with SMTP id 6a1803df08f44-6b02266d4cfmr71924706d6.3.1717689665559; Thu, 06 Jun 2024 09:01:05 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240521-board-ids-v3-0-e6c71d05f4d2@quicinc.com> <20240605100246481-0700.eberman@hu-eberman-lv.qualcomm.com> In-Reply-To: <20240605100246481-0700.eberman@hu-eberman-lv.qualcomm.com> From: Simon Glass Date: Thu, 6 Jun 2024 10:00:54 -0600 Message-ID: Subject: Re: [PATCH RFC v3 0/9] dt-bindings: hwinfo: Introduce board-id To: Elliot Berman Cc: Rob Herring , Frank Rowand , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio , Amrit Anand , Peter Griffin , Caleb Connolly , Andy Gross , Doug Anderson , Chen-Yu Tsai , Julius Werner , "Humphreys, Jonathan" , Sumit Garg , Jon Hunter , Michal Simek , boot-architecture@lists.linaro.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Hi Elliot, On Wed, 5 Jun 2024 at 11:17, Elliot Berman wrote: > > On Wed, Jun 05, 2024 at 07:17:35AM -0600, Simon Glass wrote: > > Hi Elliot, > > > > I am just picking up the discussion here, which was started on another thread. > > > > I can't see why this new feature is needed. We should be able to use > > compatible strings, as we do now. I added a 'usage' section to the FIT > > spec [1] which might help. I also incorporated the board revision and > > variant information and some notes on how to add to the available > > suffixes. > > > > Does that handle your use case? > > -rev and -sku don't fit the versioning scheme for QTI devices, so this > isn't a generic enough approach. Patch 5 in this series describes the > versioning scheme for us. > > In the other thread, we had talked about using some regex based approach > for matching the root node compatible. I haven't had chance to work on > that proposal and will try to get to it in the next couple weeks. OK, I look forward to it. Please do check the FIT best match approach and see how it might be extended to handle your requirements. So far I have not seen a need for regexes, but it is certainly a possibility. Regards, Simon