From patchwork Sun Aug 28 13:26:47 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: 600734 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 CC476C3DA6B for ; Sun, 28 Aug 2022 13:26:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229476AbiH1N04 (ORCPT ); Sun, 28 Aug 2022 09:26:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56758 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229487AbiH1N0y (ORCPT ); Sun, 28 Aug 2022 09:26:54 -0400 Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A99152316F for ; Sun, 28 Aug 2022 06:26:52 -0700 (PDT) Received: by mail-wr1-x42e.google.com with SMTP id m16so7097811wru.9 for ; Sun, 28 Aug 2022 06:26:52 -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; bh=6FoOZUofj+DPKoTc01frTXq9MERyLJu+7sHRBJl/pmY=; b=z8eenFYJu0Djjvy/BgO44Ndx/fM7y9cGQjn3vVNoj0FNlilwchiJyBoMFd80eRV1R9 XNjnZXoz+PUUWDKiM1XmvWDEy2CG2YFXU2x87I7n90HpnXr7+/0b+kOizqDxGZBT33Yf DV3+KHbse+BaAITxg2XPziH836xMPSxqrTjToS5tuLITXlTVNWHYaFU0UHaRMjHTM+qH Or/l6UDFCD7l5N1y93WAq9aZ+TWt2OXC8WpCjFUoqmEkDbNcUATyPKoa0OD2vWzPFh7x t2QaOhpfkitaGB5JxGJkl0cHt55xoONObyuFYWN8OOvzloXavNWZoH6flmmFyluz1i3M JQbg== 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; bh=6FoOZUofj+DPKoTc01frTXq9MERyLJu+7sHRBJl/pmY=; b=VvnGT4g71nNRuvXMLNyp37k2u33l64S4JW5C+a11zFQ3fIWh4FwGA+2DRr6mq907yr oA9hX38L1rOL7gEdY6qYR8SqrCP3JLnJjzbGMIc8N5bPLmKlw1hMdB0YwkJQ8RboRK+e kyAxReByPpl/A6y3at025h/U5HS1uRGVlL5CBuFhVfpuLmGAXLRjUI+qiDN5/LwdWJr6 jE04hAfGETAvSZMGw9cizseEgOLVoEH/VibvWKYkLLq/e6LKLWqw24+VLclqQHP37ohu 8+Uc4YevMpLJpB3oQRwv6linABruVuxDwyqFGnbiMSiBhxz0gIAhKHz+JdyFOElVj9aK qEwA== X-Gm-Message-State: ACgBeo24C4BWXim03f5EBa3GyMgVtGQCY6Q5faOiIa0SgasrhJTL/eDm OX43BgpbYXk4tNdDUaxz0ewrgDe9I76m7Q== X-Google-Smtp-Source: AA6agR76UTD4PdeIWm/3rHU2rNZXL2mvUtcRqh1P2PcmqiR8USZFWaDqZzk+NtHS7FZqwgSYI8FAcg== X-Received: by 2002:a05:6000:1acb:b0:225:6f9d:37ee with SMTP id i11-20020a0560001acb00b002256f9d37eemr4334134wry.170.1661693211269; Sun, 28 Aug 2022 06:26:51 -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 e15-20020adffc4f000000b0021e51c039c5sm4518874wrs.80.2022.08.28.06.26.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Aug 2022 06:26:50 -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, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Cc: bryan.odonoghue@linaro.org, Krzysztof Kozlowski Subject: [PATCH v4 1/2] dt-bindings: mfd: qcom,spmi-pmic: Drop PWM reg dependency Date: Sun, 28 Aug 2022 14:26:47 +0100 Message-Id: <20220828132648.3624126-2-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20220828132648.3624126-1-bryan.odonoghue@linaro.org> References: <20220828132648.3624126-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#