From patchwork Tue May 16 10:52:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 683081 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 89ED7C7EE23 for ; Tue, 16 May 2023 10:52:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232452AbjEPKww (ORCPT ); Tue, 16 May 2023 06:52:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45790 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232455AbjEPKwv (ORCPT ); Tue, 16 May 2023 06:52:51 -0400 Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 717221B6 for ; Tue, 16 May 2023 03:52:50 -0700 (PDT) Received: by mail-ej1-x62b.google.com with SMTP id a640c23a62f3a-953343581a4so2188816366b.3 for ; Tue, 16 May 2023 03:52:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1684234369; x=1686826369; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=hF51UpgXYYq6zOrvaemkFFkj4jV0bZfFI3phEQ7J+70=; b=KcpQ7OOlvZ3QBwGOV4qt4YegK0tdde4lYGzpKBgCHp8hVukZ0J2v+/KQXEG4SjfVq0 8HGZe+cxJGmmw7qzuD1aJvPb6eg5rgiAU4NzNplf3AgudGxUIOiOF9pvO6Dgv8UkyM9p y1LsG/0S0a72DNAfcrD6dQZsNPRL2cOknmvGdNPRZv2h4ebdOj7VarABTAbGyxX2qzsl KpVu1wWk5ImS1yx/KCmRBLF0WXEVd/VGuqMhgxcMu7qzcoO+FQJ410AV30xT67wQ96BS MT9K99VSuer1ygp5x1bIMeEpQMg9B9EQPm/XH/7MVTx9JRMj1Q99TGC4DrmlOkeICF3v Pkdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684234369; x=1686826369; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=hF51UpgXYYq6zOrvaemkFFkj4jV0bZfFI3phEQ7J+70=; b=eZweIR4uw+Nx4CwTUuT8h52ogV+Q3JVmTynDOsD8l29WI8VhUvEF2Z58TYcZgf1gmO z7Tivu2PtO7le6Eu0/F2X/saHPjhWzPDWvQgvtR3bujiSlGea1B+WZzUBJo+8pQc00nn ohxAMRKMUk1eagO4iwC6m1Tqx7qj/xk4UoQwb8JrtR0mmkIHPptLPpitS7yh7m8cKXSG 1g9RZHAT/BeJs8PbcTq3QA+7+DHvWRiaC3X1zN2/c6FuqADQRxi4gYKIGEmNGeECK9CF u9UEmhLP5/jNEq1DAzr0HzMoaEQUYnj9JDD/32Z3XAf8hhR0Vmxu/1sYS5sLpf430Zxg 4EYA== X-Gm-Message-State: AC+VfDyDXo5Nerqm7kBUOUYb2NRPBuHUAYt7BxyDtmnCzzz0UM19m/kc tihZKE8nZ32VfSyKgVIZcb8hFA== X-Google-Smtp-Source: ACHHUZ52EQ6KF6tJIdMYLES2qCnQbPEYBFEgWdMCmPqFzcahNpu23hDoTCwtUoRRZYFqZPCciw9ExA== X-Received: by 2002:a17:906:ef0d:b0:94e:ed5d:c864 with SMTP id f13-20020a170906ef0d00b0094eed5dc864mr36254964ejs.19.1684234368991; Tue, 16 May 2023 03:52:48 -0700 (PDT) Received: from krzk-bin.. ([2a02:810d:15c0:828:77d1:16a1:abe1:84fc]) by smtp.gmail.com with ESMTPSA id d1-20020a1709067a0100b0096b0e93193asm3679019ejo.90.2023.05.16.03.52.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 May 2023 03:52:48 -0700 (PDT) From: Krzysztof Kozlowski To: Bjorn Andersson , Andy Gross , Konrad Dybcio , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Taniya Das , Venkata Narendra Kumar Gutta , Vinod Koul , "Bryan O'Donoghue" , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski , Rob Herring Subject: [PATCH v2 3/3] dt-bindings: clock: qcom, gcc-sc7280: document CX power domain Date: Tue, 16 May 2023 12:52:41 +0200 Message-Id: <20230516105241.30091-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230516105241.30091-1-krzysztof.kozlowski@linaro.org> References: <20230516105241.30091-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The GCC clock controller needs CX power domain, at least according to DTS: sc7280-herobrine-crd-pro.dtb: clock-controller@100000: Unevaluated properties are not allowed ('power-domains' was unexpected) Acked-by: Rob Herring Signed-off-by: Krzysztof Kozlowski --- Changes in v2: 1. Add tags --- .../devicetree/bindings/clock/qcom,gcc-sc7280.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/clock/qcom,gcc-sc7280.yaml b/Documentation/devicetree/bindings/clock/qcom,gcc-sc7280.yaml index 947b47168cec..ff0b18bbb0fc 100644 --- a/Documentation/devicetree/bindings/clock/qcom,gcc-sc7280.yaml +++ b/Documentation/devicetree/bindings/clock/qcom,gcc-sc7280.yaml @@ -43,6 +43,10 @@ properties: - const: ufs_phy_tx_symbol_0_clk - const: usb3_phy_wrapper_gcc_usb30_pipe_clk + power-domains: + items: + - description: CX domain + required: - compatible - clocks @@ -56,6 +60,8 @@ unevaluatedProperties: false examples: - | #include + #include + clock-controller@100000 { compatible = "qcom,gcc-sc7280"; reg = <0x00100000 0x1f0000>; @@ -71,6 +77,7 @@ examples: "pcie_1_pipe_clk", "ufs_phy_rx_symbol_0_clk", "ufs_phy_rx_symbol_1_clk", "ufs_phy_tx_symbol_0_clk", "usb3_phy_wrapper_gcc_usb30_pipe_clk"; + power-domains = <&rpmhpd SC7280_CX>; #clock-cells = <1>; #reset-cells = <1>; #power-domain-cells = <1>;