Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp3465297rwb; Tue, 8 Nov 2022 05:02:42 -0800 (PST) X-Google-Smtp-Source: AMsMyM7BtPEDcRvmB13XtKBpqgr+zs+oW1fGk4GRQqPJ62MGO1tEn4rt+9/EiVEHmQncjnUbwtKa X-Received: by 2002:aa7:db01:0:b0:461:4dc9:74e with SMTP id t1-20020aa7db01000000b004614dc9074emr55909770eds.139.1667912562180; Tue, 08 Nov 2022 05:02:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667912562; cv=none; d=google.com; s=arc-20160816; b=zCo5zGFTgxhkWcj+fHi9zqnqR7JVciJeXvAlrx6YPgTZjAd7EoC4O+zsggXV3JRehQ NE9JyPXsRjJPLAqrn8oJfswJwvQGLAhZ9xNvessMHCSp13aL/snYXWOpvy6sB1/3hLo0 t7hGjoerkm5To/25lB6GHlBtK58M9r16dioCcAjTm3r2sjorZhWD+Wgp7MBHot9+YXqm HwniWQDq+BNad1vC7zG3hkYyOwRL/q/hI3q6SWqA80HH3FBrn01Bb83X38Pa6BO76h5N LWm9nZDIrPuDbbRXiSCLL5Q8/fT0EFQiyfrkCBEaCOKAkUnZnBmbpverHRSYJkK0rqXi 6FEw== 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=xeBKKDFhwbcfCE8NbnyNfbdhOjB5eMuNnt15eXfL8qRGU6+WC5pU4xFIzQuohjdvgn rUsG9Mp4Imu4foWOXqvmKvq6gikMzAsk2DkLlocJg1DyEb4xKu2MfC8sqmVyzfPMrBfQ z/VzdsXZoavHLvpqYkxwyvNFepmADRS2yjjNoPcHApXOKv/WfSXCAqCw/5OJGL7/VL7a D3IX2XZSXQgOJsL0AVxNP9M6NIbBRStJZyughrWZmFPV/fbOFsF0JuYGWsajCoDHzPil gUlLLDi17cRqjCEkETq2TZJHiiqmcjoMpmHuOMyArvEzbRQcrU0BwnkK8stV6S28DyPq YnzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=U7WGio8V; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l11-20020a056402254b00b00443e3fe60a0si14710560edb.622.2022.11.08.05.02.20; Tue, 08 Nov 2022 05:02:42 -0800 (PST) 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=U7WGio8V; 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 S234038AbiKHMDJ (ORCPT + 89 others); Tue, 8 Nov 2022 07:03:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55894 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234037AbiKHMDD (ORCPT ); Tue, 8 Nov 2022 07:03:03 -0500 Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E4BF72610B for ; Tue, 8 Nov 2022 04:03:00 -0800 (PST) Received: by mail-wm1-x32b.google.com with SMTP id v124-20020a1cac82000000b003cf7a4ea2caso11532390wme.5 for ; Tue, 08 Nov 2022 04:03:00 -0800 (PST) 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=U7WGio8V1prSmN3Mln9Ld/PbUtMtK4E3C/I7QfP9z+GltDmjDNFwK6sGRVhnYuN3nE tjsf44EHUhh6ZN8skkDpgWLw6Ombd4+M1+71FpTCp9L/BmJ096VP1RsZVjruvbUJgsaj uZz3X+nnSu7hY658FwKwMmmn+PqNTcu/lCtwD6+QgRYwpBfC8lSDKSdVDxjrK8V9DhQq S63vTnkE0uEI7ii3pM95+VpzrI2S+ltbMLOk4M0Vg01QdiJpmvPU/F+jQNGSrgZVMRPP ST1wRarcRgV0fF4Qf/bTBSctKDh1gO/Y/NZTbCnhYpty7Rei6rihU5MoAC1JLbLgCj/5 600A== 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=t8W/uhLAxHNOWYTd7qIvUGUofw85Hy15M0Gdtv8gZb3ctEXZmhMD95LuMda8cYps7q pASTxa8+7sBtNAe2ksjNF3mw6Rovs0uwgrcYY+1GYaoPMTK/gVMeGWMFjFs9VGtIjou6 kTLwMBH2DFZBhL2xqXWwjRAYK62mCFnwcWRgxYJm0rl8kpXwp47baC+Kg/Uzqr47cJk5 F2DVLTTSOANtmAOLXzkOlvpqbQhh8u9VAnkKuvTtKuihaJPjgatA7A/zeN3E/FyOjxT/ Bqp6dQUFn5spVCAoVsU1DHCWzUeLCNHtjie2kx4vjphLWWXiSkZEbt2ruTKxN4L5l8v2 msbw== X-Gm-Message-State: ACrzQf0aCjcWjgg6jvN52glgKxvyZwGqg4G57C6Ll6L12JeRMm0I1xGm okPRtFWSwbSKYxIEOYievTtzrA== X-Received: by 2002:a7b:c5d6:0:b0:3c6:f970:e755 with SMTP id n22-20020a7bc5d6000000b003c6f970e755mr36584276wmk.132.1667908979158; Tue, 08 Nov 2022 04:02:59 -0800 (PST) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:8261:5fff:fe11:bdda]) by smtp.gmail.com with ESMTPSA id w2-20020a5d6802000000b0023662245d3csm10056034wru.95.2022.11.08.04.02.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Nov 2022 04:02:58 -0800 (PST) From: Neil Armstrong Date: Tue, 08 Nov 2022 13:02:53 +0100 Subject: [PATCH v5 1/2] 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-v5-1-bbb120c6766a@linaro.org> References: <20220928-mdm9615-dt-schema-fixes-v5-0-bbb120c6766a@linaro.org> In-Reply-To: <20220928-mdm9615-dt-schema-fixes-v5-0-bbb120c6766a@linaro.org> To: Rob Herring , Alexandre Belloni , Krzysztof Kozlowski , Konrad Dybcio , Alessandro Zummo , Satya Priya , Bjorn Andersson , Andy Gross Cc: Neil Armstrong , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rtc@vger.kernel.org, Krzysztof Kozlowski , linux-arm-msm@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 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: X-Mailing-List: linux-kernel@vger.kernel.org The PM8018 RTC is used as compatible with PM8921 RTC on the MDM9615, document this situation. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Neil Armstrong --- .../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 -- b4 0.10.1