From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (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 798753D170C for ; Mon, 27 Apr 2026 14:25:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777299911; cv=none; b=codo3zFZbDRtLLU6eOnZvVkXVzD/g8ExQQpPjUJC85cyiWsLLgWvBZU+cIbbaYLK/zAAcp6WVgp8QuU1BHYvecI/u+3ZlnBCqa+hwD8lgHP89qbVreKP9Xe7mMW3lu7UDWyP2DOslg0vuXz4xxIhHHL3859/jjL75zdv8Jb9SmQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777299911; c=relaxed/simple; bh=k6bh0Vw/IhCgq//XAl9md9ddxhBLBXBMxxj8buXykF4=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=L0QAfmybSaUwXi1kBjmyWyujYm3Y4NY+pIFl8y57eZEtazuTEi7+o51Xc9P4mnilYzB3YJnN+kv+97q07GF9xwyWptqY7fMb7P6kn3hQw12X9BLxx52ngu78iKCFjkKhaFudoCeSZ0Wofx9zOw5YfKznjiXGvCKcW1Pb/e9iQSw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=dk+PceQA; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=XOHRJ1Fc; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="dk+PceQA"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="XOHRJ1Fc" Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 63R9OleI3825438 for ; Mon, 27 Apr 2026 14:25:09 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= IReQnGnIlvbqQm1h5A39po5dJakAPAgrvEnFlMBSbuk=; b=dk+PceQA+hQ1M5Aw MTce5JjUYzrJXb9VLM+jFQiVqMdyZ4y5+zPRT0tO33SAaF0i2cA+v2FtLzvAkjk8 Yc+u2ivTO/v3Y89nAS2o2E2crpvydz3+yhMF0Kwem+sZqoTaKlEJwabLDe1dhyEO wkSaN6HmyZB3yXIOqYpP8MPk4DIOyH3Ku+Nk1q5ozImQg3b/36PTkIR0NpXqDg5B T1MO+OW5eDxWNSngx+h67AnwJitGm3IJymZnDkEMZ7Ohl1DTv8CO7huaEelmCnvo pcwqTKSqCGvzNIPsB91vktbM9HTnQBDio6ZNzjlwEoBchJZ6I5hWng6trkbH8+7J 5InTJg== Received: from mail-vs1-f72.google.com (mail-vs1-f72.google.com [209.85.217.72]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4dt55514gg-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 27 Apr 2026 14:25:09 +0000 (GMT) Received: by mail-vs1-f72.google.com with SMTP id ada2fe7eead31-60598e3f83fso682542137.2 for ; Mon, 27 Apr 2026 07:25:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1777299909; x=1777904709; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=IReQnGnIlvbqQm1h5A39po5dJakAPAgrvEnFlMBSbuk=; b=XOHRJ1Fc7I9wwXwH+4+yknKKvLgFonnhdXPOj9r4i/v9/MkIRfp7oe6XW7qg+pN8K9 x/gT2LlKq16jj1mzbDsFMkdn95ku+IUIOxmPprUHCDeh+92NAeLB6MzSPz0FiymF6NIu ZGNXA1Cp7zoVc8R5QM6XZdnbvA/IctPuCM/GH3l8EvxXLyhJSN/FF0F7zLXxNPvF4f7X ngYySfCZTu6K+0EQzmtqQ+ZTKlWQpbnUqm/P7UYCJ1wUn8ncRat9sX/efCVTWEtLvRbb TzUsobIfucwH2G3s9SrHv13s1KAHpayDPJy4OYnC+rdtREvdq5N/B7mBYsBQZ5yfImcF LFzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1777299909; x=1777904709; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=IReQnGnIlvbqQm1h5A39po5dJakAPAgrvEnFlMBSbuk=; b=Jvt/NbF5m8kdjYt86YRYh20Pjk/4yupSjXpl+mwNYZK9/b4CkE3KmHZHjSXV2cbqOu ngDMB/R0q20rVBraXufKqkJ8MhzVyFRaKIMmuK7dAnB3VRqAeoC9eNM0FEVm0SKmO4Lm CoGz9RESfzTp7lf2XYzClBH4y0Kv19pRApEpPxF8clYm1tukRVCxx8XX5qZmduOEWA29 hdtWEIK/BzMskjpcmFNAY+vm27ryji3UMH3MgkGCTn5ubzbfF5DQtGdhmzpNhFdJ6K79 o7y2ve9ztoHa7MrW9b40gfiMHX2e/ECPq3HviPov4VKaBH2zDO/eNAwx8YGIzK5rvxAF MryA== X-Forwarded-Encrypted: i=1; AFNElJ+ITjEGR4tb7b7Rhq+xe+1BWnH4QOVklCdAqf1LZZLKxzhHxHBBOhvhfrzCF8pFFS8R8XdOpBi97F8blD4=@vger.kernel.org X-Gm-Message-State: AOJu0YzC9gY50NEn9vn01/kVjknUjhFYNOAue6LYZsb3F3GdgaevrZC9 JUO1COZI4vbukFRtmlBK+Ywm0+rxRy9RZdEXJouaDNyl/uRSK5uz9tsHDTd7Yqqi0BlSZIYfh+x MREuxHyiSaqLwCHUNNyOR7kP2GG0c6SlnwMePPjm1hMUh7gwer1mBfjTPpv7CYSF1qW0= X-Gm-Gg: AeBDieswyARNFGOPIr0EKZYZlX7nwszwGZ3Sl81t4yAaB6JfY9bX93p7bBOznOThtEy rbZJzbsAnzqmaqv79E1HphaHqAf1g1vr0E5FpH1OTnUx5vURhj27fsIIO/JuxvG9mjzngJicPyE X8TGrc43FEJRTA5X+Xht/vC24HPHqOX139g9pzMDu4tOcnyUuOIdf8+FmkNkzxd6xXVja86O1KT PyCV50v3gEAia23Y/KZay5e7X0+3hOhIjTlBXYIMOZTdRv8FDaFlJYUgjjkrXYzsiDOlOfEdZ2Z KgVOkw9G/Q/abPTdaQ8ifHlEv8Z73ERFiPVOo93NRX4HdyqKzcJ/lw84O57xSjxYeNugXSM6CV3 /prKlF9Ka+ykT0ojdplYUFT++6YKK/Y5RLaQILGKUuCqOxJWHFKDDLSBxw7faJcosYR/A1BnQpG thkdKTwC4BAMzIIg== X-Received: by 2002:a05:6102:3708:b0:611:7722:a6a7 with SMTP id ada2fe7eead31-616f8072a0dmr8841439137.8.1777299908626; Mon, 27 Apr 2026 07:25:08 -0700 (PDT) X-Received: by 2002:a05:6102:3708:b0:611:7722:a6a7 with SMTP id ada2fe7eead31-616f8072a0dmr8841422137.8.1777299908007; Mon, 27 Apr 2026 07:25:08 -0700 (PDT) Received: from [192.168.119.254] (078088045245.garwolin.vectranet.pl. [78.88.45.245]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-672c4d4590asm6947034a12.19.2026.04.27.07.25.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 27 Apr 2026 07:25:07 -0700 (PDT) Message-ID: <7a39b2e4-d2b4-486d-a012-706f9ef86b07@oss.qualcomm.com> Date: Mon, 27 Apr 2026 16:25:04 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] arm64: dts: qcom: monaco-pmics: Add PON power key and reset inputs To: Rakesh Kota Cc: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, kamal.wadhwa@oss.qualcomm.com References: <20260122-add_pwrkey_and_resin-v1-1-a9fe87537816@oss.qualcomm.com> <0b4ac3c1-11b3-4991-83c2-0c39a81baa8f@oss.qualcomm.com> Content-Language: en-US From: Konrad Dybcio In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Proofpoint-GUID: kdUvGokH6A-lQptHPsIidtCQTFGlPjsy X-Authority-Analysis: v=2.4 cv=CJEamxrD c=1 sm=1 tr=0 ts=69ef71c5 cx=c_pps a=DUEm7b3gzWu7BqY5nP7+9g==:117 a=FpWmc02/iXfjRdCD7H54yg==:17 a=IkcTkHD0fZMA:10 a=A5OVakUREuEA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=DJpcGTmdVt4CTyJn9g5Z:22 a=VwQbUJbxAAAA:8 a=EUspDBNiAAAA:8 a=6bjU-TzPh-P_-KBABl0A:9 a=QEXdDO2ut3YA:10 a=-aSRE8QhW-JAV6biHavz:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNDI3MDE1MyBTYWx0ZWRfX9JUjXghlX7Q8 on1Y7SgW0QliHzV6FBkaToeb4c0xF8cRWRapXOe6Hq4xkQBCPtSXgl2hcImXU3jk9zCFVuW6ZiQ sOCIecVAacpUuXY00icEEvh+v3bjUHpepNUlHIF656cWNzGWJljMWjOTCQbxhi1r9XX2J5M4C9A qcYvT/cVSSXlKcQu46JhJtTEC7eecTIeAjHiJPidZo727saCVynKCiRSvWxt1mp1+0FXt6ANA0O iujf8rUDq2e5e8skftl17YIq5wihbJcjsiCl1GHdmuiJQ5McMpIguVMW64GfFrVnnk9uj8HAgD3 GvfPmrKZhp9GdoWNGOoH17I9NCctxGTgiOqEDKG7Sj+jf9ysEhgqMSzgWVP567+iuHHHlJcCkQk tNpVBvlusOfgz91VkGzyjR3xIlU9+C/fy3e7BDIPu6QhVA+tC/pia7EHFipn4SoYLCk08sdRlwv d1nASoBkrLXgabo4b0A== X-Proofpoint-ORIG-GUID: kdUvGokH6A-lQptHPsIidtCQTFGlPjsy X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.51,FMLib:17.12.100.49 definitions=2026-04-27_04,2026-04-21_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 impostorscore=0 malwarescore=0 spamscore=0 lowpriorityscore=0 priorityscore=1501 adultscore=0 bulkscore=0 phishscore=0 suspectscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2604200000 definitions=main-2604270153 On 4/15/26 12:24 PM, Rakesh Kota wrote: > On Fri, Jan 30, 2026 at 12:18:53PM +0100, Konrad Dybcio wrote: >> On 1/22/26 7:59 AM, Rakesh Kota wrote: >>> Add the Power On (PON) peripheral with power key and reset input >>> support for the PMM8654AU PMIC on Monaco platforms. >>> >>> Signed-off-by: Rakesh Kota >>> --- >>> arch/arm64/boot/dts/qcom/monaco-pmics.dtsi | 20 ++++++++++++++++++++ >>> 1 file changed, 20 insertions(+) >>> >>> diff --git a/arch/arm64/boot/dts/qcom/monaco-pmics.dtsi b/arch/arm64/boot/dts/qcom/monaco-pmics.dtsi >>> index e990d7367719beaa9e0cea87d9c183ae18c3ebc8..051407cd83eef8eace8521084b1ad012a5192ace 100644 >>> --- a/arch/arm64/boot/dts/qcom/monaco-pmics.dtsi >>> +++ b/arch/arm64/boot/dts/qcom/monaco-pmics.dtsi >>> @@ -13,6 +13,26 @@ pmm8620au_0: pmic@0 { >>> #address-cells = <1>; >>> #size-cells = <0>; >>> >>> + pmm8654au_0_pon: pon@1200 { >>> + compatible = "qcom,pmk8350-pon"; >> >> I see pmm8655x has some slight changes vs pmk8350 (more configs but >> generally backwards compatible if we don't use them), let's add a >> separate compatible in bindings so that we can maybe handle these >> differences down the line: >> >> diff --git a/Documentation/devicetree/bindings/power/reset/qcom,pon.yaml b/Documentation/devicetree/bindings/power/reset/qcom,pon.yaml >> index 979a377cb4ff..14b85b0d97da 100644 >> --- a/Documentation/devicetree/bindings/power/reset/qcom,pon.yaml >> +++ b/Documentation/devicetree/bindings/power/reset/qcom,pon.yaml >> @@ -17,12 +17,16 @@ description: | >> >> properties: >> compatible: >> - enum: >> - - qcom,pm8916-pon >> - - qcom,pm8941-pon >> - - qcom,pms405-pon >> - - qcom,pm8998-pon >> - - qcom,pmk8350-pon >> + oneOf: >> + - enum: >> + - qcom,pm8916-pon >> + - qcom,pm8941-pon >> + - qcom,pms405-pon >> + - qcom,pm8998-pon >> + - qcom,pmk8350-pon >> + - items: >> + - const: qcom,pmm8654au-pon >> + - const: qcom,pmk8350-pon >> > > Hi Konrad, > > Based on the below discussion: > https://lore.kernel.org/all/872faa80-d323-4625-ab8f-50ab2e0e8e0f@kernel.org/ > > I understand that introducing new compatibles without a corresponding driver > change is not acceptable per upstream community guidelines. As Krzysztof pointed out, > neew compatibles must be accompanied by the necessary driver support. > > so,shall we use the old compatible in the current patch series for now ? > And Resume the patch series at https://lore.kernel.org/linux-arm-msm/9c7521fe-5008-4daa-945b-ce3f5c0f6dc0@kernel.org/ > once the driver changes are ready and upstreamed ? The last piece of feedback seems to be here: https://lore.kernel.org/all/9c7521fe-5008-4daa-945b-ce3f5c0f6dc0@kernel.org/ where I believe the diff you're asked to implement against your patch is: 1. Remove the new if:then: block (since by the presence of "contains:qcom,pmk8350-pon" in the existing one, the PMM8654AU entry (which falls back to it), will be taken into account too, and the "then:" part is identical) 2. In the existing if:pmk8350/then: block, the 'reg' part of "then:" is a repetition of the top-level constraints (i.e. it's a NOP). This is wrong, because PMK8350 clearly has two address spaces. This is further confusing, as the commit that originally introduced this (03fccdc76dce ("dt-bindings: power: reset: qcom-pon: Add new compatible "qcom,pmk8350-pon"")) specifically says "whereas GEN3 peripherals can have two register addresses" - the "can" was probably supposed to be an unconditional statement instead. The action from that is to create a separate, preceding commit, changing minItems:1/maxItems:2 into minItems: 2 for both the reg: and reg-names part 3. Run `make dt_binding_check DT_SCHEMA_FILES="reset/qcom,pon.yaml"` and b4 prep --check before your next submission, and squash any errors that show up Konrad