[v4,07/11] dt-bindings: rtc: qcom-pm8xxx: document qcom,pm8921-rtc as fallback of qcom,pm8018-rtc
Message ID | 20220928-mdm9615-dt-schema-fixes-v4-7-dac2dfaac703@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4242:0:0:0:0:0 with SMTP id s2csp580539wrr; Fri, 21 Oct 2022 02:13:27 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7b5eCNYyeLsSqb7bvutnh6pPenRarIh5OgGNUmb9GxYyerfuRxeYPAHo2Os14dgGka3SgX X-Received: by 2002:a63:4e5a:0:b0:438:9513:da55 with SMTP id o26-20020a634e5a000000b004389513da55mr15048601pgl.381.1666343607055; Fri, 21 Oct 2022 02:13:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666343607; cv=none; d=google.com; s=arc-20160816; b=0SbRNw5adZY351baToslKY2taCkXqp45EaupiswFklQn/2ipYPwGZ2K5x/9V9zJuVX U8SRzuuE6yV1Xt9ZVPXSMMaFD6EhKVgSUNFzL5po7tFmSuAOTzM6k84DU1pv5wxyQg6D 9oSeGb77adnm4uU9xzzVA0hD27rwyQxCI/50h6HBCk0R3kMhL77qZbF6kywiZEb+M/Ju GGcIuuy2UmX4Ij7vjKCH5O2LZVYCspK0OQYx6KEmBg71uzhi2sbdOKl6tWudS7ZMrsyW isDuVPso7hjnkIpmn7tAswH5UI51S/WPuGQyscUkZs5+UHgF+N+US0ETDbGJxA9PNY3/ iWnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=BCCT8tgaqG5OldHtlkklSVmkDx8WUdXNiCaVQRja2yA=; b=kK/j1UiPuvcPmTiEzcao8YqptQgibNzohi3mDDvBHatW1rC69ym7wPcGrHAR+Nzu9T 4q01AXWzS14VTOqZTUd4a/ft6ax9bzR/6J7oKXnBOQ6onmma6xqIrYyPl7YOWhTVCggh qDg0eD3JosKyQTQWrAVuVaylzxV/FZrUAvQpWnv8xWDJC0BQjZVoKCZrBK2bDNSi7HdF ICBEDO6KaxcqAt9PEKA+ZQH4xND4609Qa103Lhc/5DciQjBg3D7hhNw3MKWP7zjpHsav XWIrtXqnTFudsJuvgsgJtAKY6oELSNhgA8QUxkpI1bePyF89ru209IAdp5T8vjvcjFnq NrtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dZuUPjkX; 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=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 7-20020aa79207000000b00563653bc151si21398150pfo.110.2022.10.21.02.13.14; Fri, 21 Oct 2022 02:13:27 -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=@linaro.org header.s=google header.b=dZuUPjkX; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230427AbiJUJJ3 (ORCPT <rfc822;pwkd43@gmail.com> + 99 others); Fri, 21 Oct 2022 05:09:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35558 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231150AbiJUJI7 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 21 Oct 2022 05:08:59 -0400 Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 746631A3E0C for <linux-kernel@vger.kernel.org>; Fri, 21 Oct 2022 02:08:57 -0700 (PDT) Received: by mail-wm1-x334.google.com with SMTP id iv17so1746945wmb.4 for <linux-kernel@vger.kernel.org>; Fri, 21 Oct 2022 02:08:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=BCCT8tgaqG5OldHtlkklSVmkDx8WUdXNiCaVQRja2yA=; b=dZuUPjkXDyO+JwX9iQ1/T+pcgE0GMJPiQc5s7Bc2JsIlkHOdiST3HXo13hVM01+Ms/ aVZkKVK4BWd8QBk5/Z/rm52gMHY6bC8EDOzjz4b9huS/6G8Bg+bP+/eWD0FCEnK5OKYy dKSxmXX5cr1jsGyY6k6CL0EZkHjD5EVQcmV0aWLjji+gsJTPvF0zqvM3wf0r35NbQo3Q hWpkeXnA7ZyyQYLBh9X3asjuZr8031Izd01DblMbLIA2L9yZTkCqfN3Xj8hq+Huy62Q0 l694WIL9vudrKRXoKV7wnVRVJMN9XBjj+phNPZWAIv0ZEEbD3fvWih8RuWi4FmmffiCE 5Rig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=BCCT8tgaqG5OldHtlkklSVmkDx8WUdXNiCaVQRja2yA=; b=HZrYgbqewzyQF/4PHETzBntbSQOSpVW4JW8eIWcI6qw+2av/ncG0dUq+M8ub2xxTUo IZrXtjOzKi/ZtWQsoRZJrM7fRdFLVCCqDgEkIH1vOkk1ap+VR9qACtYybWNwCOlrqsyN 1NvjdgBrBsslwQkVLokNKr//ww2uPJMrCR09qxVPUcToQn1zXzpdDrSvlj2J0pUTq2y4 R+b7QG+GFlsM+XE6nXc1J4yChq6L+7NI/kbz7rUnQKU/zEVXQwjI5KV4SfUo+f9mJEto extmJVemfDKGdYuJoOUVVcRjjME2anhgEm/zZdjFT3eDphHt6Y9gadnq/u68paV/K8r+ DBqQ== X-Gm-Message-State: ACrzQf2lpao5opTEy8oKL6BayzByMwdwQ8W6+UUYI3a8HA9Gyp8VFw5j EYWL5SCwQ+0aOidAqcx9HoCS5g== X-Received: by 2002:a05:600c:5c4:b0:3c5:9a14:e5f6 with SMTP id p4-20020a05600c05c400b003c59a14e5f6mr12729629wmd.153.1666343335526; Fri, 21 Oct 2022 02:08:55 -0700 (PDT) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:8261:5fff:fe11:bdda]) by smtp.gmail.com with ESMTPSA id v10-20020a05600c444a00b003c6f27d275dsm2230286wmn.33.2022.10.21.02.08.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Oct 2022 02:08:55 -0700 (PDT) From: Neil Armstrong <neil.armstrong@linaro.org> Date: Fri, 21 Oct 2022 11:06:43 +0200 Subject: [PATCH v4 07/11] dt-bindings: rtc: qcom-pm8xxx: document qcom,pm8921-rtc as fallback of qcom,pm8018-rtc MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <20220928-mdm9615-dt-schema-fixes-v4-7-dac2dfaac703@linaro.org> References: <20220928-mdm9615-dt-schema-fixes-v4-0-dac2dfaac703@linaro.org> In-Reply-To: <20220928-mdm9615-dt-schema-fixes-v4-0-dac2dfaac703@linaro.org> To: Bjorn Andersson <andersson@kernel.org>, Satya Priya <quic_c_skakit@quicinc.com>, Lee Jones <lee@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Rob Herring <robh+dt@kernel.org>, Konrad Dybcio <konrad.dybcio@somainline.org>, Dmitry Torokhov <dmitry.torokhov@gmail.com>, Alexandre Belloni <alexandre.belloni@bootlin.com>, Andy Gross <agross@kernel.org>, Alessandro Zummo <a.zummo@towertech.it> Cc: Bjorn Andersson <andersson@kernel.org>, linux-input@vger.kernel.org, linux-arm-msm@vger.kernel.org, Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>, devicetree@vger.kernel.org, Neil Armstrong <neil.armstrong@linaro.org>, Rob Herring <robh@kernel.org>, linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.10.1 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747287914183936674?= X-GMAIL-MSGID: =?utf-8?q?1747287914183936674?= |
Series |
arm: qcom: mdm9615: first round of bindings and DT fixes
|
|
Commit Message
Neil Armstrong
Oct. 21, 2022, 9:06 a.m. UTC
The PM8018 RTC is used as compatible with PM8921 RTC on the MDM9615, document this situation. Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> --- .../devicetree/bindings/rtc/qcom-pm8xxx-rtc.yaml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-)
diff --git a/Documentation/devicetree/bindings/rtc/qcom-pm8xxx-rtc.yaml b/Documentation/devicetree/bindings/rtc/qcom-pm8xxx-rtc.yaml index 23ab5bb4f395..0a7aa29563c1 100644 --- a/Documentation/devicetree/bindings/rtc/qcom-pm8xxx-rtc.yaml +++ b/Documentation/devicetree/bindings/rtc/qcom-pm8xxx-rtc.yaml @@ -11,12 +11,16 @@ maintainers: properties: compatible: - enum: - - qcom,pm8058-rtc - - qcom,pm8921-rtc - - qcom,pm8941-rtc - - qcom,pm8018-rtc - - qcom,pmk8350-rtc + oneOf: + - enum: + - qcom,pm8058-rtc + - qcom,pm8921-rtc + - qcom,pm8941-rtc + - qcom,pmk8350-rtc + - items: + - enum: + - qcom,pm8018-rtc + - const: qcom,pm8921-rtc reg: minItems: 1