From patchwork Sat Jul 10 01:32:49 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 472319 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp822093jao; Fri, 9 Jul 2021 18:33:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz8zVSIWqqGjJMvMAf9kCbP4LuAYTx6nQPl8laxv9jcfKvo408M/BsDY6q5lOtwT7t1aoLZ X-Received: by 2002:aa7:d150:: with SMTP id r16mr52095875edo.210.1625880800653; Fri, 09 Jul 2021 18:33:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625880800; cv=none; d=google.com; s=arc-20160816; b=GlygzXoayrWNxg+9h4HTzNNbn9Y+j9JA+56Vi3kME7P3fnJWeyjnNGys0O0zTOq+rX 8/aqFvK5aPjLDV02P+UvRAiiCKwJuEXiSsQVu9ZX87BVlSwW0hcw6sdwkZEwKFO/IDVo 7jJEVKYL/ECUWkehVJ7rXoyAlcEjhDZs4kf3CMODmlqFeMam8dkki4NpUSc0cpMh3Caq vF23nmgLfGjE5p3ekntXQQSAopj9dvSc15xZ1DurHj7wAOGo2HNLezQCwt4hMhYrJcH1 vbt4u4kbeRR3xP4Hg9tgCgfgiBAgv+E42GIrwtfmhaOTDzDmG+ovrRw4Qni7VCmtzfQ4 38rQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=5qhvMLleXU8XB+hP5k6t45pc4R6yiwCRVKRmnoSH9uY=; b=A2cfCvqE3FfgbUlL2TBfdlXqxWAF1Qt1s8NqUHeQEZDwpNnGvV/f9C6lb61EVbcGKo 1CI3X2XzQtDRHbfAlGKFP15MskrepGograKb3zJCsKM5pvUHTgqvdOkJx4mH8eCXtBBS sKr8qmqPlnB3dQTacnNjz5pgyywOn6chWPSeFJ1E6ieMMdhr4/ZejQ0W9E3VZKVKnSKz tncst4V0uc07LbTJCSv5FfqTTqeQSeZ/dP+bAKrWSv/LtezgfvR2nHzLFbzvtEuEVABE YhBxqRudm9MRFvudI8ZcWEjLR3gWoBpR6M5UixN1s9s6a1cAE8EqzRtWjSbzouirK9M7 8NEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NC794FtP; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dz14si9450283edb.241.2021.07.09.18.33.20; Fri, 09 Jul 2021 18:33:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NC794FtP; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231183AbhGJBfr (ORCPT + 17 others); Fri, 9 Jul 2021 21:35:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39342 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231549AbhGJBfm (ORCPT ); Fri, 9 Jul 2021 21:35:42 -0400 Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6703DC0613DD for ; Fri, 9 Jul 2021 18:32:58 -0700 (PDT) Received: by mail-lf1-x12c.google.com with SMTP id n14so26802721lfu.8 for ; Fri, 09 Jul 2021 18:32:58 -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=5qhvMLleXU8XB+hP5k6t45pc4R6yiwCRVKRmnoSH9uY=; b=NC794FtPnTVb6jwGxk8olKK4GLQcUz8otGUoiN3jZj8/lRUyRjfrHf6PkBr7TpskOd k/DAfrexwr1d0Dic1t2+ZnlIrNdlNXeIsbL8gXN5LhqmjjjFl6BcZff4i3M0RPyMIfav 4OvdRffu4Xlm0X9MPd0ZxqDogJa5hocWCA1OpYqXIvBkqvsYG/hR6Vb3PueGnLZ0zb/C sJiWDkrsiDkop0si9JGdq+oNgDKK9kpQOvMlh7ccW+dtVZQ/kBFF7i8/7A4/+YbbNGEP LoAIOiISvf7fQGJ72WnkrP0TOnttwgei0paaHuYa5YN+ppqCUo9e4/mA1vo6FoueXI3n D/TQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=5qhvMLleXU8XB+hP5k6t45pc4R6yiwCRVKRmnoSH9uY=; b=Sh8507us2UEWIPmSxJylh95m4HnCLlMuPH8H47MYxH8XbCQicX4amcoHXrs88FFrQj itUyX4BsjJvDOJZx7bd8iGzoefsW3pd54Xkp+k0ZtHCGORRvLMEqUs6/GY11Av2+iW8Z L0ybEOYnJl4U6i7q2/6+TEqke/+GpsosypUwQ/ByRQW715UPVGF0ZTuaNKhpOIJ9REiU naJul7y39mt/sPXeVSuXZzzipadr3BYfZlcHpCUErl4SwEkBBu6Be3a60xs1oYB7XIyS 5bEmBVKAn/dXny5vYbGIKt/vT9nGAcRgGY+TD6in8CWjnA446VBwrYQIdtAJoJtyNrog oNAQ== X-Gm-Message-State: AOAM532S2tKmdpyOmrzAtkxxxY5GovkM3vSzuqjUGw6axhaJAUGzkd2m qYsMaS31cdaeoRSmSftgzFaojA== X-Received: by 2002:ac2:4259:: with SMTP id m25mr905215lfl.357.1625880776743; Fri, 09 Jul 2021 18:32:56 -0700 (PDT) Received: from eriador.lan ([37.153.55.125]) by smtp.gmail.com with ESMTPSA id p13sm588788lfh.206.2021.07.09.18.32.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Jul 2021 18:32:56 -0700 (PDT) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Rob Herring , Stephen Boyd , Taniya Das , Jonathan Marek , Michael Turquette Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-clk@vger.kernel.org, Bryan O'Donoghue , Mark Brown , Ulf Hansson , linux-kernel@vger.kernel.org Subject: [PATCH v4 2/6] dt-bindings: clock: qcom, videocc: add mmcx power domain Date: Sat, 10 Jul 2021 04:32:49 +0300 Message-Id: <20210710013253.1134341-3-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210710013253.1134341-1-dmitry.baryshkov@linaro.org> References: <20210710013253.1134341-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org On sm8250 videocc requires MMCX power domain to be powered up before clock controller's registers become available. For now sm8250 was using external regulator driven by the power domain to describe this relationship. Switch into specifying power-domain and required opp-state directly. Signed-off-by: Dmitry Baryshkov Reviewed-by: Bjorn Andersson --- Documentation/devicetree/bindings/clock/qcom,videocc.yaml | 7 +++++++ 1 file changed, 7 insertions(+) -- 2.30.2 Reviewed-by: Rob Herring diff --git a/Documentation/devicetree/bindings/clock/qcom,videocc.yaml b/Documentation/devicetree/bindings/clock/qcom,videocc.yaml index 567202942b88..db4ada6acf27 100644 --- a/Documentation/devicetree/bindings/clock/qcom,videocc.yaml +++ b/Documentation/devicetree/bindings/clock/qcom,videocc.yaml @@ -47,6 +47,11 @@ properties: reg: maxItems: 1 + power-domains: + description: + A phandle and PM domain specifier for the MMCX power domain. + maxItems: 1 + required: - compatible - reg @@ -61,6 +66,7 @@ additionalProperties: false examples: - | #include + #include clock-controller@ab00000 { compatible = "qcom,sdm845-videocc"; reg = <0x0ab00000 0x10000>; @@ -69,5 +75,6 @@ examples: #clock-cells = <1>; #reset-cells = <1>; #power-domain-cells = <1>; + power-domains = <&rpmhpd SM8250_MMCX>; }; ...