From patchwork Tue Oct 4 08:08:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 612589 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 4655FC43219 for ; Tue, 4 Oct 2022 08:08:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229920AbiJDIIo (ORCPT ); Tue, 4 Oct 2022 04:08:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47034 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229927AbiJDIIe (ORCPT ); Tue, 4 Oct 2022 04:08:34 -0400 Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4FFBA1C91C for ; Tue, 4 Oct 2022 01:08:32 -0700 (PDT) Received: by mail-wr1-x432.google.com with SMTP id f11so17422498wrm.6 for ; Tue, 04 Oct 2022 01:08:32 -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; bh=rneLB6WK0hb5ckLAowEuNik00c/MBOlbxObt43YiBik=; b=OBgV+joCcJjjl412Nb2zNufQNlOUcvj3WH8jf9uftb33ic8/b2VOiu+XojMIRirUOx g48QZO7A2X+AwHJLF6FswUsdPWQDej/w9jrmpXA8cX8tUb18HCczOYm+MWQpfhX59XoL nWidOrWacdZS1KLHhhbRPnJ/wNtnB0yKgB/RVU7udc93b4RxRzvC/Qealx2sSHmE/Xnp 2RuLn2X2rwWyAIZHWwSWrmPJaKUUGBTDbXOPseamjpq6JXjcCsVF3CcltPVGBH/+fwcV brBQEi3b0UiAM4zxQelI9dvjcek5mgamDowy8T37COaC7hGk0x3i75TqXWWoSfpBQN+G fEJg== 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; bh=rneLB6WK0hb5ckLAowEuNik00c/MBOlbxObt43YiBik=; b=m5JTfrU1UY3AQV/oUao5ycCADuiS+/57m5ai1cCwLd/0VE12JnKe2XOcyRLgDDqp3Y 7xdRowAVdQXcdN+xPtP8dqW2uL6bv7whaQVeg/VkoJjphRdYObFZ0As9ZierTfr5swE8 fkg6M79U4KCnZIrLVYza869nTvsiqYRt9jv8auVZbM/txDvC5Sr0wGfif07Vli1V3ZoI A1CN4RW9MGyPZQBdw4vWRp2kQuF+LiDaKgV/lP9k+k++ODE7UqmGKcLQJnlXlRbG1ABm U8IHIcDCPj0yqdBJkB+S/eBa3sU1etqlIpds87/1/XlLvWhFWLfTHxnYpP/CbxzJJto7 WxCg== X-Gm-Message-State: ACrzQf2sk45JUOHdccCgPtdmTtkWOrVF/hV81BxGl3YCqfEXElXfaEAl 85Umy7Z2zdxqc4B9St0EZ8uqVQ== X-Google-Smtp-Source: AMsMyM49JGyy91z19GmF3/f/TMYRUSetR0flmwSyXGb961IJCAykvU54pLhQ5z8Z8Eno57XPz9slvw== X-Received: by 2002:a5d:4c8e:0:b0:22e:3979:7dc9 with SMTP id z14-20020a5d4c8e000000b0022e39797dc9mr5835672wrs.41.1664870911723; Tue, 04 Oct 2022 01:08:31 -0700 (PDT) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:8261:5fff:fe11:bdda]) by smtp.gmail.com with ESMTPSA id l2-20020a1c7902000000b003b33943ce5esm20228866wme.32.2022.10.04.01.08.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Oct 2022 01:08:31 -0700 (PDT) From: Neil Armstrong Date: Tue, 04 Oct 2022 08:08:23 +0000 Subject: [PATCH v2 07/11] dt-bindings: rtc: qcom-pm8xxx: document qcom,pm8921-rtc as fallback of qcom,pm8018-rtc MIME-Version: 1.0 Message-Id: <20220928-mdm9615-dt-schema-fixes-v2-7-87fbeb4ae053@linaro.org> References: <20220928-mdm9615-dt-schema-fixes-v2-0-87fbeb4ae053@linaro.org> In-Reply-To: <20220928-mdm9615-dt-schema-fixes-v2-0-87fbeb4ae053@linaro.org> To: Krzysztof Kozlowski , Bjorn Andersson , Satya Priya , Andy Gross , Alexandre Belloni , Rob Herring , Konrad Dybcio , Lee Jones , Dmitry Torokhov , Alessandro Zummo Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Bjorn Andersson , linux-input@vger.kernel.org, Krzysztof Kozlowski , Neil Armstrong , linux-arm-msm@vger.kernel.org, linux-rtc@vger.kernel.org X-Mailer: b4 0.10.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The PM8018 RTC is used as compatible with PM8921 RTC on the MDM9615, document this situation. Signed-off-by: Neil Armstrong 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