From patchwork Sun Jul 17 21:36:44 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: 591523 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 9497BCCA48A for ; Sun, 17 Jul 2022 21:37:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232967AbiGQVhG (ORCPT ); Sun, 17 Jul 2022 17:37:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54246 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232908AbiGQVg4 (ORCPT ); Sun, 17 Jul 2022 17:36:56 -0400 Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8EB10120BB for ; Sun, 17 Jul 2022 14:36:54 -0700 (PDT) Received: by mail-wm1-x32a.google.com with SMTP id v67-20020a1cac46000000b003a1888b9d36so8706233wme.0 for ; Sun, 17 Jul 2022 14:36:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=nt/vXnZ1ilZFW2r3X3Si21RNxg/v63nKAPyKT3PD4RA=; b=m4UCFqEOUfMV1gYqaNHTq7pIZsLCr9m6kdiuaK5VeJ1CyVi1vDfZaWEmE/4LsS81Ri xfAN1Hr27bRHnWIzI8/ldttHyVTIWOTMBTcxyiBglU9vXeYzqaPVGmIuyMht/OmvWSo+ TJQEd8EwM3j1POpNJSVmWb3ehz9opBxZGTfK6Vn0Df9Dg6PAhdvy+fUPVBBIEY7tVTEl kkgV9cKh0WwwNK0g+BQGJlROi9/wbCgmul8j1c9+C08+3qBx8WF363djhfAdk4PLWp2s YaExVf5l8N0Qf0pMHPRqLAFrsIl20zUIDmHxBJBNYTxfaKoM1bd1LoCpHfUhMFgxGf16 v/zA== 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=nt/vXnZ1ilZFW2r3X3Si21RNxg/v63nKAPyKT3PD4RA=; b=8LAM/+DTuEOX/fkOh6JqpCwg4ixO2QbTnu1eXd8c3LoMJDN3qioGzXfEbS+j6jMvB/ IiDzFz5q1x2iMAYQITD2QwhpdpXrMQxyx3o1M5jvAXt3SfN92cMtwYs5BGGnmJPhGMS/ xSa1W4oiRI+eJXYzcySZ07pd3bGC8M+q9imSAtbPia9t4uqY8Ouw0xGnPhGFj7y0NAfO MIIhwgBh6SsfNKU3yyg+ADx9KUNUET4Zx7mYxAL+g3KYFbanSfRty5aiSH/Vkbn43N2n p3FEdIsbfOuEBh7b0LWEe7txjd0pqQhJa01t2eetH2D//DEWgssDr4td4ZxbvQSJe8Wh oGsw== X-Gm-Message-State: AJIora/QkT8UpvqyM17BfISpv+Yw+g246pGaEWwvkyisGwrpPxuVJPax zYevqwuQlikQ/mWIWRo4VpASMg== X-Google-Smtp-Source: AGRyM1u/XAJwWuX1HbkYWI6lyN0sX+0QqxixFx5Yg2cJCYRIMLe9bVyD/swfZzbWfZ7N8ENIa6D5KA== X-Received: by 2002:a05:600c:5026:b0:3a2:ea0c:ea8a with SMTP id n38-20020a05600c502600b003a2ea0cea8amr23095985wmr.53.1658093812840; Sun, 17 Jul 2022 14:36:52 -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 k21-20020a05600c1c9500b003a3187a2d4csm3715956wms.22.2022.07.17.14.36.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Jul 2022 14:36:52 -0700 (PDT) From: Bryan O'Donoghue To: agross@kernel.org, bjorn.andersson@linaro.org, konrad.dybcio@somainline.org, jassisinghbrar@gmail.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, shawn.guo@linaro.org, bryan.odonoghue@linaro.org, Rob Herring , Krzysztof Kozlowski Subject: [PATCH v3 1/2] dt-bindings: mailbox: qcom,apcs-kpss-global: Add syscon const for relevant entries Date: Sun, 17 Jul 2022 22:36:44 +0100 Message-Id: <20220717213645.1147342-2-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220717213645.1147342-1-bryan.odonoghue@linaro.org> References: <20220717213645.1147342-1-bryan.odonoghue@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org msm8916, msm8939, msm8953, msm8994 and qcs404 already declare or should declare syscon as they have drivers that use syscon inside of the apcs-kpss block. grep apcs arch/arm64/boot/dts/qcom/* | grep syscon Add in the additional syscon in the documentation for the above mentioned parts. Reviewed-by: Rob Herring Reviewed-by: Krzysztof Kozlowski Signed-off-by: Bryan O'Donoghue --- .../mailbox/qcom,apcs-kpss-global.yaml | 46 ++++++++++--------- 1 file changed, 25 insertions(+), 21 deletions(-) diff --git a/Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.yaml b/Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.yaml index 3b5ba7ecc19d9..f504652fc0ea2 100644 --- a/Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.yaml +++ b/Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.yaml @@ -15,26 +15,30 @@ maintainers: properties: compatible: - enum: - - qcom,ipq6018-apcs-apps-global - - qcom,ipq8074-apcs-apps-global - - qcom,msm8916-apcs-kpss-global - - qcom,msm8939-apcs-kpss-global - - qcom,msm8953-apcs-kpss-global - - qcom,msm8976-apcs-kpss-global - - qcom,msm8994-apcs-kpss-global - - qcom,msm8996-apcs-hmss-global - - qcom,msm8998-apcs-hmss-global - - qcom,qcm2290-apcs-hmss-global - - qcom,qcs404-apcs-apps-global - - qcom,sc7180-apss-shared - - qcom,sc8180x-apss-shared - - qcom,sdm660-apcs-hmss-global - - qcom,sdm845-apss-shared - - qcom,sm6125-apcs-hmss-global - - qcom,sm6115-apcs-hmss-global - - qcom,sm8150-apss-shared - + oneOf: + - items: + - enum: + - qcom,ipq6018-apcs-apps-global + - qcom,ipq8074-apcs-apps-global + - qcom,msm8976-apcs-kpss-global + - qcom,msm8996-apcs-hmss-global + - qcom,msm8998-apcs-hmss-global + - qcom,qcm2290-apcs-hmss-global + - qcom,sc7180-apss-shared + - qcom,sc8180x-apss-shared + - qcom,sdm660-apcs-hmss-global + - qcom,sdm845-apss-shared + - qcom,sm6125-apcs-hmss-global + - qcom,sm6115-apcs-hmss-global + - qcom,sm8150-apss-shared + - items: + - enum: + - qcom,msm8916-apcs-kpss-global + - qcom,msm8939-apcs-kpss-global + - qcom,msm8953-apcs-kpss-global + - qcom,msm8994-apcs-kpss-global + - qcom,qcs404-apcs-apps-global + - const: syscon reg: maxItems: 1 @@ -121,7 +125,7 @@ examples: #define GCC_APSS_AHB_CLK_SRC 1 #define GCC_GPLL0_AO_OUT_MAIN 123 apcs: mailbox@b011000 { - compatible = "qcom,qcs404-apcs-apps-global"; + compatible = "qcom,qcs404-apcs-apps-global", "syscon"; reg = <0x0b011000 0x1000>; #mbox-cells = <1>; clocks = <&apcs_hfpll>, <&gcc GCC_GPLL0_AO_OUT_MAIN>; From patchwork Sun Jul 17 21:36:45 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: 591346 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 2D699CCA485 for ; Sun, 17 Jul 2022 21:37:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232896AbiGQVhG (ORCPT ); Sun, 17 Jul 2022 17:37:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54250 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232923AbiGQVg4 (ORCPT ); Sun, 17 Jul 2022 17:36:56 -0400 Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2C5EE11A0B for ; Sun, 17 Jul 2022 14:36:55 -0700 (PDT) Received: by mail-wr1-x42f.google.com with SMTP id r14so14639096wrg.1 for ; Sun, 17 Jul 2022 14:36:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=jqO12wXazmzjTuSQ7dV8WqcDOHjrC6yvS/uuR6oSvw0=; b=R3mbQ2eT+VNlRmFpWLm0JoUejcecPuDHPUvwVmPaAp7iJup9ZBjClHaBp65ZeJg1m4 8aCspyMoYC7AQajKaPUMbYa12Nx30l3jWy2PMjAMOLq86EUavsuPsbX3jhfubg5Cz5eL JEgm2ajd1WwODyAIR0Y2+sPs8vu3EJaUBnb2QqXzScXtAuOTVBltUqvP1waIk5NgRnS/ X+UiO9G4w0fNL3Y4q9iSZdDpJw7vMOWouHws/ldmH2v4760pnZ+Tfyh9Q3joOv6EOqwf 94f94pYNGjtHDMDjyBRuanlmonoCQiw0SF74ebWzyLNkEKAm10VhD6gmUfSHxM6p74Ca XUJg== 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=jqO12wXazmzjTuSQ7dV8WqcDOHjrC6yvS/uuR6oSvw0=; b=nEQh/fop4wpk89ucwMFSDVjS/NqgAXXX7xgWnTTuxTbmByIPzTz48PbHoChUbBWrTS NnfacWo3MuekDYr1L7jH7Wzdp1Qm4MHLrJab68i43ObHyKyvtaB6tYOMKlTUjIjAspfW xfaRl6Dzd7FKw/8FZzgt8VqG7UAqkp/t2U0P0I4HQ1W0I8B6xhfVqTPsLJZ2Cl2qmb0f xXuzr/AQLVA2jtWw56rVzi8m/Y9+6KIAkIaXP5Aw6yAzGCJ6W52czycjMsqTxPS4Nrva hMDe+bpHQSuw1tvBfPnlNri7oCp53Uc6LmntF3Qm+nzZvFEa3Tornu66EvDaZH3ImqYQ 9uSA== X-Gm-Message-State: AJIora/gug5UuSJlv6iHat/B1dTbw+rEW440hB7jx3glTKyNUIwURzzz Nutd0Csbk/aPvHgC7hC0zMStpw== X-Google-Smtp-Source: AGRyM1tiZtquDBefjxeYFd655eeTIpBagSlJJWwNkYp9WHynFda3yrliPsZIJBM+XYX/17sAHCT8Jw== X-Received: by 2002:adf:dd0d:0:b0:21d:666b:298e with SMTP id a13-20020adfdd0d000000b0021d666b298emr20892799wrm.412.1658093813754; Sun, 17 Jul 2022 14:36:53 -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 k21-20020a05600c1c9500b003a3187a2d4csm3715956wms.22.2022.07.17.14.36.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Jul 2022 14:36:53 -0700 (PDT) From: Bryan O'Donoghue To: agross@kernel.org, bjorn.andersson@linaro.org, konrad.dybcio@somainline.org, jassisinghbrar@gmail.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, shawn.guo@linaro.org, bryan.odonoghue@linaro.org Subject: [PATCH v3 2/2] dt-bindings: mailbox: qcom,apcs-kpss-global: Add clock-output-names Date: Sun, 17 Jul 2022 22:36:45 +0100 Message-Id: <20220717213645.1147342-3-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220717213645.1147342-1-bryan.odonoghue@linaro.org> References: <20220717213645.1147342-1-bryan.odonoghue@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add clock-output-names as optional so that SoCs such as the msm8939 which have multiple a53 PLLs can latch the appropriate output name in drivers/clk/qcom/apcs-msm8916.c. Signed-off-by: Bryan O'Donoghue --- .../devicetree/bindings/mailbox/qcom,apcs-kpss-global.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.yaml b/Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.yaml index f504652fc0ea2..7497e4c930ae7 100644 --- a/Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.yaml +++ b/Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.yaml @@ -63,6 +63,13 @@ properties: - const: aux - const: ref + clock-output-names: + maxItems: 1 + items: + - const: a53mux_c0 + - const: a53mux_c1 + - const: a53mux_cci + required: - compatible - reg