Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp4843235rdb; Fri, 29 Dec 2023 16:05:31 -0800 (PST) X-Google-Smtp-Source: AGHT+IEsffNdNZbS3W6sh2Gvce4xBqozm2ZX1gX2sCRwnuV+asPxWH0Fzd8mcvGW9o1TlgWbjrey X-Received: by 2002:a05:6512:b99:b0:50e:7b9e:359c with SMTP id b25-20020a0565120b9900b0050e7b9e359cmr4187132lfv.29.1703894731669; Fri, 29 Dec 2023 16:05:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703894731; cv=none; d=google.com; s=arc-20160816; b=h+nsOkRG8zpdMRK+4Hb7dewgU2qKfnJGuytzlo9k9pu33wq5PPaVQyk+xusEZoI+4r 4O8c1OTber1/kYZ0hpNA+ffug0FhaWuuop4DM7wRVLm19BC1U/mfVn4cUjtYbXZhYvQz lEXTc3U3VYztfWyjNTeYBCXhfCRJTonunsP5QgriwFfWks3g5EbIngM2R0M1jFYQz0vN Pbd9h1XX/+ONt9c1mM46wFnJMDmZ856AY7ulQXzdFZu/bq6aSkQmxC8dGm6HYQ7Ec0KG Ig5lvkUPUGIjyA7Tp186vvzkgZEFcbVXrZe1ozUH/tDVk6rdNIMhzGKadNg9D5S+Y4df RNNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=8FrB087Wxc7YUxgxR36o8RYypzFH7Y/v8MFiKZG/oMY=; fh=5QK1rh7VGKoSXX39AsKq/sVNxj7melNvWk3JL5hTkXg=; b=LsxR5BO3ZiRzBsvl9GYOtiCO7wFPqTV+TYx8SC5HlWGWuSeCjLUMqi8Qg9nN19buSp LJmG3xNd0Sad0k+NfWlBZsI0iD+iTivYgdD4npl6qlMjtpCHxj6jnm1vfqwjr2llpNtw 77oLlVcoesfPwNDQBNuxZ7WSkfO4NPmJ1I7g6Fal5LpDIDgv78dCxWL9KA0YQA3gTr/+ 9BJcN2eTi4FhATlsp68Agop0DD8Na/eZSrZ9PZfCQuIAtzBUjPuIaDRTKAG1fz9q+qRs 6o57Hn7JTkSRBnidFEifyeS0U3QoDbfzCAwxNMwyeBbTNdNKGEKZLG9EOS6ccfGt2lp7 SsCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="wRqi7/e3"; spf=pass (google.com: domain of linux-kernel+bounces-13283-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-13283-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id s18-20020a170906a19200b00a26eea5291bsi4651455ejy.523.2023.12.29.16.05.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Dec 2023 16:05:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-13283-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="wRqi7/e3"; spf=pass (google.com: domain of linux-kernel+bounces-13283-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-13283-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 3FD121F22CE3 for ; Sat, 30 Dec 2023 00:05:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 059E02104; Sat, 30 Dec 2023 00:05:12 +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: linux-kernel@vger.kernel.org Received: from mail-lj1-f181.google.com (mail-lj1-f181.google.com [209.85.208.181]) (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 B31C739E 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-lj1-f181.google.com with SMTP id 38308e7fff4ca-2ccbbb5eb77so49512161fa.2 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=hzYcrMKTyfiN5pR4l0fCfH97lURuBRNUka8l4xuKQ3HEBBbLb6/wMY33089qGt3k/1 xR+bdGmJ5sPwE9klqTwvbsfELf1Jt4fwASMIME8y9/V9Hc5fAh2x0ue1I3eI+nzSckiE ZAOVS+WBObQGJs/v4CRSodc8bGgTgIoswtt35BYQDFW09NMVoEHfLetAqvTBYyc61XLD EdMW/TSB/ZxWjI8fXILF2GGgvaKWr1lWD2T7Rj6mQVwzX9zXtbluEAOjjlVypTA8KbxY 77QcfVcF1335Jq/mXSbHay9yreEy7drTTgJISA7sBHlEbKyHo+nPnQQEC1juPZNRtYOH 652w== X-Gm-Message-State: AOJu0YyrwAf80kRMuP50u8j6onpqIdgo7GcmzzcIGslKXZ9HlkDkdEMU YlAhUins4BJtuBVRGVlHp71NhCV7xDS7XQ== 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: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit 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 --- 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>; -- 2.43.0