Message ID | 20231130172547.12555-5-johan+linaro@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp554107vqy; Thu, 30 Nov 2023 09:26:26 -0800 (PST) X-Google-Smtp-Source: AGHT+IFVXSTTnWL4Xz/wY2tG8jYGDV2o1pHOXIVVUdabI2bzqPrh4jVshh0INz8HIVrwZc7IBk0w X-Received: by 2002:a17:902:ee95:b0:1cc:6dd5:59e8 with SMTP id a21-20020a170902ee9500b001cc6dd559e8mr20029582pld.26.1701365186303; Thu, 30 Nov 2023 09:26:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701365186; cv=none; d=google.com; s=arc-20160816; b=tdCMeguQN1PjZ7P3xbXy8bnXE6zzE98AUlQCzVzpr8AzHxIVCh5IK8HkgRRIT1rFf5 8XLmZf6QiJ6+y2YEzVDa5R+qFge/m5z1HnGEIsr0piXc4+FfPJh+HHbr6C4fCk9Fcnsv zASOzb0W3fwhnI+UrQkmUJrSKJeEqnm5yfk6v6/OvR/x92Lgy6b9IPpdJf2AWsiw5Fyj lymWwGy5XY9NWZuZ0jqTl28JrnFt7AW6va97/Dy6dj6SueTsm9JRX7CqHZDH5SKxLIQA c47veRwNkhQJocYb2U2iPFQrO1yJRRdBI+t/oSJS9T9seIe02IQqTW6xbA9yAdTvV+TH zVnw== 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=50vPp8wzilrftqsXawQJsg2pLkTwKyN7LmpKfaFnPeQ=; fh=hWeeVyf1HK5HLn009ewyx5z8J9dlBGpb3HWEii9Ckzk=; b=JDKjRZzwUiAMtQST7CWRXfvIHVm985DyW+gPWMqbASgEDzO4hijuwPNxj0gznDmlfT DLy+1DPJL5OkHx7fhcnzClqS0BWgEWFGUp4ubKTSILUDEy2YEvtvJEYYMsBXFQZxkcww c0PvEOHBcjrZQ5MqRPdY/37unDEUinuShQSFEQ7qdBjy0wg8P8emM9Ot7hJm4X7JEdEl zlhGXjLinqa6iemxwd49ZPQ5+M386lvnT8shQSit3qngJtW/Cp1M4RTZWaLWn0HfOqHx OvCaQLWIgzJPQbfSJcW7P0xbKSAKHGXVRNcFnB7iBa5GWvarGiYye/J3zi7Yd+KbF4BZ dLbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="geoC9/gW"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id u23-20020a170902a61700b001d00d3eef15si1579999plq.456.2023.11.30.09.26.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Nov 2023 09:26:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="geoC9/gW"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id D07A9807D6B9; Thu, 30 Nov 2023 09:25:47 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346226AbjK3RZ0 (ORCPT <rfc822;ruipengqi7@gmail.com> + 99 others); Thu, 30 Nov 2023 12:25:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56798 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232220AbjK3RZU (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 30 Nov 2023 12:25:20 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6C72F10D4 for <linux-kernel@vger.kernel.org>; Thu, 30 Nov 2023 09:25:26 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0731CC07615; Thu, 30 Nov 2023 17:25:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701365126; bh=hSnEWQ5BFd65oW3upSVnQ42R/owuCp6Usl1kLC5b1FA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=geoC9/gWAv6GcCrKW2qGzId615qUlwWxVb1ElZClUBeFckIAtvXkxTszffYp2we0P LZvDG/pGS9thgKwWHFuRzGBlnTUD//23Y0E/7YEzE1O4jQcmOX8rIiBu/KhTgLnXd5 q7oktWMzroeb+ay/Q7MgZv8ciwm6g60cu3+C2PJ3wdKliW2LjIDvtxaE+ZDbuifSu3 S9iKTcKNJH+6PWb4pjfzyQx+srdgZjnJkTi0LNloxr8u2QDILbgszAUkXrUSeHFLhV vf+6v0p+Fs9QrjsED2O0nKERxwNX6J4UhVaFof94wAKpoG4UVBa/BuTg91CojLJDn0 +ebrEI1FaseAg== Received: from johan by xi.lan with local (Exim 4.96.2) (envelope-from <johan+linaro@kernel.org>) id 1r8knX-0003H2-1m; Thu, 30 Nov 2023 18:25:59 +0100 From: Johan Hovold <johan+linaro@kernel.org> To: Lee Jones <lee@kernel.org> Cc: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, Johan Hovold <johan+linaro@kernel.org> Subject: [PATCH 4/4] dt-bindings: mfd: pm8008: fix example node names Date: Thu, 30 Nov 2023 18:25:47 +0100 Message-ID: <20231130172547.12555-5-johan+linaro@kernel.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231130172547.12555-1-johan+linaro@kernel.org> References: <20231130172547.12555-1-johan+linaro@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, 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 lipwig.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Thu, 30 Nov 2023 09:25:48 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784010701766611119 X-GMAIL-MSGID: 1784010701766611119 |
Series |
dt-bindings: mfd: fix up PMIC examples
|
|
Commit Message
Johan Hovold
Nov. 30, 2023, 5:25 p.m. UTC
Devicetree node names should be generic; fix up the pm8008 binding
example accordingly.
Fixes: b0572a9b2397 ("dt-bindings: mfd: pm8008: Add bindings")
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
---
Documentation/devicetree/bindings/mfd/qcom,pm8008.yaml | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
Comments
On 30/11/2023 18:25, Johan Hovold wrote: > Devicetree node names should be generic; fix up the pm8008 binding > example accordingly. > > Fixes: b0572a9b2397 ("dt-bindings: mfd: pm8008: Add bindings") No, there is no bug here. The generic node names rule is just a style issue, not a bug. We have never marked these as bugs even in DTS where they matter. Here, it is an example, so it would not matter anyway. Best regards, Krzysztof
On Fri, Dec 01, 2023 at 09:35:30AM +0100, Krzysztof Kozlowski wrote: > On 30/11/2023 18:25, Johan Hovold wrote: > > Devicetree node names should be generic; fix up the pm8008 binding > > example accordingly. > > > > Fixes: b0572a9b2397 ("dt-bindings: mfd: pm8008: Add bindings") > > No, there is no bug here. The generic node names rule is just a style > issue, not a bug. We have never marked these as bugs even in DTS where > they matter. Here, it is an example, so it would not matter anyway. Here I agree with you, this is just a cleanup. Johan
diff --git a/Documentation/devicetree/bindings/mfd/qcom,pm8008.yaml b/Documentation/devicetree/bindings/mfd/qcom,pm8008.yaml index 24c6158f73ae..32ea898e3ca9 100644 --- a/Documentation/devicetree/bindings/mfd/qcom,pm8008.yaml +++ b/Documentation/devicetree/bindings/mfd/qcom,pm8008.yaml @@ -88,10 +88,11 @@ examples: - | #include <dt-bindings/interrupt-controller/irq.h> #include <dt-bindings/gpio/gpio.h> - qupv3_se13_i2c { + i2c { #address-cells = <1>; #size-cells = <0>; - pm8008i@8 { + + pmic@8 { compatible = "qcom,pm8008"; reg = <0x8>;