From patchwork Thu Jun 30 04:35:35 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: 586583 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 A8809CCA47B for ; Thu, 30 Jun 2022 04:35:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231991AbiF3Efo (ORCPT ); Thu, 30 Jun 2022 00:35:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45878 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231889AbiF3Efn (ORCPT ); Thu, 30 Jun 2022 00:35:43 -0400 Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1F6F7237CA for ; Wed, 29 Jun 2022 21:35:42 -0700 (PDT) Received: by mail-wm1-x330.google.com with SMTP id h14-20020a1ccc0e000000b0039eff745c53so852155wmb.5 for ; Wed, 29 Jun 2022 21:35:42 -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=BQ46+pOhZTFefew1tiZRWsO4BNjx2zvjnV8M5Lkucns=; b=RlB2bh1l6+zPu1sazqQ6+SRgW1D7AbPpk3yUuf6BBud9GRORUw+F8NqPBPJf8mKQ3O cIZS5U4ChjnGeJyRMG5JbgOpe3SAjUbTWrlouOuHgzZEZ78Ss4Td4dEXt3VpB1zfRnaj Ogn56vjLctHWw8UHZejux+z1veykw0CT53xq8rdUpUcDn/1GT0/+iy7L5Gzq7/AjIJoq 1YQE2ss7qfFpu3FyQXFu6Cd6bSAalbrDergkPZ5mzq3qaBIzuzZ8mPJpx4R2/BQgh0jI FqcFr5irC1dgOv0xQ1So1JgAuiaphPKAVsQopR49QUknwTdrsdfIR4rTaPZvqGaKJbzN qP1g== 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=BQ46+pOhZTFefew1tiZRWsO4BNjx2zvjnV8M5Lkucns=; b=lSqrRPKHOGrZPLIY3nkfjvSuPgUZ+nUUT0v979hGdrXij6TKcgVDMVRzOL47H72pDD g7BU+dBW5xh+DfWUCuXa3QZhVdBXiOMxctm/Dky3/AVIk9sm6FQeLja/ftt4VNE6PxBt CtVlUMH+yCrxOQoHXbFs+ByPUXSHwehZASQSna9om7Dnsf9jlWxxOAb5xd0Zp6LTM8U9 lt3jCwnOHnKNr/FPwmgpHuPzKtEeqk6onggxlPuVE2PkdJFXVuKvEoC1ABOKvFImTaH1 GAp1PrVNHLyP8p8vFPwZrz8ux769U+c3+Aga3uGT6/0UpemB+iK5FLQB38sAopxfKIb+ oG4w== X-Gm-Message-State: AJIora9EwI1mNovwQwWklvJl228vWLdWx6g6odW1c3+wP/pELgOZndba qidyB9ov6i2IX46EGPsc2YBqLQ== X-Google-Smtp-Source: AGRyM1veQojEOF45s7FSVAqneUmBYirS6DMUFY6brEmg89K33NIfKvgXfcqJ9ekAH4rbHiqDNJBpHA== X-Received: by 2002:a05:600c:1e2a:b0:39c:51f8:80d4 with SMTP id ay42-20020a05600c1e2a00b0039c51f880d4mr7913013wmb.192.1656563740712; Wed, 29 Jun 2022 21:35:40 -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 k1-20020a5d6281000000b0021b9e360523sm18642335wru.8.2022.06.29.21.35.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Jun 2022 21:35:40 -0700 (PDT) From: Bryan O'Donoghue To: agross@kernel.org, bjorn.andersson@linaro.org, jassisinghbrar@gmail.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, bryan.odonoghue@linaro.org Subject: [PATCH 1/2] dt-bindings: mailbox: qcom: Add syscon const for relevant entries Date: Thu, 30 Jun 2022 05:35:35 +0100 Message-Id: <20220630043536.3308546-2-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220630043536.3308546-1-bryan.odonoghue@linaro.org> References: <20220630043536.3308546-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. Signed-off-by: Bryan O'Donoghue --- .../mailbox/qcom,apcs-kpss-global.yaml | 44 ++++++++++--------- 1 file changed, 24 insertions(+), 20 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..f342494fd6108 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 From patchwork Thu Jun 30 04:35:36 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: 586147 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 10627CCA483 for ; Thu, 30 Jun 2022 04:35:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231891AbiF3Efp (ORCPT ); Thu, 30 Jun 2022 00:35:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230135AbiF3Efo (ORCPT ); Thu, 30 Jun 2022 00:35:44 -0400 Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8390E1F2D7 for ; Wed, 29 Jun 2022 21:35:43 -0700 (PDT) Received: by mail-wm1-x331.google.com with SMTP id h14-20020a1ccc0e000000b0039eff745c53so852171wmb.5 for ; Wed, 29 Jun 2022 21:35:43 -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=lAB0XA/QUtzjvvdVj5TZsij0CUewEyhxlHuwrr+z+/I=; b=IGpmhgGV+bN8n4jkVU/FQ9qSnGDuv4uNhnmtMKouQ2FWajTDd9vJ2m8BJBDnMiixjs 25cFC6S7Hi/E5k5KLDetzk5nLrUby9S322RB9aoc+5+uUWbRnsUil614YhCT5DB8oUKD bKhhxHjxzI/4rmuTGBBfycY40iCc3++NDMFif2FOwWafzbrar9RVRnx88mZ+aLnIWT2A Xaf777IHHxII5TaeBgNyA3VtT+72ebYa+uzKfLeP1v+DdK4B1V13U9qjjCqJH92XLL+k KZOJSPJlfkpHWB8XD8WdTuOx2j77fR0DZXbKpKotL6KOGzTaiWDSmNhQje2EKfGYL0SB InYQ== 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=lAB0XA/QUtzjvvdVj5TZsij0CUewEyhxlHuwrr+z+/I=; b=EKxIBUzMBswT6DABE1tfe7pnH+U/q2SVmgzLov4Jtea54ozGYWuxCq/pWDUQZF3S44 EIA/Z/T2gSw9bvNs7+Ely+IUYTg9jGF0Vv2Nt7TUCaXWE7vtvgcq9qPCHONII3qqRJ1Y XcIZtIz+mdUpx5nlQC+/K9X8B6kLyXEIb4zS/wg1HgC43vV3i1hd9Cn3TI3TA4zAmUJF HBKMFulgNAUJtGXIma0u4sWv6oK6DgxoaIcDjE/9T8cGPzjBJwCYG4DA1g4ez+5HuvVz gP5zdKmSv7YXV0VCEVs7pyENOiPUq+DpdsEE883OfOXfKWx4S+8mKEGtz6gqeeR3nD4U jFhA== X-Gm-Message-State: AJIora9TczwqQwUk8N1DckKoStv0IPDjSFFAQKApFf7qLKSIrGT4NCS3 5JUqckO4fcOk5b5l9yueQDe2yQ== X-Google-Smtp-Source: AGRyM1tJJTX7TL131B5lf3LzQBza6PPM+nKmvX9YuoZiXRj++vDakDjuwYCgD99s8N/9enr3OK4Ppg== X-Received: by 2002:a05:600c:da:b0:3a1:20eb:dd40 with SMTP id u26-20020a05600c00da00b003a120ebdd40mr7456509wmm.25.1656563742063; Wed, 29 Jun 2022 21:35:42 -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 k1-20020a5d6281000000b0021b9e360523sm18642335wru.8.2022.06.29.21.35.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Jun 2022 21:35:41 -0700 (PDT) From: Bryan O'Donoghue To: agross@kernel.org, bjorn.andersson@linaro.org, jassisinghbrar@gmail.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, bryan.odonoghue@linaro.org Subject: [PATCH 2/2] dt-bindings: mailbox: qcom: Add clock-output-names Date: Thu, 30 Jun 2022 05:35:36 +0100 Message-Id: <20220630043536.3308546-3-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220630043536.3308546-1-bryan.odonoghue@linaro.org> References: <20220630043536.3308546-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 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.yaml b/Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.yaml index f342494fd6108..7f3816cbc0353 100644 --- a/Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.yaml +++ b/Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.yaml @@ -63,6 +63,11 @@ properties: - const: aux - const: ref + clock-output-names: + Usage: optional + Value type: + Definition: Name of the output clock. + required: - compatible - reg