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 phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 76753C636CC for ; Mon, 13 Feb 2023 16:00:00 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 2A8798568C; Mon, 13 Feb 2023 16:59:34 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="nMuNM48l"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id EC0BC8568C; Mon, 13 Feb 2023 16:58:49 +0100 (CET) Received: from mail-io1-xd29.google.com (mail-io1-xd29.google.com [IPv6:2607:f8b0:4864:20::d29]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 9AB8185797 for ; Mon, 13 Feb 2023 16:58:09 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-io1-xd29.google.com with SMTP id j17so4591093ioa.9 for ; Mon, 13 Feb 2023 07:58:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=O3McI/pTzvnB9tiKkRVfc5iBsX/udQtJwAnc5LKOXqs=; b=nMuNM48lvOyssZ/1p1VlnOxZinHaLswQgeXZ+c2892Gk0NPwZpbZT2GOf3fMtpj5kq IT788BWgNZjzTwYzgPTiTdWdsG7C2vOcLXokNXAqdZPDCwee2FdLmpFFSTSS7dt+1c/0 9dzuIHjSSOySwL4KNoFz6ENeEm0jEQ0fkbQDo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=O3McI/pTzvnB9tiKkRVfc5iBsX/udQtJwAnc5LKOXqs=; b=CrrH+I3PkVu/2Zl0VS2ErTo8vcrT6n7n1nUFP4Fq4sCdcOlt+o/u9IAj8d6BpFb+tQ 93ClNxHWF9sR6dZBYS+Q5xYrRPx0t8Th++q/6wUN6z5cGnShPGclVu1kpN9SYKWJ4mgR pdmkPf4lE6p8C6O5XT6Yc8m6K9Aj+0a9W3xbNSYu5BBGQxanqpEmv3XS9vQIMUjcoj9E MWC3xtJQFza2PWKnnYwGiMNvwV+0bIOVbhYK1CeNVjlzqR1edE1xRLJmXAYEczcLTaWX rxbry7mb9A1ruOyiav9ZEvgz+ZJ7wDFyow1nRVe83BNzN8tpG4reAIC1k4EyHnkJFoD6 HHCg== X-Gm-Message-State: AO0yUKURjrEgh1/7HIehAro9nUS9wIfgLVe7Q4J9LQqbK+sWw6SDJypY SofqhrIeRVx2Xkt99DnR41pnQwc0VIyWRlSK X-Google-Smtp-Source: AK7set+XbOOajsMFMJP381z71LBTz2QwhsIUH4PsawPBu7eM114buBUXh4TEJMSpYkWXC4rVDz418g== X-Received: by 2002:a5d:93c2:0:b0:735:5bdc:7a73 with SMTP id j2-20020a5d93c2000000b007355bdc7a73mr19778663ioo.7.1676303824649; Mon, 13 Feb 2023 07:57:04 -0800 (PST) Received: from sjg1.roam.corp.google.com (c-73-14-173-85.hsd1.co.comcast.net. [73.14.173.85]) by smtp.gmail.com with ESMTPSA id b2-20020a923402000000b003154a4a039esm647463ila.5.2023.02.13.07.57.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Feb 2023 07:57:04 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , U-Boot Custodians , Simon Glass Subject: [PATCH v5 09/11] CI: Add a check for pre-schema driver model tags Date: Mon, 13 Feb 2023 08:56:39 -0700 Message-Id: <20230213155641.1208774-10-sjg@chromium.org> X-Mailer: git-send-email 2.39.1.581.gbfd45094c4-goog In-Reply-To: <20230213155641.1208774-1-sjg@chromium.org> References: <20230213155641.1208774-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean These should not be used anymore. Add a check to ensure they don't creek back into U-Boot. Use bootph-... instead. Signed-off-by: Simon Glass --- (no changes since v3) Changes in v3: - Add a new patch to check for pre-schema driver model tags in CI .azure-pipelines.yml | 12 ++++++++++++ .gitlab-ci.yml | 9 +++++++++ 2 files changed, 21 insertions(+) diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index 947c400f8d3..8327edf87aa 100644 --- a/.azure-pipelines.yml +++ b/.azure-pipelines.yml @@ -213,6 +213,18 @@ stages: export PYTHONPATH=${UBOOT_TRAVIS_BUILD_DIR}/scripts/dtc/pylibfdt make pylint_err + - job: check_for_pre_schema_tags + displayName: 'Check for pre-schema driver model tags' + pool: + vmImage: $(ubuntu_vm) + container: + image: $(ci_runner_image) + options: $(container_option) + steps: + # If grep succeeds and finds a match the test fails as we should + # have no matches. + - script: git grep u-boot,dm- -- '*.dts*' && exit 1 || exit 0 + - stage: test_py jobs: - job: test_py diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 272d69e2206..c3ceca2974d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -235,6 +235,15 @@ Run pylint: - export PYTHONPATH="${UBOOT_TRAVIS_BUILD_DIR}/scripts/dtc/pylibfdt" - make pylint_err +# Check for pre-schema driver model tags +Check for pre-schema tags: + stage: testsuites + script: + - git config --global --add safe.directory "${CI_PROJECT_DIR}"; + # If grep succeeds and finds a match the test fails as we should + # have no matches. + - git grep u-boot,dm- -- '*.dts*' && exit 1 || exit 0 + # Test sandbox with test.py sandbox test.py: variables: -- 2.39.1.581.gbfd45094c4-goog