Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp4355549rwl; Mon, 3 Apr 2023 03:56:53 -0700 (PDT) X-Google-Smtp-Source: AKy350aadpSzg2tc/TjssNw4wniQlAmf2R/5JS6fHGJIZ8SvECS2lCLBqxE6u/QEsxAVDACid51+ X-Received: by 2002:a17:90b:17c5:b0:23d:31c3:c98d with SMTP id me5-20020a17090b17c500b0023d31c3c98dmr42525307pjb.15.1680519412777; Mon, 03 Apr 2023 03:56:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680519412; cv=none; d=google.com; s=arc-20160816; b=hMkEOJolUZqv1h32nmGolRAtqMfYaPi2sWVFAqtD/t//a6cqFRHKD0scxXEs5C/rqi lSSYAJK6Y1y04Mr/j6CqUY2V89y/OaeuIUhlE2eSyBZFIjiXFsWAKs+0SlyvAZXgu1Oy tRLGzvWpa5nkD+lzcH459ZMBn75r705f8JGlCR0QUSqBK9PVOs3SDSZzN6/NaKQeZmAe iltEdGff0Ax+dZG3GIA5D8lo2pI+HKOaPUKEI7yPGzH2fM6uLReNIjqamr9eeuqZAWyT LvThnOv32/reJF3DHN+3zLedv2/dQSdzevagWn9vFbqD1YShffh9EQsad515VJChFxp4 X9mw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=/SmLSM1fgHLcHEiLUClsfc8I47QuBI1+pJMk58RqJig=; b=mjp8vB2DPTLzVZX8N6oAkv95J69IZ6Rd3U3gVLtIlN5GhLWG1r3RP3gJRl7fNjv0fV 5fUgT7Z3GdOPwqJS5o+dho0FSppbxTvl44JV3eOVg6yO+tycmLowv/Rmdk50+eoERRfG HpKjzTRgvUY2mEjbzzwIfJCdPf2gORwI1XhqCjpXKPo8IJ0/VPLk8cE2gF5WJGa3vBNl T3DlYIW5nk/+PY5gCZTbu5arqzKJz6/c1pfrALGB2qvmfC+GhGi+7uCopEu5d57NsmL0 42snB7zBNu4NYkG5sfKg2KKLgJIDwMat7PBl+B3ZErLbXl32ELl3+BfMqZSAR9gANRV/ pzAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=InCZo1Ef; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r27-20020a63441b000000b00502e3fcec97si8097311pga.739.2023.04.03.03.56.41; Mon, 03 Apr 2023 03:56:52 -0700 (PDT) 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=InCZo1Ef; 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 S232009AbjDCKyl (ORCPT + 99 others); Mon, 3 Apr 2023 06:54:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44258 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231894AbjDCKyZ (ORCPT ); Mon, 3 Apr 2023 06:54:25 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E33BE12055; Mon, 3 Apr 2023 03:53:58 -0700 (PDT) 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 8CFAAB8184D; Mon, 3 Apr 2023 10:53:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0C11AC433EF; Mon, 3 Apr 2023 10:53:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1680519236; bh=VWMo1YJspHOfBC+lus10zI4L7eNsXSOhn8XQ8widspU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=InCZo1EfGW3TaJCuifsyUJAn7xv98k6uy+ckeaSMPOM9USkCQ78Bk9HmjDVRVtnMs HQckvKA/7bBzmsfegNZb+Ca6HOg4VlUrUNIc3YYEVlwkj0rlv4a9zineEn2+Pae+hN Vg3SWBxzRm/v90l1cdtEQOfTmoNjHVViobtEsiQu5S0mPhLk7Vjhl7jafHNCcjniEI 67Ra+2S15o80jw+8sRqRhxG9FLTSHJRY4sjmVIvoY29dXW6j6PCCO5BB1XMMBgUt0Z SnLRgYDGi1SIoljEnQUSFjlxFqSt7YIxDQB9LedVfnOEp0U2KcycqglD5lfIAwRbf6 PKwj9zIV1sYMg== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1pjHpL-0003Ag-3Y; Mon, 03 Apr 2023 12:54:19 +0200 Date: Mon, 3 Apr 2023 12:54:19 +0200 From: Johan Hovold To: Krzysztof Kozlowski Cc: Johan Hovold , Bjorn Andersson , Andy Gross , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] arm64: dts: qcom: sc8280xp-pmics: fix pon compatible and registers Message-ID: References: <20230327122948.4323-1-johan+linaro@kernel.org> <48f71f9a-0d00-16df-fff8-5aa455918378@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48f71f9a-0d00-16df-fff8-5aa455918378@linaro.org> X-Spam-Status: No, score=-5.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable 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 On Mon, Apr 03, 2023 at 11:18:07AM +0200, Krzysztof Kozlowski wrote: > On 27/03/2023 14:29, Johan Hovold wrote: > > The pmk8280 PMIC PON peripheral is gen3 and uses two sets of registers; > > hlos and pbs. > > > > This specifically fixes the following error message during boot when the > > pbs registers are not defined: > > > > PON_PBS address missing, can't read HW debounce time > > > > Note that this also enables the spurious interrupt workaround introduced > > by commit 0b65118e6ba3 ("Input: pm8941-pwrkey - add software key press > > debouncing support") (which may or may not be needed). > > > > Fixes: ccd3517faf18 ("arm64: dts: qcom: sc8280xp: Add reference device") > > Signed-off-by: Johan Hovold > > --- > > arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi | 5 +++-- > > 1 file changed, 3 insertions(+), 2 deletions(-) > > > > diff --git a/arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi b/arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi > > index c35e7f6bd657..a0ba535bb6c9 100644 > > --- a/arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi > > +++ b/arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi > > @@ -59,8 +59,9 @@ pmk8280: pmic@0 { > > #size-cells = <0>; > > > > pmk8280_pon: pon@1300 { > > - compatible = "qcom,pm8998-pon"; > > - reg = <0x1300>; > > + compatible = "qcom,pmk8350-pon"; > > Same comment as Dmitry's. There is no compatible "qcom,pmk8350-pon" > ccd3517faf18, therefore indicated backport (through AUTOSEL) will lead > to invalid stable kernel. > > You must drop the Fixes tag, because this cannot be backported. That's bullshit. Do you see a stable tag? Is 5.19-stable still active? The problem is that the driver was updated before the binding was so the above mentioned probe error has been there since this file was merged. AUTOSEL is crazy and people apparently just ignore it instead of NAKing when it is suggesting backporting devicetree cleanups (which to be fair should generally not have Fixes tags in the first place). If 5.19-stable was still active and someone suggested backporting this one, they would have to change the compatible string to match the inconsistent 5.19 kernel. Note that that would need to happen regardless of whether this patch has a Fixes tag or not. Johan