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: 41814 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp3196376wrt; Wed, 11 Jan 2023 00:28:27 -0800 (PST) X-Google-Smtp-Source: AMrXdXuZ83ga8PR6tU4osLEjxopSjYU7tLYxw1xuuKFtF7Jm2cf4JJevqPTUthDgNs1tCE4/wV8j X-Received: by 2002:a17:906:1baa:b0:859:1a3c:8b5c with SMTP id r10-20020a1709061baa00b008591a3c8b5cmr3653182ejg.53.1673425707418; Wed, 11 Jan 2023 00:28:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673425707; cv=none; d=google.com; s=arc-20160816; b=Rv6qbo6vYLiOC4pHkb5kdeGv9rWy0LGnJ1ZjLoygbuCf1sfzl8hrKlWrgoC2WLy3ak Tqh37zCqQahITsoCyidwvp2cRvnOtbJJgQzf0a06T7LDtt2gnrX+ktuf8vvdVeqYiGLP cOWY4j5vawoWX9vlxmOk/zVBhWtBe/mBp+B+NUkP81IcEO0Dn3OlCn1Kr76xZNEgqrkT +e5SdhQDhlsX/IkUuRwqBrFFC2umxWST6W/youxw0+DbDSXcWYPik4TJHKh+1GVdjlMW sFdWd1dvkG991+6xfxIAIpH2YFhYrsIiK53t08fagJAes3KySQAqcF726LqHjA9QqhuC HuMQ== 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=LX5LCHivnKKIrOeMugtH+muu3SmQLhhSEj9x9WXwdps=; b=K+rXNEsH5Zefzc2dyeWv25zoZ3Em3+4BdpEFxZjy+PCUDjWW/E67OY9D93CvuDB0vz /N9jzOkLdidMeKE9laAKd0MeVLIrTdXVh7a8VbUQmBYy9mH9kjML1fFrxDsQ07ZbVylT 2ceA5HKmEVsTvNKn09v1kLJLr409BoXPIm+EVLBt0G/x5DsdlRu+Bb/kCBrlntWUOSzP ZadjouJ+Hpax65JzUcctrJsiaXasMiMjBoAEHGBVzxGL9hiXXAHIAMt83qIvAIzLwjYy s3DwvKfCsb/BNurNlqbNOwY1Dwob9BDguWogdbNizj/9YWJyvOgC7H/vm4kn9m3K3EjC kDpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BOdJSFKs; 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=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ht19-20020a170907609300b007c0f2185e37si15517110ejc.868.2023.01.11.00.28.03; Wed, 11 Jan 2023 00:28:27 -0800 (PST) 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=@kernel.org header.s=k20201202 header.b=BOdJSFKs; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231861AbjAKIZq (ORCPT + 99 others); Wed, 11 Jan 2023 03:25:46 -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 X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754714034164613738?= X-GMAIL-MSGID: =?utf-8?q?1754714034164613738?= 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: 41813 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp3196275wrt; Wed, 11 Jan 2023 00:28:03 -0800 (PST) X-Google-Smtp-Source: AMrXdXs/nNuywQVuYV4b+6qtNTKLrPb94UFRVQ5D9HeCj8QvcoJXN2FsQ6Q678sXfeLn9/gWl9pY X-Received: by 2002:a17:907:2056:b0:84d:44dd:e03a with SMTP id pg22-20020a170907205600b0084d44dde03amr9774086ejb.57.1673425683492; Wed, 11 Jan 2023 00:28:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673425683; cv=none; d=google.com; s=arc-20160816; b=CcU2+acs2EIoCLLg1ItSEBA3EH0V66kKkBdVmZV3NU8dxd5Q7xy8ZgO9oxXnf/kYQA 8qFAlau3pGP9kyYSc8/oU1hpAnr82fx5arxCccsbZL1xBBA4dML/KOt/4KbFlc11iwTI swTuEyzEB84eWYkwVBX5j5b8PdV7s8diZNa6tMh5RYg3/OU5MRHaIWKLMFKZX/Kqg9PU 3ZDlcgnpzmnu3CTn5Kxh/a09ZDcgd6+xUVxNy40euyj/jrEMv319+Qo8MX/qi1oQz6aH ofkpi1xVCAX1CKqRymfFfIssgmRnP66V2JfA+5a/Q/GANE4gxlG+YIiLrrzJjwjg9XRM Y+dg== 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=/dPdxS5Oys71Rlf2ExxZvzEyJXvtF2eYjNzVlVOmrOI=; b=WJRggufg/eeZyQSPc2FEwdXUDODwDz1wbmrzl2U6Xz/FGxat0tsaTBbTEeZe6Twla8 Z0sf+X02+7JyOv9J+YGfDSmxhvFdwEbKpSMeypAahCB00Q80vs1T4QrFbvZdxFl3G4my bNpIH4ZFvn4x8pB2qx1CBwvEMn+kFUaZpjHVssXtN7VnUy7KcnRS9JHzXAcYpiIiEm05 Przz/H8xau4uTk2gkpFQShKfz4U19hGWJAqs/f1mtf0//ULrKEwLmVKUoMQi6fTlCpJ3 xqH9Lg4eoJx0OjvP4yaNB3D3tZX5z0rRCtO4T/58nMG+eeVrMwf9bdLW6o/l5GGWPIuo l5Sg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AhGeMCUA; 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=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hr23-20020a1709073f9700b0084d42604f61si9846674ejc.100.2023.01.11.00.27.40; Wed, 11 Jan 2023 00:28:03 -0800 (PST) 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=@kernel.org header.s=k20201202 header.b=AhGeMCUA; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235933AbjAKIZx (ORCPT + 99 others); Wed, 11 Jan 2023 03:25:53 -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 X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754713975158265048?= X-GMAIL-MSGID: =?utf-8?q?1754714009582362973?= 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>;