From patchwork Mon Sep 5 07:02:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 12965585 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 B5DF3C6FA86 for ; Mon, 5 Sep 2022 07:02:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236789AbiIEHCy (ORCPT ); Mon, 5 Sep 2022 03:02:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40060 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236412AbiIEHCx (ORCPT ); Mon, 5 Sep 2022 03:02:53 -0400 Received: from mail-pl1-x62d.google.com (mail-pl1-x62d.google.com [IPv6:2607:f8b0:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 573FA1E3F6 for ; Mon, 5 Sep 2022 00:02:52 -0700 (PDT) Received: by mail-pl1-x62d.google.com with SMTP id c2so7691237plo.3 for ; Mon, 05 Sep 2022 00:02:52 -0700 (PDT) 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; bh=juny/qDxxbHj10tAvOIcrujtgWXLCZ306cupBH57+sM=; b=bqN8i55+/L2zQF8KoE/BmRlSaKSDrBoTmBpws52H6HyNikxZZBsK7XkxkevBumpqt9 qC2GqDOIQ93gQ3kTZMEHAEVJToQ1oxn4PxUz+/v+WVlxeGuGgg7/QBzC60JjHmGLxOHe NqytJ4fDcyQQqw9cTA0z6RB2lhAdB7MNKnVkGyOUuNE2wlPC6QdNTMPV3qOHGwwJqPQ9 yEqytibVS+oEXXzatoguJ0siiqWxyTnj//eLJzK9nMbm3CyJIqxnlqNs/kyeaLF26GYK Fom9UsHl6mnb8JatiIPVtB1wY6e6lfo4sn04KfEWq6ZRUQqWNUj77WoEzx5LOPtUQAia seyw== 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; bh=juny/qDxxbHj10tAvOIcrujtgWXLCZ306cupBH57+sM=; b=w3saIVl7P+T+77MDWwu8/0+JNeKDtVDn92Klh/fiyrNLpupgwyc5J6e+VlLB8TCoH9 N7/8/tWDlxWfCNJmiNBDqlbuz6FJjO33tpypYip1nkIzOuVwufCdsMxnACp4PJGzXaj4 UHIg9cwCh4Qs2FWPVKWjwfb3eIECUFTQ7MWDS01k6aYlNgMZLzGrkT+SUSIKowlGXNqx NRqbavj0ecyeFpFKlbDgSYiYspIlou6tFPtE3+P/QOwY4EF606/PLg7Aff1+hKxIhwy3 ubfGjW6eDHpEpjL/lTb3FzqsgIhFGprp1qq8Zmb3wRpZI/4RbcmhA2nu5VHasdcEExIk 9kfg== X-Gm-Message-State: ACgBeo3sbE2KR7d32azNEr2r5uVJT5bQ8aLR+AxOcA0xj14p+8pC+0Tu msEY5SWnlmEHkarukOH42yc6leKeO9x43A== X-Google-Smtp-Source: AA6agR6/Cw79qS0TTy2V0ep3kJodE9Vq+8pkdci/M9n4QtZ2WVFWqpzGFA3WTgLHdtQMUXSPvQlPZA== X-Received: by 2002:a17:902:788f:b0:170:8b18:8812 with SMTP id q15-20020a170902788f00b001708b188812mr47050902pll.1.1662361371102; Mon, 05 Sep 2022 00:02:51 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:1c60:5362:9d7f:2354:1d0a:78e3]) by smtp.gmail.com with ESMTPSA id lw12-20020a17090b180c00b001fe0ed3cb2asm28673858pjb.3.2022.09.05.00.02.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Sep 2022 00:02:50 -0700 (PDT) From: Bhupesh Sharma To: linux-arm-msm@vger.kernel.org Cc: devicetree@vger.kernel.org, agross@kernel.org, bhupesh.sharma@linaro.org, bhupesh.linux@gmail.com, linux-kernel@vger.kernel.org, robh+dt@kernel.org, Krzysztof Kozlowski , Bryan O'Donoghue , Bjorn Andersson Subject: [PATCH v2] arm64: dts: qcom: sc8280xp-pmics: Remove reg entry & use correct node name for pmc8280c_lpg node Date: Mon, 5 Sep 2022 12:32:40 +0530 Message-Id: <20220905070240.1634997-1-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.37.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Commit eeca7d46217c ("arm64: dts: qcom: pm8350c: Drop PWM reg declaration") dropped PWM reg declaration for pm8350c pwm(s), but there is a leftover 'reg' entry inside the lpg/pwm node in sc8280xp dts file. Remove the same. While at it, also remove the unused unit address in the node label. Also, since dt-bindings expect LPG/PWM node name to be "pwm", use correct node name as well, to fix the following error reported by 'make dtbs_check': 'lpg' does not match any of the regexes Fixes: eeca7d46217c ("arm64: dts: qcom: pm8350c: Drop PWM reg declaration") Cc: Krzysztof Kozlowski Cc: Bryan O'Donoghue Cc: Bjorn Andersson Signed-off-by: Bhupesh Sharma Reviewed-by: Krzysztof Kozlowski Reviewed-by: Bryan O'Donoghue --- - v1 can be viewed here: https://lore.kernel.org/linux-arm-msm/20220903084440.1509562-1-bhupesh.sharma@linaro.org/ - Fixed the review comments shared by Krzysztof. arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi b/arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi index ae90b97aecb8..24836b6b9bbc 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi +++ b/arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi @@ -60,9 +60,8 @@ pmc8280c_gpios: gpio@8800 { #interrupt-cells = <2>; }; - pmc8280c_lpg: lpg@e800 { + pmc8280c_lpg: pwm { compatible = "qcom,pm8350c-pwm"; - reg = <0xe800>; #address-cells = <1>; #size-cells = <0>;