From patchwork Tue Nov 15 13:26:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 625670 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 64DFEC4332F for ; Tue, 15 Nov 2022 13:26:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230010AbiKON0h (ORCPT ); Tue, 15 Nov 2022 08:26:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56480 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230125AbiKON0g (ORCPT ); Tue, 15 Nov 2022 08:26:36 -0500 Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DDFBE1116B for ; Tue, 15 Nov 2022 05:26:35 -0800 (PST) Received: by mail-lf1-x12d.google.com with SMTP id b3so24399149lfv.2 for ; Tue, 15 Nov 2022 05:26:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=avm+9lW3Cfqvwcnd4WK23Pkk+Ognl6G/huZdXFKiRVU=; b=GW0GcWh4GtG+/whFF5lRx8Awlwweap1xz9DTUOxMyt3vHTuLcNqqgnKsDvKPCLPgTU zzOCICDWb5fOPfxd12gXlIp8+16GGS2XwyhVkpyr8aCTvd+SLTKrjVm11SKSWGePfreV AwwGHpRz2gGJJIzGlFtjonv5sUuXt+jTwjEd37bizjvv6/FcMeeLg2D2i2skwUEoB1qF 1ElL9v9RoJAZjrnu7QX0C4lz+YPGaFi6EDSqyumgQVh/gKpThm0nsvaHZdguzxeIiENb 1l5q4lq5Y2OjiU/1W/I1ToySPsQMoU8kUJnGaAkNRw933f5bW+cyBgit7eg763CLKY9v +zmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=avm+9lW3Cfqvwcnd4WK23Pkk+Ognl6G/huZdXFKiRVU=; b=ai7vG+0z7zI5gXrTWChC24UPXpubvSTE9YKS1f6sGpcOWeZYypZK3or0NL7Nfw3zCd iraSCBl/k1sM9PVCK66KGjcoKTRm862zUr5H4cY7jWPUCDKcr+sLHjFZC7h35KaGcnmn oHebeOuSMD0h57KmzjfmEaMOb8AZVpqkJiwHcWHULHdd15WJLSPCTlZi0/8BuuFnw3mM HPGIxgi6wfApKEPQuIPLJN9ShDCE22QpZ4jo2VsOohx+tlsmC0VCAHqpgpBdbnf8A51i hih9rZaGl7jg55dtdU7xScJVyb8HKWVx8bNDsCC1KgZHpYrlSLedrpu6KgJE5gG6YkkD IlLQ== X-Gm-Message-State: ANoB5pkGDjnw4bzE/IyOQqnXw7F9E2dkRS5H/YfU3vvK84cZcw3pVnpK ZN0ABi4jKmkP4+kEfnPn9fJ+rURIj7IsZ1XX X-Google-Smtp-Source: AA0mqf5WkBcirivUyMPkDGRq9mNhSK7jkQk9WOz7hcwygJ7zZtbmCcq0VrnElegqtytyk52Li7RNEg== X-Received: by 2002:a05:6512:1115:b0:494:7055:b085 with SMTP id l21-20020a056512111500b004947055b085mr5200955lfg.109.1668518793984; Tue, 15 Nov 2022 05:26:33 -0800 (PST) Received: from localhost.localdomain ([194.29.137.22]) by smtp.gmail.com with ESMTPSA id d13-20020a19f24d000000b0049ad2619becsm2203077lfk.131.2022.11.15.05.26.32 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 15 Nov 2022 05:26:33 -0800 (PST) From: Konrad Dybcio To: linux-arm-msm@vger.kernel.org, andersson@kernel.org, agross@kernel.org, krzysztof.kozlowski@linaro.org Cc: patches@linaro.org, Konrad Dybcio , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] arm64: dts: qcom: pmk8350: Specify PBS register for PON Date: Tue, 15 Nov 2022 14:26:26 +0100 Message-Id: <20221115132626.7465-1-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.32.0 (Apple Git-132) MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org PMK8350 is the first PMIC to require both HLOS and PBS registers for PON to function properly (at least in theory, sm8350 sees no change). The support for it on the driver side has been added long ago, but it has never been wired up. Do so. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/pmk8350.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/pmk8350.dtsi b/arch/arm64/boot/dts/qcom/pmk8350.dtsi index 2730d97ab213..32f5e6af8c11 100644 --- a/arch/arm64/boot/dts/qcom/pmk8350.dtsi +++ b/arch/arm64/boot/dts/qcom/pmk8350.dtsi @@ -22,7 +22,8 @@ pmk8350: pmic@PMK8350_SID { pmk8350_pon: pon@1300 { compatible = "qcom,pm8998-pon"; - reg = <0x1300>; + reg = <0x1300>, <0x800>; + reg-names = "hlos", "pbs"; pon_pwrkey: pwrkey { compatible = "qcom,pmk8350-pwrkey";