From patchwork Wed Dec 6 11:17:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 1872599 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=kkWOUTBE; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2604:1380:40f1:3f00::1; helo=sy.mirrors.kernel.org; envelope-from=devicetree+bounces-22231-incoming-dt=patchwork.ozlabs.org@vger.kernel.org; receiver=patchwork.ozlabs.org) Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org [IPv6:2604:1380:40f1:3f00::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4SlZdF3KDWz23nQ for ; Wed, 6 Dec 2023 22:17:53 +1100 (AEDT) Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id C6942B20E4D for ; Wed, 6 Dec 2023 11:17:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A96C931A64; Wed, 6 Dec 2023 11:17:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="kkWOUTBE" X-Original-To: devicetree@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5662E3172A; Wed, 6 Dec 2023 11:17:42 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DEC36C433C7; Wed, 6 Dec 2023 11:17:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701861461; bh=SGDDtanpuy2F23oyCza+p5DlVsIoWTxJOOMzvs5zlaw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kkWOUTBEiXapYrbVBAwbZ4TRaU50H/SRZeVWkIsHXxrJrrqpudu9m/shx+NPO9/7w Ocvr/C6SnwgIkgEWxC/f+2kfViekOgLNi+zlP/N9ugGlxEJbVtEJdPaDE/efW9o35T 1kxdCrtiZzK2HuryahEBS0/chuQCzSzTl9WkV0CLOaDPtBwIZy0HK6238DjL9MaGVV L5rGuAVGERlCQvbTHzXnWqDVFOYhIjFz/OV8PeLS5667rzR9onPgo/iXGGlDXIeHqy oRSa0UnpiuwPjwdgpgGRwXDcfRJwgYIECfej++iAOgqHiCmhARuX0vNE12fAiZ6QDX g9PpsR97PDp5A== Received: from johan by xi.lan with local (Exim 4.96.2) (envelope-from ) id 1rApvA-0001wG-1i; Wed, 06 Dec 2023 12:18:28 +0100 From: Johan Hovold To: Lee Jones Cc: Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Andy Gross , Bjorn Andersson , Konrad Dybcio , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, Johan Hovold , Rob Herring Subject: [PATCH v3 2/4] dt-bindings: mfd: hisilicon,hi6421-spmi-pmic: fix regulator binding Date: Wed, 6 Dec 2023 12:17:52 +0100 Message-ID: <20231206111754.7410-3-johan+linaro@kernel.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231206111754.7410-1-johan+linaro@kernel.org> References: <20231206111754.7410-1-johan+linaro@kernel.org> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 The regulator child nodes do not have unit addresses so drop the incorrect '#address-cells' and '#size-cells' properties from the parent 'regulators' node. Fixes: 352335a6aced ("staging: hikey9xx: hisilicon, hi6421-spmi-pmic.yaml: simplify props") Reviewed-by: Rob Herring Signed-off-by: Johan Hovold --- .../bindings/mfd/hisilicon,hi6421-spmi-pmic.yaml | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/Documentation/devicetree/bindings/mfd/hisilicon,hi6421-spmi-pmic.yaml b/Documentation/devicetree/bindings/mfd/hisilicon,hi6421-spmi-pmic.yaml index e36e5ce58136..45cd6a613a91 100644 --- a/Documentation/devicetree/bindings/mfd/hisilicon,hi6421-spmi-pmic.yaml +++ b/Documentation/devicetree/bindings/mfd/hisilicon,hi6421-spmi-pmic.yaml @@ -42,13 +42,6 @@ properties: additionalProperties: false - properties: - '#address-cells': - const: 1 - - '#size-cells': - const: 0 - patternProperties: '^ldo[0-9]+$': type: object @@ -77,9 +70,6 @@ examples: interrupts = <0 0>; regulators { - #address-cells = <1>; - #size-cells = <0>; - ldo3: ldo3 { regulator-name = "ldo3"; regulator-min-microvolt = <1500000>;