From mboxrd@z Thu Jan 1 00:00:00 1970 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 1CF8EC636D3 for ; Wed, 1 Feb 2023 22:57:44 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 64DAA85E0D; Wed, 1 Feb 2023 23:56:59 +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="gdAuUNyt"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 623B085E51; Wed, 1 Feb 2023 23:56:09 +0100 (CET) Received: from mail-il1-x133.google.com (mail-il1-x133.google.com [IPv6:2607:f8b0:4864:20::133]) (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 C03AD85E3C for ; Wed, 1 Feb 2023 23:54:44 +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-il1-x133.google.com with SMTP id g16so111842ilr.1 for ; Wed, 01 Feb 2023 14:54:44 -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=R7uUfATI4aHXkQNkAHBnPxhQlke5ej6vPlMOUrN2npw=; b=gdAuUNytxKGiB9P+Le9JwncePenfbm4ve7BriLZkXG+f58tli/0m+td1z8QrtR+bZu 5Op+Se891olN/Ask5ya0MCdvpL2MLYvmV5/yCsxsILM6eJ2pM40+tUbHEDJva8YLFd3X g/9NaVvfTYTTQiwTHwdszudXhvhp0AS+LA0Ks= 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=R7uUfATI4aHXkQNkAHBnPxhQlke5ej6vPlMOUrN2npw=; b=6f9kalA25pUyatXG2a3ptgfD+aCpyu2CKCOzK9ZQMsPpRL3WqKJQqObGjXdVrpHvJk xv1mHM3cPzf+zu2NHemwdV6fyjQRJOCv94FpG5ispcBMAesp4ZT9h2FVGeyUrn/QA82F OXXu39AumIkTrjlJ9OitlZcMTspX8XtkxyglbQDFH3DXcGzUP+LmWh0V+EelYOMq7vp+ /J6mQFIQiugf4w5wx8AV7atpwCoyysey0c4TqnXy1n/4LMF9IBGwjY9SRkrfNcrYJrF/ l+dStMuTldHeYG9XpKwoMhG797RK8bOgyOahrw50hN6EhANUQKHmrF5idbrbNJESOsvt qTYw== X-Gm-Message-State: AO0yUKUR/55dx41PV0ayaJJsKpC8IoXcLMEhUK5m9OGhiQF0F/ayB65K QECPpU+U5zsK11rGupzRZiqX2tLB7WAHwrA8 X-Google-Smtp-Source: AK7set8Vrg44x5j1xl+0SESKBDlzYXUUmHXeqYB22ysOaimg22yV+U4/DZRhWxyd0I6w9i+yQdxpnw== X-Received: by 2002:a05:6e02:1bc6:b0:310:e4e7:a9ab with SMTP id x6-20020a056e021bc600b00310e4e7a9abmr3292482ilv.31.1675292082631; Wed, 01 Feb 2023 14:54:42 -0800 (PST) Received: from kea.bld.corp.google.com ([2620:15c:183:200:1fda:cca0:9a42:148c]) by smtp.gmail.com with ESMTPSA id b21-20020a029a15000000b00374fa5b600csm6964474jal.0.2023.02.01.14.54.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Feb 2023 14:54:42 -0800 (PST) From: Simon Glass To: u-boot@lists.denx.de Cc: U-Boot Custodians , Tom Rini , Simon Glass Subject: [PATCH v3 8/8] CI: Add a check for pre-schema driver model tags Date: Wed, 1 Feb 2023 15:54:28 -0700 Message-Id: <20230201225428.2001161-9-sjg@chromium.org> X-Mailer: git-send-email 2.39.1.456.gfc5497dd1b-goog In-Reply-To: <20230201225428.2001161-1-sjg@chromium.org> References: <20230201225428.2001161-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 --- 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 5673bb76afb..7e1d0ffc960 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 aaf9d25abfc..88598747d57 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -232,6 +232,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.456.gfc5497dd1b-goog