From patchwork Tue Sep 27 23:51:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bryan O'Donoghue X-Patchwork-Id: 609634 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 1A81FC6FA8E for ; Tue, 27 Sep 2022 23:53:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232565AbiI0Xw6 (ORCPT ); Tue, 27 Sep 2022 19:52:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55536 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230071AbiI0Xwg (ORCPT ); Tue, 27 Sep 2022 19:52:36 -0400 Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E78BCE5FA5 for ; Tue, 27 Sep 2022 16:51:13 -0700 (PDT) Received: by mail-wm1-x329.google.com with SMTP id l8so7528598wmi.2 for ; Tue, 27 Sep 2022 16:51:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=i+LNVuSF1Re6e4nCwgEmOGiRH6D3+8n1rNYLab04rvk=; b=bHY+rtpH8B93qYeYalrH2HgSibAy4VPaBuu2YSnnWM/9lqATIZmANNBELCoKib1sTj aDZSv4Qe7Hu+A6e7/bQvcMITwFG1Cg0iJbiokUSodvkLW9p0cD1siedwNf+M5LdJ+4XZ e3B3i8eyTodB8tjHbm3XRk0/LCmz6QI/WJlXDyx3hhmHMOHI1YSfhPOPCrM38QpMWiMD 9X3TE7gUaU06XUtA0zVzChYiIMHTZubHgo4DXi37uqkSE4rQLaBqhICUVWfijGXVfAj2 xAuylG2x71VrN8/p0iKXALnLGd1efvGhAca5mIv90ciZvCeLdgvFrxBaXTezGP//JbnI 8cDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=i+LNVuSF1Re6e4nCwgEmOGiRH6D3+8n1rNYLab04rvk=; b=T27aeXxx8j0S9ejF832csORUI7N2Z9ZpoR+9YrimyY08ZpUu1WMX7TekMJDYXbC1Tr Xu3w78wbyxPu41HLbm0cCd+k7KfrPUXEAy1OEAzwd+WNZeljhhqfTihAmLRTtr1xjKWU fanocKUZ7ZJVJrTUJXrWxY/mbIxJfM+8bZipvpoNQRSzp5zbPxBpx4rb0qijxVQkz0Z1 tQyulMiu3ngSDnaC/vMBkJzA4sW9fjzzNn18PbdIt8+40XcHmQ+kAr1nLKG+FqkiRynO HENw/yiA0flD3W+owLuDqoxIViDtzxxBTmxmvAUkVz0/lCoK7DF4JGr4ehJE4kMvsX8q V6ow== X-Gm-Message-State: ACrzQf3O//1qo5HgsvNnsQ1K22MeKAtUEdFeUwd4NlD+dVGln5gbGqyt QElugWkSBIl5FY9x8YhIBmkKmw== X-Google-Smtp-Source: AMsMyM5BEXBQ9QZ/h2fgy/AX3sDYUhua7MCgg/3LCtt3fM/XZTHfgnGWmvQ2SvUikidj7skF04QOeA== X-Received: by 2002:a05:600c:1910:b0:3b4:bb80:c95e with SMTP id j16-20020a05600c191000b003b4bb80c95emr4304857wmq.54.1664322671572; Tue, 27 Sep 2022 16:51:11 -0700 (PDT) Received: from sagittarius-a.chello.ie (188-141-3-169.dynamic.upc.ie. [188.141.3.169]) by smtp.gmail.com with ESMTPSA id n2-20020a05600c4f8200b003b27f644488sm145301wmq.29.2022.09.27.16.51.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Sep 2022 16:51:11 -0700 (PDT) From: Bryan O'Donoghue To: agross@kernel.org, andersson@kernel.org, konrad.dybcio@somainline.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, lee@kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Cc: bryan.odonoghue@linaro.org, Krzysztof Kozlowski Subject: [PATCH v5 1/2] dt-bindings: mfd: qcom,spmi-pmic: Drop PWM reg dependency Date: Wed, 28 Sep 2022 00:51:07 +0100 Message-Id: <20220927235108.227566-2-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220927235108.227566-1-bryan.odonoghue@linaro.org> References: <20220927235108.227566-1-bryan.odonoghue@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The PWM node is not a separate device and is expected to be part of parent SPMI PMIC node, thus it obtains the address space from the parent. One IO address in "reg" is also not correct description because LPG block maps to several regions. Fixes: 3f5117be9584 ("dt-bindings: mfd: convert to yaml Qualcomm SPMI PMIC") Suggested-by: Krzysztof Kozlowski Reviewed-by: Krzysztof Kozlowski Signed-off-by: Bryan O'Donoghue --- Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml b/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml index 65cbc6dee545e..2a5bafe0660a0 100644 --- a/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml +++ b/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml @@ -92,6 +92,10 @@ properties: type: object $ref: /schemas/regulator/regulator.yaml# + pwm: + type: object + $ref: /schemas/leds/leds-qcom-lpg.yaml# + patternProperties: "^adc@[0-9a-f]+$": type: object @@ -117,10 +121,6 @@ patternProperties: type: object $ref: /schemas/power/reset/qcom,pon.yaml# - "pwm@[0-9a-f]+$": - type: object - $ref: /schemas/leds/leds-qcom-lpg.yaml# - "^rtc@[0-9a-f]+$": type: object $ref: /schemas/rtc/qcom-pm8xxx-rtc.yaml#