From patchwork Wed Jan 11 08:23:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 13096249 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id EE416C46467 for ; Wed, 11 Jan 2023 08:26:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229581AbjAKIZg (ORCPT ); Wed, 11 Jan 2023 03:25:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43080 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229905AbjAKIZA (ORCPT ); Wed, 11 Jan 2023 03:25:00 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B4C413D1D; Wed, 11 Jan 2023 00:24:47 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id DDED4B81B33; Wed, 11 Jan 2023 08:24:45 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 86071C433F0; Wed, 11 Jan 2023 08:24:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1673425484; bh=BPljOig+xKy24pgRlRnkd1G+bk5V6isDCXGiuoL0TY4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BOdJSFKsKlY2dfI9dkvFIv+k+CHMWLwV+5dy07g6cb2moEOiAblx09bNYQlzUuF/l 1ckzGFbBAJzbO48IjApOCGwfhEy3fUn4rC12QcfZpNXs3iJHtN8zdWo1wzzJSvyk22 ZfLSGIuMVntAoZ39h1kqVX6tQbETbDYAxU+h70A/H9rXJH8D5VfxRQPri3MYxyaypx vy5UtC84k7W0h0oGruHBxfyedt3n8HLqYMQyuK5zLm35VDfhXDLMYquyxozHg899j6 ISUo/MgBiwZA8sXtE/ZRJWQUaZj2hi9xZmSYhQ7a4gm9jw71IqtGnoN5Nd9tYQq67w OkQXmhZ/gBeYA== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1pFWPd-0005OY-AW; Wed, 11 Jan 2023 09:24:45 +0100 From: Johan Hovold To: Bjorn Andersson , Andy Gross Cc: Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Eric Chanudet , Andrew Halaney , Brian Masney , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH 1/2] arm64: dts: qcom: sa8450p-pmics: add missing interrupt include Date: Wed, 11 Jan 2023 09:23:30 +0100 Message-Id: <20230111082331.20641-2-johan+linaro@kernel.org> X-Mailer: git-send-email 2.38.2 In-Reply-To: <20230111082331.20641-1-johan+linaro@kernel.org> References: <20230111082331.20641-1-johan+linaro@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add the missing interrupt-controller include which is needed by the RTC node. Signed-off-by: Johan Hovold Reviewed-by: Brian Masney Reviewed-by: Eric Chanudet --- arch/arm64/boot/dts/qcom/sa8540p-pmics.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/qcom/sa8540p-pmics.dtsi b/arch/arm64/boot/dts/qcom/sa8540p-pmics.dtsi index c9b8da43b237..8c393f0bd6a8 100644 --- a/arch/arm64/boot/dts/qcom/sa8540p-pmics.dtsi +++ b/arch/arm64/boot/dts/qcom/sa8540p-pmics.dtsi @@ -4,6 +4,7 @@ * Copyright (c) 2022, Linaro Limited */ +#include #include &spmi_bus { From patchwork Wed Jan 11 08:23:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 13096248 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DE99EC54EBE for ; Wed, 11 Jan 2023 08:26:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229881AbjAKIZc (ORCPT ); Wed, 11 Jan 2023 03:25:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42156 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230407AbjAKIZB (ORCPT ); Wed, 11 Jan 2023 03:25:01 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B35E13D1B; Wed, 11 Jan 2023 00:24:47 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id D6DC0B81B32; Wed, 11 Jan 2023 08:24:45 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 86039C433EF; Wed, 11 Jan 2023 08:24:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1673425484; bh=ZHWrxxWG1aa1/gmTv0VNeABPQiucbBgJ8zRbl6lL6xc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=AhGeMCUAwQXovFMb5lPuZ/+om2PC8LTFyPG/wQhzudJkTKPHJ2CA4FYOENEj4xyJ5 CZTrOF4ED5iVPJ/wxKx4qJHVOWdL+lTfJvuDhXtHj8JysZWCIMqMJLJxl1kDq4J1/E 0B9hJ7vfLJGz/i8o+zYe5jUCLF0eGfxaXmImW5b+RKXS17gf48BYEbGNM7VVtpSQ6V 91oel9Wm+HNegzQq0YM6c7on+xAyPp9SOEw8jX5XeWUaEUBt3/eyBiLMFKkx/ytu9v e2Giu/sXpsRY7szj+wDbGRdCUfYDhzsLDo6qFmEtnKRSadXL8X2oFzFF+g77/BrBUq 4aK21TcrRftxg== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1pFWPd-0005Oa-Dc; Wed, 11 Jan 2023 09:24:45 +0100 From: Johan Hovold To: Bjorn Andersson , Andy Gross Cc: Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Eric Chanudet , Andrew Halaney , Brian Masney , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH 2/2] arm64: dts: qcom: sa8450p-pmics: rename pmic labels Date: Wed, 11 Jan 2023 09:23:31 +0100 Message-Id: <20230111082331.20641-3-johan+linaro@kernel.org> X-Mailer: git-send-email 2.38.2 In-Reply-To: <20230111082331.20641-1-johan+linaro@kernel.org> References: <20230111082331.20641-1-johan+linaro@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The SA8540P PMICs are named PMM8540. Rename the devicetree source labels to reflect this. Signed-off-by: Johan Hovold Reviewed-by: Brian Masney Reviewed-by: Konrad Dybcio Reviewed-by: Eric Chanudet --- arch/arm64/boot/dts/qcom/sa8540p-pmics.dtsi | 24 ++++++++++----------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sa8540p-pmics.dtsi b/arch/arm64/boot/dts/qcom/sa8540p-pmics.dtsi index 8c393f0bd6a8..1221be89b3de 100644 --- a/arch/arm64/boot/dts/qcom/sa8540p-pmics.dtsi +++ b/arch/arm64/boot/dts/qcom/sa8540p-pmics.dtsi @@ -8,7 +8,7 @@ #include &spmi_bus { - pm8450a: pmic@0 { + pmm8540a: pmic@0 { compatible = "qcom,pm8150", "qcom,spmi-pmic"; reg = <0x0 SPMI_USID>; #address-cells = <1>; @@ -22,62 +22,62 @@ rtc@6000 { wakeup-source; }; - pm8450a_gpios: gpio@c000 { + pmm8540a_gpios: gpio@c000 { compatible = "qcom,pm8150-gpio", "qcom,spmi-gpio"; reg = <0xc000>; gpio-controller; - gpio-ranges = <&pm8450a_gpios 0 0 10>; + gpio-ranges = <&pmm8540a_gpios 0 0 10>; #gpio-cells = <2>; interrupt-controller; #interrupt-cells = <2>; }; }; - pm8450c: pmic@4 { + pmm8540c: pmic@4 { compatible = "qcom,pm8150", "qcom,spmi-pmic"; reg = <0x4 SPMI_USID>; #address-cells = <1>; #size-cells = <0>; - pm8450c_gpios: gpio@c000 { + pmm8540c_gpios: gpio@c000 { compatible = "qcom,pm8150-gpio", "qcom,spmi-gpio"; reg = <0xc000>; gpio-controller; - gpio-ranges = <&pm8450c_gpios 0 0 10>; + gpio-ranges = <&pmm8540c_gpios 0 0 10>; #gpio-cells = <2>; interrupt-controller; #interrupt-cells = <2>; }; }; - pm8450e: pmic@8 { + pmm8540e: pmic@8 { compatible = "qcom,pm8150", "qcom,spmi-pmic"; reg = <0x8 SPMI_USID>; #address-cells = <1>; #size-cells = <0>; - pm8450e_gpios: gpio@c000 { + pmm8540e_gpios: gpio@c000 { compatible = "qcom,pm8150-gpio", "qcom,spmi-gpio"; reg = <0xc000>; gpio-controller; - gpio-ranges = <&pm8450e_gpios 0 0 10>; + gpio-ranges = <&pmm8540e_gpios 0 0 10>; #gpio-cells = <2>; interrupt-controller; #interrupt-cells = <2>; }; }; - pm8450g: pmic@c { + pmm8540g: pmic@c { compatible = "qcom,pm8150", "qcom,spmi-pmic"; reg = <0xc SPMI_USID>; #address-cells = <1>; #size-cells = <0>; - pm8450g_gpios: gpio@c000 { + pmm8540g_gpios: gpio@c000 { compatible = "qcom,pm8150-gpio", "qcom,spmi-gpio"; reg = <0xc000>; gpio-controller; - gpio-ranges = <&pm8450g_gpios 0 0 10>; + gpio-ranges = <&pmm8540g_gpios 0 0 10>; #gpio-cells = <2>; interrupt-controller; #interrupt-cells = <2>;