From patchwork Sat Dec 30 00:05:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 1881260 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=wRqi7/e3; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2604:1380:45e3:2400::1; helo=sv.mirrors.kernel.org; envelope-from=devicetree+bounces-28968-incoming-dt=patchwork.ozlabs.org@vger.kernel.org; receiver=patchwork.ozlabs.org) Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org [IPv6:2604:1380:45e3:2400::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4T22ZH1j8gz1ydd for ; Sat, 30 Dec 2023 11:05:26 +1100 (AEDT) Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 901AC283B73 for ; Sat, 30 Dec 2023 00:05:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5D9291367; Sat, 30 Dec 2023 00:05:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="wRqi7/e3" X-Original-To: devicetree@vger.kernel.org Received: from mail-lf1-f46.google.com (mail-lf1-f46.google.com [209.85.167.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A87EA19D for ; Sat, 30 Dec 2023 00:05:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-lf1-f46.google.com with SMTP id 2adb3069b0e04-50e7ddd999bso4292132e87.1 for ; Fri, 29 Dec 2023 16:05:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1703894708; x=1704499508; darn=vger.kernel.org; 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=8FrB087Wxc7YUxgxR36o8RYypzFH7Y/v8MFiKZG/oMY=; b=wRqi7/e38kjNV/EzDUt/RgHSrSgjecukZtMXqGIX47uJdmWvxyTY/8o/+31sj/r1ZH ZX/1h2Ti5tLzTMcJx77QGEmQVRMehUKreOHQN5Mx0HlMoN9ZxpbW3dPxwLrKrqpYXlju AeALO5JDAE/q+sBh3mcPymKOk6AtPMHqfUlxlJEBjpfa8yDmkBCqeDWmCpkXkGMfqppp FCTbWpCeY0vJHKDPNiE1MiWtwvOHq5U9FUlI5csVDyRa3HMAasFH4gDLRqXfqNqqD5VW VFcwaFqAZf+/JXikgP7HP1JionaMs7eCSicKFY5RqfvuMJLlPQmmjMtjgx4p8B/+T3B+ BUAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703894708; x=1704499508; 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=8FrB087Wxc7YUxgxR36o8RYypzFH7Y/v8MFiKZG/oMY=; b=UH09XuOBQQU1rXX/jioPfcI3FHHYpS2YHVJGL8X0JFwQLx1VI7Uy3HB5jQtpl9W0IJ vsGxDn78mDXn6paU4NXRzLVf4390eZkGtlJ2rzkTldaXaAP6I1cRQkgRua3XsYSyBTyv zS5jfYq+vg2L9vCjGkgmzw4WfMf5NVvVywNoo8UF55wJ84v6P/BRbD7hC2b2/kmlZWEC xLXSOyHYbprNO75GdpK3KnTrZft6E7KQekFL45gA+DUaU/xFqecwqIm0FCYrFZUIKf/z mcx65s/tTecAb4anVsaYrEgrMbxjojmTDD6NrdTxWjXWyorqwU8JkWPh/DO/P5CC6ydy wF6A== X-Gm-Message-State: AOJu0YzzAuTb9b+q89N9nCG5FBtPmDwioXzYfGOaEMDDdklBoJaWtLQB 6tf35qZtBDYBCI0ETfuALBdnsqPZ0bkvBw== X-Google-Smtp-Source: AGHT+IESbUUUrskneqleCfW1B53y5DbAic4Lq+wysIajPwIXYTa484l7ZF5yNXRCtBMvbbbN8GaV2g== X-Received: by 2002:ac2:4c4e:0:b0:50e:885d:4d1a with SMTP id o14-20020ac24c4e000000b0050e885d4d1amr2495677lfk.93.1703894707814; Fri, 29 Dec 2023 16:05:07 -0800 (PST) Received: from [10.167.154.1] (178235179036.dynamic-4-waw-k-1-3-0.vectranet.pl. [178.235.179.36]) by smtp.gmail.com with ESMTPSA id wj6-20020a170907050600b00a26a0145c5esm8609623ejb.116.2023.12.29.16.05.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Dec 2023 16:05:07 -0800 (PST) From: Konrad Dybcio Date: Sat, 30 Dec 2023 01:05:02 +0100 Subject: [PATCH 01/10] dt-bindings: clock: gcc-sc8180x: Add the missing CX power domain Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20231230-topic-8180_more_fixes-v1-1-93b5c107ed43@linaro.org> References: <20231230-topic-8180_more_fixes-v1-0-93b5c107ed43@linaro.org> In-Reply-To: <20231230-topic-8180_more_fixes-v1-0-93b5c107ed43@linaro.org> To: Bjorn Andersson , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Vinod Koul Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1703894704; l=1455; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=EUFmaZVLsy2eKPdw1XRmfhHY9zTvCfCahSEoyNR/DAs=; b=I2aj2RRwuDf5hoAahsDQJFfeq4V502Q5JD7r0SaMt3xBsmDWkIWZd6hWvHdvWZwKgad5/5ihT tLvzdi/rb+kCweiPlNERqaQcMo5yjGj0bjq5A3JAPNayy3DAn1Xj529 X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= The GCC block is (mostly) powered by the VDD_CX rail. Allow specifying it in power-domains. Signed-off-by: Konrad Dybcio Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/clock/qcom,gcc-sc8180x.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/clock/qcom,gcc-sc8180x.yaml b/Documentation/devicetree/bindings/clock/qcom,gcc-sc8180x.yaml index 6c4846b34e4b..a1085ef4fd05 100644 --- a/Documentation/devicetree/bindings/clock/qcom,gcc-sc8180x.yaml +++ b/Documentation/devicetree/bindings/clock/qcom,gcc-sc8180x.yaml @@ -31,10 +31,15 @@ properties: - const: bi_tcxo_ao - const: sleep_clk + power-domains: + items: + - description: CX domain + required: - compatible - clocks - clock-names + - power-domains allOf: - $ref: qcom,gcc.yaml# @@ -44,6 +49,7 @@ unevaluatedProperties: false examples: - | #include + #include clock-controller@100000 { compatible = "qcom,gcc-sc8180x"; reg = <0x00100000 0x1f0000>; @@ -51,6 +57,7 @@ examples: <&rpmhcc RPMH_CXO_CLK_A>, <&sleep_clk>; clock-names = "bi_tcxo", "bi_tcxo_ao", "sleep_clk"; + power-domains = <&rpmhpd SC8180X_CX>; #clock-cells = <1>; #reset-cells = <1>; #power-domain-cells = <1>;