From patchwork Wed Jul 19 14:33:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 122664 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c923:0:b0:3e4:2afc:c1 with SMTP id j3csp2487039vqt; Wed, 19 Jul 2023 07:42:43 -0700 (PDT) X-Google-Smtp-Source: APBJJlHbBy2uJBDBLTQUpU6PmkRm9bblf17b+nQVfABfK1o9pXiCdggQ2UEgyemwbBH3naoR6rt1 X-Received: by 2002:a17:902:f94e:b0:1bb:1523:b2d7 with SMTP id kx14-20020a170902f94e00b001bb1523b2d7mr4865659plb.14.1689777762798; Wed, 19 Jul 2023 07:42:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689777762; cv=none; d=google.com; s=arc-20160816; b=dYrv3ppQc5ZnW6llcJly6qcIuKp2nz63mlaZKZF/syQvEY/MnLI0AaurNaZUVKq5WW HM1hPcx9EzyDUqvYwmxpyG2FMguHhD5wm2e+aKqulQ6niU187DVmI1sua+tuAw1zRU6o gRT7LKuPQY/4DtWHEV8wpZXpXLw8RmTNMPjbFJ4MESo2kjFgYiarXmi4f/FEIQgWdoyZ a/bdNIK7wHcbakDoTfGKgO0NC+mLT62AwDnZE8y0V/SHVyc5rnIjagBckRu+Tk77ToMA 1KJ2pH85syNRHEMuV1djLS7Qy37H6MIGQSNvMfkutyDFPV2DMBP5k10YHsOBGUpyjnPm vlRg== 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=/v1Uf60tNTGfAfR1+MaSMHHKItd8uNKnfMyyizLcMis=; fh=TJMXEqnxYG3B5A1w29HgsqDSipJUb+ZGquY7sCkFLQU=; b=XpEKC0dX0NV58+n9MnKGC/x3vck6UeejhWgyA7qGk6Yopy16uQXZhaN4fR3iOjyDTo aruWikUS+BVZAvLLEzCD5nA9mrOLFzgvVLk4z5055C/BbEPIsdEZinMeK4hVLxwAP6EL F78IPDc9tVJiC0SJ6KWx/Zv6/eWgpcXssREvvKXiCo091JxfzlCfXJCXLGJT/iT96mOm RoS+/Zy5C0aQsR2u/71nnSB41BTn/LtSUaK9AQ4D+ll/WgETl2GwbveIAGboIVYOJrOC +7Vb1vUv239g3H1ejC4kKV2J/SwLuTMGL7go6J/jzg8BJ37WEhzU7zyhsvPgdnV2QTdl CXaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JxURig7F; 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 e6-20020a170902cf4600b001bb1504b696si3457987plg.4.2023.07.19.07.42.29; Wed, 19 Jul 2023 07:42:42 -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=JxURig7F; 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 S231646AbjGSOda (ORCPT + 99 others); Wed, 19 Jul 2023 10:33:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60522 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231591AbjGSOd2 (ORCPT ); Wed, 19 Jul 2023 10:33:28 -0400 Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D84D5171D for ; Wed, 19 Jul 2023 07:33:18 -0700 (PDT) Received: by mail-ej1-x62c.google.com with SMTP id a640c23a62f3a-992dcae74e0so953513166b.3 for ; Wed, 19 Jul 2023 07:33:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1689777197; x=1692369197; 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=/v1Uf60tNTGfAfR1+MaSMHHKItd8uNKnfMyyizLcMis=; b=JxURig7FBAAC/3I9yT3aHiTqXeWWAq0k+MGxx7xZ1vdG66aZ7E/pUW+2Vufm3nF5nt PQRijfFThwLLN+R5vZT+cepzhH9bJqUTHAarRy2saW3hXq0sJ+TgQOkCl+S7betr+2r4 I1Zsk8Y7AgA3q1gZu0RQooyDAQxZjPz6YNJQzKEERCq/hVknWzKJFTWLjFxbal365wUH higiPiWNIGJF2pPpBfQgRyGJaMGwb1cxsbX9puXisiBFXZQrdHTSdqFzuFAunWwO7ky5 n2Ptixa7nFwWUw+pilJzQBH9JRPhhLbsxRKczXkhgBHDa0LDjyKeZ5DgA9xVDlY0EP/t jfRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689777197; x=1692369197; 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=/v1Uf60tNTGfAfR1+MaSMHHKItd8uNKnfMyyizLcMis=; b=A8LzexzSldDJw2gZ9V+z2YDhsWGiBpodiwR/lZvYxhXnPpBdRMIGAJ8gJgwogbozm2 8unm6kymNk0dziKBgsGKFFI61wM/x6owqm4UZ1Bdp+DJXiRuaaP1XNcNAYsbBOuTGwIX 7TjkjXqiv+9Vxu6T2p2+WPtfWvW3jhRwl6aTsW/lJU1Bt344g81APzyqmmHMO7fL0EPv jHSgXmLc7MFACrnv1g/JDSVMqAlkwcq5qhjjtq0OCq16oupNmrDFq92Jy6vhA9n/be9l Ix4tbjtMWofqJN4g6zswvUBwn9EKYkDvaGrEGC/FHAR1sqf76lJ0K1ZJwc+jz0Pl1r2a 8IRA== X-Gm-Message-State: ABy/qLZJLsoTurDM90xfu3JjQG0ysSTzChLKwyrTDabOToL4IDb0JxKs JuN6YaLIbrzljScg/ij0E/hiLA== X-Received: by 2002:a17:906:77cf:b0:993:d47f:3c84 with SMTP id m15-20020a17090677cf00b00993d47f3c84mr2864253ejn.7.1689777197337; Wed, 19 Jul 2023 07:33:17 -0700 (PDT) Received: from krzk-bin.. ([178.197.223.104]) by smtp.gmail.com with ESMTPSA id e9-20020a170906374900b009893650453fsm2454597ejc.173.2023.07.19.07.33.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Jul 2023 07:33:16 -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 v2 2/3] Documentation/process: maintainer-soc: add clean platforms profile Date: Wed, 19 Jul 2023 16:33:08 +0200 Message-Id: <20230719143309.204766-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230719143309.204766-1-krzysztof.kozlowski@linaro.org> References: <20230719143309.204766-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_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham 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: 1771860407203661525 X-GMAIL-MSGID: 1771860407203661525 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 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 | 23 +++++++++++++++++++ MAINTAINERS | 2 +- 3 files changed, 25 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..c460923f39be --- /dev/null +++ b/Documentation/process/maintainer-soc-clean-dts.rst @@ -0,0 +1,23 @@ +.. 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. However platforms referencing +this document impose additional requirements listed below. + +Strict DTS DT Schema Compliance +------------------------------- + +No changes to the SoC platform Devicetree sources (DTS files) should introduce +new ``make dtbs_check W=1`` warnings. The platform maintainers have automation +in place which should point out any new warnings. + +If a commit introducing new warning 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 ba5e7344f30e..a70c32790427 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