From patchwork Fri Dec 1 16:45:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 749578 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 793F54CE10; Fri, 1 Dec 2023 16:46:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="LddZIwzl" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DCF46C433CD; Fri, 1 Dec 2023 16:46:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701449206; bh=wLgR6MqTrL0B4AsUWLMzOT2VikZmtlYBcwK7nvTkcP0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LddZIwzlhQz6gRegEWtKJcWDVOYAOe6RsF2z7+GpqD+WdWTI17vEZIvhqqhSupghO WKaclVqZPynYBmatr+Z+kl3VBx+RtHASr0RsIYNar1XkLpDWJ7xm/yblPtWH4RBfoS TNPuXaSWVTXlVgg8Sc1/vTLiapEL1o8/Hp0KZSCfPYZ1fOgLHDOUHnzstQ4SK2F9FY HSulWjG/OkAXOcs7sSwbs66EbvuWEcsq0gu8olaKIqD2h+6XC+IaapQXd0AVVQDUt1 9keenpY4HXlVGphrBotJDPkdDQggMvQxBtOf/xt+w4sZHN9hR13q7ydt0hJDIe082i 50b3+G1yicRSA== Received: from johan by xi.lan with local (Exim 4.96.2) (envelope-from ) id 1r96fj-0003IS-06; Fri, 01 Dec 2023 17:47:23 +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 , Krzysztof Kozlowski Subject: [PATCH v2 1/4] dt-bindings: mfd: hisilicon,hi6421-spmi-pmic: fix up binding reference Date: Fri, 1 Dec 2023 17:45:43 +0100 Message-ID: <20231201164546.12606-2-johan+linaro@kernel.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231201164546.12606-1-johan+linaro@kernel.org> References: <20231201164546.12606-1-johan+linaro@kernel.org> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Fix up the SPMI PMIC binding document free text reference which erroneously referred to itself rather than the parent SPMI controller binding as intended. Fixes: 9e5917288545 ("dt: document HiSilicon SPMI controller and mfd/regulator properties") Reviewed-by: Krzysztof Kozlowski Signed-off-by: Johan Hovold --- .../devicetree/bindings/mfd/hisilicon,hi6421-spmi-pmic.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mfd/hisilicon,hi6421-spmi-pmic.yaml b/Documentation/devicetree/bindings/mfd/hisilicon,hi6421-spmi-pmic.yaml index bdff5b653453..e36e5ce58136 100644 --- a/Documentation/devicetree/bindings/mfd/hisilicon,hi6421-spmi-pmic.yaml +++ b/Documentation/devicetree/bindings/mfd/hisilicon,hi6421-spmi-pmic.yaml @@ -17,7 +17,7 @@ description: | node. The SPMI controller part is provided by - Documentation/devicetree/bindings/mfd/hisilicon,hi6421-spmi-pmic.yaml + Documentation/devicetree/bindings/spmi/hisilicon,hisi-spmi-controller.yaml properties: $nodename: From patchwork Fri Dec 1 16:45:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 749580 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 45F1D495C7; Fri, 1 Dec 2023 16:46:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="uY+PvO1S" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D3E04C433C9; Fri, 1 Dec 2023 16:46:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701449206; bh=xDVPMQd9A2W8u2+/8JI2ebYPTKJS6OCJRFu32DgoLik=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=uY+PvO1S03Humufsfsj2DHvI2+GYSLvtR1QjAbwGAik0BX9qFoqVG2f70w0plapHX CG328qxTt68B1rlfEZhH8f3nVa/TSefo4hU6eV0zIaVzAq2BcEFbwIwOuPbXEnBpOB EZyhh2wENBoW9WkFSKjuQi8sOPBspmlPPkrLvc+fdasB8jDqRjMs9+bXL4WKDoWiWh AdwFpZlDdesVP4rIrX3jPvdk6V+en71o413t3tXIM/EJ5ycC56P2bp62FHG+nzc09a IVOOhtaeRmMvNFxYHft4kRxlVGTgktDOwzXjeTcIp1TeWtiZa3pE0rjD+T9Pb1si0L Hnw/GcxSHzwZw== Received: from johan by xi.lan with local (Exim 4.96.2) (envelope-from ) id 1r96fj-0003IU-0L; Fri, 01 Dec 2023 17:47:23 +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 Subject: [PATCH v2 2/4] dt-bindings: mfd: hisilicon,hi6421-spmi-pmic: fix regulator binding Date: Fri, 1 Dec 2023 17:45:44 +0100 Message-ID: <20231201164546.12606-3-johan+linaro@kernel.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231201164546.12606-1-johan+linaro@kernel.org> References: <20231201164546.12606-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") 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>;