From patchwork Sun Jul 23 13:19:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 124456 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9010:0:b0:3e4:2afc:c1 with SMTP id l16csp1267760vqg; Sun, 23 Jul 2023 06:55:01 -0700 (PDT) X-Google-Smtp-Source: APBJJlF2+BPTsCT/JZOPLx91+c3A4CdHFNLoZZAlbjlAXpOUO878VrBSwWGLyfSmOZ88T7F1EOa2 X-Received: by 2002:a17:902:8c87:b0:1b7:f98d:5570 with SMTP id t7-20020a1709028c8700b001b7f98d5570mr4510088plo.56.1690120500943; Sun, 23 Jul 2023 06:55:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690120500; cv=none; d=google.com; s=arc-20160816; b=e3rE37/U8HnIpGll8CEcyqqliPEKlO7Yrr1Imc5CUJxMtkc3axpfzOIWUZqK5l/wja ETrBF9nE2+C0eG1gOu5lituixFvuZLGwiwiHL/2MO+jYXg5yPjc7HfcM0awWvS5eN+E4 fbmcmPcq3VPehmb8smF8Zau3Yt4rtBtqxkeIiPPTtE5+LCN24dBfoAIzF2Y0b/ubPpib fYu1KFraJOg0RQG3Iskiixx5VBDZSGUueADRIBGd0Rqe5bAyS3U4W5hVozm44DbAUf9e muvKtWZS0SKrkjLxnskFzVBStwh7hZ7YkNPHpmci4U2ldP7rHrttUV4NEAuC+FMb3lj2 DCig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ENETnkocXZi6dl4NhjFyWgfk3+p5JzgNLDZ8yvhlSSE=; fh=TJMXEqnxYG3B5A1w29HgsqDSipJUb+ZGquY7sCkFLQU=; b=EWk185C+byAOX62U9u4KkWxocn8UZSfObRHKuY0Qtced1NEVcb6qFJyviaI4N9kvMu 1MBZmPKsAWSsmD9bzlOgpoaBMeaF5zy2BJsX4FzAGJd0Mm5T1ODjjCNSgsaxEXR+D1GL w6Dt5ttc3hTxbuvrl6G/gZUZ0k80W2ZV0csQEWLa1y85ty9eUgpvPFkbed71/vgtH8BK FpmiyfZdMNyXk9iKGWZgB5Q10bZ5iQegXLqpKru2sVY4GO5EjD2ZqRfOtXD5W2G9b9i+ PhrDxF3ibV5ygUWC5M6RWGUmrGMij63xVBwmwrUyR9TYiBwxfQfYRmfL7hy/owRKxn87 Gh1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qwj3Uno2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a13-20020a170902b58d00b001b22f31cce9si6658971pls.179.2023.07.23.06.54.45; Sun, 23 Jul 2023 06:55:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qwj3Uno2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230093AbjGWNTl (ORCPT + 99 others); Sun, 23 Jul 2023 09:19:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54748 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229956AbjGWNTi (ORCPT ); Sun, 23 Jul 2023 09:19:38 -0400 Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1961810F5 for ; Sun, 23 Jul 2023 06:19:36 -0700 (PDT) Received: by mail-wr1-x435.google.com with SMTP id ffacd0b85a97d-3110ab7110aso3074894f8f.3 for ; Sun, 23 Jul 2023 06:19:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1690118374; x=1690723174; 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=ENETnkocXZi6dl4NhjFyWgfk3+p5JzgNLDZ8yvhlSSE=; b=qwj3Uno2LcoIiU1bvwWEdgC9M4R6885fys9S+g24ZVmcbMOI3G2vBvXkUjm9zozJfO o/Cw9C7U70/pHY+mjkfPwtHB3srjLyrb6oMLqn0OW6bYuxpmhwDFBOjvkB7pRSUdR+4w esxviqIzSvO0KNzXqTiYUUPCN1lQIk2WwESvnMOqVwDtErHvJVSl4dvAiPS+SrSNLRyn aZ1ktFTN6QDhkoJED41ND4fpYliEgX94AD7LU52VSe7XVm944B+/WBci5ooRJbJQpOXF fHp06Tw602sklEyo8ODwPA8NVlL8kJ0SPpi5siPg1Ew0YFffTDabX7BXkwwBrPFFWEo7 1k9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690118374; x=1690723174; 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=ENETnkocXZi6dl4NhjFyWgfk3+p5JzgNLDZ8yvhlSSE=; b=Urb7HhuB+F6TMRoJmiNJaAY9UXPGkCbNUVCX3/GdUH7DptcTDGUqfyh96QGIF4Yc3e 8EKHLANNkBKaCFeL+ElmztJF83EEb2vYYwZf3ThUN7lC6omGxWLDUagqUVb035G1k8lr PtKdnYQKPr4uegzxJ9Wl71MzzDlA54Ux0/pPxVL/U/EDzipk2ITL71JbbTQJglgDv85K A+OR9titB3ThIaviijMm/qZDaHlrRiEFTyuCiBa918de7UoDTjLfhu+/HBtp3Hrosemc fiJ7CWvsUsXjeYifpH5ZL30XBE1SmxIUHXvyFj2RAjDB5XVBNMiZx+rYrCfegp6A53Ze lAfA== X-Gm-Message-State: ABy/qLaEo/vRvUVeAZrZaWOaHRqAp8ktqkBfe6ReVlREIvcxNZ44x40q 44MQ8YhbmxVUptr4QoXVhQY58g== X-Received: by 2002:adf:e68d:0:b0:313:fe1b:f447 with SMTP id r13-20020adfe68d000000b00313fe1bf447mr5564326wrm.71.1690118374599; Sun, 23 Jul 2023 06:19:34 -0700 (PDT) Received: from krzk-bin.. ([178.197.223.104]) by smtp.gmail.com with ESMTPSA id t15-20020a5d49cf000000b003143765e207sm9700257wrs.49.2023.07.23.06.19.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 23 Jul 2023 06:19:34 -0700 (PDT) From: Krzysztof Kozlowski To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alim Akhtar , Andy Gross , Bjorn Andersson , Konrad Dybcio , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Jonathan Corbet , Arnd Bergmann , Olof Johansson , soc@kernel.org, workflows@vger.kernel.org, linux-doc@vger.kernel.org, arm@kernel.org Cc: Krzysztof Kozlowski , Conor Dooley Subject: [PATCH v3 2/3] Documentation/process: maintainer-soc: add clean platforms profile Date: Sun, 23 Jul 2023 15:19:23 +0200 Message-Id: <20230723131924.78190-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230723131924.78190-1-krzysztof.kozlowski@linaro.org> References: <20230723131924.78190-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1772219794385839482 X-GMAIL-MSGID: 1772219794385839482 Some SoC platforms require that commits must not bring any new dtbs_check warnings. Maintainers of such platforms usually have some automation set, so any new warning will be spotted sooner or later. Worst case: they run the tests themselves. Document requirements for such platforms, so contributors can expect their patches being dropped or ignored, if they bring new warnings for existing boards. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Conor Dooley --- Changes in v3: 1. Rephrase according to Rob's comments (this document when referenced in maintainers, "... and dtc Compliance", existing warnings are not new warnings). Changes in v2: 1. Add Rb tag. 2. Implement Conor's feedback: change doc title, follow->should follow, minor style changes. --- .../process/maintainer-handbooks.rst | 1 + .../process/maintainer-soc-clean-dts.rst | 25 +++++++++++++++++++ MAINTAINERS | 2 +- 3 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 Documentation/process/maintainer-soc-clean-dts.rst diff --git a/Documentation/process/maintainer-handbooks.rst b/Documentation/process/maintainer-handbooks.rst index 9992bfd7eaa3..976391cec528 100644 --- a/Documentation/process/maintainer-handbooks.rst +++ b/Documentation/process/maintainer-handbooks.rst @@ -17,5 +17,6 @@ Contents: maintainer-netdev maintainer-soc + maintainer-soc-clean-dts maintainer-tip maintainer-kvm-x86 diff --git a/Documentation/process/maintainer-soc-clean-dts.rst b/Documentation/process/maintainer-soc-clean-dts.rst new file mode 100644 index 000000000000..1b32430d0cfc --- /dev/null +++ b/Documentation/process/maintainer-soc-clean-dts.rst @@ -0,0 +1,25 @@ +.. SPDX-License-Identifier: GPL-2.0 + +============================================== +SoC Platforms with DTS Compliance Requirements +============================================== + +Overview +-------- + +SoC platforms or subarchitectures should follow all the rules from +Documentation/process/maintainer-soc.rst. This document referenced in +MAINTAINERS impose additional requirements listed below. + +Strict DTS DT Schema and dtc Compliance +--------------------------------------- + +No changes to the SoC platform Devicetree sources (DTS files) should introduce +new ``make dtbs_check W=1`` warnings. Warnings in a new board DTS, which are +results of issues in an included DTSI file, are considered existing, not new +warnings. The platform maintainers have automation in place which should point +out any new warnings. + +If a commit introducing new warnings gets accepted somehow, the resulting +issues shall be fixed in reasonable time (e.g. within one release) or the +commit reverted. diff --git a/MAINTAINERS b/MAINTAINERS index 7624eb231b65..9fe3870300f2 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1573,7 +1573,7 @@ S: Maintained P: Documentation/process/maintainer-soc.rst C: irc://irc.libera.chat/armlinux T: git git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git -F: Documentation/process/maintainer-soc.rst +F: Documentation/process/maintainer-soc*.rst F: arch/arm/boot/dts/Makefile F: arch/arm64/boot/dts/Makefile