Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp3224393imw; Mon, 11 Jul 2022 04:40:58 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uFkY5DiqR3sXMC+qHGMKCYamBAb90jq6taBmiQ8yVG8+VYb4x29JCrZ9TSDaoU1dB2gybR X-Received: by 2002:a17:90a:de12:b0:1ef:ae83:d225 with SMTP id m18-20020a17090ade1200b001efae83d225mr17561293pjv.207.1657539658620; Mon, 11 Jul 2022 04:40:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657539658; cv=none; d=google.com; s=arc-20160816; b=ggCg97pomPslMxerJGT6m1+tIOsjunMNVQ9p/ICEsC0OyCeSC2xIWH0CIx+ngOuEmZ BQDDDwjxyeKe/esuRvCOtMYKLBQLAiUseqVyv9ECB9Tp77VvodI2kSg1HyH8ZpcU5nlo TOdinnkC1bAGl58LVyfP7Ij7K3629ACLNFIrtpYIEc4eRLmcOpRlSJTi4tZ55kR0oZjQ vaamoEdLxSE6a5UOPK2cinOfSsOr79Rfx4vRBjyWOGGp9mnduBPTBgGcLvMzexqKlqgu xfp/isVj4woYIq1KYrzTADbRobqFCJPGiP9JeUver7DxqfzKdb2GMGYItCO3zILIxRNJ ksrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=CMUVv/tE+dGyKOrvqDmuCdHpuwmXgZgMiezQmg+PaDo=; b=GQ4VSZ8J5IH+PVfm9Nb0sq7cNEchfXvmGN+sB/sDbQE972xP+4EiXbVpTyoKsibHVm s+Ucpx5Nd9HHSPgLBG9Zgp63l/o286z5Y4UV0tz48Xn95ta4rlUvAmym3/5u9OHFVEc3 bODrjD2MAeypZWykbonxo7CpEJueHo/sTs+lOW5vwa6nCiQm4VXGqM0nXD0JtmAOKO4r BhXw4IjMYLMAhw6PCRlVKhvk+OOCavIgeN2mxzCIDrbrxU56K1z02+tLNWcbrPa5CreX cEkT5SQgKKvs5wr8M+umUMkb1HGOcnwDLRZBKn3iBXllbSoyxdlCEaSV4/lhLOdSMMCn j/VQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=cPx0TrUm; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d10-20020a63fd0a000000b0041258fe2316si9090451pgh.774.2022.07.11.04.40.46; Mon, 11 Jul 2022 04:40:58 -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=@gmail.com header.s=20210112 header.b=cPx0TrUm; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231379AbiGKL0T (ORCPT + 99 others); Mon, 11 Jul 2022 07:26:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43320 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229816AbiGKLZz (ORCPT ); Mon, 11 Jul 2022 07:25:55 -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 F38B22AF8; Mon, 11 Jul 2022 03:59:35 -0700 (PDT) Received: by mail-wm1-x329.google.com with SMTP id y22-20020a7bcd96000000b003a2e2725e89so2480589wmj.0; Mon, 11 Jul 2022 03:59:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=CMUVv/tE+dGyKOrvqDmuCdHpuwmXgZgMiezQmg+PaDo=; b=cPx0TrUmvAftcE5MaNP2oWUkDqOsiHR3GcMp0Khgs1G2knx+LF8gtvmB4VzyCZzh/q 3Awr+kKVRfKFiRsSh4BccUt3G7dSksUm3eJ10uxHLqCRMb7joCOrD5xo6TB6U9Bh/GrK IcaykbPo7CN0JmV/jx4gvp4stBL0TPKzDGEtowqXDc66wuREcAwJ7vpQesqa4RfnvFxc USlU9NXEerMqxi6m/guPJN/BCRko9m0lH+e/NcBIedI/kyRRpwY8UwNYg0pbkfzQMGCN 5GCmLeBd/68vy/ikazh0NpWpVIrdQ3MLLfZBlpDr4BJLzXjY77mwPdxlwIRI4nes8AbE cgiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=CMUVv/tE+dGyKOrvqDmuCdHpuwmXgZgMiezQmg+PaDo=; b=PveRDO1EA7vZg49GHmnC3/QNgeg5RW2m4R9GOWMQjEFZ5aTsHFxxIhsqbQcev4ElFl fSMoeGoAj/9Jx25SJrffTQwO3hbGYEIRvLZlWQp5fcGxs8cGR6idavq8LzTOYPe666xU YBKdg02P2KVKnKWKshPnuppUuffOCebLWqXkifIewM6mPIXY0DbZxHpd2kea/0OXTyqF pvavrLQ0DY+pNV3ZuON3t1jrnQYtBemDZrYDAw3koHQYS95SzrConrJu8mfAzRucdFZd J2pqFtQS0PktovnbRHw7ZO8eQ69TxLzUs9QW29UJ9VabLto5Z/hFAe0L/26jB8C2+LcI njZg== X-Gm-Message-State: AJIora+r8rwDSDJ3sbIhcdVw/jLMvLU4ZNEsYtWHvvvtfhjcWwn/h8BT nUOt+UofMlt9QM49shdrPEA= X-Received: by 2002:a05:600c:41c7:b0:3a2:e8fd:fe52 with SMTP id t7-20020a05600c41c700b003a2e8fdfe52mr3133168wmh.123.1657537174480; Mon, 11 Jul 2022 03:59:34 -0700 (PDT) Received: from fedora.robimarko.hr (cpezg-94-253-144-242-cbl.xnet.hr. [94.253.144.242]) by smtp.googlemail.com with ESMTPSA id w15-20020a1cf60f000000b003a2c7bf0497sm6504617wmc.16.2022.07.11.03.59.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Jul 2022 03:59:34 -0700 (PDT) From: Robert Marko To: agross@kernel.org, bjorn.andersson@linaro.org, konrad.dybcio@somainline.org, jassisinghbrar@gmail.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: Robert Marko Subject: [PATCH v7 2/4] dt-bindings: mailbox: qcom: correct clocks for IPQ6018 and IPQ8074 Date: Mon, 11 Jul 2022 12:59:29 +0200 Message-Id: <20220711105931.43164-2-robimarko@gmail.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220711105931.43164-1-robimarko@gmail.com> References: <20220711105931.43164-1-robimarko@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 IPQ6018 APSS driver is registered by APCS as they share the same register space, and it uses "pll" and "xo" as inputs. Correct the allowed clocks for IPQ6018 and IPQ8074 as they share the same driver to allow "pll" and "xo" as clock-names. Signed-off-by: Robert Marko --- .../mailbox/qcom,apcs-kpss-global.yaml | 44 ++++++++++++++----- 1 file changed, 32 insertions(+), 12 deletions(-) diff --git a/Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.yaml b/Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.yaml index 95ecb84e3278..939ce63fa824 100644 --- a/Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.yaml +++ b/Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.yaml @@ -41,10 +41,6 @@ properties: clocks: description: phandles to the parent clocks of the clock driver minItems: 2 - items: - - description: primary pll parent of the clock driver - - description: auxiliary parent - - description: reference clock '#mbox-cells': const: 1 @@ -54,10 +50,6 @@ properties: clock-names: minItems: 2 - items: - - const: pll - - const: aux - - const: ref required: - compatible @@ -71,8 +63,6 @@ allOf: properties: compatible: enum: - - qcom,ipq6018-apcs-apps-global - - qcom,ipq8074-apcs-apps-global - qcom,msm8916-apcs-kpss-global - qcom,msm8994-apcs-kpss-global - qcom,msm8996-apcs-hmss-global @@ -86,7 +76,13 @@ allOf: then: properties: clocks: - maxItems: 2 + items: + - description: primary pll parent of the clock driver + - description: auxiliary parent + clock-names: + items: + - const: pll + - const: aux - if: properties: compatible: @@ -95,7 +91,31 @@ allOf: then: properties: clocks: - maxItems: 3 + items: + - description: primary pll parent of the clock driver + - description: auxiliary parent + - description: reference clock + clock-names: + items: + - const: pll + - const: aux + - const: ref + - if: + properties: + compatible: + enum: + - qcom,ipq6018-apcs-apps-global + - qcom,ipq8074-apcs-apps-global + then: + properties: + clocks: + items: + - description: primary pll parent of the clock driver + - description: XO clock + clock-names: + items: + - const: pll + - const: xo - if: properties: compatible: -- 2.36.1