From nobody Wed Dec 17 13:56:58 2025 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 8052FC6FD18 for ; Wed, 19 Apr 2023 10:41:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232260AbjDSKlU (ORCPT ); Wed, 19 Apr 2023 06:41:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48868 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231574AbjDSKlO (ORCPT ); Wed, 19 Apr 2023 06:41:14 -0400 Received: from mail-lj1-x22c.google.com (mail-lj1-x22c.google.com [IPv6:2a00:1450:4864:20::22c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 84383132 for ; Wed, 19 Apr 2023 03:41:12 -0700 (PDT) Received: by mail-lj1-x22c.google.com with SMTP id h8so17786170ljf.3 for ; Wed, 19 Apr 2023 03:41:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1681900871; x=1684492871; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:from:to:cc:subject:date:message-id:reply-to; bh=RZxVMEh9KILGtkcQBVWxPt1W9P5HUJPkp/aglLZNmOE=; b=n4N1GlsvUd4WzaLAEqR7DCy6mNV5YcQWHtXQSpD0o9fyo+f5USa+0NaskB4HS23XfY TJ5kQjndnbQp7dk3/WMn1+jD1yM+dheGRwmAH3MCPo82AZxtoJrefR9U68Z53W1Vc7n/ RCAZfUpwRdC2szu9jm7SCSOrW4wTlA0evAU0Zq9cbv2aFrezWntoASFqdAi+wyQUWuS+ 9KkAhMzYRFlXLkgoLyEe9sdINnE/r9xROkMeEXFEDaYQIcfMIbcnhAh0iaP0P4D0PGms 1KgIDRoKb98HNts75g2pYAPPnRpHSX7Mb5Ui0HDUqC5hPfBm66p+j0z3j2ls3ALKproV k/oA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681900871; x=1684492871; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=RZxVMEh9KILGtkcQBVWxPt1W9P5HUJPkp/aglLZNmOE=; b=c7M/AWwzu+ku+GZf83ELmeH7+Y6hyDX+674UPwOeKCwLOoQW/G2WoJjgv05IxW2PHW pjZdujCE+c2w5h2RupuQv0ekxWDoQxdhwL6nTqHR44Hn/BiMaOX4k3SdgsGtIWZpbPCZ ZVHn45tKR/D8oJq8lXnldjfNkbA0KJUUlVqt9Y51Ez7ei4a0zTPSncJ/GQXQkew9Wa45 wqehwPPkf/x9NQy/SGHj6A3XpulT2w5HZ93JtihEyZjjXwT96dkNeRjaXOX30I7slQGH EVcIHV8beBOGbGGKkQW7i7umwc9qih6M6K9qvjKiagIuxHyjY2IpzXr8yC+70kCXOjYD FNAQ== X-Gm-Message-State: AAQBX9eku9touavaGu9fUQsQjK4g97F5QU8wh+2l3M9va/VmcOwrYEvt k+NZX9/0fbAMV5L90v4nMTTPAg== X-Google-Smtp-Source: AKy350aP60fgBEJ41q0RaTQf5isT0wekpXkkSe9MGe+zXxSmg86QKN6MWT3LJpA9S7GifYiAAE1Hlg== X-Received: by 2002:a2e:b5d2:0:b0:2a8:be0a:9c52 with SMTP id g18-20020a2eb5d2000000b002a8be0a9c52mr683657ljn.21.1681900870772; Wed, 19 Apr 2023 03:41:10 -0700 (PDT) Received: from [192.168.1.101] (abyj144.neoplus.adsl.tpnet.pl. [83.9.29.144]) by smtp.gmail.com with ESMTPSA id s12-20020a2e9c0c000000b00295a583a20bsm2863366lji.74.2023.04.19.03.41.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Apr 2023 03:41:10 -0700 (PDT) From: Konrad Dybcio Date: Wed, 19 Apr 2023 12:41:06 +0200 Subject: [PATCH] dt-bindings: power: reset: qcom-pon: Only allow reboot-mode pre-pmk8350 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20230419-topic-pmic_pon_bindings-v1-1-ea233dae0117@linaro.org> X-B4-Tracking: v=1; b=H4sIAEHFP2QC/x2NWwqDMBAAryL73UDUUtJepRTJY6MLdhOytgji3 bv0cwaGOUCwEQo8ugMafkmosEJ/6SAunmc0lJRhsMNor/3dbKVSNPVNcaqFp0CciGcxOad0i9a 57BC0Dl7QhOY5LtrzZ11V1oaZ9v/u+TrPH3td+xp+AAAA To: Sebastian Reichel , Rob Herring , Krzysztof Kozlowski , Vinod Koul , Anjelique Melendez , David Collins Cc: Marijn Suijten , Sebastian Reichel , Krzysztof Kozlowski , linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1681900869; l=1540; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=2aZ3HfQSYlnBEwHgH5XeH4h3AP9+DA2PwArsm4RGbHw=; b=Bs5hfZVu7ebswkV4EDCAyX0cgv0zVPAUv5NXngn6UIZljq16V4jurBCK8qraiJRe8dhdl4Q3HUpQ X6HJvO46An7tRyuvIFg+fPiEc4TcfI79zuM1XBhZcqJRBg7qSMWO X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org As pointed out by Shazad [1], PMICs using a separate HLOS+PBS scheme (so PMK8350 and newer) are expected to pass reboot mode data through SDAM, as the reboot mode registers are absent in the HLOS reg space. Limit the reboot-mode.yaml inclusion to PMICs without a separate PBS region. [1] https://lore.kernel.org/linux-arm-msm/12f13183-c381-25f7-459e-62e0c2b19= 498@quicinc.com/ Fixes: 03fccdc76dce ("dt-bindings: power: reset: qcom-pon: Add new compatib= le "qcom,pmk8350-pon"") Signed-off-by: Konrad Dybcio Acked-by: Rob Herring --- Documentation/devicetree/bindings/power/reset/qcom,pon.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/power/reset/qcom,pon.yaml b/= Documentation/devicetree/bindings/power/reset/qcom,pon.yaml index d96170eecbd2..0b1eca734d3b 100644 --- a/Documentation/devicetree/bindings/power/reset/qcom,pon.yaml +++ b/Documentation/devicetree/bindings/power/reset/qcom,pon.yaml @@ -56,7 +56,6 @@ required: unevaluatedProperties: false =20 allOf: - - $ref: reboot-mode.yaml# - if: properties: compatible: @@ -66,6 +65,9 @@ allOf: - qcom,pms405-pon - qcom,pm8998-pon then: + allOf: + - $ref: reboot-mode.yaml# + properties: reg: maxItems: 1 --- base-commit: 67d5d9f013d6c3829383c08162939cabff14fccc change-id: 20230419-topic-pmic_pon_bindings-ffdd6c088f8e Best regards, --=20 Konrad Dybcio