Message ID | 20230627-topic-more_bindings-v1-9-6b4b6cd081e5@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp8339414vqr; Tue, 27 Jun 2023 09:57:50 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4BNGIP8nL1M9gIBp289VqtM163Tm8RT7yEfXQ5BUgNADzahDVara/epHN+5qNEhRz0n8kZ X-Received: by 2002:a17:907:847:b0:978:9666:2ea6 with SMTP id ww7-20020a170907084700b0097896662ea6mr23112188ejb.66.1687885069968; Tue, 27 Jun 2023 09:57:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687885069; cv=none; d=google.com; s=arc-20160816; b=WZ/0Eqsmp0BCZI9dIFkJpHJwjh40nw5xNfP+YJgFvEmLaDmQ1pgmNe+CAX5/vvj3Ie p7l97xDpxB6T0914tfIEGYMIPbL2Kec0G5z82bgTuTHPnX8U2KFsGrqnYDxmFkL+dFHv 2QMXSTuWx9YDbQXGIovxDcbRJ7DR1qYJw9IM5oODlFMhMAtkE5FgijLRqRTCflaFoF5p TlcQI8vjNhZfBb8ERUue/AnlFZ7JYW3yZpLry8Lv9vQdZgWE2dn4LaY0oJg6UFvwrCiz Htd4Jd1vYpwdmoYaLOczrTJA6ElsSREa2QiGX8IifRf5nMyGHFvKBjlILPucAz0l5ENh TwAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=Q33POZnKUnc44DnNl9mQs414WVdMBUFcIaqMk7TwHgM=; fh=BdXWhCLYHoLnZB3p1ID/7OfEQhg1SSFfw7f+7JR49ls=; b=toVnJAydx/DWIIumS1g53JIzykOiUhYezQ3Jnw+AoqDPYjS3jb8+emQ8F9ptPwl7M0 SDbAyZHcxLp/k5iAc0/DPWgnbeulFHYzuFH/Lb5GdtAlTRNMIwXAY7JkBPcTeAKxDeIs qBRzmPj1iXuS81fQ/36d+FNRPoMoVHjQNHqiaYDVnymKdu/Ggc8nusyfE3WW3WM7hyBj wjjKwa+VArTUwZOE0CXZnhpZJgojne3nN5H4ahkWACV+tUqVp+mNO86d20IUzf6NvA0h FdWupgaBRLcCwxc+8StpOc/3k2VnN+4Vx7n2n4rqPpIDrUWu9m6iV08RbZY9cTuwQbhn zpsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QYqAGssg; 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 pv3-20020a170907208300b0098cdb2cde40si4755427ejb.813.2023.06.27.09.57.25; Tue, 27 Jun 2023 09:57:49 -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=QYqAGssg; 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 S232399AbjF0QZm (ORCPT <rfc822;nicolai.engesland@gmail.com> + 99 others); Tue, 27 Jun 2023 12:25:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46492 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232390AbjF0QZF (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 27 Jun 2023 12:25:05 -0400 Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BA70930EA for <linux-kernel@vger.kernel.org>; Tue, 27 Jun 2023 09:25:01 -0700 (PDT) Received: by mail-lf1-x12c.google.com with SMTP id 2adb3069b0e04-4fa16c6a85cso4820123e87.3 for <linux-kernel@vger.kernel.org>; Tue, 27 Jun 2023 09:25:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687883100; x=1690475100; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=Q33POZnKUnc44DnNl9mQs414WVdMBUFcIaqMk7TwHgM=; b=QYqAGssgz0Eg7BvDE9m0UQjkpMaZujlgUxNELGTmjD/MUVciTwQqEoa6l1YospPYtK 9RQXvrhYxwr7/oTsoUsYNvG996nx+nOAwJU/4w7mkXKc1u6gCJODyPi+N1RCjTrUBoHT G9iqKDcKCSr8Tp5OT86Bf+Sbj4Ap0iFnrDivV0NFWY6HiPjy/vysASuy3DssXAjL6Q70 NtJaI/MD19Zj2FiWLhrRuLnqPI77AqLWTsRzGQYDC31x1m0Ov41R9rnU48UkL1od+hXN gO3ZFvK3qr6OjgPRkphBhwnN7jzLsS3vm7o/d+TSkeXLXX7LBCXRe4l46p6vNfbq2Kzv 5Z/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687883100; x=1690475100; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Q33POZnKUnc44DnNl9mQs414WVdMBUFcIaqMk7TwHgM=; b=hIPdZDr89slNivV/rHCxdZ8EhcjtS7ZIlVvZ50FsVd+9HwBW0HmH8+2XJSWsuS3cZR THmOBaLVFbeSbfFbhuGiz5IecF1DqP1Oap+JkxyAujzawEwgsbxGoqGWQdO7k0KAfqxG 5u+NPevOyspS2Og7Xw2JiJNwVTYG0zTmduZ/wlnRUeez1jnUlQ3E10gBfh26n7OfiDvC OxqTFB36TEDoD/cPCmbfEu4PLcrpdJDwBwWMZ9vAGRZtA/XEyk+rY2cfFtUxJcBEy+R1 m0/DW4ZftEW1veZOaBUriWZagq5xpdupPtMdF72naHEWJSxoBPnMa8aFIHnMmxBJsjdB 1kwQ== X-Gm-Message-State: AC+VfDx3KNitNvxkVsoOeijB89xbW/xL0qqB5hiXDBFAthoU6aGENB8V XfQasLCfezHcaaNI1ocxHXlbog== X-Received: by 2002:a05:6512:3d26:b0:4fb:89c1:c209 with SMTP id d38-20020a0565123d2600b004fb89c1c209mr1281822lfv.62.1687883100008; Tue, 27 Jun 2023 09:25:00 -0700 (PDT) Received: from [192.168.1.101] (abxj103.neoplus.adsl.tpnet.pl. [83.9.3.103]) by smtp.gmail.com with ESMTPSA id g7-20020a19ac07000000b004fb259a5589sm1190508lfc.104.2023.06.27.09.24.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Jun 2023 09:24:59 -0700 (PDT) From: Konrad Dybcio <konrad.dybcio@linaro.org> Date: Tue, 27 Jun 2023 18:24:25 +0200 Subject: [PATCH 09/11] dt-bindings: arm: msm: kpss-acc: Make the optional reg truly optional MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230627-topic-more_bindings-v1-9-6b4b6cd081e5@linaro.org> References: <20230627-topic-more_bindings-v1-0-6b4b6cd081e5@linaro.org> In-Reply-To: <20230627-topic-more_bindings-v1-0-6b4b6cd081e5@linaro.org> To: cros-qcom-dts-watchers@chromium.org, Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Dmitry Baryshkov <dmitry.baryshkov@linaro.org>, Benjamin Li <benl@squareup.com>, James Willcox <jwillcox@squareup.com>, Joseph Gates <jgates@squareup.com>, Stephan Gerhold <stephan@gerhold.net>, Zac Crosby <zac@squareup.com>, Srinivas Kandagatla <srinivas.kandagatla@linaro.org>, Banajit Goswami <bgoswami@quicinc.com>, Liam Girdwood <lgirdwood@gmail.com>, Mark Brown <broonie@kernel.org>, Lee Jones <lee@kernel.org>, Stephen Boyd <sboyd@kernel.org>, Joerg Roedel <joro@8bytes.org>, Will Deacon <will@kernel.org>, Robin Murphy <robin.murphy@arm.com>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Xu Yang <xu.yang_2@nxp.com>, Peng Fan <peng.fan@nxp.com>, Christian Marangi <ansuelsmth@gmail.com>, Wesley Cheng <quic_wcheng@quicinc.com>, Jun Nie <jun.nie@linaro.org>, Max Chen <mchen@squareup.com>, Shawn Guo <shawn.guo@linaro.org>, Vivek Gautam <vivek.gautam@codeaurora.org> Cc: Marijn Suijten <marijn.suijten@somainline.org>, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Vincent Knecht <vincent.knecht@mailoo.org>, Bryan O'Donoghue <bryan.odonoghue@linaro.org>, Konrad Dybcio <konradybcio@kernel.org>, alsa-devel@alsa-project.org, iommu@lists.linux.dev, linux-usb@vger.kernel.org, Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>, Leo Yan <leo.yan@linaro.org>, Rob Herring <robh@kernel.org>, Andy Gross <andy.gross@linaro.org>, Konrad Dybcio <konrad.dybcio@linaro.org> X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1687883074; l=947; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=wt3diYHxaifCvK5Xl8Y/T0S8CL1BVeC3ZMzX71Qv7t0=; b=LUZZ9rw1io0j4EW3EhtpAO7GnVfigJDEYVe/+eZsBuOm+mcYfTwRC4+7VMCWlKK93ARSOPAoO RkmO+n5mJD7A/i1W37MwjkK+vgktyNsi+MknPe8Bf8NUXAKU42wjmD/ X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= 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,URIBL_BLOCKED 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769875775199844568?= X-GMAIL-MSGID: =?utf-8?q?1769875775199844568?= |
Series |
Even more msm bindings fixes
|
|
Commit Message
Konrad Dybcio
June 27, 2023, 4:24 p.m. UTC
The description of reg[1] says that register is optional. Adjust
minItems to make it truly optional.
Fixes: 12f40018b6a9 ("dt-bindings: arm: msm: Convert kpss-acc driver Documentation to yaml")
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
Documentation/devicetree/bindings/arm/msm/qcom,kpss-acc.yaml | 1 +
1 file changed, 1 insertion(+)
Comments
On Tue, 27 Jun 2023 18:24:25 +0200, Konrad Dybcio wrote: > The description of reg[1] says that register is optional. Adjust > minItems to make it truly optional. > > Fixes: 12f40018b6a9 ("dt-bindings: arm: msm: Convert kpss-acc driver Documentation to yaml") > Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org> > --- > Documentation/devicetree/bindings/arm/msm/qcom,kpss-acc.yaml | 1 + > 1 file changed, 1 insertion(+) > Acked-by: Rob Herring <robh@kernel.org>
On 27/06/2023 18:24, Konrad Dybcio wrote: > The description of reg[1] says that register is optional. Adjust > minItems to make it truly optional. > > Fixes: 12f40018b6a9 ("dt-bindings: arm: msm: Convert kpss-acc driver Documentation to yaml") > Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org> > --- This patch does not make sense. It wasn't also tested. The code (minItems) is already there. Best regards, Krzysztof
On 24/07/2023 11:05, Krzysztof Kozlowski wrote: > On 27/06/2023 18:24, Konrad Dybcio wrote: >> The description of reg[1] says that register is optional. Adjust >> minItems to make it truly optional. >> >> Fixes: 12f40018b6a9 ("dt-bindings: arm: msm: Convert kpss-acc driver Documentation to yaml") >> Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org> >> --- > > This patch does not make sense. It wasn't also tested. The code > (minItems) is already there. What's more - there is no such commit as 12f40018b6a9! Bjorn, You might find this useful (fake Fixes tag should be detected): https://github.com/krzk/tools/blob/master/linux/git-hooks-post-commit Best regards, Krzysztof
diff --git a/Documentation/devicetree/bindings/arm/msm/qcom,kpss-acc.yaml b/Documentation/devicetree/bindings/arm/msm/qcom,kpss-acc.yaml index 5e16121d9f0d..75b6287db2c9 100644 --- a/Documentation/devicetree/bindings/arm/msm/qcom,kpss-acc.yaml +++ b/Documentation/devicetree/bindings/arm/msm/qcom,kpss-acc.yaml @@ -22,6 +22,7 @@ properties: - qcom,kpss-acc-v2 reg: + minItems: 1 items: - description: Base address and size of the register region - description: Optional base address and size of the alias register region